Lines and planes in three dimensions AA HL

A line in three dimensions is a point plus any multiple of a direction vector, and a plane is fixed by a point and a vector at right angles to it, called the normal. This page shows how to write a line in vector, parametric and Cartesian form, how to test whether a point lies on a line, and how to use the vector product to find the normal and the Cartesian equation of a plane. Most of the working is exact, so practise it without a calculator. Work through the lines section first, because the planes section uses it. The planes section also covers where a line meets a plane, where two planes meet, and the angle between a line and a plane or between two planes.

Formulas at a glance

The magnitude of a vector, the scalar product, the size of the vector product and the vector equations of a line and a plane are in the formula booklet. The Cartesian form of a line, the angle between two lines, the angle between a line and a plane, the angle between two planes and the components of the vector product are not, so learn them.

Magnitude of a vector

|v|=v12+v22+v32|\mathbf v|=\sqrt{v_1^2+v_2^2+v_3^2}

In the booklet

Scalar product

a⋅b=|a||b|cos⁡θ\mathbf a\cdot\mathbf b=|\mathbf a||\mathbf b|\cos\theta

In the booklet

Vector equation of a line

r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b

In the booklet

Parametric form of a line

x=x0+λl, y=y0+λm, z=z0+λnx=x_0+\lambda l,\ y=y_0+\lambda m,\ z=z_0+\lambda n

In the booklet

Cartesian form of a line

x−x0l=y−y0m=z−z0n\dfrac{x-x_0}{l}=\dfrac{y-y_0}{m}=\dfrac{z-z_0}{n}

Not in the booklet

Size of the vector product

|a×b|=|a||b|sin⁡θ|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta

In the booklet

Components of the vector product

a×b=(a2b3−a3b2a3b1−a1b3a1b2−a2b1)\mathbf a\times\mathbf b=\begin{pmatrix}a_2b_3-a_3b_2\\a_3b_1-a_1b_3\\a_1b_2-a_2b_1\end{pmatrix}

Not in the booklet

Angle between two lines with directions b1\mathbf b_1 and b2\mathbf b_2

cos⁡θ=|b1⋅b2||b1||b2|\cos\theta=\dfrac{|\mathbf b_1\cdot\mathbf b_2|}{|\mathbf b_1||\mathbf b_2|}

Not in the booklet

Equations of a plane

r=a+λb+μc,r⋅n=a⋅n,ax+by+cz=d\mathbf r=\mathbf a+\lambda\mathbf b+\mu\mathbf c,\quad \mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n,\quad ax+by+cz=d

In the booklet

Angle θ\theta between a line with direction b\mathbf b and a plane with normal n\mathbf n

sin⁡θ=|b⋅n||b||n|\sin\theta=\dfrac{|\mathbf b\cdot\mathbf n|}{|\mathbf b||\mathbf n|}

Not in the booklet

Angle φ\varphi between two planes with normals n1\mathbf n_1 and n2\mathbf n_2

cos⁡φ=|n1⋅n2||n1||n2|\cos\varphi=\dfrac{|\mathbf n_1\cdot\mathbf n_2|}{|\mathbf n_1||\mathbf n_2|}

Not in the booklet

Which method to use

Decide first whether the question is about a line or a plane, then look at what you are given. A line needs a point and a direction; a plane needs a point and a normal.

