In plain words
Partial derivatives look along two axes out of infinitely many, so a function can behave on both and still jump along the diagonal. Differentiable is the stronger demand: locally flat from every direction.
The implication chain
continuous partials ⇒ differentiable ⇒ continuous
⇒ all directional derivatives exist ⇒ partials exist
Every reverse arrow fails.
| Function at (0,0) | Partials exist | Continuous | Differentiable |
|---|---|---|---|
| xy | ✓ | ✗ (limit depends on the path) | ✗ |
| ✓, all directional | ✗ (limit 1/2 along | ✗ | |
| ✓ | ✓ | ✓, but partials discontinuous | |
| |x| + |y| | ✗ | ✓ | ✗ |
| ✓, all directional | ✓ | ✗ (not linear in the direction) |
The definition to check: f(a + h) = f(a) + L(h) + o(|h|) for a linear L.
Mixed partials
Clairaut/Schwarz: f_xy = f_yx if both are continuous. Without continuity it fails:
f(x,y) = xy has f_xy(0,0) = −1 and f_yx(0,0) = 1.
Chain rule and gradients
points in the direction of steepest ascent; the directional derivative is only when f is differentiable.
- For , directional derivatives exist in every direction but are not linear in u, so f is not differentiable.
Extrema in several variables
Critical point ; classify with the Hessian H:
- H positive definite ⇒ local min; negative definite ⇒ local max; indefinite ⇒ saddle; singular ⇒ inconclusive.
- 2 variables: and f_xx > 0 ⇒ min; D > 0, f_xx < 0 ⇒ max; D < 0 ⇒ saddle; D = 0 ⇒ test fails.
- Lagrange multipliers for constrained extrema: .
Key takeaways
- Continuous partials is the only cheap sufficient condition for differentiability.
- Existence of all directional derivatives does not even give continuity.
- Mixed partials commute only under continuity.