MATH U101 · Quiz 2 (29 Sep 2026) · post-mortem
Quiz 2, question by question, from zero
The paper and the instructor's key are filed in the repo: four variants, all re-solved and all correct. This page gives the opening moves for each question first, then rebuilds it from zero with a figure, the traps and an in-room check, and ends with a twin to try cold. All four questions are routines on the mid-sem tomorrow (5 Oct, open book), so read it tonight.
1. No hidden twists. Every question was one of the ten routines on the same-skeleton page, in a new skin. Q1 was card 5 run backwards, Q2 was card 7, Q3 was card 8, Q4 was card 10. Nothing on the paper needed an idea beyond Tutorials 6–7 plus Lagrange.
2. Lagrange was in, and our prep page said it was out. On 26 Sep we went on the scope we had been given, and card 10 was labelled "not in Quiz 2". Q4 was Lagrange multipliers, 6 of the 20 marks. If Q4 felt new, that is why: it was the one routine she had been told to skip. Q4 below is therefore written for someone who has never done one, and the extra walkthrough is on it too.
3. Quiz 2 can be dropped. Quizzes are 20% together, best two of three, and Quiz 3 is on 17 Nov. Tomorrow's mid-sem is worth 25%, it's open book, and working earns marks there. Every routine on this page will be on it.
The format
| Duration | Marks | Type | Answer format | Partial credit |
|---|---|---|---|---|
| 40 min | 20 (5 + 3 + 6 + 6) | Closed book | "Write only the answers in the provided space": a vector, a number, three equations, points, λ values | None. "Any overwriting/cutting will not be considered and will carry ZERO marks." |
The format matches Quiz 1. Four variants were in the room, and they differ only in the numbers. The variant table at the bottom has all four keys.
Opening moves: what to write in the first minute
She can follow a solution once she sees it, but starting is the hard part. So here is the start for each question, on its own. The trigger words in the question tell you which routine to run, and the first line is what goes on the rough-work margin before any thinking. Cover the last column, read the trigger words, and say the first line out loud.
| Q | Trigger words in the question | Routine | First line you write |
|---|---|---|---|
| 1 | "derivative … is greatest in the direction v" and "the value of the derivative is …" | Directional derivative, backwards | ∇f = (max value) × v/|v|, then Duf = ∇f · u |
| 2 | "tangent to the curve of intersection of the surfaces …" | Two surfaces at once | direction = ∇F × ∇G at the point (each surface written as F = const) |
| 3 | "local minimum / local maximum / saddle point" | Critical points + D test | fx = 0, fy = 0, then D = fxxfyy − fxy2 |
| 4 | "on the circle …" and "Lagrange multiplier (λ)" | Lagrange | ∇f = λ∇g written as two equations, plus g = 1 as the third |
Drill only these starts on the Quiz 2 twin drill: fresh numbers each time, with an "openings only" mode. The how-to-start lesson has the same move for every mid-sem family (F7, F8, F9, F11 are these four).
Q1 · The gradient, recovered from the steepest rate §14.5 · 2 + 3 marks
(a) find ∇f at P: ______ . [2 M]
(b) in the direction i + j, find the derivative of f(x, y, z) at P: ______ . [3 M]
Where this lives Lesson §3 · which way is steepest · Notes §2 · Skeleton card 5 · Walkthrough W4 · Thomas §14.5
🎧 Walkthrough 4.2 min · ∇f from the max, then the rate along i + j
IdeaWhy "greatest" hands you the gradient
The derivative of f in the direction of a unit vector u is a dot product, and a dot product is "length × length × cos of the angle":
Here θ is the angle between ∇f and u, and |u| = 1. The biggest cos θ can be is 1, at θ = 0. So the derivative is greatest when u points along ∇f, and its greatest value is |∇f|. Read the question with this in mind and it gives you two facts: ∇f points along i + j + k, and |∇f| = 4√3. A direction plus a length is the whole vector.
Step 1(a) Unit vector along v, times the length
|v| = √(1² + 1² + 1²) = √3, so the unit vector along v is (i + j + k)/√3. Scale it to length 4√3:
Unpack this step: why divide by the length?
A unit vector has length 1. Dividing a vector by its own length keeps the direction and makes the length 1. Then multiplying by 4√3 makes the length exactly 4√3. Here the √3s cancel.
Check before you ink: |⟨4, 4, 4⟩| = √48 = 4√3 ✓. The length must equal the "value of the derivative" that the question gave you.
Step 2(b) Make the new direction a unit vector, then dot
"In the direction i + j" means the unit vector u = (i + j)/√2, because |i + j| = √(1 + 1 + 0) = √2. Then:
The last step multiplies top and bottom by √2: 8/√2 = 8√2/2 = 4√2. Check: 4√2 ≈ 5.66 is less than the maximum 4√3 ≈ 6.93 ✓. Any other direction must give less than the maximum.
1) Writing ∇f = i + j + k. That is the direction only. The length 4√3 is the other half of the information. 2) Forgetting to normalise in (b). ⟨4,4,4⟩·⟨1,1,0⟩ = 8 is wrong. The direction has to be a unit vector, so the answer is 8/√2. 3) Answering 4√3 · cos(something) with a guessed angle. You never need the angle, because the dot product does it for you.
Variants 2 and 3 had ∇f = 5i + 5j − 5k with direction i − j, and 6i + 6j − 6k with direction −i + j. Both answers are 0: 5 − 5 + 0 = 0. A zero dot product means the direction is perpendicular to ∇f, so it runs along the level surface, where f doesn't change. That's θ = 90° in the figure. A 0 here is a correct answer, so don't distrust it.
Try the twin: the derivative of f at P is greatest in the direction 2i − j + k, with value 2√6. Find ∇f at P, then the derivative in the direction i + k.
|⟨2, −1, 1⟩| = √(4 + 1 + 1) = √6, so ∇f = 2√6 · ⟨2, −1, 1⟩/√6 = ⟨4, −2, 2⟩. Check: √(16 + 4 + 4) = √24 = 2√6 ✓. The direction i + k has length √2, so Duf = (4 + 0 + 2)/√2 = 6/√2 = 3√2. That's ≈ 4.24, below the maximum 2√6 ≈ 4.90 ✓.
Q2 · The tangent line where two surfaces meet §14.6 · 3 marks
(a) x = ______ ; (b) y = ______ ; (c) z = ______ . [3 M]
Where this lives Lesson §7 · where two surfaces meet · Notes §6 · Skeleton card 7 · Walkthrough W5 · Tutorial 7 Q2–Q3 · Thomas §14.6
🎧 Walkthrough 5.3 min · ∇F × ∇G, and the y = 1 shortcut
IdeaA line needs a point and a direction, and the point is given
A line through (x0, y0, z0) with direction ⟨a, b, c⟩ is x = x0 + at, y = y0 + bt, z = z0 + ct. The point is given, so the only job is the direction.
The curve lies on both surfaces, so its tangent lies in both tangent planes. The tangent is therefore perpendicular to both normals, ∇F and ∇G. The cross product is the vector perpendicular to two given vectors, so the direction is ∇F × ∇G.
Step 1Write each surface as "something = constant", take gradients at the point
F = x2 + y + z gives ∇F = ⟨2x, 1, 1⟩ = ⟨√2, 1, 1⟩ at x = 1/√2 (because 2/√2 = √2). G = y gives ∇G = ⟨0, 1, 0⟩ everywhere.
Step 2Cross product
Unpack this step: the cross-product pattern
For ⟨a1, a2, a3⟩ × ⟨b1, b2, b3⟩ = ⟨a2b3 − a3b2, a3b1 − a1b3, a1b2 − a2b1⟩, each component skips its own index: the first uses 2 and 3, the second uses 3 and 1, the third uses 1 and 2. Check: the result dotted with each input is 0 (here −√2 + 0 + √2 = 0 ✓).
Step 3Write the line
Three checks before you ink. (i) At t = 0 you get the given point back. (ii) y = 1 always, as it must, since the whole curve lies in the plane y = 1. (iii) The direction dotted with ∇F is −√2 + 0 + √2 = 0.
Put y = 1 into the first surface and you get x2 + z = 1, so the curve is the parabola z = 1 − x2 drawn in the plane y = 1. Its slope at x = 1/√2 is dz/dx = −2x = −√2. So moving 1 in x moves −√2 in z, and 0 in y: the direction is ⟨1, 0, −√2⟩. That is −1 times ⟨−1, 0, √2⟩, the same line traced the other way. Both are correct. On an answer-only paper, use ∇F × ∇G in that order so your blanks look like the key's.
1) Using one gradient as the direction. ∇F = ⟨√2, 1, 1⟩ is the normal to the first surface. That gives the normal line, not the tangent line. 2) Plugging the point in before differentiating. Differentiate first, then substitute. 3) A cross-product sign slip. The dot-with-both check catches it in 10 seconds. 4) Writing y = 1 + 0t and then "simplifying" wrongly, or leaving the y blank empty. The answer y = 1 earns its share of the 3 marks.
Try the twin: the tangent line to the curve of intersection of x² + y² + z = 3 and x = 1 at (1, 1, 1).
∇F = ⟨2x, 2y, 1⟩ = ⟨2, 2, 1⟩, ∇G = ⟨1, 0, 0⟩. Cross: ⟨2·0 − 1·0, 1·1 − 2·0, 2·0 − 2·1⟩ = ⟨0, 1, −2⟩. Line: x = 1, y = 1 + t, z = 1 − 2t. Second-route check: x = 1 gives z = 2 − y2, slope −2y = −2 at y = 1, so the direction is ⟨0, 1, −2⟩ ✓.
Q3 · Local min, local max, saddle §14.7 · 2 + 2 + 2 marks
(a) point(s) of local minimum (if any): ______ . [2 M]
(b) point(s) of local maximum (if any): ______ . [2 M]
(c) saddle point(s) (if any): ______ . [2 M]
Where this lives Lesson §3 · the second-derivative test · Notes §2 · Skeleton card 8 · Walkthrough W6 · Tutorial 7 Q5–Q6 · Thomas §14.7
🎧 Walkthrough 5.7 min · factor, never divide; the D table
Step 1Critical points: both partials zero
fx = 3x2 − 12y = 0 gives y = x2/4. fy = 3y2 − 12x = 0 gives x = y2/4. Substitute the first into the second:
So x = 0 or x3 = 64, which means x = 4. Then y = x2/4 gives y = 0 and y = 4. The critical points are (0, 0) and (4, 4).
Unpack this step: why x³ = 64 gives only x = 4
x3 − 64 = (x − 4)(x2 + 4x + 16), and the quadratic has discriminant 16 − 64 < 0, so no other real roots. In general a cube root of a real number has exactly one real value.
Step 2The D test at each point
fxx = 6x, fyy = 6y, fxy = −12, so D = 36xy − 144.
| Point | D | fxx | Verdict |
|---|---|---|---|
| (0, 0) | 0 − 144 = −144 < 0 | — | saddle |
| (4, 4) | 576 − 144 = 432 > 0 | 24 > 0 | local minimum |
The answers: (a) (4, 4); (b) none; (c) (0, 0). "None" is a full 2-mark answer here, and the paper's "(if any)" is the hint that one blank might be empty.
1) Dividing by x. From x4 = 64x, "cancel an x" leaves x3 = 64 and loses (0, 0), and with it all 2 marks of part (c). Factor, never cancel. 2) Classifying by fxx alone. At (0, 0), fxx = 0 tells you nothing. D decides first, and fxx only breaks the tie when D > 0. 3) Writing D = fxxfyy − fxy, without the square. The mixed term is squared, so (−12)² = +144.
The four variants were x3 + y3 − kxy + const with k = 12, 6, 15, 3. Repeating the steps with a general k gives critical points (0, 0) and (k/3, k/3): (4, 4), (2, 2), (5, 5), (1, 1). At the origin D = −k² < 0, so it is always a saddle. If your second point isn't (k/3, k/3), look for the slip.
Try the twin: f = x³ + y³ + 9xy + 4 (note the plus). Classify its critical points.
fx = 3x2 + 9y = 0 ⟹ y = −x2/3; fy = 3y2 + 9x = 0 ⟹ x = −y2/3. Substitute: x = −x4/27 ⟹ x(x3 + 27) = 0, so x = 0 or −3, giving (0, 0) and (−3, −3). D = 36xy − 81: at (0, 0) it is −81, a saddle; at (−3, −3) it is 324 − 81 = 243 > 0 with fxx = −18 < 0, a local maximum. With the sign flipped, the "none" moves from max to min.
Q4 · Lagrange multipliers on a circle §14.8 · 2 + 2 + 2 marks
(a) the value(s) of Lagrange multiplier (λ): ______ . [2 M]
(b) the point(s) of absolute maximum: ______ . [2 M]
(c) the point(s) of absolute minimum: ______ . [2 M]
Where this lives Lesson §6 · best value along a curve · Notes §4 · Skeleton card 10 · How-to-start F11 · Thomas §14.8
🎧 Walkthrough 7.4 min · Lagrange from zero, sliding level curves
IdeaWhere the level curves just touch the circle
You may only stand on the circle. Draw the level curves 2xy = c (hyperbolas, in the figure below). For a middling c, the level curve crosses the circle, so moving along the circle you pass through values bigger and smaller than c. That point can't be a max or a min. The largest c you can reach is the one whose level curve just touches the circle. At a touching point the two curves share a tangent, so their normals are parallel. The normals are the gradients:
λ ("lambda") is just the unknown number that says how many times longer one gradient is than the other. It's a helper. The question asks for it, but it's not the max or the min.
Step 1Write the three equations
∇f = ⟨2y, 2x⟩ and ∇g = ⟨2x, 2y⟩. Matching components, and keeping the constraint:
Step 2Solve for λ, without dividing by zero
The first equation says y = λx. Put that into the second: x = λ(λx) = λ2x, so x(1 − λ2) = 0. Either x = 0 or λ2 = 1.
If x = 0, the first equation gives y = 0, and (0, 0) is not on the circle (0 + 0 ≠ 1). So x ≠ 0, and λ = 1 or λ = −1. That's part (a).
Step 3Each λ gives points; evaluate f at all of them
λ = 1: y = x, so 2x2 = 1, x = ±1/√2: the points (1/√2, 1/√2) and (−1/√2, −1/√2), with f = 2 · ½ = 1.
λ = −1: y = −x: the points (1/√2, −1/√2) and (−1/√2, 1/√2), with f = −1.
Compare the f-values: max 1 at (1/√2, 1/√2) and (−1/√2, −1/√2); min −1 at (1/√2, −1/√2) and (−1/√2, 1/√2). Both points belong in each blank. The circle is closed and bounded, so the max and min exist, and they must be among these candidates.
Multiply the first equation by x, the second by y, and add: 2xy + 2xy = 2λ(x2 + y2) = 2λ, so λ = 2xy = f at every candidate. Your λ values must equal the max and min values (1 and −1) ✓. The same trick on variant 3's f = x + 2y gives x + 2y = 2λ, so λ = f/2. The key's λ = ±√5/2 matches max/min ±√5 ✓.
1) Dividing by x (or y) to "find λ" without checking x = 0. Here x = 0 happens to be impossible, but in other questions it is a genuine candidate. Always say why you may divide. 2) Forgetting the constraint as an equation. Two equations in three unknowns (x, y, λ) can't be solved. x2 + y2 = 1 is the third. 3) Writing only one point in (b) or (c). Symmetry gives two each, and "point(s)" in the blank means write all of them. 4) Reporting λ as the max. Here the numbers coincide, but in variant 3 they don't (λ = √5/2, max √5).
⟨1, 2⟩ = λ⟨2x, 2y⟩ gives x = 1/(2λ), y = 1/λ (λ ≠ 0, since 1 = 2λx can't hold with λ = 0). Into the circle: 1/(4λ2) + 1/λ2 = 5/(4λ2) = 1, so λ = ±√5/2. With λ = √5/2 you get (1/√5, 2/√5), f = √5, the max. With λ = −√5/2 you get (−1/√5, −2/√5), f = −√5, the min. A linear f touches the circle once at the top and once at the bottom, so there's one point each.
Try the twin: f = 3x + 4y on x² + y² = 1. Find λ, the max point and the min point.
⟨3, 4⟩ = λ⟨2x, 2y⟩ ⟹ x = 3/(2λ), y = 2/λ. Into the circle: 9/(4λ2) + 16/(4λ2) = 25/(4λ2) = 1 ⟹ λ = ±5/2. Max at (3/5, 4/5), f = 5; min at (−3/5, −4/5), f = −5. Check: λ = f/2 ✓, and ±√(3² + 4²) = ±5 ✓.
All four variants, one table
| Var. | Q1 (a) ∇f · (b) rate | Q2 surface · line | Q3 k · min · max · saddle | Q4 f · λ · max · min |
|---|---|---|---|---|
| 1 | ⟨4,4,4⟩ · along i+j: 4√2 | x²+y+z=2 · x=1/√2 − t, y=1, z=½+√2t | 12 · (4,4) · none · (0,0) | 2xy · ±1 · ±(1/√2, 1/√2) · ±(1/√2, −1/√2) |
| 2 | ⟨5,5,−5⟩ · along i−j: 0 | x+y²+z=2 · x=½ − t, y=1, z=½+t | 6 · (2,2) · none · (0,0) | x²−y² · ±1 · (±1, 0) · (0, ±1) |
| 3 | ⟨6,6,−6⟩ · along −i+j: 0 | x+y+z²=2 · x=½ − √2t, y=1, z=1/√2+t | 15 · (5,5) · none · (0,0) | x+2y · ±√5/2 · (1/√5, 2/√5) · (−1/√5, −2/√5) |
| 4 | ⟨3,3,3⟩ · along i+j: 3√2 | 2x+y²−2z=1 · x=½+2t, y=1, z=½+2t | 3 · (1,1) · none · (0,0) | 4xy · ±2 · ±(1/√2, 1/√2) · ±(1/√2, −1/√2) |
Every entry was re-derived with a computer algebra system (sympy): all match the instructor's key. In Q2 any nonzero multiple of the direction describes the same line, and the key uses ∇F × ∇G. Variant 2's Q4 is a nice one: ⟨2x, −2y⟩ = λ⟨2x, 2y⟩ gives x(1 − λ) = 0 and y(1 + λ) = 0, so either λ = 1 and y = 0, or λ = −1 and x = 0. Here a zero factor is the answer, not a trap.
For tomorrow's mid-sem: the same four, with working
The mid-sem is open book and 90 minutes, and the 2025 paper said "answers without proper reasoning will not be awarded marks". The quiz wanted blanks. Tomorrow wants one sentence of reasoning per step. Here is the sentence for each routine, which you can copy into your tabbed notes:
- Gradient from the steepest rate: "Duf = |∇f| cos θ is greatest when u is along ∇f, with value |∇f|; hence ∇f = (max) · v/|v|."
- Tangent to a curve of intersection: "The tangent line lies in both tangent planes, so it is perpendicular to ∇F and ∇G; its direction is ∇F × ∇G at the point."
- Classify critical points: "Critical points: fx = fy = 0. At each, D = fxxfyy − fxy²; D < 0 saddle; D > 0 and fxx > 0 local min (< 0 local max); D = 0 test fails."
- Lagrange: "At an extremum of f on g = c, ∇f = λ∇g. Solving with g = c gives candidates; the constraint curve is closed and bounded, so the largest/smallest f-value among them is the absolute max/min." Then say why any division is allowed.
Tomorrow's paper can also put Lagrange or the D test inside a closed region question, where they handle the boundary and the interior. That's routine 9 on the skeleton page, the extrema walkthroughs 2024 Q2(a) and Tutorial 7 Q4, and family F10.
"Thomas 15e §14.8 only: maximise f = xy on x2 + 4y2 = 8 with Lagrange multipliers. Don't show the solution; check my three equations and my λ values: I have …" · "Thomas §14.6: here is my tangent line to the intersection of x2 + y2 = 4 and z = x + y at (2, 0, 2). Check the direction by dotting with both gradients, and tell me which step is wrong if any." Keep to §14.5–14.8.