Skip to main content

H2 Mathematics · JC 1 and 2

H2 Math Vectors: Lines, Planes and Foot of Perpendicular

By The Singapore Syllabus · Updated · How this guide is checked

Quick answer

A line has vector equation r = a + λd, through the point a with direction d. A plane has equation r·n = p, where n is a normal, often found as the vector product of two directions in the plane. Find intersections by substituting the line into the plane, angles with the scalar product, and the foot of a perpendicular by solving for the parameter.

  • Line: r = a + λd. Plane: r·n = p, or n₁x + n₂y + n₃z = p with normal n
  • Lines: cos θ = |d₁·d₂|/(|d₁||d₂|). Line and plane: sin θ = |d·n|/(|d||n|)
  • Distance from P to the plane r·n = p is |OP·n - p|/|n|
  • A normal to a plane containing directions b and c is n = b × c

Vectors: lines and planes is the three-dimensional geometry topic of H2 Mathematics. You write lines as r = a + λd and planes as r·n = p or in cartesian form, then work out intersections, angles, distances and reflections. Typical tasks are deciding whether two lines are parallel, intersecting or skew, finding the foot of the perpendicular from a point to a plane, and finding the angle between a line and a plane, where sine rather than cosine gives the answer.

What does the syllabus expect for Vectors: Lines and Planes?

Where it sits: 9758, Pure Mathematics, 3 Vectors: 3.2 Scalar and vector products, 3.3 Three-dimensional vector geometry.

  • Write vector and cartesian equations of lines and planes
  • Use the scalar product and the vector product and their properties
  • Find the angle between two lines, between a line and a plane, or between two planes
  • Find the foot of the perpendicular and the distance from a point to a line or to a plane
  • Determine the relationship between two lines (coplanar or skew), a line and a plane, and two planes

Not in this syllabus

Older papers and other books may include these. You will not be examined on them.

  • Triple products a·b×c and a×b×c. The 9758 syllabus states 'Exclude triple products'.
  • The shortest distance between two skew lines, and their common perpendicular. 9758 excludes both under three-dimensional vector geometry.

How do you tell if two lines are parallel, intersecting or skew?

Two lines in three dimensions are parallel if their directions are scalar multiples, intersecting if they share a point, and skew otherwise. A line through the point with position vector a in the direction d has vector equation r = a + λd, where λ is a real parameter.

On this page vectors are written in the form (x, y, z). For example, the line through A(1, 2, 0) and B(3, 1, 3) has direction AB = (2, -1, 3) and equation r = (1, 2, 0) + λ(2, -1, 3).

Writing x = 1 + 2λ, y = 2 - λ and z = 3λ, then eliminating λ, gives the cartesian form (x - 1)/2 = (y - 2)/(-1) = z/3. Equating the two position vectors gives a consistent solution for both parameters only when the lines intersect. To test for intersection, solve two of the three component equations for the two parameters and check them in the third.

How do you find the equation of a plane?

The equation of a plane through the point a, containing two non-parallel directions b and c, is r = a + λb + μc. A normal vector n is perpendicular to every direction in the plane and can be found as the vector product n = b × c. Every point on the plane satisfies r·n = a·n, which is the scalar product form r·n = d. Writing r = (x, y, z) turns this into the cartesian form ax + by + cz = d.

For example, if b = (1, 0, 2) and c = (0, 1, -1), then b × c = (0 × (-1) - 2 × 1, 2 × 0 - 1 × (-1), 1 × 1 - 0 × 0) = (-2, 1, 1).

If the plane passes through (1, 1, 1), then d = -2 + 1 + 1 = 0, so the plane is -2x + y + z = 0. Check that n is perpendicular to both b and c: n·b = -2 + 0 + 2 = 0 and n·c = 0 + 1 - 1 = 0.

Finding the acute angle between lines and planes
Angle betweenVectors usedFormula
Two linesDirections d₁ and d₂cos θ = |d₁·d₂|/(|d₁||d₂|)
Two planesNormals n₁ and n₂cos θ = |n₁·n₂|/(|n₁||n₂|)
A line and a planeDirection d and normal nsin θ = |d·n|/(|d||n|)

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

