Specialist Mathematics · Mock exam 2026 All mock exam questions
Mock exam · Paper 2 · Complex familiar

Question 16

[6 marks] Graphics calculator
The question

Consider the system of linear equations

$$\begin{aligned} x+y+z&=2\\ 2x-y+3z&=1\\ 5x-y+\lambda z&=p \end{aligned}$$

where $\lambda,p\in R$.

a)

Use a Gaussian technique to determine the values of $\lambda$ and $p$ for which the system has infinitely many solutions.

[3 marks] b)

Use your result from Question 16a) to determine the solutions of the system. Express your answer in the form of a vector equation of a line.

[2 marks] c)

Describe the geometric interpretation of the system when $\lambda=7$ and $p\neq4$.

[1 mark]
Watch the situation first

Three planes and one row of zeros

Row-reduce until row 3 holds only $\lambda$ and $p$. Then watch what the planes do when $\lambda=7$: one shared line when $p=4$, a triangular prism when $p\neq4$.

Write the system as an augmented matrix R2 − 2R1 and R3 − 5R1 clear the x column R3′ − 2R2′ clears the y entry in row 3 Infinitely many solutions need row 3 to be a row of zeros λ = 7 and p = 4: the three planes share a line λ = 7 and p ≠ 4: each pair of planes meets in a line The three lines are parallel: a triangular prism, no solution x y z RHS R1 R2 R3 1 1 1 2 2 0 −1 −3 3 1 1 −3 5 0 −1 −6 0 λ λ − 5 λ − 7 0 p p − 10 p − 4 0 p − 4 R2′ = R2 − 2R1 R3′ = R3 − 5R1 R3″ = R3′ − 2R2′ λ = 7, p = 4 Row 3: 0 = 0, always true λ = 7, p = 10, so p ≠ 4 Row 3: 0 = p − 4 = 6, impossible No solution R2 − 2R1 2 − 2(1) = 0 −1 − 2(1) = −3 3 − 2(1) = 1 1 − 2(2) = −3 R3 − 5R1 5 − 5(1) = 0 −1 − 5(1) = −6 λ − 5(1) = λ − 5 p − 5(2) = p − 10 R3′ − 2R2′ 0 − 2(0) = 0 −6 − 2(−3) = −6 + 6 = 0 (λ − 5) − 2(1) = λ − 7 (p − 10) − 2(−3) = p − 4 Row 3 says (λ − 7)z = p − 4 Row of zeros: λ − 7 = 0, so λ = 7 p − 4 = 0, so p = 4 Plane 1 Plane 2 Plane 3 Plane 3 r = 1 1 0 + k −4 1 3

The planes are drawn to scale. Only plane 3 depends on $p$, so only plane 3 moves. The prism uses $p=10$.

Now for the mathematics

Reduce the matrix, then make row 3 a row of zeros

Apply the row operations yourself. When row 3 holds only $\lambda$ and $p$, choose values that make it a row of zeros. Then slide $k$ along the solutions and check them in all three equations.

x y z RHS R3′ − R2′ R2′ = R2 − 2R1 R3′ = R3 − 5R1 R3″ = R3′ − 2R2′ R3′ − R2′
The row you just changed
Row operations

Row 1 has a leading 1 in the $x$ column. Use it to clear the $x$ entries in rows 2 and 3.

Row 2 starts with 2, so you subtracted $2R_1$. Its $x$ entry is now 0.

Row 3 starts with 5, so you subtracted $5R_1$. Its $x$ entry is now 0.

The $x$ column is clear below row 1. Now row 3 needs a 0 in the $y$ column. Which multiple of row 2 does that?

Clear the $x$ entries in rows 2 and 3 first. Row 1 does that job.

That row already has a 0 in the $x$ column. Doing it again would undo your work.

The matrix is already in row-echelon form. Use the sliders to choose $\lambda$ and $p$.

