Linear Algebra - Exam of 1 September 2022
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 5
Written exam of Linear Algebra and Geometry, third appello of 1 September 2022 (Engineering, UniPD). This is the paper of the equivalent course taught in Italian, translated into English: the English-language course does not publish its exam papers, so this is the closest official paper available. The sheet (version A) has four exercises with several parts each. Duration, points per exercise and allowed material are not stated on the sheet. Exercise 4 is about lines and planes in space: it is covered by the section on affine subspaces of 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 →, and every part is solved below with that material.
Exercise 1 (points not stated)
We identify with the vector space of polynomials of degree , associating to a vector of the polynomial .
(a) Let be the subspace of the vectors such that the corresponding polynomial vanishes at : Determine the dimension and a basis of .
(b) Let be the subspace spanned by the vectors and . Check that for every the corresponding polynomial is such that its derivative vanishes at : . Say whether all the polynomials such that are of the form , for some vector .
(c) Determine the dimension and a basis of .
(d) Say whether there exist two subspaces such that , and also . If the answer is yes, write bases of such subspaces.
Show the result
(a) ; a basis is .
(b) For we get , so . No: not every with is a with (for instance ).
(c) , so .
(d) Yes. For example and .
Show the full solution
(a) The subspace . The polynomial of vanishes at when . So is the solution set of a single homogeneous linear equation in four unknowns, i.e. the kernel of the matrix (see 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 → 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 →). This matrix has rank , so by the rank-nullity theorem of 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 → Solve for the first unknown that is determined, here the last one: , with free. Then These three vectors span and are linearly independent: looking only at the first three coordinates they give the identity matrix, so a vanishing combination has . So they form 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 →. Check: each vector satisfies .
(b) The subspace and the derivative. A generic vector of is with . The corresponding polynomial is and for all . Equivalently: the coefficient of (the second coordinate) is always on .
Is every with a ? The polynomials with are exactly those with , i.e. the vectors : a subspace of dimension . But has dimension (the vectors are not proportional), so is a proper subspace of that -dimensional space. Explicit counterexample: has , but it corresponds to the vector , which is not in : it would need (fourth coordinate), then (third coordinate), and then the first coordinate would be . So the answer is no. The condition is necessary to be a , but not sufficient.
(c) The intersection . A vector lies in if its polynomial vanishes at , i.e. if its coordinates add up to : with free. So has dimension , in agreement with the dimension formula of 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 →: (here : , since , so is strictly larger than and has dimension at least ). A basis is obtained with , : Check: . Typical error: substituting into the equation of and forgetting that the coordinates of must be written in terms of first.
(d) Common complements. Since and (see the definition of direct sum in 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 →: ), we need . We also need , which again requires . In terms of vectors: if is a basis of and a basis of , we need that each of is a basis of (four vectors in a -dimensional space are a basis if and only if they are independent, i.e. the matrix with these rows has rank , 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 →).
Choose , , , . We check the three conditions by showing that the pairwise intersections are (then by the dimension formula).
- : a vector of lies in only if and , so .
- : . We need , then so , hence and .
- : gives , (third coordinate), , .
So all three sums are direct and have dimension : . (Alternatively, reduce the three matrices by Gaussian elimination and find rank .)
Why not the simplest choice ? Because all have second coordinate : their span lies in the hyperplane and the matrix has rank , not . A complement of must contain vectors with non-zero second coordinate, since itself has none.
Exercise 2 (points not stated)
Let be the endomorphism of whose matrix with respect to the canonical basis is
(a) Find a basis of and a basis of its orthogonal .
(b) Let be the linear function whose matrix with respect to the canonical basis is the transpose matrix of . Find a basis of and check that .
(c) For which value of does the vector belong to the image of ? For this value of determine the preimage .
(d) Consider now the basis of , where , , . What is the matrix of with respect to the basis ?
Show the result
(a) , . .
(b) has basis and .
(c) . .
(d)
Show the full solution
(a) Kernel and its orthogonal. The kernel is the solution set of (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 →). Gaussian elimination (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 →): subtract row 1 from row 2 and row 1 from row 3, Rank , so (rank-nullity). The system is , . Take free: , . With (to avoid fractions): . Check: . So .
The orthogonal complement (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 →, with the standard scalar product): iff , i.e. . It is a plane through the origin, with . Solve for with free: A basis is . Check: and .
(b) The transpose. The matrix of is Its image is the span of its columns (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 →), i.e. of , , . Eliminate: row 2 plus row 1, row 3 minus row 1: Rank (as for : a matrix and its transpose have the same rank, 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 →). The pivots are in columns 1 and 2, so the columns of (not of the reduced matrix) number 1 and 2 form a basis of : and .
Proof that . Both are subspaces of of dimension . So it is enough to show one inclusion, e.g. : a subspace contained in another subspace of the same dimension equals it (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 →). It suffices to check that the basis vectors of are orthogonal to the generator of : (The third column too: .) The reason is general: the entries of the vector are the scalar products of the rows of with , so means is orthogonal to every row of , i.e. to every column of .
(c) When is in the image? The image of is spanned by the columns of , and from the elimination in (a) the pivots are in columns 1 and 2, so a basis of is , (columns of ). We need with First and third: subtracting gives , so and . The second equation gives . For the system has a solution, for any other it has none, so exactly for (equivalently, the determinant of the matrix with columns is , zero only for ).
The preimage is the solution set of the non-homogeneous system : With free, and . Putting gives a particular solution ; check: . As explained in 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 → 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 set of all solutions is a particular solution plus the kernel: (Another particular solution, for , gives the same set: .)
(d) Change of basis. The matrix of with respect to has, in column , the coordinates of in the basis (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 →). The images are the columns of : Now , , , so The coordinates, written as columns, give Check with the formula , where has the vectors as columns: . Conjugating by reverses the order of the rows and of the columns of , which gives exactly . Typical error: writing the coordinates as rows instead of columns.
Exercise 3 (points not stated)
Consider the matrix
(a) Determine the value of for which the linear function represented by the matrix is not injective.
(b) Now set . Determine the characteristic polynomial and the eigenvalues of .
(c) Still for , determine a basis of the eigenspaces of . Say whether it is possible to find a diagonal matrix similar to .
Show the result
(a) ; not injective exactly for .
(b) ; the only eigenvalue is , with algebraic multiplicity .
(c) , of dimension . is not diagonalizable: no diagonal matrix is similar to .
Show the full solution
(a) Injectivity. The map is , so by rank-nullity (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 →) it is injective iff it is surjective iff it is bijective, i.e. iff is invertible, i.e. iff (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 →). Expand the determinant along the second column, which has a single non-zero entry in position (sign ): So is not injective exactly for . (Check: for the kernel is : .)
(b) Characteristic polynomial. With , and (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 →) Again expand along the second column: The only root is , with algebraic multiplicity . So is the only eigenvalue.
(c) Eigenspace and diagonalizability. The eigenvectors for are the solutions of : All three rows are multiples of , so the system reduces to the single equation : the matrix has rank and . With and free, : A basis of is , (any two independent vectors with work). Check: and .
A matrix is diagonalizable iff the dimensions of its eigenspaces add up to (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 →). Here (strictly smaller than the algebraic multiplicity ), so there are at most two independent eigenvectors: is not diagonalizable, and no diagonal matrix is similar to (if were diagonal, the columns of would be three independent eigenvectors). Typical error: stopping at "the only eigenvalue is , so ": if were similar to it would equal , which it does not.
Exercise 4 (points not stated)
In the affine space consider the plane and the line of equations and .
(a) Write the Cartesian equation of the plane that contains the line and forms a right angle with the plane .
(b) Let . Write the parametric equations of the line through , contained in the plane and perpendicular to the line .
(c) Let . Write the parametric equations of the line through , parallel to the plane and incident the line .
(d) Find a point on the line such that [there are two points that satisfy this request, it is enough to find one].
Show the result
(a) .
(b) and .
(c) (it meets at the point with parameter of written as ).
(d) ; the two points are and .
Show the full solution
Throughout, has normal vector , and is given as the intersection of the two planes (normal ) and (normal ). This is the Cartesian description of a line of 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 →. To pass to parametric form, solve the system: , with free, so (Check: satisfies the homogeneous equations , .)
(a) Plane through perpendicular to . The planes containing the line are exactly those with equation as seen in the section on lines of 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 →: every point of satisfies both equations, hence any linear combination of them. The normal vector of such a plane is . Two planes are perpendicular exactly when their normal vectors are orthogonal (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 →): With , : Check: because gives ; and .
(b) Perpendicular to inside . The point . Substitute the points of into the equation of : , so and . (This is a linear system: the three equations of and together have the unique solution .)
The direction. The direction of must satisfy two conditions: means (the direction lies in the plane , which passes through ), and means . So , which is the situation of Task 5 in 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 →. Solve the homogeneous system , , with : Taking gives . (This is also the cross product , but the cross product is not needed.) Check: and . So
(c) Parallel to and incident to . The line passes through and must meet at some point . So its direction is Parallel to the plane means (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 →, Task 9): Then and . Check: . The parametric equations of : (Multiplying the direction by , , gives integers.) Also check that : , so is parallel to but not contained in it.
(d) Points of at distance from . Distance of from . The plane is the subspace , passing through the origin. Decompose by the orthogonal projection theorem of 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 distance from to is the norm of the component along : (The same value is , the hyperplane formula of 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 → applied after translating to the origin.)
Distance from to the points of . For : Impose : The points are and . Check for : with squared norm ; for : , squared norm . Both satisfy the request; one is enough. Typical error: comparing with instead of , or forgetting the square on one side.
Self-assessment grid
| Exercise | Points | What you need for full marks | Typical errors |
|---|---|---|---|
| 1(a) | not stated | is the kernel of , dimension , three independent vectors | Giving a basis of or only two vectors; not checking independence |
| 1(b) | not stated | shown for the generic ; answer no, with the counterexample or the dimension count () | Saying yes because the condition holds on ; no counterexample |
| 1(c) | not stated | Condition , dimension , vector | Not writing with before imposing the equation of |
| 1(d) | not stated | Dimensions and ; explicit bases; the three sums shown direct (rank or trivial intersections) | Choosing so that the rank drops to ; checking only two of the three conditions |
| 2(a) | not stated | and the plane with a basis of two vectors | Wrong dimension of (it is , not ); a basis that does not solve the plane equation |
| 2(b) | not stated | Basis of from the columns of ; inclusion plus equal dimensions | Taking columns of the reduced matrix; checking orthogonality but not the dimensions |
| 2(c) | not stated | ; particular solution plus | Forgetting to add the kernel; giving only one solution |
| 2(d) | not stated | Coordinates of in the basis , written as columns; final matrix | Writing rows instead of columns; keeping the order |
| 3(a) | not stated | , hence , with the reason injective iff invertible | Computing the determinant with a sign error; confusing injective with surjective |
| 3(b) | not stated | , eigenvalue with multiplicity | Expanding the determinant along the wrong column; forgetting multiplicity |
| 3(c) | not stated | of dimension with an explicit basis; conclusion not diagonalizable because | Concluding diagonalizable because there is one eigenvalue; wrong eigenvectors |
| 4(a) | not stated | Plane through in the family with normal , orthogonality to , equation | Using the direction of instead of the normal; losing the constant term |
| 4(b) | not stated | ; direction orthogonal to both and | Direction not orthogonal to (line leaves the plane) |
| 4(c) | not stated | Direction with on , condition , | Imposing instead of orthogonal; arithmetic errors with fractions |
| 4(d) | not stated | ; equation ; one of the two points | Comparing distance with squared distance; algebra errors in the square |