Salta al contenuto
Note per Studenti Linear Algebra - Mock Exam 2 Report

Linear Algebra - Mock Exam 2

Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.

In questa pagina 5

Mock exam built on the model of the Linear Algebra and Geometry exams for Engineering at UniPD (the equivalent course taught in Italian; sessions of 1 September 2022, 5 July 2022 and 20 June 2023). It is a new paper, not a copy of a real one: all matrices, parameters and data are original. Like the real papers it has four exercises, each with four or five questions (a), (b), (c), ...; the questions of theory are inside the exercises. The real sheets do not state points or duration, so we assign 8 points per exercise (32 in total) and suggest 2 hours; these values are our choice. Allowed material: none (no notes, no calculator). Justify every answer: a bare result does not earn full marks.

Contents: Exercise 1 is a linear system with parameters and a change of basis in the space of polynomials; Exercise 2 is a linear map given on a non-standard basis; Exercise 3 is a symmetric matrix and its quadratic form; Exercise 4 is geometry of lines and planes in R3\mathbb{R}^3 (the type of exercise that closes the real papers).

How to use it: first solve under exam conditions and write every step. Then open only Result to check your final answers, and only afterwards Solution for the full method and the typical mistakes.

Exercise 1 (points 8)

Let a,b∈Ra,b\in\mathbb{R} be parameters and consider the linear system AaX=wbA_aX=w_b in the unknowns x,y,zx,y,z: {2x−z=13x+a y=3a x+y+z=b\begin{cases} 2x - z = 1 \\ 3x + a\,y = 3 \\ a\,x + y + z = b \end{cases} where AaA_a is the matrix of coefficients and wb=(1,3,b)w_b=(1,3,b) is the column of constant terms.

(a) Compute det⁡Aa\det A_a and determine rank⁡(Aa)\operatorname{rank}(A_a) for every a∈Ra\in\mathbb{R}. (1 point)

(b) For which values of aa and bb does the system have exactly one solution, infinitely many solutions, no solution? (2 points)

(c) Solve the system for (a,b)=(0,3)(a,b)=(0,3) and for (a,b)=(1,2)(a,b)=(1,2). (2 points)

Let V=R[X]≤3V=\mathbb{R}[X]_{\le 3} be the vector space of polynomials of degree at most 33, with canonical basis E=(1,X,X2,X3)\mathcal{E}=(1,X,X^2,X^3), and let B=( 1,  1+X,  1+X+X2,  1+X+X2+X3 ).\mathcal{B}=\bigl(\,1,\ \ 1+X,\ \ 1+X+X^2,\ \ 1+X+X^2+X^3\,\bigr).

(d) Show that B\mathcal{B} is a basis of VV and find the coordinates of p(X)=3−2X+X2+4X3p(X)=3-2X+X^2+4X^3 with respect to B\mathcal{B}. (2 points)

(e) Write the change-of-basis matrix from B\mathcal{B} to E\mathcal{E} and its inverse. Use them to find the polynomial whose coordinates with respect to B\mathcal{B} are (2,0,−3,1)(2,0,-3,1). (1 point)

Show the result

(a) det⁡Aa=(a−1)(a+3)\det A_a=(a-1)(a+3). rank⁡(Aa)=3\operatorname{rank}(A_a)=3 for a≠1,−3a\ne 1,-3; rank⁡(Aa)=2\operatorname{rank}(A_a)=2 for a=1a=1 and for a=−3a=-3.

(b) If a≠1,−3a\ne1,-3: exactly one solution for every bb, namely x=ab+a−3(a−1)(a+3),y=3(a−b+1)(a−1)(a+3),z=−a2+2ab−3(a−1)(a+3).x=\frac{ab+a-3}{(a-1)(a+3)},\quad y=\frac{3(a-b+1)}{(a-1)(a+3)},\quad z=\frac{-a^2+2ab-3}{(a-1)(a+3)}. If a=1a=1: infinitely many solutions (one free parameter) for b=2b=2, no solution for b≠2b\ne2. If a=−3a=-3: infinitely many solutions (one free parameter) for b=−2b=-2, no solution for b≠−2b\ne-2.

(c) For (a,b)=(0,3)(a,b)=(0,3): the unique solution is (x,y,z)=(1,2,1)(x,y,z)=(1,2,1). For (a,b)=(1,2)(a,b)=(1,2): the solutions are (x,y,z)=(12,32,0)+s(12,−32,1)(x,y,z)=\bigl(\tfrac12,\tfrac32,0\bigr)+s\bigl(\tfrac12,-\tfrac32,1\bigr), s∈Rs\in\mathbb{R} (equivalently (12,32,0)+λ(1,−3,2)(\tfrac12,\tfrac32,0)+\lambda(1,-3,2)).

(d) B\mathcal{B} is a basis (the matrix of its coordinates has determinant 11). The coordinates of pp are (5,−3,−3,4)(5,-3,-3,4).

(e) Change of basis from B\mathcal{B} to E\mathcal{E}: (1111011100110001),inverse(1−10001−10001−10001).\begin{pmatrix}1&1&1&1\\0&1&1&1\\0&0&1&1\\0&0&0&1\end{pmatrix},\qquad\text{inverse}\quad\begin{pmatrix}1&-1&0&0\\0&1&-1&0\\0&0&1&-1\\0&0&0&1\end{pmatrix}. The polynomial with B\mathcal{B}-coordinates (2,0,−3,1)(2,0,-3,1) is −2X−2X2+X3-2X-2X^2+X^3.

Show the full solution

(a) Determinant and rank. The matrix of coefficients is Aa=(20−13a0a11).A_a=\begin{pmatrix}2&0&-1\\3&a&0\\a&1&1\end{pmatrix}. Expand along the first row (see DeterminantsThe determinant is the unique function of a square matrix that equals 1 on the identity, changes sign when two rows are swapped and is linear in each row; it is computed by row reduction, Sarrus rule or cofactor expansion, and a matrix is invertible exactly when its determinant is non-zero.Determinants →): det⁡Aa=2 (a⋅1−0⋅1)−0+(−1) (3⋅1−a⋅a)=2a−3+a2=a2+2a−3=(a−1)(a+3).\det A_a=2\,(a\cdot1-0\cdot1)-0+(-1)\,(3\cdot1-a\cdot a)=2a-3+a^2=a^2+2a-3=(a-1)(a+3). A square matrix has rank 33 exactly when its determinant is nonzero, so rank⁡(Aa)=3\operatorname{rank}(A_a)=3 for a≠1a\ne1 and a≠−3a\ne-3. For a=1a=1 and a=−3a=-3 the rank is at most 22; it is exactly 22 because the first two rows (2,0,−1)(2,0,-1) and (3,a,0)(3,a,0) are never proportional: a relation (3,a,0)=c (2,0,−1)(3,a,0)=c\,(2,0,-1) would need 3=2c3=2c and 0=−c0=-c, which is impossible. Hence the rank is 22 for a=1a=1 and a=−3a=-3.

Typical mistake: concluding "rank 22" at the values where det⁡=0\det=0 without checking that the rank is not even smaller.

(b) Number of solutions. Write the system as f(X)=wbf(X)=w_b with f:R3→R3f:\mathbb{R}^3\to\mathbb{R}^3, X↦AaXX\mapsto A_aX: it is solvable exactly when wb∈im⁡fw_b\in\operatorname{im}f, and the solution set is then a particular solution plus ker⁡f\ker f (see Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →, section on linear systems, and Systems of Linear EquationsA linear system is solved by elementary operations on its augmented matrix; Gaussian elimination brings any matrix to reduced row-echelon form, from which the (empty, unique or infinite) solution set with its free variables can be read off.Systems of Linear Equations →).

Case a≠1,−3a\ne1,-3. det⁡Aa≠0\det A_a\ne0, so AaA_a is invertible, ff is bijective and there is exactly one solution for every bb. The formulas in the Result come from Cramer's rule (or from X=Aa−1wbX=A_a^{-1}w_b; see Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis → and DeterminantsThe determinant is the unique function of a square matrix that equals 1 on the identity, changes sign when two rows are swapped and is linear in each row; it is computed by row reduction, Sarrus rule or cofactor expansion, and a matrix is invertible exactly when its determinant is non-zero.Determinants →): for instance x=det⁡(10−13a0b11)det⁡Aa=(a−0)+(−1)(3−ab)(a−1)(a+3)=ab+a−3(a−1)(a+3).x=\frac{\det\begin{pmatrix}1&0&-1\\3&a&0\\b&1&1\end{pmatrix}}{\det A_a}=\frac{(a-0)+(-1)(3-ab)}{(a-1)(a+3)}=\frac{ab+a-3}{(a-1)(a+3)}.

Case a=1a=1. The system is 2x−z=1,3x+y=3,x+y+z=b.2x-z=1,\qquad 3x+y=3,\qquad x+y+z=b. From the first two equations z=2x−1z=2x-1 and y=3−3xy=3-3x. Substitute in the third: x+(3−3x)+(2x−1)=bx+(3-3x)+(2x-1)=b, that is 2=b2=b. So if b=2b=2 the third equation is a consequence of the first two and the system has the solutions with xx free (infinitely many, one parameter); if b≠2b\ne2 the third equation contradicts the first two and there is no solution. In the language of rank: the matrix of coefficients has rank 22, the augmented matrix has rank 22 if b=2b=2 and rank 33 otherwise.

Case a=−3a=-3. The system is 2x−z=12x-z=1, 3x−3y=33x-3y=3, −3x+y+z=b-3x+y+z=b. Then z=2x−1z=2x-1, y=x−1y=x-1, and the third equation becomes −3x+(x−1)+(2x−1)=b-3x+(x-1)+(2x-1)=b, i.e. −2=b-2=b. So b=−2b=-2 gives infinitely many solutions (one parameter), b≠−2b\ne-2 none.

Typical mistake: dividing by a−1a-1 or by a+3a+3 before treating separately the values a=1a=1 and a=−3a=-3.

(c) Solutions. For (a,b)=(0,3)(a,b)=(0,3): det⁡A0=−3≠0\det A_0=-3\ne0, so the solution is unique. The system is 2x−z=12x-z=1, 3x=33x=3, y+z=3y+z=3. The second equation gives x=1x=1; then z=2x−1=1z=2x-1=1; then y=3−z=2y=3-z=2. Check in the formulas of (b): x=−3−3=1x=\frac{-3}{-3}=1, y=3⋅(−2)−3=2y=\frac{3\cdot(-2)}{-3}=2, z=−3−3=1z=\frac{-3}{-3}=1. Solution (1,2,1)(1,2,1).

For (a,b)=(1,2)(a,b)=(1,2) we are in the consistent case with one free parameter. Take z=sz=s as parameter: x=1+s2x=\frac{1+s}2 (from 2x−z=12x-z=1), y=3−3x=3−3s2y=3-3x=\frac{3-3s}2. So the solutions are (12+s2, 32−3s2, s)=(12,32,0)+s(12,−32,1).\Bigl(\tfrac12+\tfrac s2,\ \tfrac32-\tfrac{3s}2,\ s\Bigr)=\Bigl(\tfrac12,\tfrac32,0\Bigr)+s\Bigl(\tfrac12,-\tfrac32,1\Bigr). Check: the vector (12,−32,1)(\frac12,-\frac32,1) solves the homogeneous system (2⋅12−1=02\cdot\frac12-1=0, 3⋅12−32=03\cdot\frac12-\frac32=0, 12−32+1=0\frac12-\frac32+1=0) and (12,32,0)(\frac12,\frac32,0) solves the system with b=2b=2 (1=11=1, 32+32=3\frac32+\frac32=3, 12+32=2\frac12+\frac32=2).

(d) B\mathcal{B} is a basis; coordinates. VV has dimension 44 (basis E\mathcal{E}), so four vectors form a basis exactly when they are linearly independent, equivalently when the matrix of their coordinates in E\mathcal{E} is invertible (see Bases and DimensionA basis is a linearly independent generating system; all bases of a vector space have the same number of vectors, the dimension, and the dimensions of intersection and sum of two subspaces are linked by dim(A cap B) = dim A + dim B - dim(A+B).Bases and Dimension → and Vector SpacesVector spaces are sets with a sum and a scalar multiplication satisfying eight rules, with R^n, polynomials, direct sums and quotients as examples; subspaces, spans, linear combinations and linear independence are the tools to describe them.Vector Spaces →). The coordinates in E\mathcal{E} of the four polynomials, written as columns, give T=(1111011100110001),T=\begin{pmatrix}1&1&1&1\\0&1&1&1\\0&0&1&1\\0&0&0&1\end{pmatrix}, upper triangular with det⁡T=1≠0\det T=1\ne0. So B\mathcal{B} is a basis.

Coordinates of p=3−2X+X2+4X3p=3-2X+X^2+4X^3: we look for c0,…,c3c_0,\dots,c_3 with p=c0⋅1+c1(1+X)+c2(1+X+X2)+c3(1+X+X2+X3)p=c_0\cdot1+c_1(1+X)+c_2(1+X+X^2)+c_3(1+X+X^2+X^3). Comparing the coefficients of the powers of XX:

  • X3X^3: c3=4c_3=4;
  • X2X^2: c2+c3=1c_2+c_3=1, so c2=−3c_2=-3;
  • X1X^1: c1+c2+c3=−2c_1+c_2+c_3=-2, so c1=−2+3−4=−3c_1=-2+3-4=-3;
  • X0X^0: c0+c1+c2+c3=3c_0+c_1+c_2+c_3=3, so c0=3+3+3−4=5c_0=3+3+3-4=5.

Coordinates (5,−3,−3,4)(5,-3,-3,4). Check: 5−3(1+X)−3(1+X+X2)+4(1+X+X2+X3)5-3(1+X)-3(1+X+X^2)+4(1+X+X^2+X^3) has constant term 5−3−3+4=35-3-3+4=3, coefficient of XX equal to −3−3+4=−2-3-3+4=-2, of X2X^2 equal to −3+4=1-3+4=1, of X3X^3 equal to 44.

(e) Change of basis. The matrix TT above sends the B\mathcal{B}-coordinates of a polynomial to its E\mathcal{E}-coordinates (its columns are the E\mathcal{E}-coordinates of the vectors of B\mathcal{B}; see Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →, section on change of basis). Its inverse sends E\mathcal{E}-coordinates to B\mathcal{B}-coordinates: T−1=(1−10001−10001−10001).T^{-1}=\begin{pmatrix}1&-1&0&0\\0&1&-1&0\\0&0&1&-1\\0&0&0&1\end{pmatrix}. (Check with (d): T−1(3,−2,1,4)T=(3+2, −2−1, 1−4, 4)T=(5,−3,−3,4)TT^{-1}(3,-2,1,4)^T=(3+2,\,-2-1,\,1-4,\,4)^T=(5,-3,-3,4)^T. This also explains the pattern: each B\mathcal{B}-coordinate is the difference of two consecutive E\mathcal{E}-coordinates.)

Polynomial with B\mathcal{B}-coordinates (2,0,−3,1)(2,0,-3,1): T (2,0,−3,1)T=(2+0−3+1, 0−3+1, −3+1, 1)T=(0,−2,−2,1)TT\,(2,0,-3,1)^T=(2+0-3+1,\ 0-3+1,\ -3+1,\ 1)^T=(0,-2,-2,1)^T. The polynomial is −2X−2X2+X3-2X-2X^2+X^3. Direct check: 2⋅1−3(1+X+X2)+(1+X+X2+X3)=−2X−2X2+X32\cdot1-3(1+X+X^2)+(1+X+X^2+X^3)=-2X-2X^2+X^3.

Exercise 2 (points 8)

Let E=(e1,e2,e3)\mathcal{E}=(e_1,e_2,e_3) be the canonical basis of R3\mathbb{R}^3 and let v1=(1,1,0)v_1=(1,1,0), v2=(0,1,1)v_2=(0,1,1), v3=(1,1,1)v_3=(1,1,1), B=(v1,v2,v3)\mathcal{B}=(v_1,v_2,v_3). Let f:R3→R3f:\mathbb{R}^3\to\mathbb{R}^3 be the linear map with f(v1)=(−1,−3,−2),f(v2)=(3,−1,2),f(v3)=(1,−2,0).f(v_1)=(-1,-3,-2),\qquad f(v_2)=(3,-1,2),\qquad f(v_3)=(1,-2,0).

(a) Show that B\mathcal{B} is a basis of R3\mathbb{R}^3. Write the matrix CC of ff with respect to the basis B\mathcal{B} in the domain and E\mathcal{E} in the codomain, and the matrix AA of ff with respect to E\mathcal{E} in both. (3 points)

(b) Find a basis of ker⁡f\ker f and a basis of im⁡f\operatorname{im}f. Is ff injective? Is it surjective? Does the vector (1,2,0)(1,2,0) belong to im⁡f\operatorname{im}f? (3 points)

(c) Let g=f+2id⁡g=f+2\operatorname{id}, that is g(v)=f(v)+2vg(v)=f(v)+2v. Show that gg is invertible and compute the matrix of g−1g^{-1} with respect to E\mathcal{E}. (2 points)

Show the result

(a) B\mathcal{B} is a basis (det⁡(v1∣v2∣v3)=1\det(v_1|v_2|v_3)=1). C=(−131−3−1−2−220),A=(−212−1−21−202).C=\begin{pmatrix}-1&3&1\\-3&-1&-2\\-2&2&0\end{pmatrix},\qquad A=\begin{pmatrix}-2&1&2\\-1&-2&1\\-2&0&2\end{pmatrix}.

(b) ker⁡f=⟨(1,0,1)⟩\ker f=\langle(1,0,1)\rangle, so dim⁡ker⁡f=1\dim\ker f=1. im⁡f=⟨(−2,−1,−2),(1,−2,0)⟩={4x+2y−5z=0}\operatorname{im}f=\langle(-2,-1,-2),(1,-2,0)\rangle=\{4x+2y-5z=0\}, dim⁡im⁡f=2\dim\operatorname{im}f=2. ff is neither injective nor surjective. (1,2,0)∉im⁡f(1,2,0)\notin\operatorname{im}f.

(c) The matrix of gg is G=A+2I=(012−101−204)G=A+2I=\begin{pmatrix}0&1&2\\-1&0&1\\-2&0&4\end{pmatrix} with det⁡G=2≠0\det G=2\ne0, so gg is invertible and G−1=12(0−4124−20−21).G^{-1}=\frac12\begin{pmatrix}0&-4&1\\2&4&-2\\0&-2&1\end{pmatrix}.

Show the full solution

(a) Basis and matrices. Put P=(v1 ∣ v2 ∣ v3)P=(v_1\,|\,v_2\,|\,v_3) (vectors as columns): P=(101111011).P=\begin{pmatrix}1&0&1\\1&1&1\\0&1&1\end{pmatrix}. Expand det⁡P\det P along the first row: 1⋅(1⋅1−1⋅1)−0+1⋅(1⋅1−1⋅0)=0+1=1≠01\cdot(1\cdot1-1\cdot1)-0+1\cdot(1\cdot1-1\cdot0)=0+1=1\ne0. Three vectors of R3\mathbb{R}^3 with invertible matrix are linearly independent, hence a basis (see Bases and DimensionA basis is a linearly independent generating system; all bases of a vector space have the same number of vectors, the dimension, and the dimensions of intersection and sum of two subspaces are linked by dim(A cap B) = dim A + dim B - dim(A+B).Bases and Dimension → and DeterminantsThe determinant is the unique function of a square matrix that equals 1 on the identity, changes sign when two rows are swapped and is linear in each row; it is computed by row reduction, Sarrus rule or cofactor expansion, and a matrix is invertible exactly when its determinant is non-zero.Determinants →).

The matrix CC has as columns the coordinates, in the codomain basis E\mathcal{E}, of the images of the vectors of the domain basis: f(v1),f(v2),f(v3)f(v_1),f(v_2),f(v_3) are already written in E\mathcal{E}, so C=(−131−3−1−2−220)C=\begin{pmatrix}-1&3&1\\-3&-1&-2\\-2&2&0\end{pmatrix} (see Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →, section 1: the matrix associated to a linear map; and Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →, section on maps defined on a basis).

For AA, the matrix of ff in the canonical basis, use the change of basis in the domain. The matrix PP sends B\mathcal{B}-coordinates to E\mathcal{E}-coordinates, so f(Pc)=Ccf(Pc)=Cc for every c∈R3c\in\mathbb{R}^3, i.e. AP=CAP=C and A=CP−1A=CP^{-1}. The inverse of PP (by Gauss-Jordan, or by cofactors, using det⁡P=1\det P=1) is P−1=(01−1−1101−11).P^{-1}=\begin{pmatrix}0&1&-1\\-1&1&0\\1&-1&1\end{pmatrix}. (Check: the first row of PP times the first column of P−1P^{-1} gives 0+0+1=10+0+1=1; the second row of PP times the same column gives 0−1+1=00-1+1=0; and so on.) Then A=CP−1=(−131−3−1−2−220)(01−1−1101−11)=(−212−1−21−202).A=CP^{-1}=\begin{pmatrix}-1&3&1\\-3&-1&-2\\-2&2&0\end{pmatrix}\begin{pmatrix}0&1&-1\\-1&1&0\\1&-1&1\end{pmatrix}=\begin{pmatrix}-2&1&2\\-1&-2&1\\-2&0&2\end{pmatrix}. For example, the entry in row 11, column 11 is (−1)⋅0+3⋅(−1)+1⋅1=−2(-1)\cdot0+3\cdot(-1)+1\cdot1=-2. Check on a vector: A v1=A(1,1,0)T=(−2+1, −1−2, −2)T=(−1,−3,−2)T=f(v1)A\,v_1=A(1,1,0)^T=(-2+1,\,-1-2,\,-2)^T=(-1,-3,-2)^T=f(v_1).

Typical mistake: using PP instead of P−1P^{-1} (writing A=CPA=CP): the result would not return f(v1)f(v_1) on v1v_1. A useful check is always to apply the matrix to one of the vectors of B\mathcal{B}.

(b) Kernel, image, injectivity, surjectivity. Solve AX=0AX=0: −2x+y+2z=0,−x−2y+z=0,−2x+2z=0.-2x+y+2z=0,\qquad -x-2y+z=0,\qquad -2x+2z=0. The third equation gives x=zx=z. In the first, −2z+y+2z=y=0-2z+y+2z=y=0. The second then reads −z+z=0-z+z=0, true. So ker⁡f={(z,0,z)}=⟨(1,0,1)⟩\ker f=\{(z,0,z)\}=\langle(1,0,1)\rangle, of dimension 11. (In B\mathcal{B}-coordinates this vector is (−1,−1,2)(-1,-1,2): indeed f(−v1−v2+2v3)=(1,3,2)−(3,−1,2)+(2,−4,0)=(0,0,0)f(-v_1-v_2+2v_3)=(1,3,2)-(3,-1,2)+(2,-4,0)=(0,0,0).)

By rank-nullity (see Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →, the rank-nullity theorem) dim⁡im⁡f=3−1=2\dim\operatorname{im}f=3-1=2. The image is spanned by the columns of AA; the third column is −1-1 times the first, so a basis of im⁡f\operatorname{im}f is given by the first two columns (−2,−1,−2)(-2,-1,-2) and (1,−2,0)(1,-2,0) (they are not proportional). A Cartesian equation of the image: a normal vector is the cross product (−2,−1,−2)×(1,−2,0)=(−4,−2,5)(-2,-1,-2)\times(1,-2,0)=(-4,-2,5), so im⁡f={4x+2y−5z=0}\operatorname{im}f=\{4x+2y-5z=0\}; both generators satisfy it (−8−2+10=0-8-2+10=0 and 4−4=04-4=0).

ff is injective if and only if ker⁡f={0}\ker f=\{0\} (see Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →, injectivity is measured by the kernel); here ker⁡f≠{0}\ker f\ne\{0\}, so ff is not injective. ff is surjective if and only if im⁡f=R3\operatorname{im}f=\mathbb{R}^3, i.e. if the rank is 33; the rank is 22, so ff is not surjective (for an endomorphism of a finite-dimensional space the two properties are equivalent, as rank-nullity shows).

The vector (1,2,0)(1,2,0) satisfies 4⋅1+2⋅2−5⋅0=8≠04\cdot1+2\cdot2-5\cdot0=8\ne0, so it does not belong to im⁡f\operatorname{im}f: the system AX=(1,2,0)TAX=(1,2,0)^T has no solution.

Typical mistake: taking as basis of the image columns of the reduced (Gauss) matrix instead of columns of the original matrix AA; the columns of the reduced matrix generally span a different subspace.

(c) The map g=f+2id⁡g=f+2\operatorname{id}. The matrix of id⁡\operatorname{id} in E\mathcal{E} is II, so the matrix of gg is G=A+2I=(012−101−204).G=A+2I=\begin{pmatrix}0&1&2\\-1&0&1\\-2&0&4\end{pmatrix}. Determinant, expanding along the first row: 0−1⋅((−1)⋅4−1⋅(−2))+2⋅((−1)⋅0−0⋅(−2))=−1⋅(−2)+0=2≠00-1\cdot\bigl((-1)\cdot4-1\cdot(-2)\bigr)+2\cdot\bigl((-1)\cdot0-0\cdot(-2)\bigr)=-1\cdot(-2)+0=2\ne0. So GG is invertible and gg is an isomorphism (see Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →, isomorphisms, and Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →, invertible matrices). (Equivalently: −2-2 is not an eigenvalue of ff.)

The inverse by cofactors, G−1=1det⁡Gadj⁡(G)G^{-1}=\frac1{\det G}\operatorname{adj}(G). The cofactors Cij=(−1)i+jdet⁡(minorij)C_{ij}=(-1)^{i+j}\det(\text{minor}_{ij}) are C11=0, C12=2, C13=0;C21=−4, C22=4, C23=−2;C31=1, C32=−2, C33=1.C_{11}=0,\ C_{12}=2,\ C_{13}=0;\qquad C_{21}=-4,\ C_{22}=4,\ C_{23}=-2;\qquad C_{31}=1,\ C_{32}=-2,\ C_{33}=1. The adjugate is the transpose of the matrix of cofactors, so G−1=12(0−4124−20−21).G^{-1}=\frac12\begin{pmatrix}0&-4&1\\2&4&-2\\0&-2&1\end{pmatrix}. Check: first row of GG times first column of G−1G^{-1}: 12(0⋅0+1⋅2+2⋅0)=1\frac12(0\cdot0+1\cdot2+2\cdot0)=1; first row of GG times second column: 12(0⋅(−4)+1⋅4+2⋅(−2))=0\frac12(0\cdot(-4)+1\cdot4+2\cdot(-2))=0.

Exercise 3 (points 8)

Let S=(1−1−2−141−211).S=\begin{pmatrix}1&-1&-2\\-1&4&1\\-2&1&1\end{pmatrix}.

(a) Compute the characteristic polynomial of SS and its eigenvalues. (2 points)

(b) For each eigenvalue find a basis of the eigenspace. (2 points)

(c) Explain why SS is diagonalizable by an orthogonal matrix and find an orthogonal matrix PP and a diagonal matrix DD with PTSP=DP^TSP=D. (2 points)

(d) Consider the quadratic form q(x,y,z)=(x,y,z) S (x,y,z)Tq(x,y,z)=(x,y,z)\,S\,(x,y,z)^T. Write qq explicitly. Is SS positive definite? Is qq positive definite, negative definite or indefinite? (2 points)

Show the result

(a) det⁡(S−tI)=−(t+1)(t−2)(t−5)\det(S-tI)=-(t+1)(t-2)(t-5), i.e. det⁡(tI−S)=t3−6t2+3t+10\det(tI-S)=t^3-6t^2+3t+10. Eigenvalues −1-1, 22, 55, all simple.

(b) E−1=⟨(1,0,1)⟩E_{-1}=\langle(1,0,1)\rangle, E2=⟨(1,1,−1)⟩E_2=\langle(1,1,-1)\rangle, E5=⟨(1,−2,−1)⟩E_5=\langle(1,-2,-1)\rangle.

(c) SS is symmetric, so it has an orthonormal eigenbasis. For instance P=(121316013−2612−13−16),D=(−100020005).P=\begin{pmatrix}\frac1{\sqrt2}&\frac1{\sqrt3}&\frac1{\sqrt6}\\0&\frac1{\sqrt3}&-\frac2{\sqrt6}\\\frac1{\sqrt2}&-\frac1{\sqrt3}&-\frac1{\sqrt6}\end{pmatrix},\qquad D=\begin{pmatrix}-1&0&0\\0&2&0\\0&0&5\end{pmatrix}.

(d) q(x,y,z)=x2+4y2+z2−2xy−4xz+2yzq(x,y,z)=x^2+4y^2+z^2-2xy-4xz+2yz. Not positive definite (the leading minors are 1, 3, −101,\,3,\,-10). In the orthonormal coordinates u=PT(x,y,z)Tu=P^T(x,y,z)^T one has q=−u12+2u22+5u32q=-u_1^2+2u_2^2+5u_3^2: qq is indefinite.

Show the full solution

(a) Characteristic polynomial. (See Eigenvalues and EigenvectorsAn eigenvector of a square matrix is a nonzero vector that the matrix only rescales; eigenvalues are the roots of the characteristic polynomial, and a matrix is diagonalizable exactly when the eigenspaces together have dimension n.Eigenvalues and Eigenvectors →, the characteristic polynomial.) det⁡(S−tI)=det⁡(1−t−1−2−14−t1−211−t).\det(S-tI)=\det\begin{pmatrix}1-t&-1&-2\\-1&4-t&1\\-2&1&1-t\end{pmatrix}. Expand along the first row: (1−t)[(4−t)(1−t)−1]+1⋅[(−1)(1−t)−1⋅(−2)]−2[(−1)⋅1−(4−t)(−2)].(1-t)\bigl[(4-t)(1-t)-1\bigr]+1\cdot\bigl[(-1)(1-t)-1\cdot(-2)\bigr]-2\bigl[(-1)\cdot1-(4-t)(-2)\bigr]. The three brackets are t2−5t+3t^2-5t+3,  t+1\ t+1 and 7−2t7-2t, so det⁡(S−tI)=(1−t)(t2−5t+3)+(t+1)−2(7−2t)=−t3+6t2−8t+3+t+1−14+4t=−t3+6t2−3t−10.\det(S-tI)=(1-t)(t^2-5t+3)+(t+1)-2(7-2t)=-t^3+6t^2-8t+3+t+1-14+4t=-t^3+6t^2-3t-10. This factors as −(t+1)(t−2)(t−5)-(t+1)(t-2)(t-5) (check: (t+1)(t−2)(t−5)=t3−6t2+3t+10(t+1)(t-2)(t-5)=t^3-6t^2+3t+10; the trace is 1+4+1=6=−1+2+51+4+1=6=-1+2+5 and det⁡S=−10=(−1)⋅2⋅5\det S=-10=(-1)\cdot2\cdot5). Eigenvalues: −1-1, 22, 55, each with algebraic multiplicity 11.

(b) Eigenspaces. Each one is the kernel of S−λIS-\lambda I (see Eigenvalues and EigenvectorsAn eigenvector of a square matrix is a nonzero vector that the matrix only rescales; eigenvalues are the roots of the characteristic polynomial, and a matrix is diagonalizable exactly when the eigenspaces together have dimension n.Eigenvalues and Eigenvectors →, eigenspaces).

λ=−1\lambda=-1: S+I=(2−1−2−151−212)S+I=\begin{pmatrix}2&-1&-2\\-1&5&1\\-2&1&2\end{pmatrix}. The first and third row are proportional. From 2x−y−2z=02x-y-2z=0 we get y=2x−2zy=2x-2z; in −x+5y+z=0-x+5y+z=0 this gives −x+10x−10z+z=9x−9z=0-x+10x-10z+z=9x-9z=0, so x=zx=z and y=0y=0. Basis (1,0,1)(1,0,1).

λ=2\lambda=2: S−2I=(−1−1−2−121−21−1)S-2I=\begin{pmatrix}-1&-1&-2\\-1&2&1\\-2&1&-1\end{pmatrix}. Subtract the first equation −x−y−2z=0-x-y-2z=0 from the second −x+2y+z=0-x+2y+z=0: 3y+3z=03y+3z=0, so y=−zy=-z and then x=−y−2z=−zx=-y-2z=-z. Taking z=−1z=-1: basis (1,1,−1)(1,1,-1).

λ=5\lambda=5: S−5I=(−4−1−2−1−11−21−4)S-5I=\begin{pmatrix}-4&-1&-2\\-1&-1&1\\-2&1&-4\end{pmatrix}. The second row gives z=x+yz=x+y; the first row then gives −4x−y−2x−2y=−6x−3y=0-4x-y-2x-2y=-6x-3y=0, so y=−2xy=-2x, z=−xz=-x. Basis (1,−2,−1)(1,-2,-1).

Each eigenspace has dimension 11 (equal to the algebraic multiplicity). Check: S(1,0,1)T=(−1,0,−1)TS(1,0,1)^T=(-1,0,-1)^T, S(1,1,−1)T=(2,2,−2)TS(1,1,-1)^T=(2,2,-2)^T, S(1,−2,−1)T=(1+2+2, −1−8−1, −2−2−1)T=(5,−10,−5)TS(1,-2,-1)^T=(1+2+2,\ -1-8-1,\ -2-2-1)^T=(5,-10,-5)^T. All three equal λv\lambda v.

(c) Orthogonal diagonalization. SS is symmetric (S=STS=S^T), so by the theorem on symmetric matrices (see Orthogonal and Symmetric MatricesOrthogonal matrices have orthonormal rows and columns, symmetric matrices are exactly those with an orthonormal eigenbasis, and affine subspaces (lines, planes, hyperplanes) are studied with orthogonal projections to compute distances.Orthogonal and Symmetric Matrices →, section 2) it has an orthonormal eigenbasis, i.e. it is orthogonally diagonalizable. Eigenvectors of different eigenvalues of a symmetric matrix are orthogonal; indeed (1,0,1)⋅(1,1,−1)=0,(1,0,1)⋅(1,−2,−1)=0,(1,1,−1)⋅(1,−2,−1)=1−2+1=0.(1,0,1)\cdot(1,1,-1)=0,\qquad(1,0,1)\cdot(1,-2,-1)=0,\qquad(1,1,-1)\cdot(1,-2,-1)=1-2+1=0. Here the three eigenvalues are distinct, so no Gram-Schmidt step is needed: it is enough to normalize. The norms are 2\sqrt2, 3\sqrt3, 6\sqrt6 (see Euclidean SpacesA scalar product gives vectors a length and an orthogonality relation; with it every subspace has an orthogonal complement, vectors can be projected orthogonally, and Gram-Schmidt builds orthonormal bases.Euclidean Spaces →). The columns of P=(12(1,0,1)T ∣ 13(1,1,−1)T ∣ 16(1,−2,−1)T)P=\Bigl(\tfrac1{\sqrt2}(1,0,1)^T\ \Big|\ \tfrac1{\sqrt3}(1,1,-1)^T\ \Big|\ \tfrac1{\sqrt6}(1,-2,-1)^T\Bigr) form an orthonormal basis, so PP is orthogonal (P−1=PTP^{-1}=P^T) and PTSP=D=diag⁡(−1,2,5)P^TSP=D=\operatorname{diag}(-1,2,5), with the eigenvalues in the same order as the columns of PP.

Typical mistakes: forgetting to normalize (the matrix PP with columns (1,0,1),(1,1,−1),(1,−2,−1)(1,0,1),(1,1,-1),(1,-2,-1) has orthogonal but not unit columns, so P−1≠PTP^{-1}\ne P^T); writing the eigenvalues in DD in a different order than the eigenvectors in PP.

(d) The quadratic form. Multiplying out, q=x2+4y2+z2+2(−1)xy+2(−2)xz+2(1)yz=x2+4y2+z2−2xy−4xz+2yz.q=x^2+4y^2+z^2+2(-1)xy+2(-2)xz+2(1)yz=x^2+4y^2+z^2-2xy-4xz+2yz. By the criterion of the leading principal minors (see Euclidean SpacesA scalar product gives vectors a length and an orthogonality relation; with it every subspace has an orthogonal complement, vectors can be projected orthogonally, and Gram-Schmidt builds orthonormal bases.Euclidean Spaces →, positive definite matrices), SS is positive definite only if det⁡S(1)=1\det S^{(1)}=1, det⁡S(2)=det⁡(1−1−14)=3\det S^{(2)}=\det\begin{pmatrix}1&-1\\-1&4\end{pmatrix}=3 and det⁡S(3)=det⁡S=−10\det S^{(3)}=\det S=-10 are all positive; the last one is not, so SS is not positive definite.

More precisely, substitute (x,y,z)T=Pu(x,y,z)^T=Pu: then q=uTPTSPu=uTDu=−u12+2u22+5u32q=u^TP^TSPu=u^TDu=-u_1^2+2u_2^2+5u_3^2. Since the eigenvalues have both signs, qq takes positive and negative values, so it is indefinite (neither positive nor negative definite). Explicit vectors: q(1,0,0)=1>0q(1,0,0)=1>0, and for the eigenvector (1,0,1)(1,0,1) of the eigenvalue −1-1: q(1,0,1)=1+1−4=−2=−1⋅∥(1,0,1)∥2<0q(1,0,1)=1+1-4=-2=-1\cdot\|(1,0,1)\|^2<0.

Typical mistake: concluding "negative definite" or "positive definite" from the sign of the determinant alone; all the leading minors (or all the eigenvalues) must be considered.

Exercise 4 (points 8)

In R3\mathbb{R}^3 with the standard scalar product consider the planes π1: x−y+z=3,π2: x+y+3z=7,\pi_1:\ x-y+z=3,\qquad \pi_2:\ x+y+3z=7, the line L=π1∩π2L=\pi_1\cap\pi_2 and the point Q=(2,1,−1)Q=(2,1,-1).

(a) Check that π1\pi_1 and π2\pi_2 intersect in a line and write LL in parametric form L=v+⟨w⟩L=v+\langle w\rangle. (2 points)

(b) Write the equations of all the planes containing LL and find the equation of the plane π\pi containing LL and passing through QQ. (2 points)

(c) Find the line MM through QQ which is orthogonal to LL and meets LL (give its parametric and its Cartesian equations). Show that MM lies in the plane π\pi of (b). (3 points)

(d) Compute the distance from QQ to LL. (1 point)

Show the result

(a) The normal vectors (1,−1,1)(1,-1,1) and (1,1,3)(1,1,3) are independent, so the planes meet in a line: L=(1,0,2)+⟨(2,1,−1)⟩={(1+2t, t, 2−t)∣t∈R}.L=(1,0,2)+\langle(2,1,-1)\rangle=\{(1+2t,\ t,\ 2-t)\mid t\in\mathbb{R}\}.

(b) The planes through LL are λ(x−y+z−3)+μ(x+y+3z−7)=0\lambda(x-y+z-3)+\mu(x+y+3z-7)=0 with (λ,μ)≠(0,0)(\lambda,\mu)\ne(0,0). The plane through QQ is π: 2x−5y−z=0\pi:\ 2x-5y-z=0 (obtained with λ=7\lambda=7, μ=−3\mu=-3).

(c) The foot of the perpendicular is H=(3,1,1)H=(3,1,1). M=(2,1,−1)+⟨(1,0,2)⟩={(2+s, 1, −1+2s)}M=(2,1,-1)+\langle(1,0,2)\rangle=\{(2+s,\ 1,\ -1+2s)\}, with Cartesian equations y=1y=1, 2x−z=52x-z=5. M⊂πM\subset\pi.

(d) d(Q,L)=∥Q−H∥=5d(Q,L)=\|Q-H\|=\sqrt5.

Show the full solution

(a) Parametric form of LL. (See Orthogonal and Symmetric MatricesOrthogonal matrices have orthonormal rows and columns, symmetric matrices are exactly those with an orthonormal eigenbasis, and affine subspaces (lines, planes, hyperplanes) are studied with orthogonal projections to compute distances.Orthogonal and Symmetric Matrices →, section 3.3, lines in R3\mathbb{R}^3.) The normals a1=(1,−1,1)a_1=(1,-1,1) and a2=(1,1,3)a_2=(1,1,3) are not proportional, so the system of the two equations has rank 22 and its solution set is an affine subspace of dimension 3−2=13-2=1, a line. Solve the system: subtracting the equations x−y+z=3x-y+z=3 and x+y+3z=7x+y+3z=7 gives 2y+2z=42y+2z=4, so y=2−zy=2-z; then x=3+y−z=5−2zx=3+y-z=5-2z. Setting z=2−tz=2-t (so that t=0t=0 gives the point with z=2z=2) we get x=1+2t,y=t,z=2−t.x=1+2t,\qquad y=t,\qquad z=2-t. So L=(1,0,2)+⟨(2,1,−1)⟩L=(1,0,2)+\langle(2,1,-1)\rangle. Checks: the point (1,0,2)(1,0,2) satisfies 1−0+2=31-0+2=3 and 1+0+6=71+0+6=7; the direction w=(2,1,−1)w=(2,1,-1) is orthogonal to both normals: 2−1−1=02-1-1=0 and 2+1−3=02+1-3=0 (and indeed a1×a2=(−4,−2,2)=−2wa_1\times a_2=(-4,-2,2)=-2w).

Typical mistake: giving as direction vector one of the normal vectors, instead of a vector orthogonal to both.

(b) The pencil of planes through LL. The planes containing LL are exactly those with equation λ(x−y+z−3)+μ(x+y+3z−7)=0,(λ,μ)≠(0,0),\lambda(x-y+z-3)+\mu(x+y+3z-7)=0,\qquad(\lambda,\mu)\ne(0,0), because every point of LL satisfies both equations and hence their linear combinations (see Orthogonal and Symmetric MatricesOrthogonal matrices have orthonormal rows and columns, symmetric matrices are exactly those with an orthonormal eigenbasis, and affine subspaces (lines, planes, hyperplanes) are studied with orthogonal projections to compute distances.Orthogonal and Symmetric Matrices →, section 3.3, planes containing a line). Equivalently, the plane has normal λa1+μa2\lambda a_1+\mu a_2, orthogonal to ww, and passes through (1,0,2)(1,0,2).

Impose that Q=(2,1,−1)Q=(2,1,-1) belongs to the plane. The first expression at QQ is 2−1−1−3=−32-1-1-3=-3, the second is 2+1−3−7=−72+1-3-7=-7. Hence −3λ−7μ=0-3\lambda-7\mu=0, e.g. λ=7\lambda=7, μ=−3\mu=-3. The plane is 7(x−y+z−3)−3(x+y+3z−7)=4x−10y−2z=0,i.e.π: 2x−5y−z=0.7(x-y+z-3)-3(x+y+3z-7)=4x-10y-2z=0,\quad\text{i.e.}\quad \pi:\ 2x-5y-z=0. Checks: QQ: 4−5+1=04-5+1=0; the point (1,0,2)(1,0,2) of LL: 2−0−2=02-0-2=0; the direction ww: 4−5+1=04-5+1=0, so π\pi contains LL.

(c) The perpendicular through QQ meeting LL. The line MM must pass through QQ and through a point H∈LH\in L, with QH→⊥w\overrightarrow{QH}\perp w. A general point of LL is Ht=(1+2t, t, 2−t)H_t=(1+2t,\ t,\ 2-t), so Ht−Q=(1+2t−2, t−1, 2−t+1)=(2t−1, t−1, 3−t)H_t-Q=(1+2t-2,\ t-1,\ 2-t+1)=(2t-1,\ t-1,\ 3-t). Impose ⟨Ht−Q, w⟩=0\langle H_t-Q,\,w\rangle=0: 2(2t−1)+(t−1)−(3−t)=4t−2+t−1−3+t=6t−6=0 ⟹ t=1.2(2t-1)+(t-1)-(3-t)=4t-2+t-1-3+t=6t-6=0\ \Longrightarrow\ t=1. (This is criterion (4) of the distance theorem, applied to the point QQ and the line LL; see Orthogonal and Symmetric MatricesOrthogonal matrices have orthonormal rows and columns, symmetric matrices are exactly those with an orthonormal eigenbasis, and affine subspaces (lines, planes, hyperplanes) are studied with orthogonal projections to compute distances.Orthogonal and Symmetric Matrices →, section 4.) So H=H1=(3,1,1)H=H_1=(3,1,1) and H−Q=(1,0,2)H-Q=(1,0,2). Check the orthogonality: (1,0,2)⋅(2,1,−1)=2+0−2=0(1,0,2)\cdot(2,1,-1)=2+0-2=0.

The line MM is M=Q+⟨(1,0,2)⟩={(2+s, 1, −1+2s)∣s∈R}.M=Q+\langle(1,0,2)\rangle=\{(2+s,\ 1,\ -1+2s)\mid s\in\mathbb{R}\}. Cartesian equations: the second coordinate is always 11, so y=1y=1; eliminating s=x−2s=x-2 in z=−1+2sz=-1+2s gives z=2x−5z=2x-5. Thus M: y=1, 2x−z=5M:\ y=1,\ 2x-z=5.

M⊂πM\subset\pi: the point Q∈πQ\in\pi (shown in (b)) and the direction (1,0,2)(1,0,2) satisfies the homogeneous equation of π\pi: 2⋅1−5⋅0−2=02\cdot1-5\cdot0-2=0. Therefore the whole line Q+⟨(1,0,2)⟩Q+\langle(1,0,2)\rangle lies in π\pi. (Geometrically: π\pi contains LL and QQ, and the perpendicular from QQ to LL lies in the plane determined by them.)

Typical mistake: taking as MM the line through QQ with direction orthogonal to LL chosen at random: infinitely many lines through QQ are orthogonal to LL (they fill a plane), but only one of them also meets LL.

(d) Distance. The distance from QQ to LL is the length of the segment QHQH realizing the minimum (see Orthogonal and Symmetric MatricesOrthogonal matrices have orthonormal rows and columns, symmetric matrices are exactly those with an orthonormal eigenbasis, and affine subspaces (lines, planes, hyperplanes) are studied with orthogonal projections to compute distances.Orthogonal and Symmetric Matrices →, section 4, and Euclidean SpacesA scalar product gives vectors a length and an orthogonality relation; with it every subspace has an orthogonal complement, vectors can be projected orthogonally, and Gram-Schmidt builds orthonormal bases.Euclidean Spaces → for the norm): d(Q,L)=∥Q−H∥=∥(−1,0,−2)∥=1+0+4=5.d(Q,L)=\|Q-H\|=\|(-1,0,-2)\|=\sqrt{1+0+4}=\sqrt5. Check with the cross product formula: ∥(Q−(1,0,2))×w∥∥w∥\dfrac{\|(Q-(1,0,2))\times w\|}{\|w\|} with Q−(1,0,2)=(1,1,−3)Q-(1,0,2)=(1,1,-3) and (1,1,−3)×(2,1,−1)=(−1+3, −6+1, 1−2)=(2,−5,−1)(1,1,-3)\times(2,1,-1)=(-1+3,\ -6+1,\ 1-2)=(2,-5,-1), whose norm is 30\sqrt{30}, divided by ∥w∥=6\|w\|=\sqrt6 gives 5\sqrt5.

Self-assessment grid
Exercise Points What you need for full marks Typical mistakes
1 (a)-(c) 5 det⁡Aa=(a−1)(a+3)\det A_a=(a-1)(a+3) and rank 22 at a=1,−3a=1,-3 (not lower); the cases a=1a=1 and a=−3a=-3 treated separately, with the conditions b=2b=2 and b=−2b=-2; the unique solution (1,2,1)(1,2,1) for (0,3)(0,3); the one-parameter family for (1,2)(1,2) dividing by a−1a-1 or a+3a+3 before discussing them; forgetting to say that the other values of bb give no solution; solution set not written as particular solution plus kernel
1 (d)-(e) 3 B\mathcal{B} proved a basis (triangular matrix, det⁡=1\det=1); coordinates (5,−3,−3,4)(5,-3,-3,4) checked by expansion; TT and T−1T^{-1} in the right direction; polynomial −2X−2X2+X3-2X-2X^2+X^3 confusing TT and T−1T^{-1}; computing coordinates by guessing instead of comparing coefficients; forgetting to prove independence or invertibility
2 (a) 3 B\mathcal{B} a basis; CC with the images as columns; A=CP−1A=CP^{-1} computed correctly and checked on v1v_1 writing A=CPA=CP; putting rows instead of columns
2 (b) 3 ker⁡f=⟨(1,0,1)⟩\ker f=\langle(1,0,1)\rangle; basis of the image taken from columns of AA; rank-nullity; neither injective nor surjective; (1,2,0)∉im⁡f(1,2,0)\notin\operatorname{im}f with a justification basis of the image from the reduced matrix; claiming surjective without computing the rank
2 (c) 2 G=A+2IG=A+2I, det⁡G=2\det G=2, inverse computed and checked (GG−1=IGG^{-1}=I) forgetting the factor 1det⁡G\frac1{\det G}; sign errors in the cofactors; using f+2f+2 as if it were a number
3 (a)-(b) 4 characteristic polynomial with the three simple eigenvalues −1,2,5-1,2,5 (trace and determinant as check); an eigenvector for each sign errors in the determinant; eigenvectors not checked with Sv=λvSv=\lambda v
3 (c) 2 reason (symmetric implies orthogonally diagonalizable); orthogonality of the eigenvectors; normalization; PP orthogonal, DD in the same order not normalizing; DD and PP in a different order
3 (d) 2 qq written correctly (cross terms doubled); not positive definite by the minors or by the eigenvalues; indefinite with a justification cross terms not doubled; deducing the sign of qq from one minor only
4 (a)-(b) 4 independent normals, direction (2,1,−1)(2,1,-1) and a point of LL; pencil with parameters (λ,μ)(\lambda,\mu); the plane 2x−5y−z=02x-5y-z=0 checked on QQ and LL direction taken from a normal vector; pencil with only one parameter; not verifying that π\pi contains LL
4 (c)-(d) 4 t=1t=1 from the orthogonality condition, H=(3,1,1)H=(3,1,1), MM in parametric and Cartesian form, M⊂πM\subset\pi; distance 5\sqrt5 arithmetic errors in Ht−QH_t-Q; confusing the perpendicular through QQ that meets LL with an arbitrary orthogonal line