AG practical mock exam — the paper exercises of the regular sitting and the resit, with step-by-step solutions (and the part that scores 0 with no working)
The practical part of Algebra and Geometry is exercises with parts done by hand, on paper, in 2 hours, and here you have eight original versions to train for it: four for the regular sitting and four for the resit, with the format of the 2026 exams. Each part shows its marks, the results mark themselves and, when you hand in, you see the step-by-step solution of everything.
Table of Contents
Take the mock exam
Choose the sitting and the version and decide how to do it: on paper, with the exam as a PDF (the closest to the real thing), or on screen, typing the results into the boxes. The clock is set to 2 hours.
The mock exam needs JavaScript. Below you will find what the exam is like and what each exercise covers.
Consider the vector subspaces of R4:
U1=L{(1,2,0,3),(1,0,2,1),(1,4,−2,5)}
U2={(x,y,z,t)∈R4:x−z=0,y+z−t=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(1,2,0,3),(1,0,2,1)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{2x−y−z=0x+y−t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(1,−1,1,0),(0,1,0,1)} and the parametric equations are
⎩⎨⎧x=αy=−α+βz=αt=β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=3
dim(U1∩U2)=1
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 3: dim(U1+U2)=3 and a basis is {(1,2,0,3),(1,0,2,1),(1,−1,1,0)} (with 4−3 implicit equation: x+y−t=0).
Intersection. By Grassmann, dim(U1∩U2)=2+2−3=1. For a basis, put together the implicit equations of U1 and U2 and solve: BU1∩U2={(1,1,1,2)}.
Question 3Answer
Justify whether the vector u=(1,2,0,1) belongs to U1+U2 and whether the vector v=(2,2,2,4) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? No
v∈U1∩U2? Yes
u=(1,2,0,1) does not satisfy x+y−t=0, so it does not belong to the sum (the rank of the basis of the sum with u goes up to 4). v=(2,2,2,4) satisfies the implicit equations of both U1 and U2: it is in the intersection (it is a multiple of its basis).
Let f:R3→R3 be the linear map
f(x,y,z)=(0,−3x+y+z,−2x+2z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=1
dimIm(f)=2
Is it bijective? No
The matrix in the standard basis is A=0−3−2010012 and its rank is 2. So dimIm(f)=2 (a basis: {(0,−3,−2),(0,1,0)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−2=1 (a basis: {(1,2,1)}, solving Av=0). Since the kernel is not trivial, it is not injective; and since the image is not all of R3, it is not surjective either: not bijective.
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=0
λ2=1
λ3=2
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−λ(λ−2)(λ−1), so the eigenvalues are λ=0, λ=1, λ=2.
For λ=0: rk(A)=2, so its eigenspace has dimension 1: V0=L{(1,2,1)}.
For λ=1: rk(A−I)=2, so its eigenspace has dimension 1: V1=L{(0,1,0)}.
For λ=2: rk(A−2I)=2, so its eigenspace has dimension 1: V2=L{(0,1,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=121010011 (eigenvectors as columns) and D=000010002, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 3
Negative entries: 0
Zero entries: 0
The matrix of w in the standard basis is symmetric: A=3−1−1−120−102. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−(λ−4)(λ−2)(λ−1), so D=100020004, with eigenvectors (1,1,1), (0,−1,1), (−2,1,1) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 3 positive, 0 negative and 0 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,1,0) and v=(1,0,1) with respect to f.
Classification of w:
cosθ (two decimals):
Solution
Classification of w: Positive definite
cosθ (two decimals): 0.33
The eigenvalues are 1, 2, 4: signature (3,0), so w is positive definite. Since it is positive definite, f is an inner product and the angle makes sense:
cosθ=f(u,u)f(v,v)f(u,v)=331=31≈0.33
Find in polar and rectangular form all the solutions of
4−8+83i
Question 1Answer
Give the modulus, the 4 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Argument of z3:
Real part of z0 (two decimals):
Imaginary part of z0:
Solution
Modulus of the roots: 2
Argument of z0 (in degrees, smallest first, between 0 and 360): 30
Argument of z1: 120
Argument of z2: 210
Argument of z3: 300
Real part of z0 (two decimals): 1.73
Imaginary part of z0: 1
In polar form, −8+83i=16120∘. The fourth roots have modulus 416=2 and arguments 4120∘+360∘j, j=0,…,3:
They are the vertices of a regular polygon with 4 sides centred at the origin.
Consider the vector subspaces of R4:
U1=L{(2,1,0,1),(1,0,1,1),(0,1,−2,−1)}
U2={(x,y,z,t)∈R4:x+y−z=0,x−t=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(2,1,0,1),(1,0,1,1)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{x−2y−z=0x−y−t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(0,1,1,0),(1,−1,0,1)} and the parametric equations are
⎩⎨⎧x=βy=α−βz=αt=β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=3
dim(U1∩U2)=1
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 3: dim(U1+U2)=3 and a basis is {(2,1,0,1),(1,0,1,1),(0,1,1,0)} (with 4−3 implicit equation: 2x−y+z−3t=0).
Intersection. By Grassmann, dim(U1∩U2)=2+2−3=1. For a basis, put together the implicit equations of U1 and U2 and solve: BU1∩U2={(1,0,1,1)}.
Question 3Answer
Justify whether the vector u=(1,1,1,1) belongs to U1+U2 and whether the vector v=(1,−1,2,0) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? No
v∈U1∩U2? No
u=(1,1,1,1) does not satisfy 2x−y+z−3t=0, so it does not belong to the sum (the rank of the basis of the sum with u goes up to 4). v=(1,−1,2,0) does not satisfy x−2y−z=0: it is not in the intersection (it is not a multiple of its basis).
Let f:R3→R3 be the linear map
f(x,y,z)=(2x+y+z,y,−y+3z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=0
dimIm(f)=3
Is it bijective? Yes
The matrix in the standard basis is A=20011−1103 and its rank is 3. So dimIm(f)=3 (a basis: {(2,0,0),(1,1,−1),(1,0,3)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−3=0 (the kernel is just zero). Trivial kernel and image the whole of R3: it is bijective (injective and surjective).
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=1
λ2=2
λ3=3
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−(λ−3)(λ−2)(λ−1), so the eigenvalues are λ=1, λ=2, λ=3.
For λ=1: rk(A−I)=2, so its eigenspace has dimension 1: V1=L{(−3,2,1)}.
For λ=2: rk(A−2I)=2, so its eigenspace has dimension 1: V2=L{(1,0,0)}.
For λ=3: rk(A−3I)=2, so its eigenspace has dimension 1: V3=L{(1,0,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=−321100101 (eigenvectors as columns) and D=100020003, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
In R3 consider the quadratic form
w(x,y,z)=3x2+3y2+3z2+2xy+2xz−2yz
and f the symmetric bilinear form it comes from (its polar form).
Question 1Answer
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 3
Negative entries: 0
Zero entries: 0
The matrix of w in the standard basis is symmetric: A=31113−11−13. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−(λ−4)2(λ−1), so D=100040004, with eigenvectors (−1,1,1), (1,1,0), (1,0,1) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 3 positive, 0 negative and 0 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,0,0) and v=(0,1,−1) with respect to f.
Classification of w:
cosθ (two decimals):
Solution
Classification of w: Positive definite
cosθ (two decimals): 0.00
The eigenvalues are 1, 4, 4: signature (3,0), so w is positive definite. Since it is positive definite, f is an inner product and the angle makes sense:
cosθ=f(u,u)f(v,v)f(u,v)=380=0≈0.00
Find in polar and rectangular form all the solutions of
4−16
Question 1Answer
Give the modulus, the 4 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Argument of z3:
Real part of z1 (two decimals):
Imaginary part of z1:
Solution
Modulus of the roots: 2
Argument of z0 (in degrees, smallest first, between 0 and 360): 45
Argument of z1: 135
Argument of z2: 225
Argument of z3: 315
Real part of z1 (two decimals): -1.41
Imaginary part of z1: 1.41
In polar form, −16=16180∘. The fourth roots have modulus 416=2 and arguments 4180∘+360∘j, j=0,…,3:
They are the vertices of a regular polygon with 4 sides centred at the origin.
Consider the vector subspaces of R4:
U1=L{(1,0,2,−1),(1,1,1,0),(3,2,4,−1)}
U2={(x,y,z,t)∈R4:x−y+t=0,2y+z−t=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(1,0,2,−1),(1,1,1,0)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{2x−y−z=0x−y+t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(−1,−1,2,0),(−1,1,0,2)} and the parametric equations are
⎩⎨⎧x=−α−βy=−α+βz=2αt=2β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=3
dim(U1∩U2)=1
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 3: dim(U1+U2)=3 and a basis is {(1,0,2,−1),(1,1,1,0),(−1,−1,2,0)} (with 4−3 implicit equation: x−y+t=0).
Intersection. By Grassmann, dim(U1∩U2)=2+2−3=1. For a basis, put together the implicit equations of U1 and U2 and solve: BU1∩U2={(0,1,−1,1)}.
Question 3Answer
Justify whether the vector u=(2,1,3,−1) belongs to U1+U2 and whether the vector v=(0,1,1,1) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? Yes
v∈U1∩U2? No
u=(2,1,3,−1) satisfies the implicit equation of U1+U2, so it does belong to the sum. v=(0,1,1,1) does not satisfy 2x−y−z=0: it is not in the intersection (it is not a multiple of its basis).
Let f:R3→R3 be the linear map
f(x,y,z)=(x+2y,3y,2y+z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=0
dimIm(f)=3
Is it bijective? Yes
The matrix in the standard basis is A=100232001 and its rank is 3. So dimIm(f)=3 (a basis: {(1,0,0),(2,3,2),(0,0,1)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−3=0 (the kernel is just zero). Trivial kernel and image the whole of R3: it is bijective (injective and surjective).
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=1
λ2=1
λ3=3
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−(λ−3)(λ−1)2, so the eigenvalues are λ=1 (double), λ=3.
For λ=1: rk(A−I)=1, so its eigenspace has dimension 2 (algebraic multiplicity 2): V1=L{(1,0,0),(0,0,1)}.
For λ=3: rk(A−3I)=2, so its eigenspace has dimension 1: V3=L{(1,1,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=100001111 (eigenvectors as columns) and D=100010003, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 2
Negative entries: 1
Zero entries: 0
The matrix of w in the standard basis is symmetric: A=2−1−2−11−1−2−12. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−(λ−4)(λ−2)(λ+1), so D=−100020004, with eigenvectors (1,1,1), (1,−2,1), (−1,0,1) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 2 positive, 1 negative and 0 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,0,1) and v=(0,1,1) with respect to f.
Classification of w:
Is f an inner product (can the cosine be computed)?
Solution
Classification of w: Indefinite
Is f an inner product (can the cosine be computed)? No
The eigenvalues are -1, 2, 4: signature (2,1), so w is indefinite. An inner product must be positive definite; f is not, so the cosine cannot be computed with f.
Find in polar and rectangular form all the solutions of
3−27i
Question 1Answer
Give the modulus, the 3 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Real part of z1 (two decimals):
Imaginary part of z1:
Solution
Modulus of the roots: 3
Argument of z0 (in degrees, smallest first, between 0 and 360): 90
Argument of z1: 210
Argument of z2: 330
Real part of z1 (two decimals): -2.60
Imaginary part of z1: -1.50
In polar form, −27i=27270∘. The cube roots have modulus 327=3 and arguments 3270∘+360∘j, j=0,…,2:
They are the vertices of a regular polygon with 3 sides centred at the origin.
Consider the vector subspaces of R4:
U1=L{(1,2,1,0),(0,1,1,1),(1,3,2,1)}
U2={(x,y,z,t)∈R4:x+z−t=0,y−z=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(1,2,1,0),(0,1,1,1)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{x−y+z=02x−y+t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(−1,1,1,0),(1,0,0,1)} and the parametric equations are
⎩⎨⎧x=−α+βy=αz=αt=β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=3
dim(U1∩U2)=1
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 3: dim(U1+U2)=3 and a basis is {(1,2,1,0),(0,1,1,1),(−1,1,1,0)} (with 4−3 implicit equation: x−2y+3z−t=0).
Intersection. By Grassmann, dim(U1∩U2)=2+2−3=1. For a basis, put together the implicit equations of U1 and U2 and solve: BU1∩U2={(0,1,1,1)}.
Question 3Answer
Justify whether the vector u=(1,1,1,2) belongs to U1+U2 and whether the vector v=(0,−2,−2,−2) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? Yes
v∈U1∩U2? Yes
u=(1,1,1,2) satisfies the implicit equation of U1+U2, so it does belong to the sum. v=(0,−2,−2,−2) satisfies the implicit equations of both U1 and U2: it is in the intersection (it is a multiple of its basis).
Let f:R3→R3 be the linear map
f(x,y,z)=(x+y,x+y,2z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=1
dimIm(f)=2
Is it bijective? No
The matrix in the standard basis is A=110110002 and its rank is 2. So dimIm(f)=2 (a basis: {(1,1,0),(0,0,2)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−2=1 (a basis: {(−1,1,0)}, solving Av=0). Since the kernel is not trivial, it is not injective; and since the image is not all of R3, it is not surjective either: not bijective.
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=0
λ2=2
λ3=2
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−λ(λ−2)2, so the eigenvalues are λ=0, λ=2 (double).
For λ=0: rk(A)=2, so its eigenspace has dimension 1: V0=L{(−1,1,0)}.
For λ=2: rk(A−2I)=1, so its eigenspace has dimension 2 (algebraic multiplicity 2): V2=L{(1,1,0),(0,0,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=−110110001 (eigenvectors as columns) and D=000020002, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
In R3 consider the quadratic form
w(x,y,z)=3x2+2y2+3z2−4xy−2xz+4yz
and f the symmetric bilinear form it comes from (its polar form).
Question 1Answer
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 2
Negative entries: 0
Zero entries: 1
The matrix of w in the standard basis is symmetric: A=3−2−1−222−123. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−λ(λ−6)(λ−2), so D=000020006, with eigenvectors (−1,−2,1), (1,0,1), (−1,1,1) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 2 positive, 0 negative and 1 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,0,0) and v=(0,0,1) with respect to f.
Classification of w:
Is f an inner product (can the cosine be computed)?
Solution
Classification of w: Positive semidefinite
Is f an inner product (can the cosine be computed)? No
The eigenvalues are 0, 2, 6: signature (2,0), so w is positive semidefinite. An inner product must be positive definite; f is not, so the cosine cannot be computed with f.
Find in polar and rectangular form all the solutions of
3(1+i)6
Question 1Answer
Give the modulus, the 3 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Real part of z2 (two decimals):
Imaginary part of z2:
Solution
Modulus of the roots: 2
Argument of z0 (in degrees, smallest first, between 0 and 360): 90
Argument of z1: 210
Argument of z2: 330
Real part of z2 (two decimals): 1.73
Imaginary part of z2: -1
First simplify the radicand: (1+i)6=−8i. In polar form, −8i=8270∘. The cube roots have modulus 38=2 and arguments 3270∘+360∘j, j=0,…,2:
z0=290∘=2iz1=2210∘=−3−iz2=2330∘=3−i
They are the vertices of a regular polygon with 3 sides centred at the origin.
Consider the vector subspaces of R4:
U1=L{(1,0,1,1),(0,1,1,2),(1,−1,0,−1)}
U2={(x,y,z,t)∈R4:x+2y−t=0,y−z+2t=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(1,0,1,1),(0,1,1,2)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{x+y−z=0x+2y−t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(−2,1,1,0),(5,−2,0,1)} and the parametric equations are
⎩⎨⎧x=−2α+5βy=α−2βz=αt=β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=3
dim(U1∩U2)=1
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 3: dim(U1+U2)=3 and a basis is {(1,0,1,1),(0,1,1,2),(−2,1,1,0)} (with 4−3 implicit equation: x+2y−t=0).
Intersection. By Grassmann, dim(U1∩U2)=2+2−3=1. For a basis, put together the implicit equations of U1 and U2 and solve: BU1∩U2={(4,−1,3,2)}.
Question 3Answer
Justify whether the vector u=(1,0,0,0) belongs to U1+U2 and whether the vector v=(1,2,1,0) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? No
v∈U1∩U2? No
u=(1,0,0,0) does not satisfy x+2y−t=0, so it does not belong to the sum (the rank of the basis of the sum with u goes up to 4). v=(1,2,1,0) does not satisfy x+y−z=0: it is not in the intersection (it is not a multiple of its basis).
Let f:R3→R3 be the linear map
f(x,y,z)=(2x,x−y,3x+z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=0
dimIm(f)=3
Is it bijective? Yes
The matrix in the standard basis is A=2130−10001 and its rank is 3. So dimIm(f)=3 (a basis: {(2,1,3),(0,−1,0),(0,0,1)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−3=0 (the kernel is just zero). Trivial kernel and image the whole of R3: it is bijective (injective and surjective).
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=-1
λ2=1
λ3=2
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−(λ−2)(λ−1)(λ+1), so the eigenvalues are λ=−1, λ=1, λ=2.
For λ=−1: rk(A+I)=2, so its eigenspace has dimension 1: V−1=L{(0,1,0)}.
For λ=1: rk(A−I)=2, so its eigenspace has dimension 1: V1=L{(0,0,1)}.
For λ=2: rk(A−2I)=2, so its eigenspace has dimension 1: V2=L{(3,1,9)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=010001319 (eigenvectors as columns) and D=−100010002, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
In R3 consider the symmetric bilinear form
f(x,y)=2x1y1+x1y2+x2y1+2x2y2+x3y3
and w the quadratic form associated with f.
Question 1Answer
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 3
Negative entries: 0
Zero entries: 0
The matrix of w in the standard basis is symmetric: A=210120001. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−(λ−3)(λ−1)2, so D=100010003, with eigenvectors (−1,1,0), (0,0,1), (1,1,0) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 3 positive, 0 negative and 0 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,0,1) and v=(0,1,1) with respect to f.
Classification of w:
cosθ (two decimals):
Solution
Classification of w: Positive definite
cosθ (two decimals): 0.67
The eigenvalues are 1, 1, 3: signature (3,0), so w is positive definite. Since it is positive definite, f is an inner product and the angle makes sense:
cosθ=f(u,u)f(v,v)f(u,v)=332=32≈0.67
Find in polar and rectangular form all the solutions of
3−i64
Question 1Answer
Give the modulus, the 3 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Real part of z0 (two decimals):
Imaginary part of z0:
Solution
Modulus of the roots: 4
Argument of z0 (in degrees, smallest first, between 0 and 360): 30
Argument of z1: 150
Argument of z2: 270
Real part of z0 (two decimals): 3.46
Imaginary part of z0: 2
First simplify the radicand: −i64=64i. In polar form, 64i=6490∘. The cube roots have modulus 364=4 and arguments 390∘+360∘j, j=0,…,2:
z0=430∘=23+2iz1=4150∘=−23+2iz2=4270∘=−4i
They are the vertices of a regular polygon with 3 sides centred at the origin.
Consider the vector subspaces of R4:
U1=L{(1,1,1,0),(1,0,2,1),(0,1,−1,−1)}
U2={(x,y,z,t)∈R4:x−y=0,z−t=0}
Question 1Practical exercise
Find a basis, the dimension and implicit equations of U1, and a basis, the dimension and parametric equations of U2.
Solution
Marking criteria:
Basis of U1 and dimU1=2 (rank of the generators)1.0
2 independent implicit equations of U1 satisfied by every generator1.0
Basis of U2 and dimU2=21.0
Parametric equations of U2 correctly written from the basis1.0
U1. Put the three generators as rows and reduce: the rank is 2, so dimU1=2 and a basis is BU1={(1,1,1,0),(1,0,2,1)} (the other generator is a linear combination of these). Implicit equations: 2 (4−2). The matrix with the basis and a generic vector (x,y,z,t) must have rank 2; setting its minors of order 3 to zero gives
{2x−y−z=0x−y−t=0
U2. Its 2 equations are independent, so dimU2=4−2=2. Solving the system with the free unknowns as parameters: BU2={(1,1,0,0),(0,0,1,1)} and the parametric equations are
⎩⎨⎧x=αy=αz=βt=β
Check it: the generators of U1 satisfy its implicit equations and the basis of U2 satisfies its equations. Other bases and equivalent equations are also fine.
Question 2Answer
Find a basis and the dimension of U1+U2 and a basis and the dimension of U1∩U2.
dim(U1+U2)=
dim(U1∩U2)=
Solution
dim(U1+U2)=4
dim(U1∩U2)=0
Sum.U1+U2 is spanned by both bases together. Reducing, the rank is 4: dim(U1+U2)=4 and a basis is {(1,1,1,0),(1,0,2,1),(1,1,0,0),(0,0,1,1)}: it is the whole of R4.
Intersection. By Grassmann, dim(U1∩U2)=2+2−4=0. For a basis, put together the implicit equations of U1 and U2 and solve: only the zero vector comes out.
Question 3Answer
Justify whether the vector u=(0,1,0,1) belongs to U1+U2 and whether the vector v=(2,2,1,1) belongs to U1∩U2.
u∈U1+U2?
v∈U1∩U2?
Solution
u∈U1+U2? Yes
v∈U1∩U2? No
Since U1+U2=R4, every vector is in the sum: u=(0,1,0,1)does belong. And the intersection is only the zero vector, so v=(2,2,1,1) is not in it.
Let f:R3→R3 be the linear map
f(x,y,z)=(4x−2y,x+y,2z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=0
dimIm(f)=3
Is it bijective? Yes
The matrix in the standard basis is A=410−210002 and its rank is 3. So dimIm(f)=3 (a basis: {(4,1,0),(−2,1,0),(0,0,2)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−3=0 (the kernel is just zero). Trivial kernel and image the whole of R3: it is bijective (injective and surjective).
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=2
λ2=2
λ3=3
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−(λ−3)(λ−2)2, so the eigenvalues are λ=2 (double), λ=3.
For λ=2: rk(A−2I)=1, so its eigenspace has dimension 2 (algebraic multiplicity 2): V2=L{(1,1,0),(0,0,1)}.
For λ=3: rk(A−3I)=2, so its eigenspace has dimension 1: V3=L{(2,1,0)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=110001210 (eigenvectors as columns) and D=200020003, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
In R3 consider the quadratic form
w(x,y,z)=x2+y2−z2+4xy
and f the symmetric bilinear form it comes from (its polar form).
Question 1Answer
Diagonalise the matrix of the quadratic form w associated with f in the standard basis and give a basis in which the matrix is diagonal.
Positive entries on the diagonal of your D:
Negative entries:
Zero entries:
Solution
Positive entries on the diagonal of your D: 1
Negative entries: 2
Zero entries: 0
The matrix of w in the standard basis is symmetric: A=12021000−1. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−(λ−3)(λ+1)2, so D=−1000−10003, with eigenvectors (−1,1,0), (0,0,1), (1,1,0) (normalised, they give an orthonormal basis B in which the matrix of w is D).
Your D may differ. With conjugate vectors (as in the official exam solution) you get another diagonal, but Sylvester’s law of inertia guarantees the same signs: 1 positive, 2 negative and 0 zero. That is why the signs are asked, not the numbers.
Question 2Answer
Classify w and, if possible, find the cosine of the angle between u=(1,0,0) and v=(0,0,1) with respect to f.
Classification of w:
Is f an inner product (can the cosine be computed)?
Solution
Classification of w: Indefinite
Is f an inner product (can the cosine be computed)? No
The eigenvalues are -1, -1, 3: signature (1,2), so w is indefinite. An inner product must be positive definite; f is not, so the cosine cannot be computed with f.
Find in polar and rectangular form all the solutions of
4−21+23i
Question 1Answer
Give the modulus, the 4 arguments and one of the roots in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Argument of z3:
Real part of z0 (two decimals):
Imaginary part of z0:
Solution
Modulus of the roots: 1
Argument of z0 (in degrees, smallest first, between 0 and 360): 30
Argument of z1: 120
Argument of z2: 210
Argument of z3: 300
Real part of z0 (two decimals): 0.87
Imaginary part of z0: 0.50
In polar form, −21+23i=1120∘. The fourth roots have modulus 41=1 and arguments 4120∘+360∘j, j=0,…,3:
Check: v−projUv=(−1,1,1,0) is orthogonal to u1 and u2.
Question 3Answer
Find the distance from v to U.
d(v,U)= (two decimals if not a whole number)
Solution
d(v,U)= (two decimals if not a whole number) 1.73
It is the norm of the orthogonal component: d(v,U)=∥(−1,1,1,0)∥=3≈1.73.
Let f:R3→R3 be the linear map
f(x,y,z)=(x+ky+z,2y,kz)
with k∈R.
Question 1Answer
Depending on k, find the dimension of Ker(f) and of Im(f). For which values of k is f bijective?
Value of k where f is not bijective:
For that value, dimKer(f)=
Solution
Value of k where f is not bijective: 0
For that value, dimKer(f)=1
With A=100k2010k, ∣A∣=2k, which vanishes only at k=0. If k=0, the rank is 3: trivial kernel, image R3 and f is bijective. If k=0, the rank drops to 2: dimKer(f)=1 and dimIm(f)=2, and it is not bijective.
Question 2Answer
Determine for which values of k the matrix of f in the standard basis is diagonalisable over R.
Value of k where it is not diagonalisable:
Solution
Value of k where it is not diagonalisable: 1
∣A−λI∣=(k−λ)(λ−2)(λ−1): the eigenvalues are 2, 1, k. If they are distinct, A is certainly diagonalisable. They can only repeat when k=1, k=2; check each case:
– k=1: λ=1 is double and rk(A−I)=2, so its eigenspace has dimension 1: it is not diagonalisable.
– k=2: λ=2 is double and rk(A−2I)=1, so its eigenspace has dimension 2: it is diagonalisable.
Conclusion: diagonalisable for every k except k=1.
Question 3Answer
For k=2, diagonalise A, find An and, with your formula, A4.
Entry (1,2) of A4:
Entry (1,3) of A4:
Entry (3,3) of A4:
Solution
Entry (1,2) of A4: 30
Entry (1,3) of A4: 15
Entry (3,3) of A4: 16
With k=2, A=100220102.
Characteristic polynomial: ∣A−λI∣=−(λ−2)2(λ−1), so the eigenvalues are λ=1, λ=2 (double).
For λ=1: rk(A−I)=2, so its eigenspace has dimension 1: V1=L{(1,0,0)}.
For λ=2: rk(A−2I)=1, so its eigenspace has dimension 2 (algebraic multiplicity 2): V2=L{(2,1,0),(1,0,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=100210101 (eigenvectors as columns) and D=100020002, P−1AP=D.
Since A=PDP−1, An=PDnP−1, and Dn just raises the diagonal:
Matrix: A=1101a0002. Leading principal minors (Sylvester): Δ1=1, Δ2=a−1, Δ3=∣A∣=2(a−1). With Δ1>0, it is positive definite when Δ2>0 and Δ3>0 at once, that is, if a>1. If a<1, some minor is negative while Δ1>0: it cannot be definite or negative semidefinite, and here it is indefinite (check it with a value, as below). If a=1, ∣A∣=0 and you have to look at the eigenvalues.
Question 2Answer
For a=1, diagonalise the matrix of w, give its signature and classify it.
Eigenvalues, smallest first: λ1=
λ2=
λ3=
Classification:
Solution
Eigenvalues, smallest first: λ1=0
λ2=2
λ3=2
Classification: Positive semidefinite
The matrix of w in the standard basis is symmetric: A=110110002. Being symmetric, it is diagonalised with eigenvalues: ∣A−λI∣=−λ(λ−2)2, so D=000020002, with eigenvectors (−1,1,0), (1,1,0), (0,0,1) (normalised, they give an orthonormal basis B in which the matrix of w is D). Signature (2,0): positive semidefinite.
Let z=1−i.
Question 1Answer
Compute z10 with De Moivre’s formula and give the result in rectangular form.
Real part of z10:
Imaginary part of z10:
Solution
Real part of z10: 0
Imaginary part of z10: -32
z=2315∘. De Moivre: raise the modulus and multiply the argument:
z10=(2)10⋅315∘10=32270∘=−32i
(the argument 3150∘ is reduced by subtracting whole turns of 360°).
Question 2Answer
A regular polygon with 6 sides centred at the origin has a vertex at 3+i. Find the other vertices in rectangular form.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Argument of z2:
Argument of z3:
Argument of z4:
Argument of z5:
Real part of z2 (two decimals):
Imaginary part of z2:
Solution
Modulus of the roots: 2
Argument of z0 (in degrees, smallest first, between 0 and 360): 30
Argument of z1: 90
Argument of z2: 150
Argument of z3: 210
Argument of z4: 270
Argument of z5: 330
Real part of z2 (two decimals): -1.73
Imaginary part of z2: 1
The vertices are the sixth roots of (3+i)6=−64: all at distance 2 from the origin and 60∘ apart. In polar form, −64=64180∘. The sixth roots have modulus 664=2 and arguments 6180∘+360∘j, j=0,…,5:
Discuss the system depending on k (Rouché–Frobenius theorem).
Value of k for which it has infinitely many solutions:
Value of k for which it is inconsistent:
Solution
Value of k for which it has infinitely many solutions: 2
Value of k for which it is inconsistent: -1
∣A∣=2(k−2)(k+1), which vanishes at k=−1 and k=2. If k is neither of those values, rk(A)=rk(A∣b)=3 = number of unknowns: consistent with a unique solution.
If k=−1: rk(A)=2 and rk(A∣b)=3: inconsistent.
If k=2: rk(A)=2 and rk(A∣b)=2: consistent with infinitely many solutions (1 parameter).
Question 2Answer
Solve the system for k=1 by Gaussian elimination.
x=
y=
z=
Solution
x=1
y=1
z=0
With k=1 the augmented matrix is 112021222133 and, reducing, 100010001110: (x,y,z)=(1,1,0). Check it by substituting into the three equations.
Question 3Answer
For k=0, find the inverse of the coefficient matrix A.
Entry (1,1) of A−1:
Entry (2,3) of A−1:
Entry (3,2) of A−1:
Solution
Entry (1,1) of A−1: -1
Entry (2,3) of A−1: 0.50
Entry (3,2) of A−1: 0
With k=0, A=102020222 and ∣A∣=−4 (non-zero: it is invertible). With the adjugate, A−1=∣A∣1Adj(A)t:
Check: AA−1=I. Gauss–Jordan on (A∣I) gives the same.
Let f:R3→R3 be the linear map
f(x,y,z)=(2x−3y,−y,3x−3y−z)
Question 1Answer
Find a basis and the dimension of Ker(f) and of Im(f). Justify whether f is injective, surjective or bijective.
dimKer(f)=
dimIm(f)=
Is it bijective?
Solution
dimKer(f)=0
dimIm(f)=3
Is it bijective? Yes
The matrix in the standard basis is A=203−3−1−300−1 and its rank is 3. So dimIm(f)=3 (a basis: {(2,0,3),(−3,−1,−3),(0,0,−1)}, the pivot columns) and, by the rank–nullity theorem, dimKer(f)=3−3=0 (the kernel is just zero). Trivial kernel and image the whole of R3: it is bijective (injective and surjective).
Question 2Answer
Determine whether the matrix A of f in the standard basis is diagonalisable over R and, if so, give P and D with P−1AP=D.
Eigenvalues, smallest first (repeated if double): λ1=
λ2=
λ3=
Is it diagonalisable?
Solution
Eigenvalues, smallest first (repeated if double): λ1=-1
λ2=-1
λ3=2
Is it diagonalisable? Yes
Characteristic polynomial: ∣A−λI∣=−(λ−2)(λ+1)2, so the eigenvalues are λ=−1 (double), λ=2.
For λ=−1: rk(A+I)=1, so its eigenspace has dimension 2 (algebraic multiplicity 2): V−1=L{(1,1,0),(0,0,1)}.
For λ=2: rk(A−2I)=2, so its eigenspace has dimension 1: V2=L{(1,0,1)}.
Each geometric multiplicity equals the algebraic one: it is diagonalisable, with P=110001101 (eigenvectors as columns) and D=−1000−10002, P−1AP=D.
Your P may differ (other eigenvectors or another order): it is fine if its columns are independent eigenvectors and D has the eigenvalues in the same order.
Question 3Answer
Find An and, with your formula, A4.
Entry (1,2) of A4:
Entry (3,1) of A4:
Entry (3,3) of A4:
Solution
Entry (1,2) of A4: -15
Entry (3,1) of A4: 15
Entry (3,3) of A4: 1
Since A=PDP−1, An=PDnP−1, and Dn just raises the diagonal:
In the Euclidean affine space R3 consider the point P(3,1,−2), the plane σ:2x−y+2z=10 and the lines
r:⎩⎨⎧x=1+λy=3λz=1−λs:⎩⎨⎧x=2μy=1+μz=3+μ
Question 1Answer
Find the distance from P to σ.
d(P,σ)= (two decimals)
Solution
d(P,σ)= (two decimals) 3
With the point–plane distance formula:
d(P,σ)=9∣2⋅3+(−1)⋅1+2⋅(−2)−10∣=39=3
Question 2Answer
Determine the relative position of r and s.
Relative position:
Solution
Relative position: Skew
vr=(1,3,−1), vs=(2,1,1) and ArAs=(−1,1,2): rank of the direction vectors 2 and, with the vector joining their points, 3: they are not coplanar, they are skew. (the determinant of the three vectors is −17).
Question 3Answer
Find the point P′ symmetric to P with respect to σ.
Px′=
Py′=
Pz′=
Solution
Px′=7
Py′=-1
Pz′=2
Line through P perpendicular to σ: X=P+tn. Meeting σ gives t=1 and the foot of the perpendicular is H=(5,0,0). H is the midpoint of PP′, so P′=2H−P=(7,−1,2).
Consider the equation
z2−(1+i)z+(2+2i)=0
Question 1Answer
Solve it in rectangular form (call z₁ the one with the smaller real part).
Real part of z1:
Imaginary part of z1:
Real part of z2:
Imaginary part of z2:
Solution
Real part of z1: 0
Imaginary part of z1: 2
Real part of z2: 1
Imaginary part of z2: -1
With the usual formula, z=2−b±b2−4c. The discriminant is b2−4c=−8−6i; its square root (found by solving (p+qi)2) is ±(−1+3i).
z=21+i±(−1+3i)⇒z1=2i,z2=1−i
Check: the sum of the roots is 1+i and the product, 2+2i.
Question 2Answer
Find in polar and rectangular form the square roots of z1.
Modulus of the roots:
Argument of z0 (in degrees, smallest first, between 0 and 360):
Argument of z1:
Real part of z0 (two decimals):
Imaginary part of z0:
Solution
Modulus of the roots: 1.41
Argument of z0 (in degrees, smallest first, between 0 and 360): 45
Argument of z1: 225
Real part of z0 (two decimals): 1
Imaginary part of z0: 1
In polar form, 2i=290∘. The square roots have modulus 22=2 and arguments 290∘+360∘j, j=0,…,1:
z0=245∘=1+iz1=2225∘=−1−i
Do it on paper. Download your version’s PDF, print it or open it on another screen, start the clock and solve it with a pen. When you finish (or time runs out), copy your results into the boxes and tick «I worked it out on paper» in each part: that way it is marked as in the exam.
Nothing is saved or sent. If you try again, pick another version: version D of each sitting swaps the exercises for topics that did not come up in 2026 (Euclidean space, systems, powers of a matrix, affine space…). Not having come up does not mean they cannot.
How the practical part works
They are linked exercises, where a part often needs the previous one, with no calculator or notes. In 2026 the regular sitting (January) and the resit (June) had the same format: four exercises, always on the same topics and with the same marks.
Sitting
Exercises
Marks
Time
Regular (January 2026 format)
Subspaces, linear map and diagonalisation, bilinear form, roots of a complex number
10 + 7 + 6 + 3 = 26
2 h
Resit (June 2026 format)
The same four; the form is given as a quadratic form
10 + 7 + 6 + 3 = 26
2 h
In both, the total becomes a mark out of 10: it is the P of the exam, and the exam mark is EX = (T + P)/2, with the T from the theory mock exam. Look at how the marks are shared out:
Subspaces and the linear map are 17 of the 26 marks: if you are short of time, start there.
The subspaces exercise alone is 10 of 26 marks (38 %), and with the linear map you reach 17 (65 %). They are also the longest, so the time plan starts there.
What each exercise asks
Exercise
What they ask
Topic
1. Subspaces of R4 (10)
a) Basis, dimension and implicit equations of U1=L{…}, and basis, dimension and parametric equations of U2, given by two equations (4). b) Basis and dimension of U1+U2 and of U1∩U2 (3). c) Whether one vector is in the sum and another in the intersection (3)
a) Diagonalise its matrix and give a basis in which it is diagonal (3). b) Whether it is an inner product and, if so, the cosine of the angle between two vectors (3)
Versions D do not follow this table on purpose: each exercise is swapped for something of the same size that did not come up in 2026. That means Euclidean space (Gram-Schmidt, projection and distance), systems with a parameter and the inverse, the linear map with a parameter and the power An, the quadratic form with a parameter, affine space, De Moivre with a regular polygon and a quadratic equation with complex numbers.
The versions
Version
Regular sitting
Resit
A
Faithful to the format: u outside the sum and v in the intersection, f with a kernel (not bijective), positive definite form (with cosine) and fourth roots
Faithful to the format: neither vector belongs, f bijective with three distinct eigenvalues, positive definite form and fourth roots
B
Faithful to the format: u in the sum and v outside, f bijective with a double eigenvalue, indefinite form (no cosine) and cube roots
Faithful to the format: both vectors belong, f with a kernel and a double eigenvalue, semidefinite form and cube roots of a power
C
Faithful to the format: neither vector belongs, f bijective with three distinct eigenvalues, positive definite form and cube roots of a quotient
Faithful to the format: the sum is all of R4 and the intersection just zero, f bijective with a double eigenvalue, indefinite form and fourth roots
D
Rotation: Euclidean space, linear map with a parameter and An, quadratic form with a parameter, De Moivre and a regular polygon
Rotation: system with a parameter and inverse, An, affine space (distance, skew lines and a symmetric point) and a quadratic equation
They are all original: the real exams were only used to learn the format and the marks, and a script checks that no matrix or subspace matches theirs.
How it is marked
When you hand in, each part is marked in one of these three ways:
The boxes check the result; the rubric, the method. In the real exam both score.
Control boxes: a number or a choice (Yes or No, the classification, the relative position). Numbers accept a comma or a point and a 0.01 tolerance, and fractions can be typed as they are (3/2). Eigenvalues go smallest first, repeated if double, and arguments in degrees between 0 and 360. For the bilinear form you are asked how many entries of your D are positive, negative and zero, not the numbers: the diagonal depends on the method (eigenvalues or conjugate vectors), but its signs do not.
Rubric: when the answer is not unique (a basis, some equations), you mark yourself with the part’s criteria. The solution gives one possible answer and how to check yours.
Working: every part has «I worked it out on paper». Unticked, the part scores 0, because in the real exam a result with no working does not score.
Accepting your basis because it does not match the solution’s… or rejecting it for the same reason. A basis is fine if it has as many vectors as the dimension, they are independent and they satisfy the subspace’s equations. Check that, not whether the vectors match.
How the marks are split inside each part (for example, how much the dimension is worth compared with the basis) is my own rough guide, not the official one. What is real is the rule that no working means no marks.
How to split the 2 hours
Stage
Minutes
Marks
Read everything and choose the order
5
—
1. Subspaces
45
10
2. Linear map
30
7
3. Bilinear or quadratic form
25
6
4. Complex numbers
10
3
Review
5
—
A rule that works: 120 minutes over 26 marks is about 4.5 minutes per mark (a bit less once you take out reading and review). If a part gets stuck for more than twice its time, leave it and carry on: the next exercises do not depend on it.
Common mistakes in this exam
Counting equations without checking they are independent: the dimension of a subspace is n minus the rank of its equations, not the number of equations you are given.
Implicit equations the generators do not satisfy: before moving on, substitute each generator into your equations. If one fails, there is an arithmetic slip.
P with the eigenvectors as rows: in P−1AP=D, the eigenvectors go as columns, in the same order as the eigenvalues in D.
Forgetting that 0n=0: if an eigenvalue is 0, its column of Dn vanishes, and An is still PDnP−1.
Comparing your D with the solution’s: if you diagonalise the form with conjugate vectors you get another diagonal. That is not wrong: check it has the same signs.
Classifying with Sylvester when a minor is 0: if ∣A∣=0, the minors do not decide; look at the signs of the eigenvalues (semidefinite or indefinite).
The cosine with a form that is not an inner product: it only makes sense if the form is positive definite. If it is not, the answer is that it cannot be done.
The argument in the wrong quadrant:arctan(b/a) gives the same for 1+i and −1−i; draw the point before giving the angle.
Cheat sheet: what you need in the exercises
The essentials in 30 seconds: every result with its working; dimension = n− rank of the equations; eigenvectors as columns; the cosine only with a positive definite form; the argument by quadrant.
I want…
How
The dimension of U given by equations
dimU=n−rk(equations)
The implicit equations of U=L{…}
Require that the rank of the basis with (x,y,z,t) does not go up
Data Science and Engineering student at ULPGC. I explain what I learn
at university the way I wish it had been explained to me: with its
doubts, its mistakes and the path to the solution.