The question hasUseNotes
Two points on a line, and the line is wantedDirection b=AB→\mathbf b=\vec{AB}, position a=OA→\mathbf a=\vec{OA}, then r=a+λb\mathbf r=\mathbf a+\lambda\mathbf bEither point can be used for a\mathbf a, and any non-zero multiple of b\mathbf b is a direction
A line in vector form, and the Cartesian form is wantedWrite xx, yy and zz in terms of λ\lambda, make λ\lambda the subject of each and set them equalIf a component of b\mathbf b is zero, that coordinate stays fixed and is written separately
A point, and a question whether it lies on the lineFind λ\lambda from one coordinate, then check the other two give the same λ\lambdaOne matching coordinate is not enough
Whether two lines are parallelCheck whether one direction vector is a multiple of the otherThe vector product of two parallel vectors is the zero vector
Two lines, and whether they intersect, are parallel or are skewCompare the directions first; if they are not parallel, equate the coordinates with different parameters, solve two of the equations and test the thirdThe third equation true means the lines meet; false means they are skew
The angle between two linescos⁡θ=|b1⋅b2||b1||b2|\cos\theta=\dfrac{|\mathbf b_1\cdot\mathbf b_2|}{|\mathbf b_1||\mathbf b_2|}, using the two direction vectors onlyThe modulus on top gives the acute angle between the lines
A plane through three pointsTwo direction vectors in the plane, their vector product as the normal, then r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf nAny multiple of a normal is also a normal, so simplify it before finding dd
A line perpendicular to a planeThe direction of the line is a multiple of the normal (a,b,c)(a,b,c) of ax+by+cz=dax+by+cz=dRead the normal straight from the coefficients
Where a line meets a planeWrite xx, yy and zz in terms of λ\lambda, substitute into the plane equation and solve for λ\lambdaNo λ\lambda left and a false statement: the line is parallel to the plane; a true statement: the line lies in the plane
The angle between a line and a planesin⁡θ=|b⋅n||b||n|\sin\theta=\dfrac{|\mathbf b\cdot\mathbf n|}{|\mathbf b||\mathbf n|}, with the line direction b\mathbf b and the plane normal n\mathbf nThe formula uses sine, not cosine, because the dot product measures the angle to the normal
The angle between two planescos⁡φ=|n1⋅n2||n1||n2|\cos\varphi=\dfrac{|\mathbf n_1\cdot\mathbf n_2|}{|\mathbf n_1||\mathbf n_2|}, using the two normals onlyThe modulus on top gives the acute angle between the planes
Where two planes meetThe direction of the line of intersection is n1×n2\mathbf n_1\times\mathbf n_2; find one point by choosing a value for one coordinate and solving the two equationsTwo planes with parallel normals either never meet or are the same plane

Section 1 of 2 AHL3.14 AHL3.15 AHL3.16

Lines in vector form

A line in two or three dimensions is given by r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b, where a\mathbf a is the position vector of a point on the line and b\mathbf b is a direction vector. Writing out the components gives the parametric form, and eliminating the parameter gives the Cartesian form. The equation also describes motion when the parameter is time.

Key facts you'll need

Setting up and comparing these equations leans on two vector tools.

Magnitude of a vector

|v|=x2+y2+z2|\mathbf v|=\sqrt{x^2+y^2+z^2}

In the formula booklet. You will use it to find a unit direction vector, the speed when the direction vector is a velocity, or the distance between two points on a line.

Vector (cross) product

a×b=|a||b|sin⁡θn^\mathbf a\times\mathbf b=|\mathbf a||\mathbf b|\sin\theta\,\hat{\mathbf n}

The booklet gives the size of the vector product, |a×b|=|a||b|sin⁡θ|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta. Two direction vectors are parallel exactly when a×b=0\mathbf a\times\mathbf b=\mathbf 0 - a quick way to rule parallel lines in or out before testing for skewness.

Key terms

What is a direction vector?

A direction vector is any non-zero vector parallel to the line. Every scalar multiple of it is also a direction vector for the same line.

e.g. The line through A(1,2,3)A(1,2,3) and B(4,0,5)B(4,0,5) has direction vector AB→=(3,−2,2)\overrightarrow{AB}=(3,-2,2).

What is the parametric form of a line?

The parametric form writes each coordinate separately in terms of the parameter.

e.g. The line r=(1,2,3)+t(3,−2,2)\mathbf r=(1,2,3)+t(3,-2,2) gives x=1+3tx=1+3t, y=2−2ty=2-2t and z=3+2tz=3+2t.

What is the Cartesian form of a line in three dimensions?

Make the parameter the subject of each coordinate equation and set them equal, giving x−x0b1=y−y0b2=z−z0b3\dfrac{x-x_0}{b_1}=\dfrac{y-y_0}{b_2}=\dfrac{z-z_0}{b_3}. This form needs every component of the direction vector to be non-zero.

e.g. From x=1+3tx=1+3t, y=2−2ty=2-2t and z=3+2tz=3+2t: x−13=y−2−2=z−32\dfrac{x-1}{3}=\dfrac{y-2}{-2}=\dfrac{z-3}{2}.

How do you check that a point lies on a line?

Equate the coordinates to the line's equations, find the parameter from one coordinate, then check that the other coordinates give the same parameter value.

e.g. For r=(1,2,3)+t(3,−2,2)\mathbf r=(1,2,3)+t(3,-2,2) and the point (7,−2,7)(7,-2,7): 1+3t=71+3t=7 gives t=2t=2, and then y=2−4=−2y=2-4=-2 and z=3+4=7z=3+4=7, so the point lies on the line.

How do you find the angle between two lines?

Use only the two direction vectors: cos⁡θ=|b1⋅b2||b1||b2|\cos\theta=\dfrac{|\mathbf b_1\cdot\mathbf b_2|}{|\mathbf b_1||\mathbf b_2|}. The modulus on the top gives the acute angle, which is the angle between the lines.

