İnteraktif Dersler
Lecture notes Exercises

Scalar product and 3D vectors

Lecture notes

Definition

The picture of space

In a picture of space points up, comes towards you and goes to the right. A point is reached from in three straight legs, along , along , then up. The floor is the plane .
OPxyz
Example
is 4 along , 2 against (the minus sign) and 3 up.Below on the floor is , and .
OP4−23
Definition

The column of AB in space

A vector in space is a column of three numbers. The vector from to is the end minus the start, , and is the column of the point itself.
ABABxyz
Example
and → (end minus start), and going back .
ABAB3−44
Definition

i, j and k

, and are the unit steps along , along and up: three vectors of length 1, perpendicular to each other. Every vector is , and a missing letter means 0.
ijkO
Example
.The other way → , because the middle number is 0.
O−2i3j4k
Rule

The length in space: two right triangles

First the floor diagonal, ; then the arrow stands on it with height , so and . Signs disappear when you square. Whole lengths occur, as has 7, has 9 and has 11.
|a|Oxyzd
Example
: the floor diagonal is , then .
√29O3425
Rule

Distance and midpoint

The distance is the length of (end minus start). The midpoint is the average of the two position vectors, : each coordinate on its own.
ABABM
Example
and → , so .The midpoint is .
6ABM
Rule

Add, subtract and scale in space

Work component by component. For draw from the head of (the parallelogram lies flat in its own plane); goes from the head of to the head of . The lengths do not add, but .
aba+bO
Example
and → and . is less than .
aba+bO
Rule

The unit vector in space

A unit vector has length 1. Divide every component by the length, . It has the direction of , and is the vector of length that way. The zero vector has no unit vector.
auO
Example
has length .So , and the vector of length 18 that way is .
91O
Definition

The vectors of a solid in a, b and c

In a cuboid take , and . Every other vector comes from walking along edges, through , so .
abcAGOABCDEFG
Example
With , , → , of length , a space diagonal.
abc7OABCDEFG
Rule

The space diagonals bisect each other

The four space diagonals of a cuboid meet in the centre. The midpoint of is ; the midpoint of is , the same vector. So are and .
OFAGOABCDEFGM
Example
Edges 6, 3, 2: the midpoint of is .The midpoint of is , the same point.
OABCDEFGM
Rule

The centroid of a triangle in space

In the tetrahedron the centroid of the face has , the average of the corners. It cuts each median from the corner, so , with the midpoint of .
OABCG
Example
, , → .Check → and .
OABCGM
Definition

The scalar product by components

Multiply the matching components and add, (two terms in the plane). The answer is a number, a scalar, not a vector.
ab33=6
Example
In the plane, .In space, .
ab−83=−5
Definition

The scalar product with the angle

, where is the angle between the two arrows when they start at the same point (). It is the same number as the one from the components, and it is the link between lengths, angles and the scalar product.
θab
Example
, and → ., and → .
60°54
Rule

The sign tells the angle

For non-zero vectors, means an acute angle, a right angle (perpendicular) and an obtuse angle, because has that sign.
ab
Example
. With the product is , a right angle.With it is , acute. With it is , obtuse.
ab
Rule

The rules of the scalar product

, , and . So , the cosine rule.
Example
, , ., , and .Cosine rule → .
Watch out!

A product that has no meaning

means nothing, because is a number and a number dotted with a vector is not defined. The vectors and exist but differ: the scalar product is not associative.
Example
, , , with .✘ the same ✔ but .
Definition

The signed rectangle

Drop the head of perpendicularly onto the line of : the shadow has the signed length . Then is the area of the rectangle by the shadow: green when positive, red when the shadow points against , flat at .
a·babO
Example
has length 5 and . The shadow is , against : the rectangle is red, so .
−20abO
Rule

The angle between two vectors

Solve for the cosine, which gives , then , always between and . Keep the cosine exact. The zero vector has no angle.
abOθ
Example
and → , , , so and .
abO67.6°
Rule

A space diagonal and the floor: two routes

The angle of the space diagonal with the floor is the angle between and its foot on the floor. Route 1 is the right triangle. Route 2 is the scalar product . They must agree.
OFF′θ
Example
Box , and .Route 1 → , so .Route 2 → , so .
OFF′45°
Rule

Perpendicular and the unknown k

Non-zero vectors are perpendicular exactly when . For an unknown write out the product and set it equal to 0: with in one component the equation is linear; with in both vectors it may be a quadratic with two values of , or none.
Example
, so .With in both → , so or .
ab
Rule

Parallel vectors

