The problems are arranged in three groups. The Core problems check fluency with the definitions and computations of each lesson. The Advanced problems ask for short proofs and multi-step computations. The Challenge problems are of the kind found on graduate qualifying examinations and require combining ideas from several lessons.
Core (Problems 1–20)
- 1.Show that T(x, y) = (x + 2y, 3x − y) is linear on ℝ² and write down its matrix.
- 2.Verify directly that f(x) = 5x − 2 satisfies f(λx + (1 − λ)y) = λf(x) + (1 − λ)f(y) for all real x, y, λ.
- 3.Find the affine function f : ℝ → ℝ with f(1) = 4 and f(3) = 10.
- 4.A linear map T : ℝ² → ℝ² sends (1, 0) to (2, 1) and (0, 1) to (−1, 3). Find its matrix and T(3, −2).
- 5.Decide whether (1, 0, 1), (0, 1, 1), (1, 1, 0) is a basis of ℝ³.
- 6.Find the dimension of U = {x ∈ ℝ⁴ : x₁ + x₂ + x₃ + x₄ = 0} and give a basis.
- 7.Find the kernel, image, rank and nullity of the matrix with rows (1, −1) and (2, −2).
- 8.A linear map ℝ⁶ → ℝ⁴ has a 3-dimensional kernel. What is its rank? Is it surjective?
- 9.Write the matrix of differentiation D on P₃ with respect to (1, x, x², x³) and find its rank.
- 10.A has rows (2, 1) and (1, 2), and B = P⁻¹AP for some invertible P. Find tr B, det B and the eigenvalues of B.
- 11.Find the dual basis of b₁ = (2, 1), b₂ = (1, 1) in ℝ².
- 12.Find the barycentric coordinates of (1, 2) with respect to A = (0, 0), B = (3, 0), C = (0, 3). Where does the point lie?
- 13.Compute the Jacobian matrix and its determinant for f(x, y) = (x² − y², 2xy) at (1, 1).
- 14.Use the linearisation of √x at 100 to estimate √101.
- 15.Find the least-squares line for (1, 1), (2, 2), (3, 2) and its residuals.
- 16.Find the matrix of the orthogonal projection of ℝ² onto the line spanned by (1, 2).
- 17.Maximise 4x + 3y subject to 2x + y ≤ 10, x + y ≤ 7, x, y ≥ 0.
- 18.Write the dual of: maximise 2x₁ + 3x₂ subject to x₁ + x₂ ≤ 4, x₁ + 3x₂ ≤ 6, x ≥ 0. Solve both.
- 19.Find the Lipschitz constant of f(x) = 3|x| − 2x on ℝ.
- 20.Show that ReLU(x) − ReLU(−x) = x and ReLU(x) + ReLU(−x) = |x|.
Advanced (Problems 21–45)
- 21.Let T : V → V be linear with dim V = n and T² = 0. Prove that rank T ≤ n/2.
- 22.Prove that rank(AB) ≤ min(rank A, rank B).
- 23.Prove Sylvester's inequality: for A of size m × n and B of size n × p, rank A + rank B − n ≤ rank(AB).
- 24.Let T(p)(x) = p(x + 1) on P₂. Find the matrix of T with respect to (1, x, x²) and the matrix of T⁻¹.
- 25.Let A have rows (5, −6) and (3, −4). Diagonalise A and compute A¹⁰.
- 26.Let φ be a linear functional on n × n matrices with φ(AB) = φ(BA) for all A, B. Prove that φ = c·tr for some scalar c.
- 27.Prove that dim U⁰ = dim V − dim U for a subspace U of a finite-dimensional space V.
- 28.Let t₀, …, tₙ be distinct reals and evᵢ(p) = p(tᵢ). Prove that ev₀, …, evₙ is a basis of Pₙ* and identify the dual basis in Pₙ.
- 29.Find w and a > 0 such that ∫₋₁¹ p(t) dt = w(p(−a) + p(a)) for every p ∈ P₃.
- 30.Let T : V → W have matrix M with respect to bases B, C. Prove that T* : W* → V* has matrix Mᵀ with respect to the dual bases.
- 31.Prove that an affine map preserves ratios along lines: if z = x + t(y − x) then f(z) = f(x) + t(f(y) − f(x)).
- 32.Find the affine map sending (0, 0), (1, 0), (0, 1) to (1, 1), (3, 2), (0, 4), and the factor by which it multiplies areas.
- 33.Show that x ↦ Ax + b corresponds to the (n + 1) × (n + 1) block matrix with rows (A, b) and (0, 1), and that composition corresponds to matrix multiplication.
- 34.Let f(x, y) = xy/(x² + y²) for (x, y) ≠ (0, 0) and f(0, 0) = 0. Show that both partial derivatives exist at the origin but f is not differentiable there.
- 35.Let f(x, y) = (x + y, xy) and g(u, v) = u² − 2v. Compute D(g∘f)(1, 2) with the chain rule and check it directly.
- 36.Perform two steps of Newton's method for x² + y² = 4, x = y, starting at (1, 1).
- 37.Prove that ker(AᵀA) = ker A and hence rank(AᵀA) = rank A for every real matrix A.
- 38.Fit y = c₀ + c₁x + c₂x² by least squares to (−1, 2), (0, 0), (1, 1), (2, 4).
- 39.Let A have full column rank and P = A(AᵀA)⁻¹Aᵀ. Prove that Pᵀ = P, P² = P, and tr P = rank A.
- 40.Prove that in least-squares regression with an intercept, the residuals sum to zero and the fitted line passes through (x̄, ȳ).
- 41.In the model yᵢ = βxᵢ + εᵢ with Gauss–Markov errors, compare the variances of β̃ = ȳ/x̄ and the OLS estimator β̂ = Σxᵢyᵢ/Σxᵢ². Evaluate the ratio for x = (1, 2, 3).
- 42.Maximise 5x + 4y subject to 6x + 4y ≤ 24, x + 2y ≤ 6, −x + y ≤ 1, y ≤ 2, x, y ≥ 0. Find an optimal dual solution.
- 43.Use Farkas' lemma to show that x₁ + x₂ + x₃ = 2, 2x₁ + 3x₂ + x₃ = 1 has no solution with x ≥ 0, and give a certificate.
- 44.Find the Lipschitz constant of x ↦ Ax + b on ℝ² when A has rows (1, 2) and (2, 1).
- 45.Write the tent function max(0, 1 − |x|) as a combination of ReLUs.
Challenge (Problems 46–60)
- 46.Prove that ℝ is infinite-dimensional as a vector space over ℚ.
- 47.Let f : ℝ → ℝ be additive but not of the form f(x) = cx. Prove that the graph of f is dense in ℝ².
- 48.Prove that no n × n matrices satisfy AB − BA = I, and exhibit linear operators D, M on the space of all polynomials with DM − MD = I.
- 49.Let V have an infinite basis (eᵢ)i∈I, with coordinate functionals φᵢ. Prove that the φᵢ are linearly independent but do not span V*.
- 50.Let f : ℝⁿ → ℝⁿ satisfy ‖f(x) − f(y)‖ = ‖x − y‖ (Euclidean norm). Prove that f is affine.
- 51.For the Newton iteration xₖ₊₁ = (xₖ + 2/xₖ)/2, prove the exact identity xₖ₊₁ − √2 = (xₖ − √2)²/(2xₖ) and deduce quadratic convergence for x₀ > 0.
- 52.Two unbiased measurements y₁, y₂ of μ are uncorrelated with variances 1 and 4. Find the BLUE of μ and its variance, and compare with the plain average.
- 53.Let H be the hat matrix of a regression with p parameters. Prove that each leverage hᵢᵢ satisfies 0 ≤ hᵢᵢ ≤ 1 and that Σhᵢᵢ = p.
- 54.Derive the complementary slackness conditions from the proof of weak duality.
- 55.Find optimal mixed strategies and the value of the zero-sum game whose payoff matrix to the row player has rows (3, −1) and (−2, 1).
- 56.Find the line y = a + bx that minimises the maximum absolute error at (0, 0), (1, 1), (2, 0), formulate the problem as an LP, and prove optimality.
- 57.Prove that every continuous piecewise-linear function on ℝ is a difference of two convex piecewise-linear functions, and do this explicitly for the hat function of Lesson 12.
- 58.Compute the operator norm of the shear with rows (1, 1) and (0, 1).
- 59.On the space P of all real polynomials, show that p ↦ xp is injective but not surjective and that p ↦ p′ is surjective but not injective. Why does this not contradict rank–nullity?
- 60.Prove that f : ℝⁿ → ℝ is affine if and only if it is both convex and concave.