e.g. Lines with directions (1,−1,0)(1,-1,0) and (0,1,−1)(0,1,-1): the scalar product is −1-1 and the magnitudes are both 2\sqrt2, so cos⁡θ=12\cos\theta=\dfrac{1}{2} and the angle between the lines is 60∘60^\circ.

How do you tell whether two lines intersect, are parallel or are skew?

If the direction vectors are multiples of each other, the lines are parallel, or coincident if they share a point. Otherwise equate the coordinates using a different parameter for each line, solve two of the equations, and test the third: if it holds the lines intersect, and if it fails they are skew.

e.g. For r=s(1,0,1)\mathbf r=s(1,0,1) and r=(1,1,0)+t(0,1,1)\mathbf r=(1,1,0)+t(0,1,1), the directions are not multiples. The xx and yy equations give s=1s=1 and t=−1t=-1, but then the zz equation says 1=−11=-1, which is false, so the lines are skew.

Worked example, step by step

The question No calculator needed [5 marks]

The points A(2,−1,4)A(2,-1,4) and B(5,3,−8)B(5,3,-8) lie on the line LL.

(a) Find a vector equation of LL.

(b) Write down the Cartesian form of LL.

(c) Show that the point C(−4,−9,28)C(-4,-9,28) lies on LL.

Worked solution: worked example

Answer: (a) r=(2−14)+λ(34−12)\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\4\\-12\end{pmatrix} (b) x−23=y+14=z−4−12\dfrac{x-2}{3}=\dfrac{y+1}{4}=\dfrac{z-4}{-12} (c) shown, with λ=−2\lambda=-2

Step 1 - Find the direction vector.

The line passes through AA and BB, so a direction vector is AB→=(53−8)−(2−14)=(34−12).\vec{AB}=\begin{pmatrix}5\\3\\-8\end{pmatrix}-\begin{pmatrix}2\\-1\\4\end{pmatrix}=\begin{pmatrix}3\\4\\-12\end{pmatrix}. M1 - Find AB→\vec{AB} as the difference of the position vectors

Why? The direction is the position of the end point minus the position of the start point. Taking BA→\vec{BA} instead would give a vector pointing the other way, which describes the same line.

Step 2 - Write the vector equation.

Use the position vector of AA as the point and AB→\vec{AB} as the direction: r=(2−14)+λ(34−12).\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\4\\-12\end{pmatrix}. A1 - r=(2−14)+λ(34−12)\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\4\\-12\end{pmatrix} (or an equivalent form)

Why? In r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b, the vector a\mathbf a is a fixed point on the line and b\mathbf b is the direction of travel. Do not swap them, and do not use two points where a point and a direction are needed.

Step 3 - Write the Cartesian form.

The parametric equations are x=2+3λx=2+3\lambda, y=−1+4λy=-1+4\lambda and z=4−12λz=4-12\lambda. Making λ\lambda the subject of each and setting them equal gives x−23=y+14=z−4−12.\dfrac{x-2}{3}=\dfrac{y+1}{4}=\dfrac{z-4}{-12}. A1 - x−23=y+14=z−4−12\dfrac{x-2}{3}=\dfrac{y+1}{4}=\dfrac{z-4}{-12}

Why? The numbers on the bottom are the components of the direction vector, and the numbers subtracted on top are the coordinates of the point. Here every component of the direction is non-zero, so all three fractions can be written.

Step 4 - Find λ\lambda for the point CC.

If CC is on LL, then −4=2+3λ-4=2+3\lambda, so λ=−2\lambda=-2. M1 - Use one coordinate to find the value of λ\lambda for CC, λ=−2\lambda=-2

Why? Use one coordinate to find the parameter, then test the other two with it. Choosing the xx coordinate keeps the arithmetic short because its direction component is small.

Step 5 - Check the other two coordinates.

With λ=−2\lambda=-2: y=−1+4(−2)=−9y=-1+4(-2)=-9 and z=4−12(−2)=28z=4-12(-2)=28. These are the yy and zz coordinates of CC, so CC lies on LL. A1 - Show that the yy and zz coordinates also match for λ=−2\lambda=-2, so CC lies on LL

Why? One matching coordinate is not enough. The point is on the line only if the same λ\lambda works in all three equations.

