Which operator precedence is higher? The one of the cross product or the one of the dot product?

Consider the following term:

$$\overrightarrow {A}, \overrightarrow {B}, \overrightarrow {C}, \overrightarrow {D} \in \mathbb{R}^n$$ $$\overrightarrow {A}\times \overrightarrow {B} \cdot \overrightarrow {C} \times \overrightarrow {D} = \overrightarrow {X}$$

Should this be

$$\overrightarrow {A}\times (\overrightarrow {B} \cdot \overrightarrow {C}) \times \overrightarrow {D} = \overrightarrow {X}$$ $$\overrightarrow {X} \in \mathbb{R}^n$$


$$(\overrightarrow {A}\times \overrightarrow {B}) \cdot (\overrightarrow {C} \times \overrightarrow {D}) = \overrightarrow {X}$$ $$\overrightarrow {X} \in \mathbb{R}$$

Both terms are valid but have an ambiguous result.


1 Answer 1


The former is not valid. $B \cdot C$ yields a scalar, and you can't do cross product between a scalar and a vector.

Generally $\times$ has higher precedence because otherwise many operations don't make sense.

  • $\begingroup$ Thank you for the answer. Should I delete my question since it is invalid? $\endgroup$
    – Qbyte
    Apr 3, 2016 at 20:34
  • 6
    $\begingroup$ @Qbyte No questions are considered "invalid". $\endgroup$ Apr 3, 2016 at 20:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .