Operations on Vectors

Adding and scaling vectors

Vectors add component by component, and a scalar multiplies every component: for a⃗=(a1,a2,a3)\vec{a} = (a_1,a_2,a_3) and b⃗=(b1,b2,b3)\vec{b} = (b_1,b_2,b_3), a⃗+b⃗=(a1+b1,a2+b2,a3+b3)\vec{a}+\vec{b} = (a_1+b_1, a_2+b_2, a_3+b_3) and ka⃗=(ka1,ka2,ka3)k\vec{a} = (ka_1, ka_2, ka_3).

The negative of a⃗\vec{a}, written −a⃗-\vec{a}, has the same magnitude but points the opposite way. If a⃗=AB→\vec{a} = \overrightarrow{AB}, then −a⃗=BA→-\vec{a} = \overrightarrow{BA}.

Dot and cross products

a⃗⋅b⃗=a1b1+a2b2+a3b3=∣a⃗∣∣b⃗∣cos⁡θ\vec{a}\cdot\vec{b} = a_1b_1 + a_2b_2 + a_3b_3 = |\vec{a}||\vec{b}|\cos\thetaa⃗×b⃗=(a2b3−a3b2,  a3b1−a1b3,  a1b2−a2b1)\vec{a}\times\vec{b} = (a_2b_3-a_3b_2,\; a_3b_1-a_1b_3,\; a_1b_2-a_2b_1)

The dot product is a number; the cross product is a vector perpendicular to both a⃗\vec{a} and b⃗\vec{b}.

Worked example: all four operations

Let a⃗=2i^−j^+3k^\vec{a} = 2\hat{i}-\hat{j}+3\hat{k} and b⃗=i^+4j^−2k^\vec{b} = \hat{i}+4\hat{j}-2\hat{k}.

  • a⃗+b⃗=3i^+3j^+k^\vec{a}+\vec{b} = 3\hat{i}+3\hat{j}+\hat{k} and 3a⃗−2b⃗=4i^−11j^+13k^3\vec{a}-2\vec{b} = 4\hat{i}-11\hat{j}+13\hat{k}.
  • a⃗⋅b⃗=2−4−6=−8\vec{a}\cdot\vec{b} = 2 - 4 - 6 = -8. With ∣a⃗∣=14|\vec{a}| = \sqrt{14} and ∣b⃗∣=21|\vec{b}| = \sqrt{21}, cos⁡θ=−8294≈−0.467\cos\theta = \dfrac{-8}{\sqrt{294}} \approx -0.467, so θ≈117.8∘\theta \approx 117.8^\circ.
  • a⃗×b⃗=((−1)(−2)−(3)(4),  (3)(1)−(2)(−2),  (2)(4)−(−1)(1))=(−10,7,9)\vec{a}\times\vec{b} = ((-1)(-2)-(3)(4),\; (3)(1)-(2)(-2),\; (2)(4)-(-1)(1)) = (-10, 7, 9).
  • Check: (−10,7,9)⋅a⃗=−20−7+27=0(-10,7,9)\cdot\vec{a} = -20-7+27 = 0 and (−10,7,9)⋅b⃗=−10+28−18=0(-10,7,9)\cdot\vec{b} = -10+28-18 = 0, so the cross product is perpendicular to both.

Worked example: a scalar triple product identity

Prove that [a⃗+b⃗    b⃗+c⃗    c⃗+a⃗]=2[a⃗    b⃗    c⃗][\vec{a}+\vec{b}\;\;\vec{b}+\vec{c}\;\;\vec{c}+\vec{a}] = 2[\vec{a}\;\;\vec{b}\;\;\vec{c}], where [x⃗  y⃗  z⃗]=x⃗⋅(y⃗×z⃗)[\vec{x}\;\vec{y}\;\vec{z}] = \vec{x}\cdot(\vec{y}\times\vec{z}).

Solution: (b⃗+c⃗)×(c⃗+a⃗)=b⃗×c⃗+b⃗×a⃗+c⃗×a⃗(\vec{b}+\vec{c})\times(\vec{c}+\vec{a}) = \vec{b}\times\vec{c} + \vec{b}\times\vec{a} + \vec{c}\times\vec{a}, since c⃗×c⃗=0⃗\vec{c}\times\vec{c} = \vec{0}. Dotting with a⃗+b⃗\vec{a}+\vec{b}, every term where a vector meets a cross product containing itself vanishes, leaving a⃗⋅(b⃗×c⃗)+b⃗⋅(c⃗×a⃗)\vec{a}\cdot(\vec{b}\times\vec{c}) + \vec{b}\cdot(\vec{c}\times\vec{a}). The scalar triple product is cyclic, so both terms equal [a⃗  b⃗  c⃗][\vec{a}\;\vec{b}\;\vec{c}], and the sum is twice it.

Worked example: unit vectors summing to zero

If a⃗,b⃗,c⃗\vec{a}, \vec{b}, \vec{c} are unit vectors with a⃗+b⃗+c⃗=0⃗\vec{a}+\vec{b}+\vec{c}=\vec{0}, find a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗\vec{a}\cdot\vec{b} + \vec{b}\cdot\vec{c} + \vec{c}\cdot\vec{a}.

∣a⃗+b⃗+c⃗∣2=3+2(a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗)=0  ⇒  a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗=−32|\vec{a}+\vec{b}+\vec{c}|^2 = 3 + 2(\vec{a}\cdot\vec{b}+\vec{b}\cdot\vec{c}+\vec{c}\cdot\vec{a}) = 0 \;\Rightarrow\; \vec{a}\cdot\vec{b}+\vec{b}\cdot\vec{c}+\vec{c}\cdot\vec{a} = -\dfrac{3}{2}

Common mistakes

  • Treating the dot product as a vector. It's a single number.
  • Reversing the cross product. b⃗×a⃗=−(a⃗×b⃗)\vec{b}\times\vec{a} = -(\vec{a}\times\vec{b}).
  • Losing a sign in the middle component of the cross product: it's a3b1−a1b3a_3b_1 - a_1b_3.
  • Skipping the perpendicularity check. Dotting the cross product with each vector should give 0.

Where this comes up in exams

The 2025-26 CBSE Class XII syllabus lists addition of vectors, multiplication by a scalar, the negative of a vector, and the scalar (dot) and vector (cross) products. JEE Main 2026 lists the addition of vectors and scalar and vector products, and JEE Advanced 2026 lists dot and cross products and scalar and vector triple products.

Checked against CBSE Mathematics curriculum, Classes XI-XII (2025-26), JEE (Main) 2026 syllabus (NTA) and JEE (Advanced) 2026 syllabus. Syllabi can change from year to year, so confirm with the latest official notification for your exam.

Continue learning

Unit vectors and projections are the natural next steps once these operations are routine.