is parallel to when : the matching components all have the same ratio . Then , plus for (same direction) and minus for . For an unknown , make the ratios equal.
Example
and have the ratio in every row, so , and . and have the ratio , so .
Watch out!

The angle at a vertex: start both vectors at B

For the angle of a triangle use and , both starting at , then . The vectors and lie head to tail and give the outside angle , so the sign is wrong.
ABθ180−θBABCBAC
Example
, , give and .✔ , so ✘ gives .
AB66.1°113.9°BABCBAC
Rule

The acute angle between two lines

Two direction vectors may make an obtuse angle while the lines meet at the acute angle . For the acute (or right) angle between lines use . Lines that do not meet have an angle too.
θ180−θd₁d₂
Example
and both have length 3 and .The vectors make . The lines → , so .
116.4°63.6°d₁d₂
Definition

The shadow of b on a

The scalar projection of on is the signed length of its shadow, . The vector projection is . What is left, minus the shadow, is the part across and is perpendicular to it.
qapbOFB
Example
and give and .Scalar projection , vector projection , part across of length .
√5a6bOFB
Rule

Resolving a force along and across

A force at an angle to a direction has the part along it, , and the part across it, (their squares add up to ). A weight on a slope of angle has the parts down the slope and into it.
F·sinθF·cosθF
Example
50 N at to the direction: along it N, across it N.Check → .
2525√350
Definition

Work is a scalar product

The work of a constant force over a displacement is , in joules for newtons and metres. Only the part of the force along the motion does work.
dF·cosθF
Example
A rope pulls with 40 N at above the ground over 12 m → J.
12 m20√340N
Special case

Zero work, negative work and power

At the work is : carrying a bag level does no work on it. For an angle above the work is negative, as in braking, where the force points against the motion. The power is the work per second, , in watts when the velocity is in metres per second.
Example
A braking force of 200 N at to 15 m of displacement does J.With N and m/s the power is W.
dF
Rule

The point of a line nearest to P

On the line the point nearest to has perpendicular to ; this gives , , and the distance is . Check .
rdAPANP
Example
, , → and , so . and .
3dAPANP
Tip

A drone: the path and the displacement

The distance flown is the sum of the lengths of the legs. The displacement is the sum of the vectors, and its length is never more than the distance flown. The straight line home climbs at with .
ODdhs
Example
Legs m and m: flown m. The displacement is m, of length m.The angle of climb → , so .
OD200150250
Tip

A mast with cables

A cable from the top of a mast to an anchor on the ground is a vector . Its angle with the ground comes by two routes: the right triangle () or the scalar product with its foot vector on the ground.
TOA₁A₂hc₁c₂
Example
Mast 12 m, anchor : the cable is m and , .Anchor : the cable is m and , .
TOA₁A₂12132√61
Tip

A sled: which rope angle is best

Pulling a sled with a rope at an angle above the ground, only pushes it forward, so . The work is largest at , a rope along the ground, and falls to 0 at .
Example
A pull of 60 N over 20 m with the rope at → J.Along the ground it would be J, so the angle costs %.
Tip

A box on a ramp

The weight of a box on a ramp of angle is resolved along the ramp, (it tries to slide the box down), and into the ramp, (the ramp pushes back). The steeper the ramp, the larger the part along it. Friction belongs to Mechanics.
W·cosαW·sinαW
Example
A box of 80 N on a ramp of .Along the ramp N, into the ramp N.At the part along would be N, half the weight.
75.227.480
Tip

Which course needs what

Cambridge A level (Paper 3) asks for i, j, k, vectors in 3D and the scalar product, also in line and point problems. IB HL (both courses) has i, j, k and the scalar product; IB SL has no vectors, only the distance, the midpoint and angles in 3D. The UK A level has vectors in 3D in year 13 but no scalar product: that is Further Mathematics. Wiskunde B vwo has the inproduct in the plane; wiskunde D vwo works in space, with the inproduct and the uitproduct. AP Precalculus has the dot product in an optional topic that is not on the exam; the Cambridge IGCSE uses 3D only with Pythagoras and trigonometry. The MEB programme has no vector outcome.
Example
A question for IB HL or Cambridge: the angle between and needs the scalar product, .A UK A level question stays in space without it: the length of is .

Exercises

