Throughout, fx and fy are the partial derivatives (slope walking exactly East / exactly North), ∇f=(fx,fy) is the gradient, and ∥h∥=h12+h22 is the length of a step h=(h1,h2).
False. Partial derivatives only test the two axis directions (East, North). A function can have both and still be discontinuous along a diagonal — and differentiability requires continuity. The parent's Example 2, f=xy/(x2+y2), has fx(0,0)=fy(0,0)=0 yet is not even continuous.
Recall Solution
d⇒c⇒b,c⇒a.
Strongest is ==C1 (partials exist AND are continuous), then differentiable, and differentiable splits into two weaker consequences: continuous and partials exist==. Order: d,c, then {a,b} (both are consequences of c, neither implies the other).
Recall Solution
fx=3x2, fy=2. Both are polynomials, hence continuous everywhere. A function whose partials exist and are continuous is ==C1==, and C1⇒ differentiable. So f is differentiable on all of R2. Why this shortcut? Checking the o(∥h∥) limit is painful; the C1 test replaces it with a continuity check you can do by inspection.
Step 1 (partials — why: the plane's slopes are the partials).fx=2x+y, fy=x+2y.
Step 2 (evaluate).f(1,2)=1+2+4=7, fx(1,2)=4, fy(1,2)=5.
Step 3 (assemble the plane). Using z=f(a)+fx(a)(x−a)+fy(a)(y−b):
z=7+4(x−1)+5(y−2)=4x+5y−7.
Recall Solution
Step 1 (choose base — why: we want the argument to be a value ln evaluates cleanly). Let f(x,y)=ln(x2+y2), base (1,1), so x2+y2=2 and f(1,1)=ln2.
Step 2 (partials).fx=x2+y22x, fy=x2+y22y. At (1,1): fx=22=1, fy=1.
Step 3 (the step).h=(0.02,−0.03).
Step 4 (linear approx).f≈ln2+1(0.02)+1(−0.03)=ln2−0.01≈0.6931−0.01=0.6831.Why valid?f is C1 away from the origin, so the tangent plane is a legitimate first-order estimate.
Recall Solution
fx=excosy, fy=−exsiny. Both are products of the continuous functions ex and cosy (or siny), hence continuous everywhere. So f∈C1⇒ differentiable on all of R2. ∇f=(excosy,−exsiny).
(a) Continuity — why: differentiability needs it, so check first. Switch to polar x=rcosθ,y=rsinθ:
f=r2r2cos2θ⋅rsinθ=rcos2θsinθ.
As r→0, ∣f∣≤r→0 regardless of θ. So lim=0=f(0,0): continuous. (Continuity survives — unlike parent Example 2.)
(b) Partials at origin (limit definition, since f is piecewise).
Along y=0: f(x,0)=0, so fx(0,0)=limh→0h0−0=0.
Along x=0: f(0,y)=0, so fy(0,0)=0. Thus ∇f(0,0)=(0,0).
(c) Differentiability — plug into the definition. With ∇f(0,0)=(0,0) the error is E(h)=f(h)−0−0=f(h1,h2). Test:
∥h∥∣E∣=r∣rcos2θsinθ∣=∣cos2θsinθ∣.
This does not go to 0 — it depends only on the directionθ, not on r. Along θ=45∘ it equals 21⋅21=221≈0.354=0.
So f is continuous, has both partials, yet is NOT differentiable. Moral: continuity + partials is still not enough.
Recall Solution
Direct (limit definition of directional derivative).Duf(0,0)=limt→0tf(tcosθ,tsinθ)−0=limt→0ttcos2θsinθ=cos2θsinθ.
(Used the polar simplification: numerator is t⋅(cos2θsinθ).)
Formula prediction.∇f(0,0)⋅u=(0,0)⋅u=0.
These agree only when cos2θsinθ=0 (axes or θ=90∘). For θ=45∘: direct gives 221≈0.354, formula gives 0. Why they clash: the identity Duf=∇f⋅u is only guaranteed for differentiable f. Here f is not differentiable, so the identity legitimately breaks — exactly the parent's second [!mistake].
Write r=∥h∥=h12+h22. Then ∣f(h)∣=r2sinr1≤r2.
(a) Differentiability. First the partials at 0: along y=0, f(x,0)=x2sin∣x∣1, so
fx(0,0)=limh→0hh2sin∣h∣1=limh→0hsin∣h∣1=0
(bounded × zero). Likewise fy(0,0)=0. Now the definition with ∇f(0,0)=(0,0):
r∣f(h)−0−0∣=rr2∣sinr1∣=rsinr1≤r→0.
So fis differentiable at (0,0).
(b) Partials not continuous. For (x,y)=0, with r=x2+y2,
fx=2xsinr1−rxcosr1.
Approach the origin along the x-axis (y=0,r=∣x∣,x>0): rx=1, so fx=2xsinx1−cosx1. The first term →0, but cosx1oscillates between −1 and 1 forever — no limit. So lim(x,y)→0fx does not exist, hence fx is not continuous at 0.
Conclusion:f is differentiable (a genuine tangent plane exists) yet NOT C1 — the converse "differentiable ⇒C1" is false. This is why the hierarchy arrow C1⇒ differentiable points one way only.
Recall Solution
By differentiability, f(a+tu1,b+tu2)=f(a,b)+∇f(a,b)⋅(tu1,tu2)+o(∥tu∥). Since ∥u∥=1, ∥tu∥=∣t∣, so
g(t)−g(0)=t∇f⋅u+o(∣t∣).
Divide by t and let t→0: g′(0)=∇f(a,b)⋅u.
Why differentiability is essential: the step used the single linear approximation valid in every direction at once (the o(∥h∥) error). If only partials existed, we'd have no guarantee the error along the slanted line u is higher-order — and L3·Q2 shows the formula genuinely fails without it.
Take
f(x,y)=⎩⎨⎧x4+y2x2y0(x,y)=(0,0)(0,0).Directional derivatives everywhere. Along u=(cosθ,sinθ), put x=tcosθ,y=tsinθ:
tf(tu)=t1⋅t4cos4θ+t2sin2θt3cos2θsinθ=t2cos4θ+sin2θcos2θsinθ.
As t→0: if sinθ=0, limit =sin2θcos2θsinθ=sinθcos2θ (finite). If sinθ=0 (along x-axis), f(x,0)=0 so derivative =0. Every direction gives a finite directional derivative. ✓
Not even continuous (hence not differentiable). Approach along the parabolay=x2 (not a straight line!):
f(x,x2)=x4+x4x2⋅x2=2x4x4=21=0.
So lim(x,y)→0f=f(0,0): discontinuous ⇒ not differentiable. The lesson: directional derivatives probe only straight lines; a curved approach can still betray the function. Differentiability is strictly stronger than "all directional derivatives exist."
Recall Solution
Partials at origin. Along y=0: f(x,0)=∣x⋅0∣=0, so fx(0,0)=0. Along x=0: similarly fy(0,0)=0. So ∇f(0,0)=(0,0).
Test the definition. With ∇f(0,0)=0, error E(h)=∣h1h2∣. Along θ=45∘, h1=h2=t>0, r=∥h∥=t2:
r∣E∣=t2t2=t2t=21≈0.707=0.
The ratio is a nonzero constant, so the limit fails: f is not differentiable at (0,0). (It is continuous — ∣xy∣≤r→0 — another continuous-but-not-differentiable specimen.)
Recall Mastery recap
The whole ladder in one breath ::: C1⇒ differentiable ⇒ (continuous AND all directional derivatives exist AND partials exist); none of the reverse arrows hold; counterexamples: L5·Q1 (dir. derivs but discontinuous), L3·Q1 (continuous+partials but not diff.), L4·Q1 (diff. but not C1).