Linear Algebra Final Exam

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/132

encourage image

There's no tags or description

Looks like no tags are added yet.

133 Terms

1
New cards

What is the Gram-Schmidt process?

A simple algorithm for producing an orthogonal or orthonormal basis for any non-zero subspace of Rn or put more simply, it is a method in which we can find an orthonormal basis given a basis

2
New cards

Give the basic procedure for the Gram-Schmidt process

  1. Begin with a basis for the inner product space (Doesn’t need to be orthogonal or a unit vector)

  2. Convert the basis to an orthogonal basis

  3. Normalize each vector in the orthogonal basis to form an orthonormal basis


3
New cards

What is an inner product?

A function that to each pair of vector u and v in V, associates a real number <u, v> and satisfies the required axioms

4
New cards

What axioms must a vector space V satisfy in order for it to be considered an inner product?

  • <u, v> = <v, u>

  • <u + v, w> = <u, w> + <v, w>

  • <cu, v> = c<u, v>

  • <u, u> >= 0 and <u, u> = 0 if and only if u = 0


5
New cards

What is an inner product space?

A vector space with an inner product

6
New cards

How do we define the length, or norm of a vector v?

||v|| = √<v, v>

7
New cards

||v||² =

<v, v>

8
New cards

What is an eigenvalue-eigenvector pair of a square matrix M?

A scalar λ and a nonzero vector x such that Mx = λx.

9
New cards

What is an eigenvector?

A nonzero vector x whose direction is unchanged when multiplied by a matrix M.

10
New cards

What is an eigenvalue?

The scalar λ that describes how much an eigenvector is scaled when multiplied by M.

11
New cards

What does it mean for a matrix M to be diagonalizable?

M can be written as M = PDP⁻¹, where P is invertible and D is diagonal.

12
New cards

How can you determine if an n × n matrix is diagonalizable?

It must have n linearly independent eigenvectors.

13
New cards

What are the columns of P in the diagonalization M = PDP⁻¹?

Linearly independent eigenvectors of M.

14
New cards

What goes on the diagonal of D?

The corresponding eigenvalues, in the same order as their eigenvectors in P.

15
New cards

If an n × n matrix has n distinct eigenvalues, is it diagonalizable?

Yes. Eigenvectors corresponding to distinct eigenvalues are linearly independent.

16
New cards

Can a matrix with repeated eigenvalues still be diagonalizable?

Yes. It must have enough linearly independent eigenvectors to form a basis of Rⁿ.

17
New cards

What is an eigenspace?

The set of all eigenvectors corresponding to an eigenvalue λ, together with the zero vector. It is Null(M − λI).

18
New cards

How do you find the eigenspace for λ?

Solve (M − λI)x = 0 and find a basis for the nullspace.

19
New cards

What is the algebraic multiplicity of an eigenvalue?

The number of times that eigenvalue appears as a root of the characteristic polynomial.

20
New cards

What is the geometric multiplicity of an eigenvalue?

The dimension of its eigenspace (the number of independent eigenvectors for that eigenvalue).

21
New cards

What condition must hold for a matrix to be diagonalizable in terms of multiplicities?

For every eigenvalue, geometric multiplicity must equal algebraic multiplicity.

22
New cards

What is the characteristic polynomial of a square matrix A?

p(λ) = det(A − λI), or equivalently det(λI − A).

23
New cards

How do you find the eigenvalues of a matrix?

Solve det(A − λI) = 0.

24
New cards

What equation do you use to find eigenvectors after finding eigenvalues?

(A − λI)x = 0, with x ≠ 0.

25
New cards

What does it mean for two vectors to be orthogonal?

Their dot product is zero: u · v = 0.

26
New cards

What does it mean for a set of vectors to be orthonormal?

Every vector has length 1, and every pair of distinct vectors is orthogonal.

27
New cards

What does it mean for a matrix M to be orthogonal?

MᵀM = I. Equivalently, M⁻¹ = Mᵀ.

28
New cards

What is special about the columns of an orthogonal matrix?

They form an orthonormal set.

29
New cards

What is the inverse of an orthogonal matrix?

M⁻¹ = Mᵀ.

30
New cards

What is the length (norm) of a vector u?

||u|| = √(uᵀu) = √(u₁² + u₂² + … + uₙ²).

31
New cards

What is a unit vector?

A vector with length 1.

32
New cards

