Announcements
Exam 1 is on February 25th (Wednesday) in ELTT 116 at 6:30 pm.
The following items are posted on Brightspace: instructions, seating chart, and study guide.
Office Hours for Exam 1:
| Date(s) | Time |
| 02/16, 02/18, 02/20 | 9:45 – 11:15 |
| 02/23 | 9:45 – 11:45 |
| 02/24, 02/25 | 2:00 pm – 3:00 pm |
Warmup Example: Single-Variable Review
Consider \(f(x) = x^2(x-1)(x-2)\).
Step 1 — Find Critical Points
A value \(x = a\) is a critical point if \(f'(a) = 0\) or \(f'(a)\) does not exist (DNE).
Setting \(f'(x) = 0\) and solving:
\[f'(x) = 0 \implies x = 0,\; x = 1,\; x = 2 \quad \text{(3 critical points)}\]
Step 2 — Classify via the Second Derivative Test
Second Derivative Test (one variable): For a critical point \(x = a\),
- \(f''(a) > 0 \implies\) local minimum
- \(f''(a) < 0 \implies\) local maximum
- \(f''(a) = 0 \implies\) inconclusive
Solution: Using the product rule,
\[f'(x) = 2x(x-1)(x-2) + x^2(x-2) + x^2(x-1)\]
Evaluating \(f''\) at each critical point:
- \(f''(0) = 0\) → inconclusive
- \(f''(1) = -1 < 0\) → \(x = 1\) is a local maximum
- \(f''(2) = 4 > 0\) → \(x = 2\) is a local minimum
Two-Variable Functions: \(z = f(x,y)\)
Critical Point: A point \((a,b)\) is a critical point of \(f(x,y)\) if
\[\nabla f(a,b) = \langle 0,0\rangle \quad \text{i.e.,} \quad f_x(a,b) = 0 \;\text{ and }\; f_y(a,b) = 0\]
or one of the partial derivatives does not exist.
Second Derivative Test (two variables): Let \((a,b)\) be a critical point. Define the discriminant
\[D = f_{xx}\,f_{yy} - (f_{xy})^2\]
Then:
- If \(D > 0\) and \(f_{xx} > 0\), \(f_{yy} > 0\): local minimum
- If \(D > 0\) and \(f_{xx} < 0\), \(f_{yy} < 0\): local maximum
- If \(D < 0\): saddle point
- If \(D = 0\): inconclusive
Second Derivative Test for \(f(x,y) = x^4 + y^4 - 4xy + 1\)
Second-order partial derivatives:
\[f_{xx} = 12x^2, \quad f_{yy} = 12y^2, \quad f_{xy} = -4\]
\[D = f_{xx}f_{yy} - (f_{xy})^2 = 144x^2y^2 - 16\]
| Point | \(f_{xx}\) | \(f_{yy}\) | \(f_{xy}\) | \(D\) | Classification |
| \((0,0)\) | \(0\) | \(0\) | \(-4\) | \(-16 < 0\) | Saddle Point |
| \((1,1)\) | \(12 > 0\) | \(12\) | \(-4\) | \(144-16 > 0\) | Local Min |
| \((-1,-1)\) | \(12 > 0\) | \(12\) | \(-4\) | \(144-16 > 0\) | Local Min |
Second Derivative Test for \(f(x,y) = xy\,e^{-(2x^2+8y^2)}\)
Second-order partial derivatives (the exponential factor is always positive):
\[f_{xx} = -4xy(3-4x^2)\,e^{-(2x^2+8y^2)}\]
\[f_{yy} = -16xy(3-16y^2)\,e^{-(2x^2+8y^2)}\]
\[f_{xy} = (1-4x^2)(1-16y^2)\,e^{-(2x^2+8y^2)}\]
Key observation: Since \(e^{-(2x^2+8y^2)} > 0\) always, the sign of each second-order partial is determined entirely by its polynomial prefactor. Let \(k = e^{-1} > 0\) denote the exponential value at the non-origin critical points.
| Point | \(f_{xx}\) | \(f_{yy}\) | \(f_{xy}\) | \(D\) | Classification |
| \((0,0)\) | \(0\) | \(0\) | \(1\) | \(-1 < 0\) | Saddle Point |
| \(\bigl(\tfrac{1}{2},\tfrac{1}{4}\bigr)\) |
\(-\tfrac{1}{2}{\cdot}2{\cdot}k < 0\) |
\(-2{\cdot}2{\cdot}k < 0\) |
\(0\) | \(> 0\) | Local Max |
| \(\bigl(\tfrac{1}{2},-\tfrac{1}{4}\bigr)\) |
\(\tfrac{1}{2}{\cdot}2{\cdot}k > 0\) |
\(2{\cdot}2{\cdot}k > 0\) |
\(0\) | \(> 0\) | Local Min |
| \(\bigl(-\tfrac{1}{2},\tfrac{1}{4}\bigr)\) |
\(\tfrac{1}{2}{\cdot}2{\cdot}k > 0\) |
\(2{\cdot}2{\cdot}k > 0\) |
\(0\) | \(> 0\) | Local Min |
| \(\bigl(-\tfrac{1}{2},-\tfrac{1}{4}\bigr)\) |
\(-\tfrac{1}{2}{\cdot}2{\cdot}k < 0\) |
\(-2{\cdot}2{\cdot}k < 0\) |
\(0\) | \(> 0\) | Local Max |
Second Derivative Test for \(f(x,y) = \tfrac{1}{3}y^3 + x^2 + 4xy - 2x - 13y + 7\)
Second-order partial derivatives:
\[f_{xx} = 2, \quad f_{yy} = 2y, \quad f_{xy} = 4\]
| Point | \(f_{xx}\) | \(f_{yy}\) | \(f_{xy}\) | \(D = f_{xx}f_{yy}-(f_{xy})^2\) | Classification |
| \((-17,9)\) | \(2\) | \(18\) | \(4\) |
\(36 - 16 = 20 > 0\) | Local Min |
| \((3,-1)\) | \(2\) | \(-2\) | \(4\) |
\(-4 - 16 = -20 < 0\) | Saddle Point |
Summary: At \((-17,9)\), \(D > 0\) and \(f_{xx} = 2 > 0\), confirming a local minimum. At \((3,-1)\), \(D < 0\), confirming a saddle point.