МатематикаМоя статистика
Тест по линейной алгебре
160 вопросов в 10 темах (лёгкий — 55, средний — 62, сложный — 43). Выберите темы, уровень и количество вопросов — к каждому ответу есть объяснение.
Векторы и матрицы, системы линейных уравнений, определители, обратные матрицы, векторные пространства, ранг, собственные значения, ортогональность и разложения LU, QR, SVD. Вопросы на английском.
Все вопросы теста 160
Нажмите на вариант ответа, чтобы проверить себя, или «Показать ответ».
Vectors16
What is the dot product u · v?
u = (1, 2, 3)
v = (4, -1, 2)- 8
- 12
- 6
- (4, -2, 6)
u · v = 1·4 + 2·(−1) + 3·2 = 4 − 2 + 6 = 8. The dot product is a scalar, not the vector of componentwise products (4, −2, 6).
What is the length ‖v‖ of the vector v = (3, 4)?
- 7
- 5
- 25
- √7
‖v‖ = √(3² + 4²) = √(9 + 16) = √25 = 5. 25 is ‖v‖², and 7 is just the sum of the components.
Compute the cross product u × v.
u = (1, 2, 0)
v = (0, 1, 3)- (6, 3, 1)
- (-6, 3, -1)
- (6, -3, 1)
- (0, 2, 0)
u × v = (u₂v₃ − u₃v₂, u₃v₁ − u₁v₃, u₁v₂ − u₂v₁) = (2·3 − 0·1, 0·0 − 1·3, 1·1 − 2·0) = (6, −3, 1). (−6, 3, −1) is v × u.
What is the angle between the vectors a = (1, 1) and b = (1, 0)?
- 30°
- 60°
- 90°
- 45°
cos θ = a · b / (‖a‖‖b‖) = 1 / (√2 · 1) = 1/√2, so θ = 45°.
What is the orthogonal projection of b = (2, 3) onto the line spanned by a = (1, 1)?
- (2.5, 2.5)
- (5, 5)
- (5/√2, 5/√2)
- (-0.5, 0.5)
proj = (a · b / a · a)·a = (5/2)·(1, 1) = (2.5, 2.5). Forgetting to divide by a · a = 2 gives (5, 5); (−0.5, 0.5) is the perpendicular part b − proj.
Compute 2u − 3v.
u = (1, -2, 4)
v = (2, 0, -1)- (−4, −4, 11)
- (−4, −4, 5)
- (4, 4, −11)
- (−1, −2, 3)
2u = (2, −4, 8) and 3v = (6, 0, −3), so 2u − 3v = (2 − 6, −4 − 0, 8 + 3) = (−4, −4, 11). Forgetting that −3·(−1) = +3 gives 8 − 3 = 5 in the last slot; (4, 4, −11) is 3v − 2u, and (−1, −2, 3) is just u − v.
What is the unit vector in the direction of v = (2, −1, 2)?
- (2/9, −1/9, 2/9)
- (2/5, −1/5, 2/5)
- (2/3, −1/3, 2/3)
- (1, −1/2, 1)
‖v‖ = √(4 + 1 + 4) = √9 = 3, so v/‖v‖ = (2/3, −1/3, 2/3). Dividing by ‖v‖² = 9 gives a vector of length 1/3; dividing by 5 = 2 + 1 + 2 uses the sum of the absolute values instead of the Euclidean length; dividing by the largest entry does not give length 1 either.
What is the area of the triangle with vertices A, B, C?
A = (1, 0, 0)
B = (0, 1, 0)
C = (0, 0, 1)- √3
- √3/2
- 3/2
- 1/2
AB = (−1, 1, 0), AC = (−1, 0, 1) and AB × AC = (1·1 − 0·0, 0·(−1) − (−1)·1, (−1)·0 − 1·(−1)) = (1, 1, 1). ‖(1, 1, 1)‖ = √3 is the area of the parallelogram, and the triangle is half of it: √3/2. 3/2 halves ‖AB × AC‖² instead of the length; 1/2 would be a right triangle with unit legs, but these sides have length √2.
For which value of k are the vectors u and v orthogonal?
u = (2, k, 1)
v = (3, -1, 4)- k = −10
- k = 10
- k = 2
- No such k exists
u · v = 2·3 + k·(−1) + 1·4 = 10 − k, which is 0 for k = 10. Dropping the minus of −1 gives 10 + k = 0, i.e. k = −10; taking 1·4 as −4 gives 6 − k − 4 = 0, i.e. k = 2. Since u · v is a nonconstant linear function of k, some k always works.
What is the distance between the points P and Q?
P = (1, 2, -1)
Q = (4, -2, -1)- 25
- 7
- √29
- 5
Q − P = (3, −4, 0) and ‖Q − P‖ = √(9 + 16 + 0) = 5. 25 is the squared distance, 7 = 3 + 4 adds the absolute differences (the taxicab distance), and √29 is the length of P + Q = (5, 0, −2) — a distance uses the difference.
What is the volume of the parallelepiped spanned by u, v and w?
u = (1, 0, 2)
v = (0, 3, 1)
w = (2, 1, 0)- 13
- −13
- 13/6
- 0
Volume = |u · (v × w)|. v × w = (3·0 − 1·1, 1·2 − 0·0, 0·1 − 3·2) = (−1, 2, −6), so u · (v × w) = −1 + 0 − 12 = −13 and the volume is 13. A volume is never negative (the sign of −13 only records orientation); 13/6 is the volume of the tetrahedron with these edges; 0 = 1·3·0 multiplies the diagonal of [u; v; w] as if it were triangular.
Write w as a linear combination w = a·u + b·v.
u = (1, 1, 1)
v = (1, 2, 3)
w = (3, 5, 7)- a = 2, b = 1
- a = −1, b = 4
- a = 1, b = 2
- Impossible: w is not in span{u, v}
The first two coordinates give a + b = 3 and a + 2b = 5, so b = 2, a = 1; the third must also match: a + 3b = 1 + 6 = 7 ✓, so w ∈ span{u, v}. Swapped coefficients give 2u + v = (3, 4, 5); a = −1, b = 4 satisfies only the first equation (it gives (3, 7, 11)). Three equations in two unknowns can be inconsistent — but here they are not.
‖u‖ = 2, ‖v‖ = 3 and ‖u − v‖ = √7. What is the angle between u and v?
- 120°
- 30°
- 60°
- 90°
‖u − v‖² = ‖u‖² − 2u · v + ‖v‖², so 7 = 4 − 2u · v + 9 and u · v = 3; cos θ = 3/(2·3) = 1/2, θ = 60°. Expanding with a plus sign (the formula for ‖u + v‖²) gives u · v = −3 and 120°; 90° would need ‖u − v‖² = 4 + 9 = 13 (Pythagoras); 30° confuses cos θ = 1/2 with sin θ = 1/2.
What is ‖u‖² for the vector u?
u = (3, -1, 2)- √14
- 12
- 14
- 6
‖u‖² = u · u = 9 + 1 + 4 = 14. √14 is the length ‖u‖ itself, 12 comes from treating (−1)² as −1, and 6 = 3 − 1 + 2 just adds the entries.
What is the angle between the vectors u and v?
u = (1, 0, 1)
v = (0, 1, 1)- 60°
- 30°
- 45°
- 90°
u · v = 1 and ‖u‖ = ‖v‖ = √2, so cos θ = 1 / (√2 · √2) = 1/2 and θ = 60°. cos 30° = √3/2 and cos 45° = 1/√2 do not match, and 90° would need u · v = 0.
For any vectors u and v in ℝ³, what does ‖u × v‖² + (u · v)² equal?
- ‖u‖ ‖v‖
- ‖u‖² + ‖v‖²
- (‖u‖ + ‖v‖)²
- ‖u‖² ‖v‖²
With θ the angle between them, ‖u × v‖ = ‖u‖‖v‖ sin θ and u · v = ‖u‖‖v‖ cos θ, so the sum of the squares is ‖u‖²‖v‖²(sin²θ + cos²θ) = ‖u‖²‖v‖² (Lagrange's identity). ‖u‖‖v‖ has the wrong units for a squared quantity, and the other two do not depend on the angle the way the left side does.
Matrix operations16
A is a 2×3 matrix and B is a 3×4 matrix. What is the size of AB?
- 3×3
- 2×4
- 4×2
- AB is undefined
(m×n)(n×p) = m×p: the inner sizes 3 and 3 match, and the result takes the outer sizes, 2×4.
Compute the product AB.
A = | 1 2 | B = | 0 1 |
| 3 4 | | 1 0 |- [[3, 4], [1, 2]]
- [[0, 2], [3, 0]]
- [[2, 1], [4, 3]]
- [[4, 3], [2, 1]]
Row 1: (1·0 + 2·1, 1·1 + 2·0) = (2, 1); row 2: (3·0 + 4·1, 3·1 + 4·0) = (4, 3). Multiplying by B on the right swaps the columns of A; [[3, 4], [1, 2]] is BA (rows swapped).
For matrices A and B for which AB is defined, what is (AB)ᵀ equal to?
- AᵀBᵀ
- BA
- ABᵀ
- BᵀAᵀ
Transposing a product reverses the order: (AB)ᵀ = BᵀAᵀ. AᵀBᵀ is often not even defined (e.g. for A 2×3, B 3×4).
What is the trace of AB?
A = | 2 1 | B = | 1 3 |
| 0 1 | | 4 1 |- 7
- 5
- 6
- 3
AB = [[2·1 + 1·4, 2·3 + 1·1], [0·1 + 1·4, 0·3 + 1·1]] = [[6, 7], [4, 1]], so tr(AB) = 6 + 1 = 7. Note tr(AB) ≠ tr(A)·tr(B) = 3·2 = 6 and ≠ tr(A) + tr(B) = 5.
Which nonzero matrix A satisfies A² = 0?
- [[1, 0], [0, 0]]
- [[0, 1], [0, 0]]
- [[0, 1], [1, 0]]
- [[1, 1], [0, 1]]
[[0, 1], [0, 0]]² = [[0, 0], [0, 0]]: a nonzero matrix can square to zero (it is nilpotent). The others give A² = A, A² = I and A² = [[1, 2], [0, 1]].
Which matrix rotates every vector of ℝ² by 90° counterclockwise?
- [[0, 1], [−1, 0]]
- [[0, −1], [1, 0]]
- [[1, 0], [0, −1]]
- [[−1, 0], [0, −1]]
The columns are the images of the basis vectors: e₁ = (1, 0) goes to (0, 1) and e₂ = (0, 1) goes to (−1, 0), so R = [[0, −1], [1, 0]]. [[0, 1], [−1, 0]] rotates clockwise, [[1, 0], [0, −1]] reflects in the x-axis, and −I rotates by 180°.
Which 3×3 matrix E, multiplied on the left (EA), subtracts 3 times row 1 of A from row 2 and leaves the other rows unchanged?
- [[1, 0, 0], [3, 1, 0], [0, 0, 1]]
- [[1, −3, 0], [0, 1, 0], [0, 0, 1]]
- [[1, 0, 0], [0, −3, 0], [0, 0, 1]]
- [[1, 0, 0], [−3, 1, 0], [0, 0, 1]]
Apply the row operation to I: row 2 of I becomes (0, 1, 0) − 3·(1, 0, 0) = (−3, 1, 0). [[1, 0, 0], [3, 1, 0], [0, 0, 1]] adds 3·row 1 (it is E⁻¹), [[1, −3, 0], …] subtracts 3·row 2 from row 1, and diag(1, −3, 1) only scales row 2.
For n×n matrices A and B, when does (A + B)² = A² + 2AB + B² hold?
- Exactly when AB = BA
- Always
- Exactly when A and B are invertible
- Exactly when A and B are symmetric
(A + B)² = A² + AB + BA + B², which equals A² + 2AB + B² only if BA = AB. Matrix multiplication is not commutative, and symmetry does not help: A = [[1, 0], [0, 0]] and B = [[0, 1], [1, 0]] are symmetric, but AB = [[0, 1], [0, 0]] ≠ BA = [[0, 0], [1, 0]].
What is the transpose Aᵀ?
A = | 1 2 3 |
| 4 5 6 |- [[1, 4], [2, 5], [3, 6]]
- [[1, 2], [3, 4], [5, 6]]
- [[4, 5, 6], [1, 2, 3]]
- [[3, 2, 1], [6, 5, 4]]
Rows of A become columns of Aᵀ, (Aᵀ)ᵢⱼ = Aⱼᵢ: the 2×3 matrix turns into a 3×2 matrix with columns (1, 2, 3) and (4, 5, 6). [[1, 2], [3, 4], [5, 6]] just re-cuts the entries 1…6 into rows of two (a reshape, not a transpose); the other two keep the 2×3 shape and only swap the rows or reverse each row.
Compute the matrix–vector product Ax.
A = | 2 -1 0 | x = (1, 2, -1)
| 1 3 2 |- (4, 9)
- (0, 9)
- (3, 2, 2)
- (0, 5)
Each entry is a row of A dotted with x: 2·1 + (−1)·2 + 0·(−1) = 0 and 1·1 + 3·2 + 2·(−1) = 5. The result has one entry per row of A, so the 3-vector (3, 2, 2) — the column sums of A — cannot be right; (4, 9) drops all minus signs, and (0, 9) forgets that x₃ = −1 in the second row.
Compute A⁵.
A = | 1 2 |
| 0 1 |- [[1, 32], [0, 1]]
- [[1, 10], [0, 1]]
- [[5, 10], [0, 5]]
- [[1, 8], [0, 1]]
A = I + N with N = [[0, 2], [0, 0]] and N² = 0, so Aⁿ = I + nN = [[1, 2n], [0, 1]] — repeating a shear adds up its shifts: A⁵ = [[1, 10], [0, 1]]. Powering the entry gives 2⁵ = 32, [[5, 10], [0, 5]] is 5A (multiplying instead of powering), and [[1, 8], [0, 1]] is A⁴.
Every square matrix splits as A = S + K with S symmetric and K skew-symmetric. What is S?
A = | 1 4 |
| 2 3 |- [[1, 3], [3, 3]]
- [[2, 6], [6, 6]]
- [[0, 1], [−1, 0]]
- [[1, 4], [4, 3]]
S = (A + Aᵀ)/2 = ([[1, 4], [2, 3]] + [[1, 2], [4, 3]])/2 = [[1, 3], [3, 3]], and K = (A − Aᵀ)/2 = [[0, 1], [−1, 0]] is the skew part. [[2, 6], [6, 6]] forgets to halve A + Aᵀ; [[1, 4], [4, 3]] is symmetric, but the remainder A − [[1, 4], [4, 3]] = [[0, 0], [−2, 0]] is not skew-symmetric.
Which 2×2 matrix can NEVER be written as a commutator AB − BA of two real 2×2 matrices A and B?
- [[0, 1], [0, 0]]
- [[1, 0], [0, −1]]
- I = [[1, 0], [0, 1]]
- [[0, 0], [0, 0]]
tr(AB) = tr(BA), so tr(AB − BA) = 0 for all A, B, while tr I = 2. The other three have trace 0 and are commutators: A = [[0, 1], [0, 0]], B = [[0, 0], [1, 0]] give AB − BA = [[1, 0], [0, −1]]; A = [[1, 0], [0, 0]], B = [[0, 1], [0, 0]] give [[0, 1], [0, 0]]; and B = A gives 0.
Compute the product AB.
A = | 1 0 | B = | 3 1 |
| 2 1 | | 0 2 |- [[3, 1], [6, 4]]
- [[5, 1], [4, 2]]
- [[3, 0], [0, 2]]
- [[3, 1], [6, 2]]
Row by column: the second row is (2·3 + 1·0, 2·1 + 1·2) = (6, 4) and the first row is (3, 1). The first wrong answer is BA, the second multiplies entry by entry, and the third forgets the term 1·2 in the last entry.
A and B are n×n matrices. How can (A + B)(A − B) be expanded?
- A² − B²
- A² + B²
- A² − 2AB + B²
- A² − AB + BA − B²
Distribute without commuting: (A + B)(A − B) = A² − AB + BA − B². It equals A² − B² only when AB = BA, which is false for matrices in general. The other two are not expansions of this product at all.
A is an n×n matrix with AB = BA for every n×n matrix B. What must A be?
- A diagonal matrix
- A scalar multiple of the identity, A = cI
- A symmetric matrix
- An invertible matrix
Take B = Eᵢⱼ (a single 1 in position (i, j)): AEᵢⱼ = EᵢⱼA forces a_ji = 0 for j ≠ i and a_jj = a_ii, so A = cI. A diagonal matrix with different entries fails to commute with Eᵢⱼ, and neither symmetric nor invertible matrices commute with everything.
Linear systems16
Solve the system for (x, y).
x + y = 5
x - y = 1- (2, 3)
- (4, 1)
- (3, 2)
- (3, -2)
Adding the equations gives 2x = 6, so x = 3, and then y = 5 − 3 = 2. Check: 3 − 2 = 1.
What can always be said about a homogeneous system Ax = 0?
- It has exactly one solution
- It may have no solution
- It has infinitely many solutions
- It has at least the trivial solution x = 0
A·0 = 0, so a homogeneous system is always consistent. Whether it has more solutions depends on whether A has free columns.
A consistent linear system has 3 equations in 5 unknowns. How many solutions does it have?
- Infinitely many
- Exactly one
- Exactly 2
- Either exactly one or infinitely many, depending on the coefficients
There are at most 3 pivots among 5 variables, so at least 5 − 3 = 2 variables are free. A consistent system with a free variable has infinitely many solutions.
For which value of k does the system have infinitely many solutions?
x + 2y = 3
2x + 4y = k- k = 3
- k = 6
- k ≠ 6
- k = 0
The second left side is 2 times the first, so the equations must agree: k = 2·3 = 6. For k ≠ 6 the system is inconsistent (parallel lines).
For which value of a does the system have NO solution?
x + a·y = 1
a·x + y = 1- a = 1
- a = ±1
- a = −1
- a = 0
det = 1 − a², so only a = ±1 can fail. For a = 1 both equations are x + y = 1 (infinitely many solutions); for a = −1 they are x − y = 1 and x − y = −1, which contradict each other.
Row reduction of the augmented matrix [A | b] of a system in x, y ends with this matrix. What does it say about the system?
| 1 2 | 3 |
| 0 0 | 5 |- It has exactly one solution
- It has infinitely many solutions, y is free
- It has no solution
- x = 3, y = 5
The second row means 0·x + 0·y = 5, i.e. 0 = 5, which is impossible: the system is inconsistent. A zero row on the left gives a free variable only when its right side is 0 too; reading the right column as the answer (x = 3, y = 5) ignores the coefficients.
Use Cramer's rule to find x.
2x + y = 7
x + 3y = 11- 3
- 10
- 1/2
- 2
det A = 2·3 − 1·1 = 5. Replacing the x-column by the right side gives det [[7, 1], [11, 3]] = 21 − 11 = 10, so x = 10/5 = 2 (and y = det [[2, 7], [1, 11]] / 5 = 15/5 = 3). Check: 2·2 + 3 = 7, 2 + 3·3 = 11. 10 forgets to divide by det A, 1/2 divides the wrong way round, and 3 is y.
Which expression describes ALL solutions of the system (t is any real number)?
x + y + z = 3
x - y + z = 1- t·(−1, 0, 1)
- (2, 1, 0) + t·(−1, 0, 1)
- (2, 1, 0) + t·(1, 0, 1)
- (2, 1, 0) + t·(−1, 1, 0)
Subtracting the equations gives 2y = 2, so y = 1 and x + z = 2; with z = t free, x = 2 − t: (2 − t, 1, t) = (2, 1, 0) + t·(−1, 0, 1). General solution = one particular solution + the null space. t·(−1, 0, 1) alone solves only the homogeneous system Ax = 0, and (1, 0, 1), (−1, 1, 0) are not in the null space (e.g. (1, 0, 1) gives 2 ≠ 0 in both equations).
Solve the system by back substitution. What is (x, y, z)?
x + 2y - z = 2
y + 3z = 11
2z = 6- (3, 2, 1)
- (1, 2, 3)
- (−5, 2, 3)
- (−17, 11, 3)
Bottom up: z = 6/2 = 3, then y = 11 − 3·3 = 2, then x = 2 − 2·2 + 3 = 1. Check: 1 + 4 − 3 = 2. (−5, 2, 3) moves −z to the right side without flipping its sign (x = 2 − 4 − 3); (−17, 11, 3) ignores the 3z term in the second equation; (3, 2, 1) lists the values in the order they were found.
A is a 3×3 matrix with det(A) = −4. How many solutions does Ax = b have?
- None, because det(A) < 0
- Infinitely many, for every b
- Exactly one or none, depending on b
- Exactly one, for every b ∈ ℝ³
det(A) ≠ 0 means A is invertible, so x = A⁻¹b is the one and only solution for every b. The sign of the determinant only tells whether A preserves orientation. Dependence on b (none or infinitely many) happens only when det(A) = 0.
The augmented matrix [A | b] of a system in x, y, z is shown. For which c is the system consistent?
| 1 2 1 | 1 |
| 2 5 3 | 3 |
| 1 3 2 | c |- Every c: there are 3 equations and 3 unknowns
- c = 1, and then it has exactly one solution
- Every c except c = 2
- c = 2, and then it has infinitely many solutions
R₂ − 2R₁ = (0, 1, 1 | 1) and R₃ − R₁ = (0, 1, 1 | c − 1); then R₃ − R₂ = (0, 0, 0 | c − 2). The last row reads 0 = c − 2, so the system is consistent only for c = 2, and then z is free (2 pivots, 3 unknowns). A square system is not automatically solvable: here det A = 0, since row 3 = row 2 − row 1 on the left. c = 1 comes from stopping after R₃ − R₁.
x₁ = (1, 0, 2) solves Ax = b₁ and x₂ = (0, 1, −1) solves Ax = b₂. Which vector solves Ax = 2b₁ − b₂?
- (2, 1, 3)
- (2, −1, 5)
- (1, −1, 3)
- (−2, 1, −5)
By linearity A(2x₁ − x₂) = 2Ax₁ − Ax₂ = 2b₁ − b₂, and 2x₁ − x₂ = (2, 0, 4) − (0, 1, −1) = (2, −1, 5). (2, 1, 3) is 2x₁ + x₂, (1, −1, 3) is x₁ − x₂ (the factor 2 is lost), and (−2, 1, −5) solves Ax = b₂ − 2b₁.
The vector y = (1, −2, 1) satisfies Aᵀy = 0. For which right side b does Ax = b have a solution?
A = | 1 0 |
| 1 1 |
| 1 2 |- b = (1, −2, 1)
- b = (1, 1, 0)
- b = (1, 2, 3)
- b = (3, 2, 0)
Fredholm alternative: Ax = b is solvable exactly when b is orthogonal to the left null space N(Aᵀ) = span{(1, −2, 1)}, i.e. b₁ − 2b₂ + b₃ = 0. For (1, 2, 3): 1 − 4 + 3 = 0 ✓ — indeed A·(1, 1) = (1, 2, 3). (1, −2, 1) is y itself: b must be orthogonal to y, not equal to it (1 + 4 + 1 = 6 ≠ 0); (1, 1, 0) and (3, 2, 0) both give −1, so they lie outside the column space.
Solve the system for (x, y).
2x + y = 5
x - y = 1- (1, 3)
- (3, −1)
- (2, 1)
- (2, −1)
Adding the equations gives 3x = 6, so x = 2 and y = 5 − 4 = 1. (1, 3) satisfies only the first equation (2 + 3 = 5, but 1 − 3 = −2), (3, −1) only the first as well (6 − 1 = 5, but 3 + 1 = 4), and (2, −1) fails the first (4 − 1 = 3).
A is a 4×3 matrix with independent columns. How many solutions can Ax = b have?
- None or exactly one
- Always exactly one
- None or infinitely many
- Exactly one or infinitely many
Independent columns mean the null space is {0}, so a solution, if one exists, is unique. But the column space is only a 3-dimensional subspace of ℝ⁴, so many b have no solution at all. Hence 0 or 1 solutions; "always one" ignores the inconsistent b, and "infinitely many" needs a nonzero null vector.
The vectors x₁ = (1, 1, 1) and x₂ = (2, 0, 1) both solve Ax = b, where b ≠ 0. Which of these vectors must also solve Ax = b?
- (3, 1, 2)
- (−1, 1, 0)
- (2, 2, 2)
- (3, −1, 1)
2x₂ − x₁ = (3, −1, 1) and A(2x₂ − x₁) = 2b − b = b. The sum x₁ + x₂ = (3, 1, 2) and the multiple 2x₁ = (2, 2, 2) give 2b, and the difference x₁ − x₂ = (−1, 1, 0) gives 0; none of them equals b when b ≠ 0.
Determinants16
Compute det(A).
A = | 3 2 |
| 1 4 |- 14
- 11
- −10
- 10
det = ad − bc = 3·4 − 2·1 = 12 − 2 = 10. Adding instead of subtracting gives 14.
A is a 3×3 matrix with det(A) = 2. What is det(2A)?
- 16
- 4
- 8
- 6
Multiplying an n×n matrix by c multiplies every row by c, so det(cA) = cⁿ·det(A) = 2³·2 = 16, not 2·2 = 4.
Compute det(A).
A = | 2 5 7 |
| 0 3 1 |
| 0 0 -1 |- 6
- −6
- 4
- 0
A is upper triangular, so det(A) is the product of the diagonal: 2·3·(−1) = −6. The sum of the diagonal (4) is the trace.
det(A) = 5. Matrix B is obtained from A by swapping two rows and then multiplying one row by 3. What is det(B)?
- 15
- −5
- −15
- 30
A row swap changes the sign (5 → −5) and scaling one row by 3 multiplies the determinant by 3: −5·3 = −15.
Compute det(A).
A = | 1 2 3 |
| 4 5 6 |
| 7 8 10 |- 3
- 0
- −9
- −3
Cofactor expansion along row 1: 1·(5·10 − 6·8) − 2·(4·10 − 6·7) + 3·(4·8 − 5·7) = 1·2 − 2·(−2) + 3·(−3) = 2 + 4 − 9 = −3. (With 9 instead of 10 in the corner the matrix would be singular.)
A and B are 3×3 matrices with det(A) = 3 and det(B) = −2. What is det(AB)?
- −6
- 1
- 6
- It cannot be found without the entries
det(AB) = det(A)·det(B) = 3·(−2) = −6 for any square matrices of the same size. The determinant is multiplicative, not additive: det(A) + det(B) = 1 is wrong (and det(A + B) has no such formula at all).
What is the area of the parallelogram in the plane spanned by the vectors (4, 1) and (2, 3)?
- 11
- 5
- 10
- −10
Area = |det [[4, 2], [1, 3]]| = |4·3 − 2·1| = 10. 11 = 4·2 + 1·3 is the dot product, 5 is the triangle with these two sides, and an area is never negative — the sign of the determinant only records orientation (swapping the vectors gives −10).
Compute det(A).
A = | 2 1 5 7 |
| 1 3 0 2 |
| 0 0 4 1 |
| 0 0 2 1 |- 24
- 7
- 0
- 10
A is block upper triangular [[P, Q], [0, R]] with P = [[2, 1], [1, 3]] and R = [[4, 1], [2, 1]], so det A = det P · det R = (6 − 1)·(4 − 2) = 5·2 = 10; the block Q does not matter. 24 = 2·3·4·1 multiplies the diagonal as if A were triangular (it is not: the 1 and 2 below the diagonal count), and 7 = 5 + 2 adds the block determinants.
A is a 3×3 matrix with det(A) = 4. What are det(Aᵀ) and det(A⁻¹)?
- det(Aᵀ) = 4, det(A⁻¹) = 1/4
- det(Aᵀ) = −4, det(A⁻¹) = 1/4
- det(Aᵀ) = 4, det(A⁻¹) = −4
- det(Aᵀ) = 1/4, det(A⁻¹) = 1/4
Transposing does not change the determinant: det(Aᵀ) = det(A) = 4 (a transpose is not a row swap, so there is no sign change). det(A)·det(A⁻¹) = det(I) = 1 gives det(A⁻¹) = 1/4; −4 confuses the multiplicative inverse with the additive one.
A is a 3×3 matrix with det(A) = 5. What is det(−A)?
- 5
- −5
- −125
- −15
−A multiplies each of the 3 rows by −1, so det(−A) = (−1)³·det(A) = −5. 5 assumes the signs cancel, which happens only for even n; −125 cubes the determinant instead of the factor −1; −15 = −3·5 treats det(cA) as c·n·det(A).
Compute det(A) by cofactor expansion.
A = | 2 0 1 |
| 1 3 0 |
| 0 1 4 |- 25
- 23
- 24
- 9
Along row 1 (signs +, −, +): 2·det [[3, 0], [1, 4]] − 0·(…) + 1·det [[1, 3], [0, 1]] = 2·12 + 1·1 = 25. A minus sign on the third cofactor gives 24 − 1 = 23; 24 = 2·3·4 multiplies the diagonal although A is not triangular; 9 is the trace.
What is the determinant of the permutation matrix P?
P = | 0 1 0 |
| 0 0 1 |
| 1 0 0 |- −1
- 0
- 3
- 1
Two row swaps turn P into I (swap rows 1 and 3, then rows 2 and 3), so det P = (−1)² = 1: a 3-cycle is an even permutation. −1 is the sign of a single swap; P is invertible (P⁻¹ = Pᵀ), so det P ≠ 0; 3 just counts the ones.
A = I + uvᵀ with u = (1, 2, 3) and v = (1, 1, 1). What is det(A)?
A = | 2 1 1 |
| 2 3 2 |
| 3 3 4 |- 1
- 0
- 7
- 15
Matrix determinant lemma: det(I + uvᵀ) = 1 + vᵀu = 1 + (1 + 2 + 3) = 7 — uvᵀ has rank 1 with eigenvalues vᵀu = 6, 0, 0, so I + uvᵀ has eigenvalues 7, 1, 1. Direct check along row 1: 2·(12 − 6) − 1·(8 − 6) + 1·(6 − 9) = 12 − 2 − 3 = 7. 0 is det(uvᵀ), not det(I + uvᵀ); 1 assumes a rank-1 update leaves det(I) unchanged; 15 = 1 + 14 uses uᵀu = 1 + 4 + 9 instead of vᵀu.
Compute det(A).
A = | 4 3 |
| 2 1 |- 2
- 10
- 6
- −2
det A = ad − bc = 4·1 − 3·2 = −2. 2 has the sign reversed, 10 = 4·1 + 3·2 uses a plus, and 6 is just the product bc.
A and B are 3×3 matrices with det(A) = 2 and det(B) = 3. What is det(A⁻¹Bᵀ)?
- 6
- 3/2
- 2/3
- 1/6
det(A⁻¹Bᵀ) = det(A⁻¹) · det(Bᵀ) = (1/2) · 3 = 3/2. 6 forgets the inverse, 2/3 is det(AB⁻¹) and 1/6 is det(A⁻¹B⁻¹).
Compute det(A).
A = | 1 1 1 |
| 1 2 4 |
| 1 3 9 |- 0
- 1
- 2
- 6
This is a Vandermonde matrix for the points 1, 2, 3, so det A = (2 − 1)(3 − 1)(3 − 2) = 2. Cofactor expansion agrees: 1·(18 − 12) − 1·(9 − 4) + 1·(3 − 2) = 6 − 5 + 1 = 2. The determinant is not 0 because the points are distinct, i.e. the rows are independent.
Inverse matrices16
Find A⁻¹.
A = | 2 1 |
| 5 3 |- [[3, −1], [−5, 2]]
- [[−3, 1], [5, −2]]
- [[3, −5], [−1, 2]]
- [[1/2, 1], [1/5, 1/3]]
det = 2·3 − 1·5 = 1, and [[a, b], [c, d]]⁻¹ = (1/det)·[[d, −b], [−c, a]] = [[3, −1], [−5, 2]]. Check: A·A⁻¹ = [[6 − 5, −2 + 2], [15 − 15, −5 + 6]] = I.
A square matrix A is invertible if and only if…
- all entries of A are nonzero
- det(A) ≠ 0
- A is symmetric
- tr(A) ≠ 0
A is invertible exactly when det(A) ≠ 0 (equivalently, when Ax = 0 has only the trivial solution). [[1, 1], [1, 1]] has no zero entries, is symmetric, has trace 2 — and is still singular.
A and B are invertible n×n matrices. What is (AB)⁻¹?
- A⁻¹B⁻¹
- BA
- B⁻¹A⁻¹
- A⁻¹ + B⁻¹
(AB)(B⁻¹A⁻¹) = A(BB⁻¹)A⁻¹ = AA⁻¹ = I, so the order reverses: (AB)⁻¹ = B⁻¹A⁻¹. A⁻¹B⁻¹ works only when A and B commute.
For which value of k is the matrix NOT invertible?
A = | 1 k |
| 2 4 |- k = −2
- k = 8
- k = 1/2
- k = 2
det(A) = 1·4 − 2k = 4 − 2k, which is 0 when k = 2. Then the second row (2, 4) is 2 times the first row (1, 2).
A is a square matrix with A³ = 0. What is (I − A)⁻¹?
- I + A + A²
- I − A − A²
- I + A
- I − A + A²
(I − A)(I + A + A²) = I + A + A² − A − A² − A³ = I − A³ = I. It is the geometric series 1/(1 − x) = 1 + x + x² + …, which stops because A³ = 0.
Find A⁻¹.
A = | 2 0 0 |
| 0 4 0 |
| 0 0 5 |- [[−2, 0, 0], [0, −4, 0], [0, 0, −5]]
- [[1/2, 0, 0], [0, 1/4, 0], [0, 0, 1/5]]
- [[5, 0, 0], [0, 4, 0], [0, 0, 2]]
- (1/40)·[[2, 0, 0], [0, 4, 0], [0, 0, 5]]
For a diagonal matrix the inverse inverts each diagonal entry: diag(2, 4, 5)⁻¹ = diag(1/2, 1/4, 1/5), since the product is diag(1, 1, 1) = I. Negating the entries gives the additive inverse −A, and A/det(A) is not the inverse — the adjugate is diag(20, 10, 8), not A.
Solve Ax = b, using the given A⁻¹.
A = | 1 1 | A⁻¹ = | 2 -1 | b = (3, 5)
| 1 2 | | -1 1 |- (1, 2)
- (8, 13)
- (2, 1)
- (6, 5)
x = A⁻¹b = (2·3 − 1·5, −1·3 + 1·5) = (1, 2). Check: A·(1, 2) = (1 + 2, 1 + 4) = (3, 5) = b. (8, 13) = Ab multiplies by A instead of A⁻¹, and (6, 5) uses only the diagonal of A⁻¹.
Find A⁻¹.
A = | 1 2 3 |
| 0 1 4 |
| 0 0 1 |- [[1, −2, −3], [0, 1, −4], [0, 0, 1]]
- [[1, 0, 0], [−2, 1, 0], [−3, −4, 1]]
- [[1, −2, −5], [0, 1, −4], [0, 0, 1]]
- [[1, −2, 5], [0, 1, −4], [0, 0, 1]]
The inverse of an upper triangular matrix is upper triangular. Back substitution for the (1, 3) entry x: row 1 of A times column 3 of A⁻¹ must be 0, i.e. 1·x + 2·(−4) + 3·1 = 0, so x = 5. Just negating the off-diagonal entries works only for a single elimination step; here the steps interact, giving 2·4 − 3 = 5 instead of −3.
Find the inverse of the elementary matrix E.
E = | 1 0 0 |
| 0 1 0 |
| 4 0 1 |- [[1, 0, −4], [0, 1, 0], [0, 0, 1]]
- [[1, 0, 0], [0, 1, 0], [1/4, 0, 1]]
- [[1, 0, 0], [0, 1, 0], [−4, 0, 1]]
- [[1, 0, 0], [0, 1, 0], [4, 0, 1]]
E adds 4·row 1 to row 3; the inverse undoes this by subtracting 4·row 1 from row 3, so only the sign of the 4 changes. Check: the (3, 1) entry of E·E⁻¹ is 4·1 + 1·(−4) = 0. Moving −4 to position (1, 3) is a different operation (row 1 − 4·row 3), matrix inverses are not entrywise reciprocals, and E·E adds 8·row 1, not 0.
R rotates the plane by the angle θ. What is R⁻¹?
R = | cos θ -sin θ |
| sin θ cos θ |- [[−cos θ, sin θ], [−sin θ, −cos θ]]
- [[1/cos θ, −1/sin θ], [1/sin θ, 1/cos θ]]
- [[sin θ, −cos θ], [cos θ, sin θ]]
- [[cos θ, sin θ], [−sin θ, cos θ]]
Undoing a rotation by θ is the rotation by −θ; with cos(−θ) = cos θ and sin(−θ) = −sin θ this is exactly Rᵀ (R is orthogonal, det R = cos²θ + sin²θ = 1). Negating every entry gives −Rᵀ, the rotation by 180° − θ; entrywise reciprocals are not an inverse (and are undefined at θ = 0); swapping sin and cos gives the rotation by 90° − θ.
A is a 3×3 matrix with det(A) = 2. What is the determinant of its adjugate adj(A) (defined by A·adj(A) = det(A)·I)?
- 2
- 4
- 1/2
- 8
Taking determinants of A·adj(A) = det(A)·I gives det(A)·det(adj A) = det(A)³ = 8, so det(adj A) = det(A)² = 4 (in general det(A)ⁿ⁻¹). 8 = det(det(A)·I) forgets to divide by det(A); 1/2 = det(A⁻¹) confuses adj(A) = det(A)·A⁻¹ with A⁻¹; 2 assumes the adjugate keeps the determinant.
Find A⁻¹ for the block diagonal matrix A.
A = | 2 1 0 0 |
| 1 1 0 0 |
| 0 0 1 2 |
| 0 0 0 1 |- [[1, −1, 0, 0], [−1, 2, 0, 0], [0, 0, 1, −2], [0, 0, 0, 1]]
- [[1, −1, 0, 0], [−1, 2, 0, 0], [0, 0, 1, 2], [0, 0, 0, 1]]
- [[2, −1, 0, 0], [−1, 1, 0, 0], [0, 0, 1, −2], [0, 0, 0, 1]]
- [[1/2, 1, 0, 0], [1, 1, 0, 0], [0, 0, 1, 1/2], [0, 0, 0, 1]]
A block diagonal matrix is inverted block by block: [[2, 1], [1, 1]] has det 1, so its inverse is [[1, −1], [−1, 2]], and [[1, 2], [0, 1]]⁻¹ = [[1, −2], [0, 1]]. The second option leaves the lower block un-inverted; the third negates b and c but forgets to swap a and d; entrywise reciprocals are never the inverse.
A = I + uvᵀ with u = (1, 2) and v = (1, 1). Which expression equals A⁻¹?
A = | 2 1 |
| 2 3 |- I − (1/4)·uvᵀ
- I − uvᵀ
- I + (1/4)·uvᵀ
- I − (1/6)·uvᵀ
Sherman–Morrison: (I + uvᵀ)⁻¹ = I − uvᵀ/(1 + vᵀu), and vᵀu = 1 + 2 = 3, so A⁻¹ = I − (1/4)·[[1, 1], [2, 2]] = (1/4)·[[3, −1], [−2, 2]]. Check with the 2×2 formula: det A = 6 − 2 = 4 and A⁻¹ = (1/4)·[[3, −1], [−2, 2]] ✓. I − uvᵀ drops the denominator, the plus sign is wrong, and 1/6 uses 1 + uᵀu = 1 + 5 instead of 1 + vᵀu.
Find A⁻¹.
A = | 1 2 |
| 3 7 |- [[7, 2], [3, 1]]
- [[7, −2], [−3, 1]]
- [[1, −2], [−3, 7]]
- [[−7, 2], [3, −1]]
det A = 7 − 6 = 1, and A⁻¹ = (1/det) · | d −b ; −c a |. The first wrong answer forgets the signs, the second does not swap a and d, and the third has all the signs reversed. Check: row 1 of A times column 1 of A⁻¹ is 1·7 + 2·(−3) = 1.
A is an invertible n×n matrix. What is (Aᵀ)⁻¹?
- A⁻¹
- Aᵀ
- (A⁻¹)ᵀ
- A
Transposing AA⁻¹ = I gives (A⁻¹)ᵀAᵀ = I, so (A⁻¹)ᵀ is the inverse of Aᵀ. A⁻¹ itself is generally different from (A⁻¹)ᵀ (take a rotation by 30°), and neither Aᵀ nor A is an inverse of Aᵀ in general.
A is a square matrix with A² − 3A + 2I = 0. What is A⁻¹?
- (3I − A) / 2
- (A − 3I) / 2
- 3I − A
- A − 3I
Rewrite the equation as A(3I − A) = 3A − A² = 2I, so A · (3I − A)/2 = I. Without the factor 1/2 the product would be 2I, and with the signs reversed it would be −I or −2I.
Vector spaces16
Which of these sets is a subspace of ℝ²?
- {(x, y) : y = 2x + 1}
- {(x, y) : y = 2x}
- {(x, y) : x ≥ 0}
- {(x, y) : xy = 0}
The line y = 2x passes through 0 and is closed under addition and scalar multiplication. y = 2x + 1 misses 0, x ≥ 0 is not closed under multiplication by −1, and xy = 0 is not closed under addition ((1, 0) + (0, 1) = (1, 1)).
What is the dimension of the vector space of all 2×3 real matrices?
- 3
- 5
- 6
- 9
A 2×3 matrix has 2·3 = 6 independent entries; the 6 matrices with a single 1 and zeros elsewhere form a basis.
Are the vectors (1, 2, 3), (4, 5, 6), (7, 8, 9) linearly independent?
- Yes: none of them is a multiple of another
- Yes: the three vectors are distinct
- No: (7, 8, 9) = (1, 2, 3) + (4, 5, 6)
- No: (7, 8, 9) = 2·(4, 5, 6) − (1, 2, 3)
2·(4, 5, 6) − (1, 2, 3) = (8 − 1, 10 − 2, 12 − 3) = (7, 8, 9), a nontrivial dependence. Not being pairwise multiples is not enough for three or more vectors; (1, 2, 3) + (4, 5, 6) = (5, 7, 9).
What is the dimension of the space of real polynomials of degree at most 3?
- 4
- 3
- 6
- ∞
The basis is {1, x, x², x³}: 4 elements, because the constant term counts too.
What is the dimension of the span of these three vectors in ℝ³?
v₁ = (1, 0, 1)
v₂ = (0, 1, 1)
v₃ = (1, 1, 2)- 3
- 2
- 1
- 0
v₃ = v₁ + v₂, so it adds nothing to the span, while v₁ and v₂ are not multiples of each other. The span is a plane: dimension 2.
Which set of vectors is a basis of ℝ²?
- {(1, 2), (2, 4)}
- {(1, 0), (0, 1), (1, 1)}
- {(1, 1), (1, −1)}
- {(0, 0), (1, 0)}
A basis of ℝ² is exactly 2 linearly independent vectors; det [[1, 1], [1, −1]] = −2 ≠ 0. (2, 4) = 2·(1, 2) is dependent; three vectors in ℝ² always are dependent (they span, but are not a basis); any set containing the zero vector is dependent.
B = {b₁, b₂} with b₁ = (1, 1), b₂ = (1, −1) is a basis of ℝ². What are the coordinates (c₁, c₂) of v = (5, 1) in this basis, v = c₁b₁ + c₂b₂?
- (3, 2)
- (5, 1)
- (2, 3)
- (6, 4)
c₁ + c₂ = 5 and c₁ − c₂ = 1, so c₁ = 3, c₂ = 2: 3·(1, 1) + 2·(1, −1) = (5, 1). (6, 4) are the dot products v · b₁, v · b₂ without dividing by ‖bᵢ‖² = 2 (the basis is orthogonal but not orthonormal); (5, 1) are the standard coordinates.
Which set of 2×2 real matrices is a subspace of the space of all 2×2 matrices?
- Invertible matrices
- Matrices with trace 0
- Matrices with determinant 0
- Matrices with all entries ≥ 0
tr(A + B) = tr A + tr B and tr(cA) = c·tr A, so trace-0 matrices are closed under both operations (a 3-dimensional subspace). Invertible matrices do not contain 0; det = 0 is not closed under addition: [[1, 0], [0, 0]] + [[0, 0], [0, 1]] = I; nonnegative entries are not closed under multiplication by −1.
Which set of vectors spans ℝ³?
- {(1, 0, 0), (0, 1, 0), (1, 1, 0)}
- {(1, 2, 3), (2, 4, 6), (0, 0, 1)}
- {(1, 1, 1), (2, 2, 2)}
- {(1, 0, 0), (1, 1, 0), (1, 1, 1)}
The matrix with columns (1, 0, 0), (1, 1, 0), (1, 1, 1) is upper triangular with det = 1 ≠ 0, so these vectors form a basis and span ℝ³. The second set lies entirely in the plane z = 0; in the third (2, 4, 6) = 2·(1, 2, 3), so it spans only a plane; two vectors can never span ℝ³ (and these two are parallel).
What is the dimension of the space of symmetric 3×3 real matrices?
- 9
- 3
- 6
- 8
A symmetric matrix is determined by its 3 diagonal entries and the 3 entries above the diagonal: 3 + 3 = 6 = n(n + 1)/2. 9 is the dimension of all 3×3 matrices, 3 counts only the diagonal (or the skew-symmetric matrices), and 8 is the dimension of the trace-zero 3×3 matrices.
What are the coordinates (a, b, c) of p(x) = 3 + 2x + x² in the basis {1, 1 + x, (1 + x)²}, i.e. p = a·1 + b·(1 + x) + c·(1 + x)²?
- (3, 2, 1)
- (2, 0, 1)
- (0, 2, 1)
- (1, 0, 2)
Compare coefficients: x²: c = 1; x: b + 2c = 2, so b = 0; constant: a + b + c = 3, so a = 2. Check: 2 + (1 + 2x + x²) = 3 + 2x + x² ✓. (3, 2, 1) are the coordinates in the standard basis {1, x, x²}; (0, 2, 1) forgets the 2x hidden in (1 + x)²; (1, 0, 2) lists the right numbers in reverse order.
Let V be the set of real polynomials p of degree at most 2 with p(1) = 0. What is dim V?
- 3
- 1
- V is not a subspace, so it has no dimension
- 2
For p = a + bx + cx², p(1) = 0 is one linear condition a + b + c = 0 on 3 coefficients, so the dimension drops from 3 to 2; a basis is {x − 1, x² − 1}. V is a subspace: p(1) = q(1) = 0 implies (p + q)(1) = 0 and (cp)(1) = 0 (the condition p(1) = 1 would not give one). 1 counts only the multiples of x − 1, forgetting x² − 1 = (x − 1)(x + 1).
U and W are subspaces of ℝ⁵ with dim U = 3 and dim W = 4. What is the smallest possible dimension of U ∩ W?
- 0
- 1
- 2
- 3
dim(U + W) = dim U + dim W − dim(U ∩ W), and U + W ⊆ ℝ⁵ gives dim(U + W) ≤ 5, so dim(U ∩ W) ≥ 3 + 4 − 5 = 2. It is attained by U = span{e₁, e₂, e₃}, W = span{e₂, e₃, e₄, e₅}. 0 ignores that 3 + 4 > 5 (the subspaces cannot meet only in 0), 1 uses 3 + 4 − 6, and 3 is the largest possible value (U ⊆ W), not the smallest.
What is the dimension of the space of all diagonal 3×3 real matrices?
- 9
- 3
- 6
- 1
A diagonal matrix is determined by its three diagonal entries, so the matrices E₁₁, E₂₂, E₃₃ form a basis: dimension 3. 9 is the dimension of all 3×3 matrices, 6 that of the symmetric (or the upper triangular) ones, and 1 that of the scalar matrices cI.
Which statement about the vectors (1, 2), (3, 4), (5, 6) in ℝ² is correct?
- They are linearly independent, since none is a multiple of another
- They are linearly independent, since they span ℝ²
- They are linearly dependent: any three vectors in ℝ² are
- They are dependent only if one of them is the zero vector
ℝ² has dimension 2, so no three vectors in it can be independent; explicitly (5, 6) = −(1, 2) + 2(3, 4). Having no two vectors proportional is only enough for two vectors, spanning ℝ² does not make three vectors independent, and a dependent set does not need a zero vector.
T is the differentiation map T(p) = p′ on the space of real polynomials of degree at most 3. What is the dimension of its image?
- 3
- 4
- 2
- 1
The image is all polynomials of degree at most 2 (every one of them is a derivative), which has dimension 3. Check by rank–nullity: dim ker T = 1 (the constants), so the rank is 4 − 1 = 3. 4 is the dimension of the whole space, and 1 is the dimension of the kernel.
Rank and nullity16
A is a 4×6 matrix of rank 3. What is the nullity of A (the dimension of its null space)?
- 1
- 2
- 3
- 6
Rank–nullity: rank + nullity = number of columns, so nullity = 6 − 3 = 3. Using the number of rows (4 − 3 = 1) is the typical mistake.
What is the rank of the matrix?
A = | 1 2 |
| 2 4 |- 2
- 0
- 4
- 1
The second row is 2 times the first, so there is only one independent row (one pivot): rank 1.
What is the rank of the matrix?
A = | 1 2 3 |
| 2 4 6 |
| 1 0 1 |- 2
- 1
- 3
- 0
Row 2 = 2·Row 1, so it vanishes in elimination; Row 3 = (1, 0, 1) is not a multiple of (1, 2, 3). Two pivots remain: rank 2.
A is a 5×5 matrix and Ax = 0 has only the trivial solution. What is rank(A)?
- 0
- 5
- 4
- It cannot be determined without the entries
Only the trivial solution means nullity = 0, so rank = 5 − 0 = 5 (A is invertible).
A is a 3×5 matrix of rank 3. Which statement is true?
- Ax = 0 has only the trivial solution
- The nullity of A is 0
- Ax = b has a solution for every b ∈ ℝ³
- The rows of A are linearly dependent
The column space is a 3-dimensional subspace of ℝ³, i.e. all of ℝ³, so every b is reachable. Nullity = 5 − 3 = 2, so Ax = 0 has nontrivial solutions, and the 3 rows are independent (rank 3).
A is a 7×4 matrix. What is the largest possible rank of A?
- 7
- 11
- 28
- 4
rank = number of pivots ≤ min(rows, columns) = min(7, 4) = 4. There are only 4 columns, so at most 4 independent columns, and row rank equals column rank, so the 7 rows cannot give more.
What is the kernel of the linear map T: ℝ³ → ℝ², T(x, y, z) = (x + y, y + z)?
- span{(1, 1, 1)}
- {0} only
- span{(1, −1, 1)}
- span{(1, −1, 0), (0, 1, −1)}
T(x, y, z) = 0 means x = −y and z = −y; y = −1 gives (1, −1, 1). The matrix [[1, 1, 0], [0, 1, 1]] has rank 2, so dim ker T = 3 − 2 = 1: a line. A map from ℝ³ to ℝ² can never have kernel {0}, and T(1, −1, 0) = (0, −1) ≠ 0 rules out the 2-dimensional option.
Which vectors form a basis of the column space of A?
A = | 1 2 1 0 |
| 2 4 0 2 |
| 3 6 1 2 |- Columns 1 and 3 of the row echelon form of A
- Columns 1 and 3 of A: (1, 2, 3) and (1, 0, 1)
- Columns 1 and 2 of A: (1, 2, 3) and (2, 4, 6)
- All four columns of A
Elimination gives [[1, 2, 1, 0], [0, 0, −2, 2], [0, 0, 0, 0]]: pivots in columns 1 and 3 (column 2 = 2·column 1, column 4 = column 1 − column 3), so rank A = 2 and the pivot columns of the ORIGINAL A are a basis. The echelon-form columns all end in 0, so they span a different space — row operations preserve the row space, not the column space. (2, 4, 6) is a multiple of (1, 2, 3), and four vectors of rank 2 are dependent.
What is the rank of the 3×2 matrix uvᵀ?
u = (1, 2, 3)
v = (4, 5)- 1
- 2
- 3
- 6
uvᵀ = [[4, 5], [8, 10], [12, 15]]: row i is uᵢ·vᵀ, a multiple of (4, 5), so there is one independent row — rank 1. Every outer product of two nonzero vectors has rank 1; 2 = min(3, 2) is only an upper bound, 3 is the number of rows, and 6 counts the entries.
A is a 3×5 matrix of rank 3 and B is a 5×3 matrix of rank 2. What is the largest possible rank of AB?
- 3
- 2
- 5
- 1
rank(AB) ≤ min(rank A, rank B) = min(3, 2) = 2: every column of AB is A times a column of B, so C(AB) = A·C(B) has dimension ≤ dim C(B) = 2. AB is 3×3, but its size alone does not allow rank 3 here; 5 is the inner dimension, which bounds nothing beyond min(3, 3). 2 is attained, e.g. when A maps C(B) injectively (A = [I₃ | 0] and B with columns e₁, e₂, 0).
A is already in reduced row echelon form. Which vectors form a basis of its null space?
A = | 1 2 0 -1 |
| 0 0 1 3 |- (2, 1, 0, 0) and (−1, 0, 3, 1)
- (−2, 1, 0, 0) and (1, 0, −3, 1)
- (−2, 1, 0, 0) only
- (1, 2, 0, −1) and (0, 0, 1, 3)
Pivots are in columns 1 and 3, so x₂ and x₄ are free: x₁ = −2x₂ + x₄ and x₃ = −3x₄. x₂ = 1, x₄ = 0 gives (−2, 1, 0, 0); x₂ = 0, x₄ = 1 gives (1, 0, −3, 1). Check: A·(1, 0, −3, 1) = (1 − 1, −3 + 3) = 0. Copying entries without moving them to the other side gives A·(2, 1, 0, 0) = (4, 0) ≠ 0; nullity = 4 − 2 = 2, so one vector is not enough; the rows of A span the row space, the orthogonal complement of the null space.
For which value of t does A have rank exactly 2?
A = | 1 1 t |
| 1 t 1 |
| t 1 1 |- t = 1
- t = 1 or t = −2
- t = −2
- t = 2
det A = −(t − 1)²(t + 2), so A is singular only for t = 1 and t = −2. For t = 1 all three rows equal (1, 1, 1): rank 1, not 2. For t = −2 the rows (1, 1, −2), (1, −2, 1), (−2, 1, 1) add up to 0 but no two are parallel: rank 2. For every other t, e.g. t = 2 (det = −4), the rank is 3. det A = 0 only says rank < 3; it does not tell rank 2 from rank 1.
A is a 5×5 matrix with A² = 0. What is the largest possible rank of A?
- 4
- 3
- 0
- 2
A² = 0 means A(Ax) = 0 for every x, so the column space C(A) lies inside the null space N(A). Hence rank A ≤ nullity A = 5 − rank A, i.e. rank A ≤ 2.5, so rank A ≤ 2 — attained by the matrix with ones at positions (1, 4) and (2, 5). 4 is the rank of the 5×5 nilpotent Jordan block, but that one has A² ≠ 0 (only A⁵ = 0); 3 ignores the inclusion C(A) ⊆ N(A); 0 assumes A² = 0 forces A = 0.
What is the rank of the matrix?
A = | 1 0 0 |
| 0 0 0 |
| 0 0 5 |- 3
- 1
- 6
- 2
There are two nonzero rows, and they are independent, so rank(A) = 2. 3 is just the size of the matrix, 1 counts only one of the two pivots, and 6 = 1 + 5 adds the entries.
A is a 6×4 matrix of rank 4. What is the dimension of the left null space N(Aᵀ)?
- 0
- 2
- 4
- 6
N(Aᵀ) lives in ℝ⁶ and has dimension m − r = 6 − 4 = 2. 0 is the dimension of the ordinary null space N(A), n − r = 4 − 4, 4 is the rank itself, and 6 is the number of rows.
A is an m×n matrix and B is an n×p matrix. Which inequality always holds for rank(AB)?
- rank(AB) ≥ min(rank A, rank B)
- rank(AB) = rank A · rank B
- rank(AB) ≤ min(rank A, rank B)
- rank(AB) ≤ rank A + rank B − n
The columns of AB are combinations of the columns of A, so rank(AB) ≤ rank A; the rows of AB are combinations of the rows of B, so rank(AB) ≤ rank B. Taking A = (1 0) and B = (0 1)ᵀ gives AB = (0), a counterexample to the ≥ version, and products of ranks make no sense (rank(I·I) = n, not n²). The last inequality is Sylvester's lower bound with the sign flipped: it should read ≥.
Eigenvalues16
What are the eigenvalues of the matrix?
A = | 2 0 |
| 0 5 |- 0 and 7
- 10 only
- 7 and 10
- 2 and 5
For a diagonal (or triangular) matrix the eigenvalues are the diagonal entries: 2 and 5. Their sum 7 is the trace and their product 10 is the determinant.
What are the eigenvalues of the matrix?
A = | 2 1 |
| 1 2 |- 1 and 3
- 2 and 2
- −1 and −3
- 2 and 1
det(A − λI) = (2 − λ)² − 1 = λ² − 4λ + 3 = (λ − 1)(λ − 3), so λ = 1 and λ = 3. Check: sum 4 = trace, product 3 = det.
The vector v = (1, 1) is an eigenvector of A. What is its eigenvalue?
A = | 4 1 |
| 2 3 |- 4
- 5
- 3
- 10
Av = (4 + 1, 2 + 3) = (5, 5) = 5·v, so λ = 5. (The other eigenvalue is 7 − 5 = 2, from the trace.)
A 3×3 matrix A has eigenvalues 1, 2, 3. What are the eigenvalues of A² − 2A?
- 1, 4, 9
- −1, 2, 7
- −1, 0, 3
- 1, 0, −3
If Av = λv then (A² − 2A)v = (λ² − 2λ)v. So the eigenvalues are 1 − 2 = −1, 4 − 4 = 0, 9 − 6 = 3 (and A² − 2A is singular).
Which statement about this matrix is true?
A = | 2 1 |
| 0 2 |- A is diagonalizable because it is triangular
- A has eigenvalues 2 and 1
- A has eigenvalues 2 and 0, so it is singular
- λ = 2 has algebraic multiplicity 2 but a 1-dimensional eigenspace, so A is not diagonalizable
The characteristic polynomial is (λ − 2)². A − 2I = [[0, 1], [0, 0]] has rank 1, so its null space (the eigenspace) is 1-dimensional: there are not enough eigenvectors for a basis.
A 2×2 matrix A has trace 6 and determinant 8. What are its eigenvalues?
- 2 and 4
- 6 and 8
- 1 and 5
- −2 and −4
λ₁ + λ₂ = tr A = 6 and λ₁λ₂ = det A = 8, so λ² − 6λ + 8 = (λ − 2)(λ − 4) = 0. −2 and −4 have the right product but the wrong sum; 1 and 5 have the right sum but product 5.
By the Cayley–Hamilton theorem, A² can be written as…
A = | 1 2 |
| 3 4 |- 5A − 2I
- −5A + 2I
- 5A
- 5A + 2I
p(λ) = λ² − (tr A)λ + det A = λ² − 5λ − 2, since det A = 4 − 6 = −2. Cayley–Hamilton says p(A) = A² − 5A − 2I = 0, so A² = 5A + 2I. Check: A² = [[7, 10], [15, 22]] = [[5 + 2, 10], [15, 20 + 2]]. Taking det A = +2 by mistake gives 5A − 2I.
P is a Markov (column-stochastic) matrix. What is its steady-state vector x (Px = x, entries summing to 1)?
P = | 0.9 0.2 |
| 0.1 0.8 |- (1/3, 2/3)
- (1/2, 1/2)
- (2/3, 1/3)
- (0.9, 0.1)
x is the eigenvector for λ = 1: (P − I)x = 0 gives −0.1x₁ + 0.2x₂ = 0, so x₁ = 2x₂, and x₁ + x₂ = 1 gives (2/3, 1/3). Check: 0.9·2/3 + 0.2·1/3 = 2/3. The other eigenvalue is tr P − 1 = 0.7 < 1, so Pᵏx₀ approaches this vector from any starting distribution; (0.9, 0.1) is just the first column, and (1/3, 2/3) swaps the ratio.
P is idempotent: P² = P. Which values can the eigenvalues of P take?
- Only 0 and 1
- Only 1
- Only 0, 1 and −1
- Any real number
If Pv = λv with v ≠ 0, then λv = Pv = P²v = λ²v, so λ² = λ, i.e. λ = 0 or λ = 1. Projections such as [[1, 0], [0, 0]] have both, so "only 1" is wrong (that would make a diagonalizable P equal to I); −1 is possible for involutions (P² = I, e.g. reflections), not for P² = P.
What are the eigenvalues of the matrix of a reflection of ℝ² across a line through the origin?
- 1 and 1
- 1 and 0
- 1 and −1
- i and −i
Vectors on the mirror line stay fixed (λ = 1), and vectors perpendicular to it are flipped (λ = −1). For example, the reflection across y = x is [[0, 1], [1, 0]] with eigenvectors (1, 1) and (1, −1). 1 and 0 belong to the orthogonal projection onto the line, 1 and 1 to the identity, and ±i to the 90° rotation.
Classify the quadratic form q(x, y) = 3x² + 4xy + y².
- Positive definite
- Indefinite
- Positive semidefinite, but not definite
- Negative definite
q = xᵀAx with the symmetric A = [[3, 2], [2, 1]] (the 4xy term is split in half). det A = 3 − 4 = −1 < 0, so the two eigenvalues have opposite signs: indefinite. Indeed q(1, 0) = 3 > 0 but q(1, −2) = 3 − 8 + 4 = −1 < 0. Positive coefficients do not make a form positive definite; semidefinite would need det A = 0.
A and B are similar: B = P⁻¹AP for some invertible P. What do A and B always have in common?
- The characteristic polynomial (so eigenvalues, trace and determinant)
- The eigenvectors
- The diagonal entries
- The row space
det(B − λI) = det(P⁻¹(A − λI)P) = det(A − λI), so the characteristic polynomial — and with it the eigenvalues, trace and determinant — is invariant. Eigenvectors move: if Av = λv, then B(P⁻¹v) = λ(P⁻¹v). [[1, 1], [0, 2]] is similar to diag(2, 1) (distinct eigenvalues 1, 2), yet the diagonals differ; diag(1, 0) and diag(0, 1) are similar but have different row spaces.
What are the eigenvalues of A?
A = | 2 1 1 |
| 1 2 1 |
| 1 1 2 |- 3, 0, 0
- 2, 2, 2
- 4, 2, 0
- 4, 1, 1
A = I + J with J the all-ones matrix. J has rank 1, J·(1, 1, 1) = 3·(1, 1, 1), and every vector whose entries sum to 0 goes to 0, so J has eigenvalues 3, 0, 0; adding I shifts each by 1: 4, 1, 1. Check: trace 6 = 4 + 1 + 1, det A = 4 = 4·1·1. 3, 0, 0 are the eigenvalues of J (the shift is forgotten); 2, 2, 2 reads the diagonal of a non-triangular matrix; 4, 2, 0 has the right trace but det 0, while A is invertible.
What are the sum and the product of the eigenvalues of A?
A = | 2 5 |
| 1 3 |- Sum 5, product 1
- Sum 1, product 5
- Sum 5, product 11
- Sum 6, product 1
The sum of the eigenvalues is the trace, 2 + 3 = 5, and the product is the determinant, 2·3 − 5·1 = 1. The other options swap the two, add the entries (2 + 5 + 1 + 3 = 11) or take the product 2·3 = 6 for the trace.
What are the eigenvalues of the rotation matrix A?
A = | 0 1 |
| −1 0 |- λ = 1 and λ = −1
- λ = 0 only
- λ = i only
- None are real: λ = ±i
det(A − λI) = λ² + 1 = 0 gives λ = ±i. Geometrically, A rotates every vector by 90°, so no real vector keeps its direction. A real matrix cannot have i without −i, which excludes the last option, and A is invertible, so 0 is not an eigenvalue.
A is a 2×2 real matrix with A² = I and A ≠ I, A ≠ −I. What are its eigenvalues?
- 0 and 1
- 1 and −1
- i and −i
- Only 1, twice
Each eigenvalue satisfies λ² = 1, so λ = ±1. Since (A − I)(A + I) = 0 has distinct roots, A is diagonalizable; if both eigenvalues were 1 (or both −1) then A would be I (or −I). So they are 1 and −1. 0 contradicts invertibility (A·A = I), and ±i would give A² = −I.
Orthogonality16
Which vector is orthogonal to (1, 2)?
- (2, −1)
- (2, 1)
- (1, −2)
- (−1, 2)
(1, 2) · (2, −1) = 2 − 2 = 0. The others give 4, −3 and 3.
Q is an orthogonal (square) matrix, i.e. its columns are orthonormal. Which is always true?
- Q⁻¹ = −Q
- Q⁻¹ = Qᵀ
- Q = Qᵀ
- det(Q) = 0
Orthonormal columns mean QᵀQ = I, so Qᵀ is the inverse. det(Q) = ±1, and Q need not be symmetric (e.g. a rotation).
Gram–Schmidt: given v₁ = (1, 1, 0) and v₂ = (1, 0, 1), what is u₂ = v₂ − proj of v₂ onto v₁?
- (0, −1, 1)
- (1, 0, 1)
- (1/2, −1/2, 1)
- (3/2, 1/2, 1)
v₂ · v₁ = 1 and v₁ · v₁ = 2, so u₂ = (1, 0, 1) − (1/2)(1, 1, 0) = (1/2, −1/2, 1). Check: u₂ · v₁ = 1/2 − 1/2 + 0 = 0.
Ax = b has no solution (A has independent columns). Which equation gives the least-squares solution x̂?
- Ax̂ = b
- AAᵀx̂ = b
- x̂ = A⁻¹b
- AᵀAx̂ = Aᵀb
The error b − Ax̂ must be orthogonal to the column space: Aᵀ(b − Ax̂) = 0, which gives the normal equations AᵀAx̂ = Aᵀb. A is usually not square, so A⁻¹ does not exist.
What is the matrix P of the orthogonal projection onto the line spanned by a = (1, 2)?
- (1/5)·[[1, 2], [2, 4]]
- [[1, 2], [2, 4]]
- (1/√5)·[[1, 2], [2, 4]]
- (1/5)·[[4, −2], [−2, 1]]
P = aaᵀ / (aᵀa) = (1/5)·[[1, 2], [2, 4]]. Check P² = P: P·a = a. The last option is I − P, the projection onto the orthogonal line.
u and v are orthogonal vectors with ‖u‖ = 3 and ‖v‖ = 4. What is ‖u + v‖?
- 5
- 7
- 25
- 1
‖u + v‖² = ‖u‖² + 2u · v + ‖v‖² = 9 + 0 + 16 = 25, so ‖u + v‖ = 5 (Pythagoras). 7 = 3 + 4 would need u and v pointing the same way; 25 is ‖u + v‖².
W is the line spanned by (1, 1, 1) in ℝ³. What is its orthogonal complement W⊥?
- The plane x + y + z = 1
- The plane x + y + z = 0
- The line spanned by (1, −1, 0)
- The line spanned by (−1, −1, −1)
v ∈ W⊥ exactly when v · (1, 1, 1) = x + y + z = 0: a plane through the origin, and dim W + dim W⊥ = 1 + 2 = 3. (1, −1, 0) lies in W⊥ but spans only part of it; x + y + z = 1 misses 0, so it is not a subspace; (−1, −1, −1) spans W itself.
What is the least-squares line y = c + mx for the points (0, 0), (1, 1), (2, 1)?
- y = 3x/5
- y = x
- y = 1/6 + x/2
- y = 2/3
With A = [[1, 0], [1, 1], [1, 2]] and y = (0, 1, 1), the normal equations AᵀA·(c, m) = Aᵀy are [[3, 3], [3, 5]]·(c, m) = (2, 3), so m = 1/2 and c = 1/6. y = 3x/5 is the best line forced through the origin (the column of 1s is dropped), y = x only interpolates the first two points, and y = 2/3 (the mean of y) is the best horizontal line.
Which pair of vectors is orthonormal?
- (1/√2, 1/√2) and (1/√2, −1/√2)
- (1, 1) and (1, −1)
- (1, 0) and (1/√2, 1/√2)
- (3/5, 4/5) and (4/5, 3/5)
Their dot product is 1/2 − 1/2 = 0 and each has length √(1/2 + 1/2) = 1. (1, 1) and (1, −1) are orthogonal but have length √2; (1, 0) and (1/√2, 1/√2) are unit vectors with dot product 1/√2 ≠ 0; (3/5, 4/5) and (4/5, 3/5) are unit vectors with dot product 24/25 ≠ 0.
What is the orthogonal projection of b = (1, 2, 3) onto the plane x + y + z = 0?
- (2, 2, 2)
- (−1, 0, 1)
- (−5, −4, −3)
- (1, 2, 0)
Subtract the component along the normal n = (1, 1, 1): (b · n)/(n · n) = 6/3 = 2, so the projection is b − 2n = (−1, 0, 1). Check: −1 + 0 + 1 = 0, so it lies in the plane. (2, 2, 2) is the normal component (the projection onto the line spanned by n, not onto the plane); (−5, −4, −3) subtracts (b · n)·n without dividing by n · n = 3; (1, 2, 0) just drops z, which projects onto the plane z = 0.
For any m×n matrix A, the null space N(A) is the orthogonal complement of which subspace?
- The column space C(A)
- The left null space N(Aᵀ)
- The null space N(AᵀA)
- The row space C(Aᵀ)
Ax = 0 says that x has dot product 0 with every row of A, so N(A) = (row space)⊥; both live in ℝⁿ, with dimensions n − r and r. C(A) and N(Aᵀ) live in ℝᵐ and are complements of each other; N(AᵀA) equals N(A) itself (AᵀAx = 0 gives ‖Ax‖² = xᵀAᵀAx = 0), not its complement.
P is the matrix of the orthogonal projection onto a 2-dimensional subspace of ℝ⁵. What are tr(P) and det(P)?
- tr(P) = 5, det(P) = 1
- tr(P) = 2, det(P) = 1
- tr(P) = 2, det(P) = 0
- tr(P) = 3, det(P) = 0
P has eigenvalue 1 on the subspace (twice) and 0 on its 3-dimensional orthogonal complement, so tr P = 1 + 1 + 0 + 0 + 0 = 2 = rank P and det P = 0. tr 5, det 1 describes I, the projection onto all of ℝ⁵; det 1 would need P invertible, but P sends the complement to 0; tr 3 is the dimension of the complement, i.e. tr(I − P).
What is the distance from the point b = (1, 2, 3) to the plane spanned by a₁ = (1, 0, 1) and a₂ = (0, 1, 0)?
- 2
- 1
- √14
- √2
A normal of the plane is n = a₁ × a₂ = (0·0 − 1·1, 1·0 − 1·0, 1·1 − 0·0) = (−1, 0, 1) with ‖n‖ = √2, and the distance is |b · n|/‖n‖ = |−1 + 3|/√2 = √2. Equivalently, since a₁ ⊥ a₂, the projection onto the plane is (4/2)·a₁ + (2/1)·a₂ = (2, 2, 2), and b − (2, 2, 2) = (−1, 0, 1) has length √2. 2 = |b · n| forgets to divide by ‖n‖; 1 = (b · n)/(n · n) is the coefficient of n, not a length; √14 = ‖b‖ is the distance to the origin.
Q is an orthogonal 3×3 matrix and x = (1, 2, 2). What is ‖Qx‖?
- 9
- 5
- 3
- 1
Orthogonal matrices preserve length: ‖Qx‖ = ‖x‖ = √(1 + 4 + 4) = 3. 9 is ‖x‖², 5 = 1 + 2 + 2 adds the entries, and 1 would be the length of a unit vector.
What is the least-squares solution x̂ of Ax = b?
A = | 1 | b = | 1 |
| 1 | | 2 |
| 1 | | 6 |- 3
- 2
- 9
- 6
AᵀA = 3 and Aᵀb = 1 + 2 + 6 = 9, so x̂ = 9/3 = 3: the best constant is the mean of the data. 2 is the median, 9 is the sum Aᵀb without dividing by AᵀA, and 6 is the largest value.
A is an m×n matrix (m > n) with independent columns, and P = A(AᵀA)⁻¹Aᵀ. What is trace(P)?
- m
- 1
- n²
- n
P projects onto the column space of A, which has dimension n. Its eigenvalues are 1 (n times) and 0 (m − n times), so trace(P) = n. Equivalently trace(A(AᵀA)⁻¹Aᵀ) = trace((AᵀA)⁻¹AᵀA) = trace(Iₙ) = n.
Decompositions16
In the singular value decomposition A = UΣVᵀ, the singular values (diagonal of Σ) are…
- the eigenvalues of A
- the square roots of the eigenvalues of AᵀA
- the diagonal entries of A
- the eigenvalues of AᵀA
AᵀA = VΣᵀΣVᵀ, so the eigenvalues of AᵀA are σᵢ², and σᵢ = √(eigenvalues of AᵀA). They are always ≥ 0 and exist for any (even rectangular) A.
Find L in the LU decomposition A = LU (L lower triangular with 1s on the diagonal).
A = | 2 1 |
| 6 4 |- [[1, 0], [−3, 1]]
- [[1, 0], [6, 1]]
- [[1, 0], [3, 1]]
- [[1, 3], [0, 1]]
Row 2 − 3·Row 1 gives U = [[2, 1], [0, 1]]; L stores the multiplier +3: L = [[1, 0], [3, 1]]. Check: LU = [[2, 1], [6, 3 + 1]] = A. [[1, 0], [−3, 1]] is the elimination matrix E = L⁻¹.
A is diagonalizable: A = PDP⁻¹ with D diagonal. What is Aᵏ?
- Pᵏ D P⁻¹
- Dᵏ
- P⁻¹ Dᵏ P
- P Dᵏ P⁻¹
A² = PDP⁻¹PDP⁻¹ = PD²P⁻¹, because the inner P⁻¹P cancel; by induction Aᵏ = PDᵏP⁻¹, and Dᵏ just raises each diagonal entry to the k-th power.
Gram–Schmidt QR decomposition A = QR (Q with orthonormal columns, R upper triangular with positive diagonal). What is the first row of R?
A = | 3 1 |
| 4 2 |- r₁₁ = 5, r₁₂ = 11/5
- r₁₁ = 25, r₁₂ = 11
- r₁₁ = 5, r₁₂ = 11
- r₁₁ = 5, r₁₂ = 2/5
r₁₁ = ‖a₁‖ = ‖(3, 4)‖ = 5, so q₁ = (3/5, 4/5), and r₁₂ = q₁ · a₂ = (3·1 + 4·2)/5 = 11/5. (2/5 is r₂₂; check det R = 5·2/5 = 2 = det A.)
What are the singular values of this matrix?
A = | 0 2 |
| 0 0 |- 0 and 0 — the same as its eigenvalues
- 2 and 0, even though both eigenvalues are 0
- 4 and 0
- 2 and 2
AᵀA = [[0, 0], [0, 4]] has eigenvalues 4 and 0, so σ = √4 = 2 and 0. Singular values equal |eigenvalues| only for symmetric (normal) matrices; 4 is σ², not σ.
Spectral theorem: every real symmetric matrix A can be factored as…
- A = PJP⁻¹ with a nontrivial Jordan block, since A may not be diagonalizable
- A = QΛQᵀ, but Λ may contain complex eigenvalues
- A = LLᵀ with L lower triangular
- A = QΛQᵀ with Q orthogonal and Λ real diagonal
A real symmetric matrix has real eigenvalues and an orthonormal basis of eigenvectors, so A = QΛQᵀ with Qᵀ = Q⁻¹. It is always diagonalizable (no Jordan blocks), its eigenvalues are never complex, and A = LLᵀ (Cholesky) exists only for positive definite matrices — not for [[0, 1], [1, 0]], for example.
Which matrix has a Cholesky factorization A = LLᵀ (L lower triangular with positive diagonal)?
- [[1, 3], [3, 4]]
- [[4, 2], [2, 3]]
- [[2, 1], [0, 2]]
- [[1, 0], [0, −1]]
Cholesky exists exactly for symmetric positive definite matrices. [[4, 2], [2, 3]]: 4 > 0 and det = 12 − 4 = 8 > 0, and L = [[2, 0], [1, √2]] (LLᵀ = [[4, 2], [2, 1 + 2]]). [[1, 3], [3, 4]] has positive entries but det = 4 − 9 = −5 < 0, so one eigenvalue is negative; [[2, 1], [0, 2]] is not symmetric; [[1, 0], [0, −1]] has eigenvalue −1.
Using diagonalization, compute A¹⁰.
A = | 1 2 |
| 2 1 |- [[29525, 29524], [29524, 29525]]
- [[1, 1024], [1024, 1]]
- [[59049, 0], [0, 1]]
- [[29524, 29525], [29525, 29524]]
A has eigenvalues 3 (eigenvector (1, 1)) and −1 (eigenvector (1, −1)), so A¹⁰ = PD¹⁰P⁻¹ = ½·[[3¹⁰ + 1, 3¹⁰ − 1], [3¹⁰ − 1, 3¹⁰ + 1]] with 3¹⁰ = 59049 and (−1)¹⁰ = 1. Raising the entries to the 10th power gives [[1, 1024], [1024, 1]], D¹⁰ alone forgets P and P⁻¹, and the swapped matrix comes from using (−1)¹⁰ = −1.
For any real matrix A, the number of nonzero singular values equals…
- the rank of A
- the number of nonzero eigenvalues of A
- the number of rows of A
- the trace of AᵀA
A = UΣVᵀ with U and V invertible, so rank A = rank Σ = the number of nonzero σᵢ. Nonzero eigenvalues can be fewer: [[0, 1], [0, 0]] has rank 1 (singular values 1 and 0) but both eigenvalues 0. The number of rows only bounds the rank, and tr(AᵀA) = σ₁² + σ₂² + … is a sum of squares, not a count.
A 4×4 matrix A has characteristic polynomial (λ − 2)⁴, and the null space of A − 2I is 2-dimensional. How many Jordan blocks does the Jordan form of A have?
- 4
- 2
- 1
- 3
Each Jordan block contributes exactly one eigenvector, so the number of blocks for λ = 2 equals the geometric multiplicity dim N(A − 2I) = 2 (block sizes 3 + 1 or 2 + 2). 4 is the algebraic multiplicity — four 1×1 blocks would mean A = 2I with a 4-dimensional eigenspace; one block would leave a 1-dimensional eigenspace, and three blocks a 3-dimensional one.
Find the Cholesky factor L (lower triangular, positive diagonal) with A = LLᵀ.
A = | 4 -2 |
| -2 10 |- [[2, 0], [−2, √6]]
- [[2, 0], [−1, √10]]
- [[2, 0], [−1, 3]]
- [[4, 0], [−2, 10]]
LLᵀ = [[l₁₁², l₁₁l₂₁], [l₁₁l₂₁, l₂₁² + l₂₂²]], so l₁₁ = √4 = 2, l₂₁ = −2/2 = −1 and l₂₂ = √(10 − 1) = 3. Check: [[2, 0], [−1, 3]]·[[2, −1], [0, 3]] = [[4, −2], [−2, 10]] ✓. [[2, 0], [−2, √6]] forgets to divide a₂₁ by l₁₁; [[2, 0], [−1, √10]] forgets to subtract l₂₁²; the lower triangle of A is not a square root of A.
What is the Moore–Penrose pseudo-inverse A⁺ of the singular matrix A?
A = | 1 1 |
| 1 1 |- (1/4)·[[1, 1], [1, 1]]
- (1/2)·[[1, 1], [1, 1]]
- [[1, 1], [1, 1]]
- A⁺ does not exist because det(A) = 0
SVD: A = σ·uuᵀ with u = (1, 1)/√2 and σ = 2 (Au = 2u). Then A⁺ = (1/σ)·uuᵀ = (1/2)·(1/2)·[[1, 1], [1, 1]] = (1/4)·[[1, 1], [1, 1]]. Check: AA⁺A = (1/4)·A³ = (1/4)·4A = A. (1/2)·[[1, 1], [1, 1]] = uuᵀ is the projection onto the column space — that is AA⁺, not A⁺; A itself fails AXA = A, since A³ = 4A; the pseudo-inverse exists for every matrix, singular or rectangular.
A has singular values σ₁ = 5, σ₂ = 3, σ₃ = 1, and A₁ is its best rank-1 approximation (the truncated SVD). What is the Frobenius-norm error ‖A − A₁‖_F?
- 3
- √10
- 4
- 10
A₁ = σ₁u₁v₁ᵀ keeps the largest term of the SVD, so A − A₁ = σ₂u₂v₂ᵀ + σ₃u₃v₃ᵀ has singular values 3 and 1 and ‖A − A₁‖_F = √(3² + 1²) = √10 (Eckart–Young). 3 = σ₂ is the error in the spectral 2-norm; 4 = 3 + 1 adds singular values instead of their squares; 10 is the squared error.
A = LU, where L is lower triangular with 1s on the diagonal and U is shown. What is det(A)?
U = | 2 1 0 |
| 0 3 1 |
| 0 0 4 |- 9
- 24
- 6
- 12
det(A) = det(L) · det(U) = 1 · (2·3·4) = 24, the product of the pivots. 9 = 2 + 3 + 4 adds the pivots, while 6 and 12 omit one pivot.
A is a 5×3 matrix. What are the sizes of U, Σ, V in the full singular value decomposition A = UΣVᵀ?
- U is 5×3, Σ is 3×3, V is 3×3
- U is 5×5, Σ is 3×3, V is 5×5
- U is 5×5, Σ is 5×3, V is 3×3
- U is 3×3, Σ is 5×3, V is 5×5
U is square and orthogonal on the output side ℝ⁵, V is square and orthogonal on the input side ℝ³, and Σ is 5×3 like A. The first wrong option is the reduced ("thin") SVD, and the other two mix the two sides up.
A is a 2×2 matrix with det(A) = −6 and one singular value σ₁ = 3. What is the other singular value σ₂?
- 2
- −2
- 6
- 18
|det A| = σ₁σ₂, so σ₂ = 6/3 = 2. Singular values are never negative, which rules out −2; 6 is |det A| itself and 18 multiplies instead of dividing.
Как проходить тест
- Выберите темы и уровень — лёгкий уровень проверяет определения и задачи в одно действие, средний — стандартные вычисления, сложный — многошаговые задачи и теорию.
- Отвечайте касанием или с клавиатуры: 1–4 или A–D, Enter — следующий вопрос.
- Читайте объяснения — после ошибки разбор открывается сразу, после верного ответа его можно раскрыть кнопкой «Почему».
- Работайте над ошибками — «Повторить ошибки» в конце теста или режим «Только мои ошибки» потом: ответы запоминаются в этом браузере.
Незавершённый тест сохраняется — после перезагрузки страницы можно продолжить с того же вопроса.
Темы теста
- Vectors 16
- Matrix operations 16
- Linear systems 16
- Determinants 16
- Inverse matrices 16
- Vector spaces 16
- Rank and nullity 16
- Eigenvalues 16
- Orthogonality 16
- Decompositions 16
Другие тесты
Тест по дифференциальным уравнениям130 вопросовТест по теории вероятностей и статистике130 вопросовТест по SAS100 вопросовТест по языку R100 вопросовТест по LaTeX100 вопросовТест по системам компьютерной алгебры100 вопросовТест по Fortran120 вопросовТест по языку C100 вопросовТест по COBOL100 вопросовТест по MATLAB100 вопросовТест по PowerBuilder100 вопросовТест по UNIX100 вопросов