and . Write as a column. Easy
ABAB???
Show solution
The end minus the start, component by component.
→ , → , → .
So 3 against , 4 along and 2 up.
Check → plus the column is .
Find the length of . Easy
Show solution
Square the three numbers → , , .
Add → .
The root → .
Check → , and the minus sign changes nothing.
Find the midpoint of and . Easy
Show solution
Half of the sum, coordinate by coordinate.
, , .
Check → and , so is as far from as from .
Find for and . Easy
Show solution
Multiply the matching components → , , .
Add → .
Check: the answer is a number, and it is negative, so the angle between the vectors is obtuse.
Write as a column and give its length. Easy
Show solution
The numbers before , , are the components → .
Length → .
.
and length
Check → .
, and the angle between them is . Find . Easy
Show solution
Use .
.
.
Check: the angle is obtuse, so the scalar product is negative.
Find the unit vector in the direction of . Medium
Show solution
The length → .
Divide every component by 11 → .
Check → , so the length is 1.
Find the angle between and . Medium
Show solution
.
and .
, so .
Check: the scalar product is positive, so the angle is acute.
Find so that and are perpendicular. Medium
Show solution
Perpendicular means the scalar product is 0.
.
So .
Check → .
, , . Find the angle . Medium
?BABCBAC
Show solution
Both vectors start at → and .
, , .
, so .
Check: the scalar product 4 is positive, so the angle is acute.
is a cuboid with , , and , , . Write in , , and find its length. Medium
ECOABCDEFG
Show solution
, so , and .
.
Length → .
, length
Check → is a space diagonal, and .
A rope pulls a trolley 8 m along the ground with a force of 50 N, the rope at above the ground. How much work does the force do? Medium
8 m?50N
Show solution
Only the part of the force along the ground does work → .
This is J.
J
Check → is a little less than 1, so the work is a little less than J.
Find the values of for which and are perpendicular. Hard
Show solution
The scalar product must be 0 → .
Quadratic formula → .
, so , which is or .
or
Check → for , and .
Find the scalar and the vector projection of on , and the part of across . Hard
?a?b
Show solution
and , so .
Scalar projection → . Vector projection → .
Across → .
Scalar projection , vector projection , part across
Check: the part across times is , so it is perpendicular to .
A line goes through with direction . Find the point of the line nearest to and the distance . Hard
?dAPANP
Show solution
, and , so .
and , so .
,
Check → .
A box is . Find the angle between its space diagonal and the floor by two routes. Hard
Show solution
Route 1: the floor diagonal is , the height is , so and .
Route 2 → and its foot give .
Both give .
Check → , so and fit together.
A square pyramid has the base with , , and the apex . Find the angle between two slant edges. Hard
OABCV?
Show solution
Both vectors start at → and .
and .
, so .
Check: the scalar product 16 is positive, so the angle is acute.
A drone flies 60 m east and 80 m north, then 105 m straight up. Find the distance flown, the displacement from the start and the angle at which the straight line back descends. Hard
?OD
Show solution
The first leg is m, so the distance flown is m.
The displacement is m, of length m.
, so .
Distance flown m, displacement m, angle
Check → , as the displacement is never longer than the distance flown.
Are you a teacher?

Start live lessons with these applications for your whole class. Free to try for one month.

Try it free

Fits these school years

IB (MYP, Diploma): Diploma, year 1, Diploma, year 2

Cambridge International: A Level

Netherlands: Vwo · Mathematics D, Vwo · Mathematics B

England (GCSE, A Level): Year 13 (A Level)

USA (Common Core): Precalculus

What the applications of this topic teach 6 applications

Vectors in 3D: points, arrows and i, j, k

  • Writing the coordinates and the column of a point in space
  • Finding the length of a vector in space and the distance of two points
  • Adding, subtracting and scaling vectors with i, j and k

Vectors of solids: routes through O

  • Writing the vector between two corners of a solid in a, b and c
  • Finding the length of an edge, face diagonal and space diagonal
  • Finding the angle of a space diagonal with the floor

Scalar product: multiply, add, read the sign

  • Finding a scalar product by components and by size and angle
  • Reading the sign of a scalar product: acute, right or obtuse
  • Seeing the scalar product as the signed area of a rectangle

Angle between vectors: cos θ = a·b / (|a||b|)

  • Finding the angle between two vectors in the plane or in space
  • Finding k that makes two vectors perpendicular or parallel
  • Finding the angle at a vertex of a triangle, avoiding the head-to-tail trap

Projection and work: along and across

  • Finding the scalar and vector projection of a vector
  • Resolving a force along and across a slope and finding the work
  • Finding the point of a line nearest to a point P

Vectors in 3D in everyday life

  • Following a drone through space: position, displacement, angle of climb
  • Finding the cable lengths of a mast and their angles with the ground
  • Finding the work of a rope at an angle