The angle between a line and a plane, between two lines or between two planes comes from the scalar product a·b = |a||b| cos θ. The acute angle between two lines with directions d₁ and d₂ satisfies cos θ = |d₁·d₂|/(|d₁||d₂|). Between two planes, use cos θ = |n₁·n₂|/(|n₁||n₂|) with their normals. Between a line and a plane, the angle θ satisfies sin θ = |d·n|/(|d||n|), because the angle between the line and the normal is 90° - θ.

For example, the line with direction (2, -1, 2) and the plane x + 2y + 2z = 5, with normal (1, 2, 2), give d·n = 2 - 2 + 4 = 4, |d| = 3 and |n| = 3. So sin θ = 4/9 and θ = 26.4°. A zero scalar product means perpendicular directions, so a line is parallel to a plane, or lies in it, exactly when d·n = 0.

How two lines in three dimensions can be related
RelationshipDirectionsEquating the position vectors
ParallelScalar multiples of each otherNo solution, unless the lines are the same line
IntersectingNot parallelConsistent values for both parameters
SkewNot parallelNo consistent values for both parameters

Intersections, feet of perpendiculars and distances

To find where the line r = a + λd meets the plane r·n = p, substitute: (a + λd)·n = p, solve for λ, and put λ back into the equation of the line.

Substituting a line into a plane also finds the foot N of the perpendicular from a point P to a plane: the line through P with direction n meets the plane at N, and the distance is |PN|. The distance from P to the plane r·n = p can also be found as |OP·n - p|/|n|.

For a line r = a + λd, the foot N of the perpendicular from P satisfies PN·d = 0, which gives one equation in λ. The line of intersection of two non-parallel planes has direction n₁ × n₂ and passes through any point satisfying both equations. The reflection P' of P in a plane or a line comes from the midpoint: ON = (OP + OP')/2, so OP' = 2ON - OP.

Worked example

How do you answer an exam question on Vectors: Lines and Planes?

The plane Π has equation x + 2y + 2z = 12 and P is the point (1, 1, 0). Find (a) the foot of the perpendicular from P to Π, (b) the perpendicular distance from P to Π, (c) the reflection of P in Π, and (d) the acute angle between Π and the x-axis.

  1. Take the normal as direction

    n = (1, 2, 2) for the plane x + 2y + 2z = 12.

  2. Write the perpendicular line

    r = (1, 1, 0) + λ(1, 2, 2) passes through P.

  3. Substitute into the plane

    (1 + λ) + 2(1 + 2λ) + 2(2λ) = 12 gives λ = 1.

  4. Find the foot N

    Put λ = 1 into the line to get N(2, 3, 2).

  5. Distance and reflection

    PN = 3 units, and the reflection is 2ON - OP = (3, 5, 4).

Finding the foot of the perpendicular from P(1, 1, 0) to the plane x + 2y + 2z = 12, as in the worked example.
  1. A normal to Π is n = (1, 2, 2), with |n| = √(1 + 4 + 4) = 3.
  2. The line through P perpendicular to Π is r = (1, 1, 0) + λ(1, 2, 2), so a general point on it is (1 + λ, 1 + 2λ, 2λ).
  3. Substitute into Π: (1 + λ) + 2(1 + 2λ) + 2(2λ) = 12, so 3 + 9λ = 12 and λ = 1. The foot is N(2, 3, 2).
  4. Distance PN = |λ| × |n| = 1 × 3 = 3 units. Check with the formula: |(1, 1, 0)·(1, 2, 2) - 12|/3 = |3 - 12|/3 = 3.
  5. N is the midpoint of P and its reflection P', so OP' = 2ON - OP = (4, 6, 4) - (1, 1, 0) = (3, 5, 4).
  6. The x-axis has direction (1, 0, 0). The angle θ between it and Π satisfies sin θ = |(1, 0, 0)·(1, 2, 2)|/(1 × 3) = 1/3, so θ = 19.5°.

Answer: (a) N(2, 3, 2). (b) 3 units. (c) (3, 5, 4). (d) 19.5°.

Self-check

