3.13 Scalar and vector products

3.13 Scalar and vector products

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Scalar product: v⋅w=v1w1+v2w2+v3w3=∣v∣∣w∣cos⁡θ\mathbf v\cdot\mathbf w=v_1w_1+v_2w_2+v_3w_3=|\mathbf v||\mathbf w|\cos\theta (a number).
  • Non-zero vectors are perpendicular exactly when v⋅w=0\mathbf v\cdot\mathbf w=0.
  • Angle: cos⁡θ=v⋅w∣v∣∣w∣\cos\theta=\frac{\mathbf v\cdot\mathbf w}{|\mathbf v||\mathbf w|}; the acute angle between lines uses ∣d1⋅d2∣|\mathbf d_1\cdot\mathbf d_2|.
  • Vector product: v×w\mathbf v\times\mathbf w is a vector perpendicular to both, with magnitude ∣v∣∣w∣sin⁡θ|\mathbf v||\mathbf w|\sin\theta; w×v=−v×w\mathbf w\times\mathbf v=-\mathbf v\times\mathbf w.
  • ∣v×w∣|\mathbf v\times\mathbf w| is a parallelogram's area; half of it is the triangle's area.
4460°Oab
The angle between vectors a and b is measured with the vectors tail to tail.

The scalar product

It multiplies matching components and adds them, giving a number linked to the angle between the vectors.

v⋅w=v1w1+v2w2+v3w3=∣v∣∣w∣cos⁡θ\mathbf v\cdot\mathbf w=v_1w_1+v_2w_2+v_3w_3=|\mathbf v||\mathbf w|\cos\theta

Here θ\theta is the angle between the vectors placed tail to tail. For a=(3,1,2)\mathbf a=(3,1,2) and b=(1,−2,4)\mathbf b=(1,-2,4): a⋅b=3−2+8=9\mathbf a\cdot\mathbf b=3-2+8=9.

Two non-zero vectors are perpendicular exactly when v⋅w=0\mathbf v\cdot\mathbf w=0; for example (3,1,2)⋅(−1,−1,2)=−3−1+4=0(3,1,2)\cdot(-1,-1,2)=-3-1+4=0.

ab60°OAB
Vectors a and b placed tail to tail with angle θ = 60°, |a| = |b| = 6: a·b = 6 × 6 × cos 60° = 18.
  • v⋅w=0\mathbf v\cdot\mathbf w=0perpendicular vectors

Are (2,3,1)(2,3,1) and (1,−1,1)(1,-1,1) perpendicular?

Angles between vectors and lines

Rearrange the definition to cos⁡θ=v⋅w∣v∣∣w∣\cos\theta=\frac{\mathbf v\cdot\mathbf w}{|\mathbf v||\mathbf w|}.

A positive cos⁡θ\cos\theta gives an acute angle; a negative one gives an obtuse angle. For a\mathbf a and b\mathbf b above, cos⁡θ=91421\cos\theta=\frac{9}{\sqrt{14}\sqrt{21}}, so θ=58.3∘\theta=58.3^{\circ}.

For two lines, use their direction vectors. The acute angle between the lines uses the absolute value:

cos⁡θ=∣d1⋅d2∣∣d1∣∣d2∣.\cos\theta=\frac{|\mathbf d_1\cdot\mathbf d_2|}{|\mathbf d_1||\mathbf d_2|}.

  1. 1

    Scalar product

    2−2−4=−42-2-4=-4

  2. 2

    Magnitudes

    33 and 33

  3. 3

    Cosine of the acute angle

    ∣−4∣9=49\frac{|-4|}{9}=\frac49

  4. 4

    Angle

    63.6∘63.6^{\circ}

Angle between direction vectors (2, 1, −2) and (1, −2, 2)

Worked example

Find the acute angle between lines with directions d1=(2,1,−2)\mathbf d_1=(2,1,-2) and d2=(1,−2,2)\mathbf d_2=(1,-2,2).

v⋅w\mathbf v\cdot\mathbf w is negative. What is true about the angle between the vectors?

Components of a vector

The component along b\mathbf b is ∣a∣cos⁡θ=a⋅b∣b∣|\mathbf a|\cos\theta=\frac{\mathbf a\cdot\mathbf b}{|\mathbf b|}.

The component of a\mathbf a in the direction of b\mathbf b is

