Section 1: Problems
University-level exam questions for Differential Calculus.
Gradients and Directional Derivatives
Problem 1.1
Compute the gradient of at the point .
Difficulty: Easy
Problem 1.2
Find the directional derivative of at in the direction of .
Difficulty: Medium
Problem 1.3
Prove that the gradient of a differentiable function is perpendicular to the level sets of .
Difficulty: Medium
Chain Rule
Problem 2.1
Let where and . Compute using the chain rule.
Difficulty: Easy
Problem 2.2
For and , write the Jacobian of in terms of the Jacobians of and .
Difficulty: Medium
Jacobians and Hessians
Problem 3.1
Compute the Jacobian matrix of at the point .
Difficulty: Easy
Problem 3.2
Find the Hessian of and classify the critical points.
Difficulty: Medium
Problem 3.3
Use the Jacobian determinant to compute the area element when transforming from Cartesian to polar coordinates.
Difficulty: Medium
Taylor Approximation
Problem 4.1
Write the second-order Taylor expansion of about the point .
Difficulty: Medium
Problem 4.2
Show that the quadratic approximation of a function at a critical point is where is the Hessian. Explain why this connects to second-order optimization.
Difficulty: Hard
Challenge Problems
Problem 5.1
Prove that for a twice-differentiable function , the Hessian matrix is symmetric (i.e., ).
Difficulty: Hard
Problem 5.2
Let . Write the gradient using the chain rule, identifying each term as it would appear in backpropagation.
Difficulty: Very Hard
Solutions
Solutions are available in the implementation file with verification code.