That gives $\left[\,0\ \ -3\ \ \lambda-6\ \,|\ \,p-7\,\right]$. The $y$ entry is still $-3$, so row 3 is not in echelon form and a conclusion such as $\lambda=6$, $p=7$ is unsupported. The $y$ entries are $-3$ and $-6$, and $\dfrac{-6}{-3}=2$. Try again with that multiple.

Row 3 is now $\left[\,0\ \ 0\ \ \lambda-7\ \,|\ \,p-4\,\right]$. It says $(\lambda-7)z=p-4$. Now choose $\lambda$ and $p$ to make it a row of zeros.

The $z$ entry of row 3 is , not 0, so row 3 is not a row of zeros. Change $\lambda$.

With $\lambda=7$, row 3 reads . That is impossible, so this system has no solution. This is the case in part c). For infinitely many solutions, change $p$.

Row 3 is a row of zeros, so it says $0=0$. Rows 1 and 2 are two equations in three unknowns, so there are infinitely many solutions. That needs $\lambda=7$ and $p=4$. Now slide $k$.

Every value of $k$ gives a point that satisfies all three equations. The solutions form the line $\boldsymbol{r}=\begin{bmatrix}1\\1\\0\end{bmatrix}+k\begin{bmatrix}-4\\1\\3\end{bmatrix}$.

Marking guide · 6 marks

Work through the solution one mark at a time

Try each step yourself before you reveal it.

Choose a method

Step 1 · part a)1 mark

Write the augmented matrix, then clear the $x$ entries below row 1.

$$\begin{aligned}&\left[\begin{array}{ccc|c}1&1&1&2\\2&-1&3&1\\5&-1&\lambda&p\end{array}\right]\\[6pt]&\left[\begin{array}{ccc|c}1&1&1&2\\0&-3&1&-3\\0&-6&\lambda-5&p-10\end{array}\right]\\&R_2'=R_2-2R_1,\quad R_3'=R_3-5R_1\end{aligned}$$

Why?

Row 1 has a leading 1 in the $x$ column. Row 2 starts with 2, so subtract $2R_1$; row 3 starts with 5, so subtract $5R_1$.

Marker: correctly applies row operations to eliminate $x$ from rows 2 and 3

Step 2 · part a)1 mark

Clear the $y$ entry in row 3 using row 2.

$$\begin{aligned}&\left[\begin{array}{ccc|c}1&1&1&2\\0&-3&1&-3\\0&0&\lambda-7&p-4\end{array}\right]\\&R_3''=R_3'-2R_2'\end{aligned}$$

Infinitely many solutions require row 3 to be a row of zeros.

Why?

The $y$ entries in rows 2 and 3 are $-3$ and $-6$. Since $\dfrac{-6}{-3}=2$, subtract $2R_2'$ from $R_3'$. Use row 2, not row 1, so the $x$ entry of row 3 stays 0.

Marker: correctly reduces row 3 to $\left[\,0\ \ 0\ \ \lambda-7\ \,|\ \,p-4\,\right]$

Step 3 · part a)1 mark

Set both entries of row 3 equal to zero.

$$\lambda-7=0\ \text{ and }\ p-4=0$$

Why?

Row 3 then says $0=0$, leaving two equations in three unknowns. One variable is free, so there are infinitely many solutions.

$\lambda=7$ and $p=4$

Marker: correctly determines the values of $\lambda$ and $p$

Step 4 · part b)1 mark

With $\lambda=7$ and $p=4$, let $z=3k$ and back-substitute into rows 2 and 1.

$$\begin{aligned}&z=3k\quad(k\in R)\\\text{Row 2: }&{-3y}+3k=-3\ \Rightarrow\ y=1+k\\\text{Row 1: }&x=2-(1+k)-3k=1-4k\end{aligned}$$

Why?

Two equations in three unknowns leave one variable free. Solving row 2 for $y$ divides by $-3$, so $z=3k$ (rather than $z=k$) avoids fractions.

Marker: correctly introduces a parameter and expresses $x$, $y$ and $z$ in terms of it

