Docsity

Final Examination: Linear Algebra Math 323–502 - Prof. Harold Boas, Exams of Linear Algebra

Toggle sidebar
bg1
Math 323–502 Final Examination
Linear Algebra
Fall 2008
Instructions Please answer the six problems on your own paper. These
are essay questions: you should write in complete sentences.
1. Are the two matrices
1−2−1
213
527
and
1 1 1
4 4 −2
5 5 2
row equivalent? Explain why or why not.
[Recall that two matrices are row equivalent if one matrix can be con-
verted into the other by a sequence of elementary row operations.]
Solution. The two matrices are row equivalent if and only if they
have the same reduced row echelon form. Here is the computation of
the reduced row echelon form for the first matrix:
1−2−1
213
527
R2→R2−2R1
−−−−−−−→
R3→R3−5R1
1−2−1
0 5 5
0 12 12
R2÷5
−−−−→
R3÷12
1−2−1
011
011
R3→R3−R1
−−−−−−−→
R1→R1+2R2
1 0 1
0 1 1
0 0 0
.
Here is the computation of the reduced row echelon form for the second
matrix:
1 1 1
4 4 −2
5 5 2
R2→R2−4R1
−−−−−−−→
R3→R3−5R1
1 1 1
0 0 −6
0 0 −3
R2÷−6
−−−−→
R3÷−3
1 1 1
0 0 1
0 0 1
R3→R3−R2
−−−−−−−→
R1→R1−R2
1 1 0
0 0 1
0 0 0
.
The two reduced row echelon forms are different, so the two matrices
are not row equivalent.
An alternative solution is to observe that the second matrix has its first
two columns equal. Since row operations preserve column dependen-
cies, any row equivalent matrix must have its first two columns equal.
Since the first matrix lacks this property, the first matrix is not row
equivalent to the second matrix.
December 10, 2008 Page 1 of 5 Dr. Boas
pf3
pf4
pf5

Partial preview of the text

Download Final Examination: Linear Algebra Math 323–502 - Prof. Harold Boas and more Exams Linear Algebra in PDF only on Docsity!

Linear Algebra

Instructions Please answer the six problems on your own paper. These are essay questions: you should write in complete sentences.

  1. Are the two matrices 

 (^) and

row equivalent? Explain why or why not. [Recall that two matrices are row equivalent if one matrix can be con- verted into the other by a sequence of elementary row operations.]

Solution. The two matrices are row equivalent if and only if they have the same reduced row echelon form. Here is the computation of the reduced row echelon form for the first matrix:  

 −R−^2 −→−R−^2 −−^2 −R→^1

R 3 →R 3 − 5 R 1

 −−R−^2 ÷−→^5

R 3 ÷ 12

R 3 →R 3 −R 1 −−−−−−−→ R 1 →R1+2R 2

Here is the computation of the reduced row echelon form for the second matrix: 

 −R−^2 −→−R−^2 −−^4 −R→^1

R 3 →R 3 − 5 R 1

 −R−^2 −÷−−→^6

R 3 ÷− 3

R 3 →R 3 −R 2 −−−−−−−→ R 1 →R 1 −R 2

The two reduced row echelon forms are different, so the two matrices are not row equivalent. An alternative solution is to observe that the second matrix has its first two columns equal. Since row operations preserve column dependen- cies, any row equivalent matrix must have its first two columns equal. Since the first matrix lacks this property, the first matrix is not row equivalent to the second matrix.

Linear Algebra

  1. Determine all values of t for which the matrix    

3 t 4 0 0 0 5 t 6 0 7 0 0 8 t

is singular (that is, not invertible).

Solution. A square matrix is singular if and only if the determinant is equal to 0. The determinant can be computed conveniently by using a cofactor expansion on the last column: ∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣ 1 2 0 0 3 t 4 0 0 0 5 t 6 0 7 0 0 8 t

= 8t

3 t 4 0 0 5 t 6

= 48t

3 t 4

∣ = 48t(4^ −^6 t).