Can you do Vectors: Lines and Planes? Four quick questions

Tap an answer to see if it is right and why.

  1. 1. Which formula gives the acute angle θ between a line with direction d and a plane with normal n?

  2. 2. Two lines with directions (1, 2, -1) and (2, 4, -2) do not meet. How are they related?

  3. 3. What is the perpendicular distance from (1, 2, 3) to the plane 2x - y + 2z = 3?

  4. 4. Which vector is normal to the plane r = (1, 0, 0) + λ(1, 1, 0) + μ(0, 1, 1)?

Challenge question

Can you solve a harder Vectors: Lines and Planes question?

The line l has equation r = (2, 1, 0) + λ(1, 2, 2) and P is the point (6, 3, 5). Find the foot N of the perpendicular from P to l, the perpendicular distance from P to l, and the reflection of P in l.

Hint 1

Write N as a general point on l, (2 + λ, 1 + 2λ, 2λ), and form the vector PN.

Hint 2

PN is perpendicular to the direction (1, 2, 2), so their scalar product is zero.

Hint 3

N is the midpoint of P and its reflection P', so OP' = 2ON - OP.

Show the full solution
  1. A general point on l is N(2 + λ, 1 + 2λ, 2λ), so PN = (λ - 4, 2λ - 2, 2λ - 5).
  2. PN·(1, 2, 2) = 0 gives (λ - 4) + 2(2λ - 2) + 2(2λ - 5) = 0, so 9λ - 18 = 0 and λ = 2.
  3. The foot is N(4, 5, 4), and PN = (-2, 2, -1).
  4. Distance PN = √(4 + 4 + 1) = 3 units.
  5. Check: PN·(1, 2, 2) = -2 + 4 - 2 = 0, so PN is perpendicular to l.
  6. Reflection: OP' = 2ON - OP = (8, 10, 8) - (6, 3, 5) = (2, 7, 3).

Answer: N(4, 5, 4), a perpendicular distance of 3 units, and the reflection (2, 7, 3).

Which mistakes lose marks in Vectors: Lines and Planes?

  • Using cos θ = |d·n|/(|d||n|) for the angle between a line and a plane.

    Why it happens: Forgetting the scalar product with n gives the angle to the normal, 90° - θ.

    Fix: Use sin θ for a line and a plane, and cos θ for two lines or two planes.

  • Declaring two lines intersecting after solving only two component equations.

    Why it happens: Assuming two equations in two unknowns settle the question in three dimensions.

    Fix: Substitute λ and μ into the third component. If it fails and the lines are not parallel, they are skew.

  • Using λ as the parameter for both lines when testing for intersection.

    Why it happens: Forcing both lines to reach the meeting point at the same parameter value.

    Fix: Give each line its own parameter, λ and μ, before equating position vectors.

  • Getting (2, 1, 1) instead of (-2, 1, 1) for (1, 0, 2) × (0, 1, -1).

    Why it happens: Sign slips in the components of the vector product.

    Fix: Check the result: its scalar product with each original vector must be zero.

  • Giving 120° as the angle between two lines.

    Why it happens: Using the scalar product without the modulus, which can give the obtuse angle.

    Fix: Take |d₁·d₂| in the formula so the angle is acute, which here gives 60°.

  • Measuring the distance from P to a plane to a convenient point on the plane.

    Why it happens: Not seeing that the shortest distance runs along the normal.

    Fix: Use the foot of the perpendicular, or the formula |OP·n - p|/|n|.

How do you score well on Vectors: Lines and Planes questions?

  • Draw a rough diagram for foot of perpendicular and reflection questions, labelling P, N, the line or plane and the direction vectors. It shows which scalar product should be zero.
  • You may use the graphing calculator to solve the simultaneous equations for a point on two planes, but write down the equations you solved.
  • Keep exact values such as √14 in intermediate steps, and give angles to 0.1° unless the question says otherwise.

Practice questions

1. Find the cartesian equation of the plane through the point (2, -1, 3) with normal (3, 1, -2).

Show answer

3x + y - 2z = -1. Using r·n = a·n, the constant is (2)(3) + (-1)(1) + (3)(-2) = 6 - 1 - 6 = -1.