a⋅b∣b∣=∣a∣cos⁡θ.\frac{\mathbf a\cdot\mathbf b}{|\mathbf b|}=|\mathbf a|\cos\theta.

The component perpendicular to b\mathbf b is ∣a×b∣∣b∣=∣a∣sin⁡θ\frac{|\mathbf a\times\mathbf b|}{|\mathbf b|}=|\mathbf a|\sin\theta. Together: (parallel)2+(perpendicular)2=∣a∣2(\text{parallel})^{2}+(\text{perpendicular})^{2}=|\mathbf a|^{2}.

Oabprojection
The component of a along b is the projection of a onto b.

Worked example

A force F=(4,−2,3)\mathbf F=(4,-2,3) N acts on a pipe with direction d=(1,−2,2)\mathbf d=(1,-2,2). Find the components along and perpendicular to the pipe.

Which formula gives the component of a\mathbf a along b\mathbf b?

The vector product

A vector perpendicular to both, with magnitude ∣v∣∣w∣sin⁡θ|\mathbf v||\mathbf w|\sin\theta.

v×w=∣v∣∣w∣sin⁡θ n\mathbf v\times\mathbf w=|\mathbf v||\mathbf w|\sin\theta\,\mathbf n

where n\mathbf n is the unit vector perpendicular to both, given by the right-hand screw rule. In components:

v×w=(v2w3−v3w2v3w1−v1w3v1w2−v2w1).\mathbf v\times\mathbf w=\begin{pmatrix}v_2w_3-v_3w_2\\v_3w_1-v_1w_3\\v_1w_2-v_2w_1\end{pmatrix}.

Reversing the order reverses the direction: w×v=−(v×w)\mathbf w\times\mathbf v=-(\mathbf v\times\mathbf w).

vw71.6°OACB
Vectors v = (4, 0) and w = (1, 3) span a parallelogram of area |v × w| = 4 × 3 = 12; v × w points out of the page.

Scalar product

Result:
A number
Magnitude:
∣v∣∣w∣cos⁡θ|\mathbf v||\mathbf w|\cos\theta
Special case:
Zero if perpendicular

Vector product

Result:
A vector
Magnitude:
∣v∣∣w∣sin⁡θ n|\mathbf v||\mathbf w|\sin\theta\,\mathbf n
Special case:
Zero if parallel

Worked example

Find a unit vector perpendicular to both (2,1,−1)(2,1,-1) and (1,3,2)(1,3,2).

If v×w=(1,2,3)\mathbf v\times\mathbf w=(1,2,3), what is w×v\mathbf w\times\mathbf v?

Areas and distances

The magnitude of the vector product is the area of the parallelogram; half is the triangle.

∣v×w∣|\mathbf v\times\mathbf w| is the area of the parallelogram with sides v\mathbf v and w\mathbf w, and 12∣v×w∣\frac12|\mathbf v\times\mathbf w| is the area of the triangle.

The shortest distance from CC to the line ABAB is the triangle's height:

∣AB→×AC→∣∣AB→∣.\frac{|\overrightarrow{AB}\times\overrightarrow{AC}|}{|\overrightarrow{AB}|}.

64ABC
Triangle ABC: AB × AC has magnitude 24, so the area is 12; the distance from C to AB is 24 ÷ 6 = 4.
  • Triangle area12∣AB→×AC→∣\frac12|\overrightarrow{AB}\times\overrightarrow{AC}|
  • Distance from CC to line ABAB∣AB→×AC→∣∣AB→∣\dfrac{|\overrightarrow{AB}\times\overrightarrow{AC}|}{|\overrightarrow{AB}|}

Worked example

A roof panel ABCABC has AB→=(3,2,−1)\overrightarrow{AB}=(3,2,-1) and AC→=(1,3,3)\overrightarrow{AC}=(1,3,3) m. Find its area and the distance from CC to line ABAB.

∣v×w∣=10|\mathbf v\times\mathbf w|=10. What is the area of the triangle with sides v\mathbf v and w\mathbf w?

Try an exam question

The vectors a=(2,1,−1)\mathbf a=(2,1,-1) and b=(1,3,2)\mathbf b=(1,3,2). (a) Find a⋅b\mathbf a\cdot\mathbf b. (b) Find the angle between a\mathbf a and b\mathbf b.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Calculate a⋅b\mathbf{a}\cdot\mathbf{b}.

1 mark, marked against the mark scheme

Revision notes