How do you turn a nonzero vector u into a unit vector?

Divide by its length: u/||u||.

33
New cards

If uᵀu = 0, what can you conclude?

u = 0, because uᵀu = ||u||².

34
New cards

What is the formula for the projection of y onto x?

projₓ(y) = [(y · x)/(x · x)]x, provided x ≠ 0.

35
New cards

What is the formula for the angle between two nonzero vectors?

θ = cos⁻¹[(x · y)/(||x|| ||y||)].

36
New cards

What is the dot product formula?

x · y = xᵀy = x₁y₁ + x₂y₂ + … + xₙyₙ.

37
New cards

What does a dot product of zero tell you?

The vectors are orthogonal (perpendicular).

38
New cards

What is W⊥?

The orthogonal complement of W: all vectors in Rⁿ that are orthogonal to every vector in W.

39
New cards

How do you find W⊥?

If W has basis vectors w₁,…,wₖ, solve wᵢᵀx = 0 for every basis vector.

40
New cards

What is the relationship between W and W⊥?

dim(W) + dim(W⊥) = n.

41
New cards

What is the projection of y onto x when x and y are orthogonal?

The zero vector.

42
New cards

What is the angle between two orthogonal nonzero vectors?

90° or π/2 radians.

43
New cards

What is an orthogonal basis?

A basis whose vectors are pairwise orthogonal and nonzero.

44
New cards

What is an orthonormal basis?

An orthogonal basis whose vectors all have length 1.

45
New cards

How do you check whether two vectors are orthogonal?

Calculate their dot product. If it equals zero, they are orthogonal.

46
New cards

How do you check whether a set is orthogonal?

Calculate the dot product of every distinct pair. All must equal zero.

47
New cards

What is the length of a vector with components (a,b,c)?

√(a² + b² + c²).

48
New cards

What is the purpose of the Gram-Schmidt process?

To convert a linearly independent set into an orthogonal or orthonormal set spanning the same subspace.

49
New cards

What is the first vector in Gram-Schmidt?

u₁ = v₁.

50
New cards

What is the second vector in Gram-Schmidt?

u₂ = v₂ − projᵤ₁(v₂).

51
New cards

What is the general Gram-Schmidt formula?

uₖ = vₖ − Σᵢ₌₁ᵏ⁻¹ projᵤᵢ(vₖ).

52
New cards

How do you normalize an orthogonal vector?

Divide it by its magnitude: e = u/||u||.

53
New cards

If a set of n nonzero orthogonal vectors is in Rⁿ, what can you conclude?

The vectors are linearly independent and form an orthogonal basis for Rⁿ.

54
New cards

If you know the eigenvalues and eigenvectors of M, how do you construct M?

Use M = PDP⁻¹, where P contains the eigenvectors as columns and D contains their corresponding eigenvalues on the diagonal.

55
New cards

What must be true about P when constructing M = PDP⁻¹?

P must be invertible, so its columns must be linearly independent.

56
New cards

If λ = 1 has multiplicity 1 and λ = 2 has multiplicity 2 in a 3 × 3 matrix, what is D?

D = diag(1,2,2), assuming the eigenvectors are ordered to match.

57
New cards

If the eigenvectors are v₁, v₂, v₃, how do you construct P?

P = [v₁ v₂ v₃], placing the eigenvectors as columns.

58
New cards

How do you recover M from P and D?

Calculate M = PDP⁻¹.

59
New cards

What is the determinant of a triangular matrix?

The product of its diagonal entries.

60
New cards

What is the relationship between eigenvalues and the determinant?

The determinant equals the product of all eigenvalues, counting multiplicity.

61
New cards

What is the relationship between eigenvalues and the trace?

The trace equals the sum of all eigenvalues, counting multiplicity.

62
New cards

Why must a real n × n matrix have at least one real eigenvalue when n is odd?

Its characteristic polynomial has odd degree and real coefficients. As λ approaches positive and negative infinity, the polynomial has opposite signs, so by the Intermediate Value Theorem it has a real root.

63
New cards

Can a real 2 × 2 matrix have no real eigenvalues?

Yes. For example, A = [[0,−1],[1,0]] has characteristic polynomial λ² + 1, giving eigenvalues ±i.

64
New cards

What is an example of a real matrix with no real eigenvalues?

[[0,−1],[1,0]]. Its eigenvalues are i and −i.