The determinant is equal to 0 when t = 0 and when t = 2/3, so these are the values of t for which the matrix is singular.

  1. Create a 3×3 matrix from your nine-digit student identification number by putting the first three digits in the first row of the matrix, the next three digits in the second row of the matrix, and the final three digits in the third row of the matrix. Determine the dimension of the column space of your matrix. Explain your method.

Solution. The dimension of the column space is equal to the dimension of the row space. One way to proceed is to reduce your matrix to echelon form and see how many leading 1’s there are. Three vectors in R^3 chosen at random are most likely linearly inde- pendent, so most students have a matrix of rank equal to 3. In that case, the matrix is invertible, so you could detect this situation also by checking to see if the determinant of the matrix is nonzero.

  1. In the vector space C[0, 1] of continuous functions, the set of functions [1, x, sin(x), cos(x)] forms a basis B for a certain four-dimensional sub- space W. Find the 4 × 4 matrix that represents, with respect to the basis B, the linear operator D on W defined by differentiation. [That

Linear Algebra

  1. Find a diagonal matrix that is similar to the matrix 

[Recall that two square matrices are similar if they represent the same linear operator with respect to two different bases. Equivalently, A and B are similar matrices if B = S−^1 AS for some invertible matrix S.] Explain your method.

Solution. We start by determining the eigenvalues from the charac- teristic equation:

3 − λ 2 3 5 0 − λ 2 0 0 1 − λ

= (1 − λ)

3 − λ 2 5 −λ

= (1 − λ)(λ^2 − 3 λ − 10) = (1 − λ)(λ − 5)(λ + 2). Therefore the eigenvalues are 1, 5, and −2. The eigenvectors corresponding to these three eigenvalues are linearly independent and so form a basis for R^3. In that basis, the corresponding linear operator is represented by a diagonal matrix with the eigenvalues on the diagonal. That is the matrix we seek. There are six correct answers, corresponding to the six possible ways of ordering the diagonal entries. One of these answers is  

Notice that it is not necessary to compute the eigenvectors to answer this question.

Bonus (up to 10 points extra credit)

The so-called Legendre polynomials are an orthogonal set of functions with respect to the inner product

〈p, q〉 =

− 1

p(x)q(x) dx.

Linear Algebra

The Legendre polynomial Pn(x) is a polynomial of degree n that is normalized not by the condition ‖Pn‖ = 1 but instead by the condition that Pn(1) = 1. Here are the first three Legendre polynomials:

P 0 (x) = 1 P 1 (x) = x P 2 (x) = 12 (3x^2 − 1).

Determine the degree-three polynomial P 3 (x).

Solution. One method is to write P 3 (x) in the form a + bx + cx^2 + dx^3 , write three equations that express the orthogonality of P 3 with P 0 , P 1 , and P 2 , write a fourth equation that says P 3 (1) = 1, and solve the four simultaneous equations for the coefficients a, b, c, and d. A somewhat simpler method is to start with x^3 and use the Gram-Schmidt process to subtract off its projection on the subspace spanned by P 0 , P 1 , and P 2. Since these three polynomials are given to be orthogonal, this pro- jection is 〈x^3 , P 0 〉 ‖P 0 ‖^2

P 0 +

〈x^3 , P 1 〉 ‖P 1 ‖^2

P 1 +

〈x^3 , P 2 〉 ‖P 2 ‖^2

P 2.

The inner product is integration over a symmetric interval, so 〈x^3 , P 0 〉 = 0 and 〈x^3 , P 2 〉 = 0 by symmetry. Moreover

〈x^3 , P 1 〉 =

− 1

x^4 dx = 25 , and ‖P 1 ‖^2 =

− 1

x^2 dx = 23.

Therefore the function x^3 − 35 x (along with any scalar multiple of it) is or- thogonal to the subspace spanned by P 0 , P 1 , and P 2. This function takes the value 25 when x = 1, so dividing it by that value normalizes it according to the given scheme. Therefore P 3 (x) = 12 (5x^3 − 3 x).