MTH 224 · Mathematical Methods 1
Our notes
2 min readCritical points
At a smooth maximum or minimum, the surface is flat: fₓ = 0 and f_y = 0 at the same point.
These are critical points, and not all of them are maxima or minima.
The second derivative test
At a critical point, compute:
D = fₓₓ f_yy − (fₓᵧ)²
| Condition | Result |
|---|---|
| D > 0 and fₓₓ > 0 | Minimum |
| D > 0 and fₓₓ < 0 | Maximum |
| D < 0 | Saddle point |
| D = 0 | Test fails |
Worked example 1
f(x, y) = x² + y² − 4x + 6y.
- fₓ = 2x − 4 = 0 → x = 2
- f_y = 2y + 6 = 0 → y = −3
- fₓₓ = 2, f_yy = 2, fₓᵧ = 0, D = 4 > 0
- Minimum at (2, −3), f = 4 + 9 − 8 − 18 = −13
Check by completing the square: (x − 2)² + (y + 3)² − 13. The least value is −13, at (2, −3). Correct.
Worked example 2
f(x, y) = x³ + y³ − 3xy.
- fₓ = 3x² − 3y = 0 → y = x²
- f_y = 3y² − 3x = 0 → x = y²
- Substitute: x = x⁴ → x(x³ − 1) = 0 → x = 0 or x = 1
- Critical points: (0, 0) and (1, 1)
Second derivatives: fₓₓ = 6x, f_yy = 6y, fₓᵧ = −3.
| Point | D | Result |
|---|---|---|
| (0, 0) | 0 − 9 = −9 | Saddle |
| (1, 1) | 36 − 9 = 27, fₓₓ = 6 | Minimum, f = −1 |
Check near (1, 1): f(1.1, 1) = 1.331 + 1 − 3.3 = −0.969, more than −1. f(0.9, 1) = 0.729 + 1 − 2.7 = −0.971, more than −1. That fits.
Worked example 3: production
A workshop makes two goods. Profit is π = 40x + 30y − x² − y² − xy, with x and y in hundreds of units (practice figures).
- π_x = 40 − 2x − y = 0
- π_y = 30 − 2y − x = 0
Solve: from the second, x = 30 − 2y. Then 40 − 2(30 − 2y) − y = 0 → −20 + 3y = 0 → y = 20/3 and x = 50/3.
D = (−2)(−2) − (−1)² = 3 > 0, and π_xx = −2 < 0: maximum.
π = 40(50/3) + 30(20/3) − (2500/9) − (400/9) − (1000/9) = 2600/3 − 3900/9 = 2600/3 − 1300/3 = 1300/3 ≈ 433.3.
Check: π at the point equals half of 40x + 30y, for a quadratic of this kind: (40(50/3) + 30(20/3))/2 = (2600/3)/2 = 1300/3. Correct.
Least squares: a key application
To fit y = mx + c to data, minimise the sum of squared errors, S(m, c) = Σ(yᵢ − mxᵢ − c)². Setting ∂S/∂m = 0 and ∂S/∂c = 0 gives the normal equations of regression, used in statistics courses.
Closed regions
On a closed, bounded region, a continuous function has a highest and a lowest value. Compare the values at interior critical points with those on the boundary.
Exams usually ask: find and classify critical points; solve a profit or dimensions problem; find extreme values on a boundary.
Common mistake: finding one critical point and stopping. Solve fₓ = 0 and f_y = 0 fully: in nonlinear systems, there are often several solutions.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 3, 4.7 Maxima/Minima Problems
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 3, 4.7 Maxima/Minima Problems, CC BY-NC-SA 4.0 · licence
-
Calculus III - Relative Minimums and Maximums
(opens tutorial.math.lamar.edu in a new tab)
-
Saddle point
(opens en.wikipedia.org in a new tab)
Wikipedia, Saddle point, CC BY-SA 4.0 · licence
-
Second partial derivative test
(opens en.wikipedia.org in a new tab)
Wikipedia, Second partial derivative test, CC BY-SA 4.0 · licence
-
OpenStax, Calculus Volume 3 (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Calculus Volume 3 (whole free textbook), CC BY-NC-SA 4.0 · licence
-
NOUN MTH 311: Calculus of Several Variables
NOUN course book (PDF, about 5.1 MB: best on Wi-Fi). The same ground as most of this course.
(opens nou.edu.ng in a new tab)
Watch
-
Second Derivative Test for Local Minima, Maxima, and Saddle Points - Calculus 3
27 min · ≈ 122 MB · about ₦69
(opens youtube.com in a new tab)
-
🟡13a - Relative Minimum and Maximum of Multivariable Functions | Critical and Saddle Points Ex 1
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Extreme Values and Saddle Points
24 min · ≈ 108 MB · about ₦61
(opens youtube.com in a new tab)
-
Examples of Extreme Values and Saddle Points | Second Derivative Test
50 min · ≈ 225 MB · about ₦126
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.