65
New cards

Why does an odd-degree real polynomial have at least one real root?

Its values approach opposite infinities at the two ends of the real number line, so continuity guarantees it crosses zero.

66
New cards

Can a real matrix have complex eigenvalues?

Yes. Real matrices can have nonreal complex eigenvalues, which occur in conjugate pairs.

67
New cards

Definition of a determinant

For n≥2, the determinant of a square matrix A = [aij] is the sum of n terms of the form +/- a1j det Aij, with plus and minus signs alternating, where the entries a11, a12,…,a1n are from the first row of A. In symbols, det A = a11 det A11 - a12detA12 + … + (-1)^(1+n)a1n det A1n.

68
New cards

Definition of cofactor expansion

If A = (aij) in a nxn matrix then the (ij)-cofactor of A is the number cij = (-1)^i+j det(Aij)

69
New cards

Theorem 1: finding the determinant

The det(A) can be calculated by doing a cofactor expansion across any row or any column

70
New cards

How can you find the det(A) if the matrix is not an upper triangular matrix without reducing it?

You can do a cofactor expansion across any row or column

71
New cards

Theorem 2: determinants of a triangular matrix

If A is a triangular matrix, then det(A) is the product of the entries on the main diagonal of A

72
New cards

If A is a triangular matrix, then how can you find det(A)?

Take the product on the main diagonal of A to find det(A)

73
New cards

Theorem 3: Properties of Determinants

Let A be a nxn square matrix

74
New cards
  1. If a multiple of one row of A is added to another row to produce a matrix B, then det(B) = det(A)
75
New cards
  1. If two rows of A are interchanged to promote B, then det(B) = -det(A)
76
New cards
  1. If one row of A is multiplied by k to produce B, then det(B) = k * det(A)
77
New cards

Let A be a nxn square matrix. List the three properties of determinants that must apply

  1. If a multiple of one row of A is added to another row to produce a matrix B, then det(B) = det(A)
78
New cards
  1. If two rows of A are interchanged to promote B, then det(B) = -det(A)
79
New cards
  1. If one row of A is multiplied by k to produce B, then det(B) = k * det(A)
80
New cards

When is a matrix A invertible? (or any matrix)

If and only if det(A) != 0

81
New cards

If A is an nxn matrix, what is det(A^T)?

det(A)

82
New cards

Theorem 6: Multiplicative property

If A and B are nxn matrices, then detAB = (detA)(detB)

83
New cards

If A and B are nxn matrices, and detAB = (detA)(detB), what is the property that explains this?

The multiplicative property

84
New cards

Suppose A can be reduced to echelon form U, using only row swaps and row replacement, then if Ais invertible then what is det(A) equal to?

It is equal to (-1)^s p where s = number of swaps and p = product of the pivot elements.

85
New cards

If A is invertible then what is det(A) equal to?

0

86
New cards

Theorem 7: Cramer's rule

Let A be an invertible nxn matrix. For any b in Rn, the unique solution x of Ax = b has entries given by

87
New cards

xi = [det(Ai(b))]/[det(A)], i = 1…n

88
New cards

Theorem 8: Inverse formula

Let A be an invertible nxm matrix. Then A^-1 = [1/det(A)]*adj(A)

89
New cards

If A is an 2x2 matrix, the area of the parallelogram determined by the columns of A is what? Similarly, if A is a 3x3 matrix, the volume of the parallelepiped determined by the columns of A is what?

|det(A)|

90
New cards

Definition of a vector space

A nonempty set V of objects, called vectors, on which are defined operations called addition and multiplication by scalars (real numbers) subject to ten axioms (rules). The axioms must hold for all vectors u,v, and w in V and for all scalars c and d

91
New cards

What are the ten axioms of a vector space?

  1. The sum of u and v, denoted by u + v, is in V
92
New cards
  1. u + v = v + u
93
New cards
  1. (u + v) + w = u + (v + w)
94
New cards
  1. There is a zero vector 0 in V such that u + 0 = u
95
New cards
  1. For each u in V, there is a vector -u in V such that u+(-u)=0
96
New cards
  1. The scalar multiple of u by c, denoted by cu is in V
97
New cards
  1. c(u+v) = cu + cv
98
New cards
  1. (c+d)u = cu + du
99
New cards
  1. c(du) = (cd)u
100
New cards
  1. 1u = u