9
$\begingroup$

I am wondering if there is any standard notation for the element-wise division of vectors.

I am going to use $\oslash$ for this purpose, similar to $\odot$ that is used in some texts for element-wise multiplication. For example, assuming $\vec{u}$ and $\vec{v}$ are vectors of length $k$, then $\vec{x} = \vec{u} \oslash \vec{v}$ if $\vec{x}(i) = \vec{u}(i) / \vec{v}(i)$. Would that be strange to use this in a scientific paper?

  • 0
    I agree with @Ed. If you feel like dividing or multiplying vectors componentwise, they are not vectors to you any more. They are diagonal matrices. Notice that you don't lose anything by switching to matrices: addition, scalar multiplication and scalar product still work fine. You can write diag(a,b,c) when the entries need to be listed.2012-07-18

3 Answers 3

7

I have no idea about standard notations regarding this operation, but I would recommend expressing $(x_1,\ldots,x_n)\oslash(y_1,\ldots,y_n)$ instead as $(x_1,\ldots,x_n)\odot(\tfrac{1}{y_1},\ldots,\tfrac{1}{y_n})$ After all, the notation $\oslash$ will not make sense unless every $y_i\neq0$.

  • 0
    The only problem I see with this recommendation is that it is desirable at times to express the operation without reference to the vectors elements, namely like: $\mathbf x \oslash \mathbf y$ and this formulation would appear to have no added value: $\mathbf x \odot \frac {1} {\mathbf y}$.2018-06-20
4

That is known as The Hadamard division and is documented here:

https://en.wikipedia.org/wiki/Hadamard_product_(matrices)#Analogous_operations

as:

$\begin{align} C &= A {\oslash} B \\ C_{ij} &= A_{ij} / B_{ij} \end{align}$

There are some other useful Hadamard operations and notations listed there.

It is noteworthy that the Hadamard multiplication uses the symbol "$\circ$" not "$\otimes$" or "$\odot$".

3

Maybe you can try to take advantage of a diagonal matrix for expression: $\text{diag}^{-1}(\vec{v})\,\vec{u}$, where $\text{diag}(\cdot)$ returns a matrix with the vector as its diagonal and "$^{-1}$" means inverse of the matrix.