Step 5 · part b)1 mark

Separate the constant parts from the parts multiplying $k$.

$\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}1\\1\\0\end{bmatrix}+k\begin{bmatrix}-4\\1\\3\end{bmatrix}$, $k\in R$
Marking

Any vector equation of the same line is accepted: the point must satisfy all three equations and the direction must be parallel to $-4\hat{\boldsymbol{\imath}}+\hat{\boldsymbol{\jmath}}+3\hat{\boldsymbol{k}}$. Follow-through applies in part b) from an incorrect reduction in part a).

Marker: correctly expresses the solutions as a vector equation of a line

Step 6 · part c)1 mark

Substitute $\lambda=7$ into row 3, then check the normals from the coefficients: no two are scalar multiples, so no two planes are parallel.

$$0x+0y+0z=p-4\neq0$$

The system has no solution. No two of the planes are parallel, so each pair of planes intersects in a line and the three lines are parallel (a triangular prism); there is no point common to all three planes.
Marking

In part c), “no solution” alone does not gain the mark.

Marker: correctly describes the geometric interpretation

Putting it all together

Each phrase of the question gave you something

“Use a Gaussian technique”
Row-reduce the augmented matrix: $R_2-2R_1$, $R_3-5R_1$, then $R_3'-2R_2'$.
“infinitely many solutions”
Row 3, $\left[\,0\ \ 0\ \ \lambda-7\ \,|\ \,p-4\,\right]$, must be a row of zeros, so $\lambda=7$ and $p=4$.
“Use your result from Question 16a)”
Substitute $\lambda=7$ and $p=4$ into the reduced matrix. That leaves two equations in three unknowns, so one variable is free: $z=3k$.
“in the form of a vector equation of a line”
The constant vector is a point and the $k$ vector is the direction: $\boldsymbol{r}=\begin{bmatrix}1\\1\\0\end{bmatrix}+k\begin{bmatrix}-4\\1\\3\end{bmatrix}$.
“when $\lambda=7$ and $p\neq4$”
Row 3 reads $0x+0y+0z=p-4\neq0$, so the system has no solution.
“Describe the geometric interpretation”
No two normals are scalar multiples, and the lines of intersection are all parallel to $\begin{bmatrix}4\\-1\\-3\end{bmatrix}$ and distinct: a triangular prism.
Common errors

If I had to guess where you might lose marks…

  • Using the wrong multiple to clear $y$. Using $R_3'-R_2'$ instead of $R_3'-2R_2'$ gives $\left[\,0\ \ -3\ \ \lambda-6\ \,|\ \,p-7\,\right]$. The $y$ entry is still $-3$, so row 3 is not in echelon form and any conclusion such as $\lambda=6$, $p=7$ is unsupported.
  • A sign slip on the $\lambda$ entry. Writing $(\lambda-5)+2$ instead of $(\lambda-5)-2(1)$ gives $\lambda-3$ and so $\lambda=3$.
  • A right-hand-side slip in $R_3-5R_1$. Writing $p-5$ instead of $p-5(2)=p-10$ leads to $p-5+6=p+1$ and so $p=-1$. A sign slip in $R_2'$ (writing $+3$ instead of $1-2(2)=-3$) gives $p-10-2(3)=p-16$ and so $p=16$.
  • A back-substitution sign error in part b). Writing $x=2-y+z$ gives $x=2-(1+k)+3k=1+2k$. Substituting $(1+2k,\ 1+k,\ 3k)$ into equation 2 gives $1+12k$, not 1, so the “line” is not the solution set. Always check your answer in all three original equations.
  • An incomplete answer to part c). Writing only “no solution”, or saying “two planes are parallel”, earns no mark. Your answer must state that no two planes are parallel and that the three planes meet pairwise in three parallel lines (a triangular prism).

Only mark this done when you could do it without help. Reading the solution does not count.

Back to the index

A Tangent Tuition mock exam question. It is not a past QCAA question, and Tangent Tuition is not affiliated with the QCAA.