Marks (5):
M1 Find AB→\vec{AB} as the difference of the position vectors
A1 r=(2−14)+λ(34−12)\mathbf r=\begin{pmatrix}2\\-1\\4\end{pmatrix}+\lambda\begin{pmatrix}3\\4\\-12\end{pmatrix} (or an equivalent form)
A1 x−23=y+14=z−4−12\dfrac{x-2}{3}=\dfrac{y+1}{4}=\dfrac{z-4}{-12}
M1 Use one coordinate to find the value of λ\lambda for CC, λ=−2\lambda=-2
A1 Show that the yy and zz coordinates also match for λ=−2\lambda=-2, so CC lies on LL

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Medium
No calc
[6 marks]
A harbour is at the origin HH, with the xx-axis pointing east and the yy-axis pointing north. Distances are in kilometres. A boat has position vector r=(−3−2)+t(25)\mathbf{r}=\begin{pmatrix}-3\\-2\end{pmatrix}+t\begin{pmatrix}2\\5\end{pmatrix} relative to HH, where tt is the time in hours after 12:00.
(a) Find the position vector of the boat at 15:00.
[2]
(b) Find the exact value of the speed of the boat, in kilometres per hour.
[2]
(c) At one time the boat is due north of HH. Find the exact value of the distance of the boat from HH at that time, in kilometres.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[2 marks]
The lines r1=(1,0,2)+s(2,−1,3)\mathbf r_1=(1,0,2)+s(2,-1,3) and r2=(4,5,0)+t(−4,2,−6)\mathbf r_2=(4,5,0)+t(-4,2,-6) are given. Find the value of kk for which (−4,2,−6)=k(2,−1,3)(-4,2,-6)=k(2,-1,3). The value of kk shows that the lines are parallel.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
Calculator
[7 marks]
A tower stands at the point T(10, 4, 0)T(10,\ 4,\ 0). A drone has position vector r=(−5−28)+t(31−1)\mathbf{r}=\begin{pmatrix}-5\\-2\\8\end{pmatrix}+t\begin{pmatrix}3\\1\\-1\end{pmatrix} relative to the origin OO, where tt is the time in seconds after take-off and distances are in metres.
(a) Find an expression for the square of the distance from the drone to the tower at time tt.
[3]
(b) Find the time at which the drone is closest to the tower, correct to 3 significant figures.
[2]
(c) Find the minimum distance between the drone and the tower, in metres, correct to 3 significant figures.
[2]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 15 marks

Common mistakes

  • Assuming non-intersecting lines must be parallel. In three dimensions, two lines can fail to meet without being parallel - that's exactly what a skew line is.
  • Mixing up the point and the direction vector. In r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b, a\mathbf a is a fixed position and b\mathbf b is the direction you travel in - swapping them, or using two points where a point and a direction are needed, gives the wrong line entirely.
  • Stopping after solving only two of the three equations. With two unknown parameters and three coordinate equations, you must check the third equation is also satisfied before concluding the lines intersect - skip it and you can wrongly rule a skew pair as meeting.

Try some questions on lines in vector form

Section 2 of 2 AHL3.17 AHL3.16 AHL3.18

Planes and where they meet

A plane in three dimensions can be written as r=a+λb+μc\mathbf r=\mathbf a+\lambda\mathbf b+\mu\mathbf c using a point and two non-parallel direction vectors, or in Cartesian form ax+by+cz=dax+by+cz=d, where (a,b,c)(a,b,c) is a normal vector. To find the equation, work out a normal vector and substitute a point on the plane to find dd. Converting between the forms is the main skill.

The two forms of a plane's equation

Normal (scalar product) form

r⋅n=a⋅n\mathbf r\cdot\mathbf n = \mathbf a\cdot\mathbf n

Use when you're given (or can find) a normal vector n\mathbf n and a point a\mathbf a on the plane - this is usually the fastest route to the Cartesian equation.

Cartesian equation

ax+by+cz=dax+by+cz=d

Expand the normal form n⋅(r−a)=0\mathbf n\cdot(\mathbf r-\mathbf a)=0 and collect terms - the coefficients a,b,ca,b,c are exactly the components of the normal vector n\mathbf n.

Key terms

What is a normal vector to a plane?

A normal vector is perpendicular to every direction vector lying in the plane. In the equation ax+by+cz=dax+by+cz=d, the normal vector is (a,b,c)(a,b,c).

e.g. The plane 2x−3y+z=52x-3y+z=5 has normal vector (2,−3,1)(2,-3,1).

How do you find d in the Cartesian equation?

Substitute the coordinates of a known point on the plane into ax+by+cz=dax+by+cz=d once the normal vector has given you aa, bb and cc.

e.g. A plane with normal (1,2,3)(1,2,3) through (1,0,2)(1,0,2) has d=1+0+6=7d=1+0+6=7, so its equation is x+2y+3z=7x+2y+3z=7.

