Tangent Plane: Two Steps and Approximation Error
Before reading this article, you should already understand the geometric meaning of fx(a, b)Δx and fy(a, b)Δy. If not, read the visualization of the sum of estimated height changes first.
This article visualizes how the total error in a tangent-plane linear approximation equals the sum of the errors from each coordinate step. In the visualized example, both errors are positive, so the total error is positive too. In general, the first-step error and second-step error can each be positive, negative, or zero.
If you’re interested, you can download the Python script and tinker with it through vibe coding.
Visualization: the total error is the sum of the two step errors (Drag to rotate)
Step 1: (0.5, 0.5) → (0.8, 0.5) · Step 2: (0.8, 0.5) → (0.8, 0.2)
Loading plot…
Proof: the total error is the sum of the two step errors
We start with the total error of the linear approximation at (a, b):
The first bracket is the total real height change; the second is the total estimated height change. We want to prove:
1. Divide the movement into two steps
Instead of moving directly from (a, b) to (a + Δx, b + Δy), change x first, then y:
2. Define the error of each step
Step 1: Change x while keeping y = b. Subtract the estimated height change from the real height change:
Step 2: Change y while keeping x = a + Δx:
Both estimated changes use the partial derivatives at the original point (a, b). This is important because we are proving the error formula for the linear approximation at that point.
3. Add the two step errors
Rearrange the terms:
So we obtain:
The key insight: The two real height changes add up to the total real height change, and the two estimated height changes add up to the total estimated height change. Consequently, the two signed errors also add up to the total signed error.
Intuition
Imagine making the journey twice: once along the surface and once using the tangent plane. Both journeys start at the same height.
- After Step 1, their heights differ by the first step error.
- During Step 2, the difference between their height changes adds the second step error to that existing separation.