Affine space — exam-style exercises with skew lines, the plane through three points, a reflection, a conic and a 20-question quiz (and the angle that came out as 66° instead of 24°)
Working through an exercise from another year on my own, I worked out the angle between a line and a plane with the cosine and the normal, and got an angle of 66 degrees for a line that, in the drawing, barely rose off the plane. It was the complementary one: the angle with the normal, not with the plane. That trap is in “What is wrong here?”, together with the other two that cost the most marks in geometry: the wrong normal and “they meet” without checking the determinant.
Table of Contents
How to use this article
In the AG exam, : T is the 20-question test taken from the Campus quizzes and P, the exercises on paper. You can see how it combines with the quizzes and the assignments in the AG grade calculator.
The 2022 and 2023 exams had an affine space exercise in worth about 9 points out of 50: relative position of lines and planes, the plane with respect to which two points are symmetric, a line perpendicular to a plane and where they meet. In the 25/26 year the topic was not taught, so the Campus test has no quiz for it: the one here follows the format of the others, with original questions. The exercises follow the exam format (points per part and marking criteria), and the last one is a complete exercise like the ones from those years.
- Do each exercise on paper: write down the points and vectors of every line and plane before working anything out.
- Compare with the expected result and, if it does not match, open the hint before looking at the solution.
- In “What is wrong here?”, look for the mistake yourself before reading the explanation.
- Take the quiz and check the exercises in MATLAB.
- If some part of the method sticks in your throat, go back to the guided practice.
Exercise 1 (basic level): a line, a plane and their position
Exercise 1. [3 points] Given the points , and : a) (1 point) Write the line in parametric and symmetric form. b) (1 point) Find the general equation of the plane through , and . c) (1 point) Study the relative position of that plane and the plane and, if possible, work out the distance between them.
Expected result: a) ; . b) . c) Parallel, apart.
In c), divide the second plane by 2 so both equations have the same normal, and compare the constant terms.
Exercise 2 (intermediate level): projection, reflection, angle and a conic
Exercise 2. [3 points] Let be the plane from exercise 1. a) (1.5 points) Find the projection of the point onto , its distance to and its reflection. b) (0.75 points) Work out the angle between and the plane . c) (0.75 points) Classify the conic and give its elements.
Expected result: a) (it is !), , . b) , . c) A circle with center and radius 5.
In a), the line intersected with gives a whole-number ; in c), the coefficients of and are equal and there is no term.
Exercise 3 (challenge): how it appears in the exam
Exercise 3. [9 points] In real affine space , with the standard dot product, take the lines
a) (4 points) Study the relative position of and and work out the distance between them. b) (2 points) Find the general equation of the plane that contains and is parallel to . c) (3 points) Find the point where meets the plane and the angle makes with that plane.
Expected result: a) Skew; . b) . c) ; , .
The direction vector of is the cross product of the normals of its two planes. For a point of , give one coordinate a handy value (for example, ) and solve for the other two.
What is wrong here?
Three solutions written by classmates. Before reading the explanation, look for the mistake.
Fragment 1: the plane through three points
Plane through A(1, 0, 2), B(3, 4, 0), C(0, 1, 1) AB = (2, 4, -2) → n = (1, 2, -1) x + 2y - z + d = 0, with A: 1 + 0 - 2 + d = 0 → d = 1 Plane: x + 2y - z + 1 = 0
The vector , which runs inside the plane, was taken as the normal. The plane that comes out is perpendicular to the one wanted: it contains , but not (). The right normal is , proportional to .
Check the plane with all three points, not just the one you used for . If one fails, the normal is wrong.
Fragment 2: the angle with the cosine
Angle of r (u = (2, 1, -1)) with the plane z = 0 (n = (0, 0, 1)) cos(φ) = |u·n| / (|u||n|) = 1 / √6 φ = arccos(1/√6) = 65.91°
The formula is the one for the angle between two lines, and here it was applied with the plane’s normal: the result is the angle between the line and the normal, , which is the complement of the one asked for. With a plane you use the sine: , (and ).
If the line barely rises off the plane and you get a large angle, be suspicious: you have worked out the angle with the normal.
Fragment 3: “not parallel, so they meet”
r: (1, -1, 0) + λ(2, 1, -2) s: (2, 0, 1) + μ(1, -3, -2) The direction vectors are not proportional → rg = 2 So r and s intersect.
Non-proportional direction vectors only rule out parallel and coincident. In space two possibilities remain: that they meet or that they are skew, and the rank with decides. Here the determinant is : rank 3, skew. They are the lines from exercise 3.
Reasoning in space as in the plane. In , two non-parallel lines always meet; in , they do not.
Solutions
Exercise 1
a) , simplified . With :
Check: gives .
Before the working for b), the approach. A plane is fixed by a point and a normal, and the normal has to be perpendicular to everything that lies inside the plane. Here you have two directions inside it that don’t run together, and , and the vector perpendicular to both at once is their cross product. That’s why you compute it instead of taking as the normal, which is exactly the mistake in fragment 1.
You use and not because they have the same direction, and with small numbers you make fewer slips. With you would get , twice as much, and the same plane: that’s what MATLAB gives further down.
Check before moving on: and . If either one isn’t 0, go over the cross product before carrying on.
b) . The normal:
The plane is , with : , . Changing every sign:
Check with the three points: : ; : ; : .
For c), the approach. Two planes either meet in a line, are parallel or are the same plane, and the first thing that decides it is the normals: is twice , so they don’t meet. To know whether they are the same plane you compare the constant terms, but only with the same normal in both equations: as they stand, the 5 and the 1 are on different scales. That’s why you divide by 2, and then tells you they are parallel.
Subtracting without dividing and ending up with . The formula for parallel planes only works with both equations written with the same normal. If in doubt, take , which lies on , and work out its distance to the second plane: , the same.
c) The second plane divided by 2: . Same normal and different constant term: parallel (, ). The distance:
| Part | What earns marks | Points |
|---|---|---|
| a) | Direction vector and both forms | 1 |
| b) | Normal with the cross product | 0.5 |
| b) | General equation, checked | 0.5 |
| c) | Parallel, justified | 0.5 |
| c) | Distance | 0.5 |
Exercise 2
Before the working for a), the approach. The projection of is the point of closest to , and the shortest path from a point to a plane is the perpendicular one: it leaves in the direction of the normal. The path that looks obvious, taking any point of the plane and looking for the closest one, means minimising with two parameters; the line turns it into a first-degree equation. And that single calculation gives you all three results:
| What you want | How it comes from | Why |
|---|---|---|
| Projection | It’s where the perpendicular line hits the plane | |
| Distance | You travel times the vector , and each time you cover its length | |
| Reflection | is the midpoint: you carry on along the same line by the same amount |
Giving as the distance is the classic slip: counts how many times you travel , not how many units.
a) . The line in :
The projection is : exactly the point . The distance, (with the formula: ). The reflection, . Check: gives , the opposite of the value for (): it is on the other side, at the same distance.
For b), the approach. If you rotate a plane, its normal rotates by the same amount, so the angle between the planes is the angle between their normals. It’s the cosine because you are comparing two vectors of the same kind, and the absolute value is there to give the acute angle: without it, and you would get . In part c) of exercise 3, on the other hand, you compare a direction vector with a normal, which is at to the plane: there it’s the sine.
b) With the normals and :
c) Equal coefficients on and and no term: a circle (if the radius comes out real). Completing the squares:
Center and radius 5.
| Part | What earns marks | Points |
|---|---|---|
| a) | Perpendicular line and | 0.5 |
| a) | Projection and distance | 0.5 |
| a) | Reflection | 0.5 |
| b) | Angle with the normals | 0.75 |
| c) | Completing squares, center and radius | 0.75 |
Exercise 3
The 9-point exercise, before the working. For each line you need a point and a direction vector: hands them to you; comes as the intersection of two planes and you have to get them out. Then the questions, in this order:
| Step | What you look at | Why in this order |
|---|---|---|
| 1 | Are and proportional? | The cheapest calculation: if they aren’t, it rules out parallel and coincident lines |
| 2 | Determinant of , , | It only decides between “they meet” (0) and “skew” once step 1 has said no |
| 3 | Distance | If they meet it’s 0 and there is nothing to calculate |
The direction vector of comes from the cross product because lies inside both planes: its direction is perpendicular to both normals. The obvious path, solving the system with , gives , and the direction vector , which is times : the same line, but dragging fractions through the whole exercise.
And b) comes out of the same picture: a plane that contains and is parallel to has and inside it, so its normal is , the same one as for the distance.
a) From the symmetric form of : and . For , the direction vector is the cross product of the normals and :
A point of , with : and , so , : . Then .
The direction vectors and are not proportional: rank 2. With :
Rank 3: skew. The distance:
b) The plane contains (so the point and the direction ) and is parallel to (so it contains the direction ). Its normal is , or :
Check: the distance from to this plane is , the same as between the lines, as it must be.
c) in parametric form: . With : , and the point is (check on : and ). The angle with :
| Part | What earns marks | Points |
|---|---|---|
| a) | Point and direction of each line (that of , with the cross product) | 1.5 |
| a) | Ranks and the conclusion “skew” | 1.5 |
| a) | Distance | 1 |
| b) | Normal and equation | 2 |
| c) | Meeting point | 1.5 |
| c) | Angle with the sine | 1.5 |
(The split for all three exercises is mine, a rough guide and not official.)
Check it in MATLAB
%% Exercise 1 A = [1 0 2]; B = [3 4 0]; C = [0 1 1]; n = cross(B - A, C - A) % normal, not simplified: (-2, 4, 6) d = -dot(n, A) % -2x + 4y + 6z - 10 = 0 rank([n; 2 -4 -6]) % 1: proportional normals %% Exercise 2 P = [2 -2 -1]; n = [1 -2 -3]; t = -(dot(n, P) + 5)/dot(n, n) H = P + t*n 2*H - P % reflection acos(3/norm(n))*180/pi % angle with z = 0 %% Exercise 3 u = [2 1 -2]; v = cross([1 1 -1], [1 -1 2]) P = [1 -1 0]; Q = [2 0 1]; rank([u; v; Q - P]) % 3: skew w = cross(u, v) abs(det([u; v; Q - P]))/norm(w) % distance between r and s asin(2/norm(v))*180/pi % angle of s with z = 0
Output:
n =
-2 4 6
d =
-10
ans =
1
t =
-1
H =
1 0 2
ans =
0 2 5
ans =
36.6992
v =
1 -3 -2
ans =
3
w =
-8 2 -7
ans =
1.2019
ans =
32.3115
Everything matches: the normal is times , and with the plane is , ours multiplied by . In exercise 3, .
Quiz like the Campus ones
These 20 questions follow the format of the Campus quizzes (matching, true or false, single answer, multiple answers, gap filling, ordering and a few short calculations). Since the topic was not taught in 25/26, there is no Campus quiz to compare them with: they are original and part of the AG mock exam bank. The rules are the exam ones: no negative marking, except in multiple-answer questions, where each wrongly ticked option cancels a correctly ticked one. About 15 minutes; repeat it whenever you like.
Match each object with what determines it:
| A line | |
| A plane | |
| The vector | |
| The midpoint of and |
Definitions:
- The difference B − A
- A point and a normal vector
- The sum A + B
- Two points and a normal
- (A + B)/2
- A point and a direction vector
Solution
- A line → A point and a direction vector
- A plane → A point and a normal vector
- The vector → The difference B − A
- The midpoint of and → (A + B)/2
A line is a point and a direction; a plane, a point and its normal (or two directions). Vectors between points are differences, end minus start.
Say whether each statement is true or false:
- In space, one linear equation is a plane.
- In space, a line can be given by a single linear equation.
- The coefficients of a plane form a vector perpendicular to it.
- In the plane, a line is given by one single equation .
Solution
- T — In space, one linear equation is a plane.
- F — In space, a line can be given by a single linear equation.
- T — The coefficients of a plane form a vector perpendicular to it.
- T — In the plane, a line is given by one single equation .
In one equation is a plane and a line needs two (the intersection of two planes). In one equation is already a line.
The direction vector of the line is:
Solution
Answer:
In the symmetric form, the denominators are the direction vector and the numbers subtracted on top are the coordinates of a point: .
A normal vector of the plane is:
Solution
Answer:
The coefficients of , , are the normal vector.
To find the plane through three non-collinear points , , , which vectors work as the normal?
Solution
Answer: ·
The cross product of two vectors in the plane is perpendicular to both, whichever point you take them from.
Two lines in space with direction vectors , and points , . Match the ranks with the position:
| , | |
| , | |
| , | |
| , |
Definitions:
- Intersecting
- Coincident
- Perpendicular
- Parallel
- Skew
Solution
- , → Coincident
- , → Parallel
- , → Intersecting
- , → Skew
It is Rouché with vectors: proportional direction vectors (rank 1) separate parallel from coincident; if they are not, rank 3 means no plane contains both.
About relative positions:
- In space, two lines can fail to meet without being parallel.
- Two planes in space can be skew, neither meeting nor parallel.
- If , the line is parallel to the plane or lies in it.
- If the direction vectors of two lines are not parallel, the lines meet.
Solution
- T — In space, two lines can fail to meet without being parallel.
- F — Two planes in space can be skew, neither meeting nor parallel.
- T — If , the line is parallel to the plane or lies in it.
- F — If the direction vectors of two lines are not parallel, the lines meet.
Skew lines only exist in space; two non-parallel planes always meet in a line. With non-parallel direction vectors, you still need the determinant with to decide.
The planes and are:
- Parallel
- Coincident
- Intersecting
- Perpendicular
Solution
Answer: Parallel
The normals are proportional (the second is twice the first) but : and .
What is the distance from the point to the plane ? Write just the number.
Solution
Answer: 3
.
For the angle between a line with direction and a plane with normal you use:
Solution
Answer:
The normal makes with the line, and .
What angle, in degrees, do the lines with directions and make? Write just the number.
Solution
Answer: 45
, so .
The projection of onto a plane is . Its reflection in the plane is:
Solution
Answer:
is the midpoint of and its reflection : , so .
Fill in the gaps:
The plane with respect to which and are symmetric goes through the ____ of and , and its normal vector is ____.
Words:
- P + Q
- origin
- PQ
- midpoint
Solution
The plane with respect to which and are symmetric goes through the midpoint of and , and its normal vector is PQ.
It is the perpendicular bisector plane: the points equidistant from and . It goes through with normal .
The distance between two skew lines, with directions and and points and , is:
- 0
Solution
Answer:
It is the volume of the parallelepiped (scalar triple product) divided by the area of its base (): the height, which is the common perpendicular.
Which points lie on the line ?
Solution
Answer: · ·
With , and you get the first three. would need in and in : impossible.
Put the steps for finding the reflection of a point in a plane in order:
- Write the line
- Work out
- Get the normal vector of
- Work out the projection with that
- Substitute it into the equation of and solve for
Solution
Correct order:
- Get the normal vector of
- Write the line
- Substitute it into the equation of and solve for
- Work out the projection with that
- Work out
The perpendicular line through meets the plane at the projection, which is the midpoint of and its reflection.
In homogeneous coordinates, the translation of the plane by the vector is the matrix:
Solution
Answer:
With the point written as , the last column adds and : .
About transformations with matrices:
- To chain two movements, you multiply their matrices.
- The order in which the matrices of a rotation and a translation are multiplied does not matter.
- Rotating about the origin takes to .
- Applying a rotation twice leaves every point where it was.
Solution
- T — To chain two movements, you multiply their matrices.
- F — The order in which the matrices of a rotation and a translation are multiplied does not matter.
- T — Rotating about the origin takes to .
- T — Applying a rotation twice leaves every point where it was.
Matrices do not commute in general: rotating then translating is not the same as translating then rotating. The rotation is .
Match each conic with its type:
Definitions:
- Ellipse
- Line
- Parabola
- Circle
- Hyperbola
Solution
- → Circle
- → Ellipse
- → Hyperbola
- → Parabola
With : equal coefficients on and , circle; same sign, ellipse; opposite signs, hyperbola; only one square, parabola.
The conic is:
- An ellipse with center
- A hyperbola with center
- A circle
- A parabola
Solution
Answer: An ellipse with center
, that is, : an ellipse with center and semi-axes 2 and 1.
What next?
This topic closes the AG syllabus: matrices, systems, vector and Euclidean spaces, linear transformations, quadratic forms, complex numbers and affine geometry. The two geometry exercises in the exam are this one and the complex numbers one; if you are coming from there, notice that the 90° turn on the tactics board is multiplication by . To go over it all together, the subject hub has the full syllabus and the grade calculator. And the last step is the mock exams: the 20-question test and the practical part on paper in the 2026 format, to do against the clock.
Cheat sheet: affine space
The essentials in 30 seconds: line = point + direction; plane = point + normal of . Positions with ranks (and the determinant with for “meet” or “skew”). Distances with the formulas; angles with the cosine, except line-plane, with the sine. Reflection: .
| I want… | By hand | MATLAB |
|---|---|---|
| Vector between points | B - A | |
| Normal of a plane through three points | cross(B - A, C - A) | |
| Direction of a line given by two planes | cross(n1, n2) | |
| Position of two lines | and | rank([u; v]), rank([u; v; Q - P]) |
| Point-plane distance | abs(dot(n, P) + d)/norm(n) | |
| Point-line distance | norm(cross(P - A, u))/norm(u) | |
| Distance between skew lines | abs(det([u; v; Q - P]))/norm(cross(u, v)) | |
| Angle between two lines or two planes | acos(...)*180/pi | |
| Line-plane angle | asin(...)*180/pi | |
| Projection and reflection | in the plane; | t = -(dot(n, P) + d)/dot(n, n) |
| Perpendicular bisector plane of and | Midpoint and normal | n = Q - P; d = -dot(n, (P + Q)/2) |
| Conic | Complete the squares; sign of | det([A B/2; B/2 C]) |
Templates for the exercises:
- Position of two lines: point and direction of each → proportional directions? → if not, determinant with → 0: they meet (and the point, equating parametric equations with different parameters); not 0: skew (and the distance).
- Plane containing and parallel to : normal and a point of .
- Symmetric with respect to a plane: perpendicular bisector plane (midpoint and normal ).
- Reflection of a point: line → → → .
| Symptom | Likely cause |
|---|---|
| The plane misses one of the three points | Wrong normal (a vector inside the plane) |
| The line-plane angle comes out large for an almost flat line | Cosine with the normal: you got the complement |
| You say “they meet” and equating parametric equations has no solution | They are skew: the determinant was missing |
| The reflection is not at the same distance | (solved the wrong way) |
| Equating parametric equations works out “too easily” | You used the same parameter for both lines |
Before handing in, ask yourself:
- Did I check each plane against every point I was given?
- Did I look at the determinant before saying two lines meet?
- Did I use the sine for line-plane angles?
- Did I put the absolute value in distances and angles?
Did this article help you? Here is how you can support SergioLearns →
Ready for the exam?AG theory mock exam — the 20-question test with the Campus rules, no negative marking (and the catch in the several-correct ones)