How do you test whether a point lies on a plane?

Substitute its coordinates into the Cartesian equation. The point lies on the plane only if both sides are equal.

e.g. For x+2y+3z=7x+2y+3z=7, the point (2,1,1)(2,1,1) gives 2+2+3=72+2+3=7, so it lies on the plane, but (1,1,1)(1,1,1) gives 66, so it does not.

How do you find a normal vector from two direction vectors?

Take the vector product of two non-parallel direction vectors in the plane. The result is perpendicular to both.

e.g. The directions (1,0,2)(1,0,2) and (0,1,3)(0,1,3) give normal (−2,−3,1)(-2,-3,1), because its dot product with each direction is 00.

How do you find where a line meets a plane?

Write xx, yy and zz in terms of λ\lambda, substitute them into the equation of the plane and solve for λ\lambda. Putting that λ\lambda back into the line gives the point. If λ\lambda disappears and the statement is false, the line is parallel to the plane and never meets it; if the statement is true, the whole line lies in the plane.

e.g. The line r=(1,0,2)+λ(2,1,−1)\mathbf r=(1,0,2)+\lambda(2,1,-1) and the plane x+2y+3z=9x+2y+3z=9: (1+2λ)+2λ+3(2−λ)=7+λ=9(1+2\lambda)+2\lambda+3(2-\lambda)=7+\lambda=9, so λ=2\lambda=2 and the line meets the plane at (5,2,0)(5,2,0).

How do you find the angle between a line and a plane?

Use the direction b\mathbf b of the line and the normal n\mathbf n of the plane: sin⁡θ=|b⋅n||b||n|\sin\theta=\dfrac{|\mathbf b\cdot\mathbf n|}{|\mathbf b||\mathbf n|}. It is sine, not cosine, because the scalar product gives the angle between the line and the normal, which is 90∘−θ90^\circ-\theta.

e.g. For b=(1,2,2)\mathbf b=(1,2,2) and n=(2,−1,2)\mathbf n=(2,-1,2), the scalar product is 44 and both magnitudes are 33, so sin⁡θ=49\sin\theta=\dfrac49 and θ=26.4∘\theta=26.4^\circ.

How do you find the angle between two planes?

The angle between two planes is the angle between their normals: cos⁡φ=|n1⋅n2||n1||n2|\cos\varphi=\dfrac{|\mathbf n_1\cdot\mathbf n_2|}{|\mathbf n_1||\mathbf n_2|}. The modulus on the top gives the acute angle.

e.g. The normals (1,2,2)(1,2,2) and (0,3,4)(0,3,4) have scalar product 1414 and magnitudes 33 and 55, so cos⁡φ=1415\cos\varphi=\dfrac{14}{15} and φ=21.0∘\varphi=21.0^\circ.

How do you find where two planes meet?

Two planes that are not parallel meet in a line. Its direction is n1×n2\mathbf n_1\times\mathbf n_2, because that vector is perpendicular to both normals. For a point on it, choose a value for one coordinate and solve the two equations for the other two. Three planes give three equations to solve together, as on the systems of equations page.

e.g. The planes x+y+z=6x+y+z=6 and x−y+2z=5x-y+2z=5 have normals (1,1,1)(1,1,1) and (1,−1,2)(1,-1,2), whose vector product is (3,−1,−2)(3,-1,-2). With y=0y=0 the equations give x=7x=7 and z=−1z=-1, so the line is r=(7,0,−1)+λ(3,−1,−2)\mathbf r=(7,0,-1)+\lambda(3,-1,-2).

Worked example, step by step

The question No calculator needed [5 marks]

The points A(1,2,−1)A(1,2,-1), B(3,1,0)B(3,1,0) and C(2,4,2)C(2,4,2) lie in the plane Π\Pi.

(a) Find the vectors AB→\vec{AB} and AC→\vec{AC}.

(b) Use the vector product to find a normal vector to Π\Pi.

(c) Find the Cartesian equation of Π\Pi.

Worked solution: worked example

Answer: (a) AB→=(2,−1,1)\vec{AB}=(2,-1,1) and AC→=(1,2,3)\vec{AC}=(1,2,3) (b) n=(−5,−5,5)\mathbf n=(-5,-5,5), or any multiple, such as (1,1,−1)(1,1,-1) (c) x+y−z=4x+y-z=4

Step 1 - Find two direction vectors in the plane.