2. The lines l₁ and l₂ have equations r = (1, 0, 2) + λ(1, 1, 0) and r = (3, 4, 0) + μ(0, 1, -1). Show that they intersect, find the point of intersection and find the acute angle between them.

Show answer

They meet at (3, 2, 2) at an angle of 60°. Equating components: 1 + λ = 3 gives λ = 2, and λ = 4 + μ gives μ = -2. Check the z components: 2 = 0 - μ = 2, which is consistent. Substituting λ = 2 gives (3, 2, 2). For the angle, (1, 1, 0)·(0, 1, -1) = 1 and both directions have length √2, so cos θ = 1/2 and θ = 60°.

3. Find a vector equation of the line of intersection of the planes x + y + z = 6 and x - y + 2z = 5.

Show answer

r = (7, 0, -1) + t(3, -1, -2). The direction is (1, 1, 1) × (1, -1, 2) = (1 × 2 - 1 × (-1), 1 × 1 - 1 × 2, 1 × (-1) - 1 × 1) = (3, -1, -2). For a point, put y = 0: x + z = 6 and x + 2z = 5, so z = -1 and x = 7. Check: 7 + 0 - 1 = 6 and 7 - 0 - 2 = 5.

Questions students and parents ask

What are skew lines?

Skew lines are lines in three dimensions that are not parallel and do not meet, so they do not lie in a common plane. To show two lines are skew, show that their directions are not scalar multiples, then show that the equations from equating the position vectors have no consistent solution.

Why is sine used for the angle between a line and a plane?

The scalar product with the normal gives the angle between the line and the normal, which is 90° minus the angle you want. Since cos(90° - θ) = sin θ, the formula becomes sin θ = |d·n|/(|d||n|).

How do you find the foot of the perpendicular from a point to a line?

Write a general point N on the line as a + λd. The vector PN must be perpendicular to the direction d, so set PN·d = 0 and solve for λ. Substitute λ back into the line equation to get N, and the perpendicular distance is |PN|.

Can you use the graphing calculator in vectors questions?

It is useful for solving simultaneous equations, such as finding a point on two planes, and for checking arithmetic. Write down the equations you solved and the result so the method is visible. Scalar and vector products are usually quick to work out by hand.

How can parents check Vectors: Lines and Planes at home?

  • Ask them to explain the difference between a direction vector and a normal vector. A secure answer says one runs along the line and the other is at right angles to the plane.
  • Point to a final angle and ask whether it should be acute. Students who check this habitually catch many sign errors.
  • Ask them to describe in words what the foot of the perpendicular is before calculating. If they cannot, the method steps will not stick.

Free download: MF27 List of Formulae (H2 Math), with what the exam paper gives you.

Builds on E-Math Vectors.

Related topics

Official syllabus

This guide follows the syllabus documents published by the Singapore Examinations and Assessment Board.

First published 16 October 2026. Updated 18 October 2026 with a self-check quiz, a challenge question and notes for parents. Every worked example and practice answer on this page was checked a second time, separately from the writing, before publishing. Spotted an error? Tell us and we will correct it.

Want help with Vectors: Lines and Planes?

Tell us the level and we send a shortlist of H2 Math tutors on WhatsApp within 16 hours. You choose the tutor. About H2 Math tuition

Rated 4.9 on Google · No contract · You choose the tutor from real profiles

“Really happy with my tutor from TSS. The lessons are easy to understand, and the study materials they provide are actually useful.” Nicolas, on Google

Request a JC H2 Math tutor

Free to ask. 3 to 12 tutor profiles on WhatsApp within 16 hours. No contract.

We use your number only to send your shortlist on WhatsApp, and you choose the tutor. Privacy

From S$45 an hour for JC1 and JC2.

Add level, subjects, budget (optional)

Optional, helps us match faster. We can also ask you on WhatsApp.

Child's level
Subjects
Lessons
Budget per hour

Our rates for JC1: part-time S$45 to S$60, full-time S$65 to S$90, Ex-MOE S$90 to S$130 an hour.

Tutor preferences

Or ask on WhatsApp