AB→=(2−11),AC→=(123).\vec{AB}=\begin{pmatrix}2\\-1\\1\end{pmatrix},\qquad \vec{AC}=\begin{pmatrix}1\\2\\3\end{pmatrix}. Neither is a multiple of the other, so they are not parallel and together they fix the plane. A1 - AB→=(2,−1,1)\vec{AB}=(2,-1,1) and AC→=(1,2,3)\vec{AC}=(1,2,3)

Why? A plane needs two non-parallel directions. Taking both vectors from the same point AA keeps the working simple.

Step 2 - Find a normal with the vector product.

A vector perpendicular to both is AB→×AC→\vec{AB}\times\vec{AC}: (2−11)×(123)=((−1)(3)−(1)(2)(1)(1)−(2)(3)(2)(2)−(−1)(1)).\begin{pmatrix}2\\-1\\1\end{pmatrix}\times\begin{pmatrix}1\\2\\3\end{pmatrix}=\begin{pmatrix}(-1)(3)-(1)(2)\\ (1)(1)-(2)(3)\\ (2)(2)-(-1)(1)\end{pmatrix}. M1 - Use the vector product of AB→\vec{AB} and AC→\vec{AC}

Why? The vector product of two vectors in the plane is perpendicular to both, so it is perpendicular to the whole plane. Each component uses the other two components of the vectors, in the cyclic order xx, yy, zz.

Step 3 - Simplify the normal.

AB→×AC→=(−5−55),\vec{AB}\times\vec{AC}=\begin{pmatrix}-5\\-5\\5\end{pmatrix}, so n=(11−1)\mathbf n=\begin{pmatrix}1\\1\\-1\end{pmatrix} is also a normal. A1 - n=(−5,−5,5)\mathbf n=(-5,-5,5) or a multiple of it

Why? Any non-zero multiple of a normal is still a normal, and the smaller numbers make the next step easier. A quick check is that n⋅AB→=2−1−1=0\mathbf n\cdot\vec{AB}=2-1-1=0.

Step 4 - Use the normal form.

With a=OA→=(1,2,−1)\mathbf a=\vec{OA}=(1,2,-1), the equation is r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n, so r⋅(11−1)=1+2+1=4.\mathbf r\cdot\begin{pmatrix}1\\1\\-1\end{pmatrix}=1+2+1=4. M1 - Use r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n with a point of the plane to find dd

Why? The right-hand side is a number, found by taking the scalar product of the position vector of a known point with the normal. It is the dd in ax+by+cz=dax+by+cz=d.

Step 5 - Write the Cartesian equation.

With r=(x,y,z)\mathbf r=(x,y,z), this gives x+y−z=4.x+y-z=4. A1 - x+y−z=4x+y-z=4 (or a multiple of it)

Why? The coefficients of xx, yy and zz are exactly the components of the normal vector.

Step 6 - Check with the other points.

For B(3,1,0)B(3,1,0): 3+1−0=43+1-0=4. For C(2,4,2)C(2,4,2): 2+4−2=42+4-2=4. Both satisfy the equation.

Why? Substituting a point into the left-hand side should give dd. Testing the points that were not used to find dd catches an arithmetic slip in the vector product.

Marks (5):
A1 AB→=(2,−1,1)\vec{AB}=(2,-1,1) and AC→=(1,2,3)\vec{AC}=(1,2,3)
M1 Use the vector product of AB→\vec{AB} and AC→\vec{AC}
A1 n=(−5,−5,5)\mathbf n=(-5,-5,5) or a multiple of it
M1 Use r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n with a point of the plane to find dd
A1 x+y−z=4x+y-z=4 (or a multiple of it)

Now you try: enter your answers to be marked

1
Medium
No calc
[4 marks]
Find the Cartesian equation of the plane through (2,1,−1)(2,1,-1) with normal (3,−2,1).(3,-2,1). Write your answer in the form ax+by+cz=d.ax+by+cz=d.
[4]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[3 marks]
A straight cable has equation r=(2−15)+t(−6−10b)\mathbf{r}=\begin{pmatrix}2\\-1\\5\end{pmatrix}+t\begin{pmatrix}-6\\-10\\b\end{pmatrix} and a flat panel lies in the plane 3x+ay+2z=103x+ay+2z=10, where aa and bb are constants. The cable is perpendicular to the panel.
(a) Find the value of aa.
[2]
(b) Find the value of bb.
[1]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[4 marks]
A support rod is fixed at the point A(1,4,−2)A(1,4,-2) and meets a flat ceiling with equation 2x−3y+6z=−82x-3y+6z=-8 at right angles. Lengths are in metres.
(a) Find the coordinates of the point where the rod meets the ceiling.
[3]
(b) Find the length of the rod.
[1]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 11 marks

Common mistakes

  • Reading off the wrong normal vector. In ax+by+cz=dax+by+cz=d, the normal is (a,b,c)(a,b,c) exactly as written - not the coordinates of a point on the plane, which is a separate quantity entirely.
  • Confusing a point on the plane with the normal vector. The vector form r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n needs both a specific point a\mathbf a and the normal n\mathbf n - substituting one where the other belongs gives a completely different plane.
  • Forgetting a plane needs two direction vectors, not one. Unlike a line, r=a+λb+μc\mathbf r=\mathbf a+\lambda\mathbf b+\mu\mathbf c requires two non-parallel vectors b\mathbf b and c\mathbf c lying in the plane - a single direction vector only describes a line within it.

Try some questions on planes and where they meet

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Magnitude, dot product and angle between vectors

Used in: Lines in vector form, Planes and where they meet

How to find the magnitude, dot product and angle between vectors on a TI-84 Plus CE

Store each vector as a list

The TI-84 Plus CE has no vector commands, so a vector is a list of its components. For a=(2,−1,3)\mathbf{a} = (2, -1, 3) press 2nd ( ({) 2 , (−) 1 , 3 2nd ) (}) sto▶ 2nd 1 (L1) enter.

Do the same for b=(4,0,−2)\mathbf{b} = (4, 0, -2), storing it in L2 (2nd 2). Both lists must have the same number of entries.

{2,-1,3}→L1
{4,0,-2}→L2
Dot product

Press 2nd stat (LIST), move to MATH with ▶, and choose 5:sum(. Then press 2nd 1 × 2nd 2 ) enter. This multiplies the two lists term by term and adds the products.

a⋅b=2\mathbf{a} \cdot \mathbf{b} = 2.

sum(L1*L2)
2
Magnitude

Press 2nd x² (√), then 2nd stat (LIST), MATH, 5:sum(, then 2nd 1 x² ) ) enter. This is 22+(−1)2+32\sqrt{2^2 + (-1)^2 + 3^2}. Repeat with 2nd 2 for b\mathbf{b}.

|a|=3.74|\mathbf{a}| = 3.74 and |b|=4.47|\mathbf{b}| = 4.47 to 3 significant figures.

√(sum(L1²))
3.741657387
√(sum(L2²))
4.472135955
Angle between the vectors

Check the angle mode first (see switching between degrees and radians): use degree mode for an answer in degrees. Press 2nd cos (cos⁻¹) and type the dot product divided by the product of the magnitudes: sum(L1*L2) ÷ ( √(sum(L1²)) × √(sum(L2²)) ) ), using the same keys as above. Press enter.

θ=83.1∘\theta = 83.1^\circ to 1 decimal place.

cos⁻¹(sum(L1*L2)/(√(sum(
L1²))*√(sum(L2²))))
83.13543366
Cross product

The cross product of a\mathbf{a} and b\mathbf{b} is a vector at right angles to both. Its components are (a2b3−a3b2, a3b1−a1b3, a1b2−a2b1)\left(a_2b_3 - a_3b_2,\ a_3b_1 - a_1b_3,\ a_1b_2 - a_2b_1\right).

The TI-84 Plus CE has no cross product command, so type each component from list entries. For the first component press 2nd 1 ( 2 ) × 2nd 2 ( 3 ) − 2nd 1 ( 3 ) × 2nd 2 ( 2 ) enter. This is L1(2)*L2(3)-L1(3)*L2(2), where L1(2) is the second entry of L1. Use L1(3)*L2(1)-L1(1)*L2(3) for the second component and L1(1)*L2(2)-L1(2)*L2(1) for the third.

L1(2)*L2(3)-L1(3)*L2(2)
2

For the magnitude, store the three components as a list: press 2nd ( ({), type the three expressions above separated by ,, then 2nd ) (}) sto▶ 2nd 3 (L3) enter. Then press 2nd x² (√), 2nd stat (LIST), MATH, 5:sum(, 2nd 3 x² ) ) enter.

a×b=(2,16,4)\mathbf{a} \times \mathbf{b} = (2, 16, 4) and its magnitude is 16.616.6 to 3 significant figures.

√(sum(L3²))
16.61324773

Press 2nd enter (ENTRY) to bring back the last line and edit it, so you do not retype the long angle expression for new vectors.

The full guide: Magnitude, dot product and angle between vectors

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
AHL3.14Vector equation of a line in two and three dimensions: r=a+λb\mathbf r=\mathbf a+\lambda\mathbf b. Relevance of a\mathbf a (position) and b\mathbf b (direction). Knowledge of the following forms for equations of lines: parametric form x=x0+λl, y=y0+λm, z=z0+λnx=x_0+\lambda l,\ y=y_0+\lambda m,\ z=z_0+\lambda n; Cartesian form x−x0l=y−y0m=z−z0n\dfrac{x-x_0}{l}=\dfrac{y-y_0}{m}=\dfrac{z-z_0}{n}. The angle between two lines, using the scalar product of the two direction vectors. Simple applications to kinematics. Interpretation of λ\lambda as time and b\mathbf b as velocity, with |b||\mathbf b| representing speed.
AHL3.15Coincident, parallel, intersecting and skew lines, distinguishing between these cases. Points of intersection. Skew lines are non-parallel lines that do not intersect in three-dimensional space.
AHL3.16The definition of the vector product of two vectors: v×w=|v||w|sin⁡θn\mathbf v\times\mathbf w=|\mathbf v||\mathbf w|\sin\theta\,\mathbf n, where θ\theta is the angle between v\mathbf v and w\mathbf w, and n\mathbf n is the unit normal vector whose direction is given by the right-hand screw rule. For non-zero vectors v×w=0\mathbf v\times\mathbf w=\mathbf 0 is equivalent to the vectors being parallel.
AHL3.17Vector equations of a plane: r=a+λb+μc\mathbf r=\mathbf a+\lambda\mathbf b+\mu\mathbf c, where b\mathbf b and c\mathbf c are non-parallel vectors within the plane. r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n, where n\mathbf n is a normal to the plane and a\mathbf a is the position vector of a point on the plane. Cartesian equation of a plane ax+by+cz=dax+by+cz=d.
AHL3.18Intersections of: a line with a plane; two planes; three planes. Angle between: a line and a plane; two planes. Finding intersections by solving equations; geometrical interpretation of solutions.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Quick questions

What is the vector equation of a line?

r=a+tb\mathbf r=\mathbf a+t\mathbf b, where a\mathbf a is the position vector of a known point on the line and b\mathbf b is a direction vector. tt is a scalar parameter that generates every point on the line as it varies.

What is the vector equation of a plane?

r=a+λb+μc\mathbf r=\mathbf a+\lambda\mathbf b+\mu\mathbf c, where a\mathbf a is a point on the plane and b,c\mathbf b,\mathbf c are two non-parallel vectors that lie in it. Equivalently, r⋅n=a⋅n\mathbf r\cdot\mathbf n=\mathbf a\cdot\mathbf n, where n\mathbf n is a vector normal to the plane.

What does it mean for two lines to be skew?

Skew lines are lines in three dimensions that never meet but also are not parallel - their direction vectors are not scalar multiples of each other, and no values of the two parameters satisfy all three coordinate equations at once.

How do I find the Cartesian equation of a plane?

Write n⋅(r−a)=0\mathbf n\cdot(\mathbf r-\mathbf a)=0 using the normal vector n=(a,b,c)\mathbf n=(a,b,c) and a known point, then expand to get ax+by+cz=d.ax+by+cz=d.

Is the vector equation of a line unique?

No. Any point on the line can be used for a\mathbf a, and any non-zero multiple of the direction can be used for b\mathbf b. For example, (4,0,5)+s(−3,2,−2)(4,0,5)+s(-3,2,-2) describes the same line as (1,2,3)+t(3,−2,2)(1,2,3)+t(3,-2,2).

How do I find the equation of a plane through three points?

Form two direction vectors between the points, such as AB→\overrightarrow{AB} and AC→\overrightarrow{AC}. Their vector product is a normal vector, and substituting one of the points gives dd.

How do I find where two lines intersect?

Use different parameter letters for the two lines and equate their components. Solve two of the equations for the parameters, then check the values in the third equation. If the third equation fails, the lines do not meet.

Is the normal vector of a plane unique?

No. Any non-zero multiple of a normal vector is also a normal vector, so x+2y+3z=7x+2y+3z=7 and 2x+4y+6z=142x+4y+6z=14 describe the same plane.

What does the direction vector mean in a motion problem?

When r\mathbf r gives position at time tt, the direction vector is the constant velocity and its magnitude is the speed. For b=(3,−2,2)\mathbf b=(3,-2,2), the speed is 9+4+4=17\sqrt{9+4+4}=\sqrt{17}.

How do I check that two direction vectors are not parallel?

Neither vector may be a scalar multiple of the other. The vectors (1,2,3)(1,2,3) and (2,4,6)(2,4,6) are parallel, but (1,2,3)(1,2,3) and (2,4,5)(2,4,5) are not.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.