Compute the tangent plane equation for any function f(x,y) using symbolic partial derivatives. Interactive 3D visualization for multivariable calculus.
In multivariable calculus, the tangent plane to a surface z = f(x, y) at a given point provides the best linear approximation to the surface near that point. It is the natural generalization of the tangent line in single-variable calculus.
Formal Definition (Differentiability):
A function f(x, y) is differentiable at (x₀, y₀) if there exists a linear function L(x, y) = A(x - x₀) + B(y - y₀) + C such that
lim(x,y)→(x₀,y₀) |f(x,y) - L(x,y)| / √[(x-x₀)² + (y-y₀)²] = 0.
When this holds, the coefficients are forced to be A = fx(x₀,y₀), B = fy(x₀,y₀), and C = f(x₀,y₀). The linear function L(x,y) is exactly the tangent plane equation.
For points (x, y) near (x₀, y₀), we have the linear approximation:
The error is of higher order than the distance from (x₀, y₀). If f is continuously differentiable (C¹), then
where ε₁, ε₂ → 0 as (Δx, Δy) → (0,0). This is the foundation of local linearity.
The tangent plane can also be expressed using the gradient. Rewrite as:
A normal vector to the plane is n = (fx, fy, -1). The gradient ∇f = (fx, fy) points in the direction of steepest ascent; for the surface z = f(x,y), (fx, fy, -1) is normal to the tangent plane.
Existence of partial derivatives at a point does not guarantee differentiability. A classic counterexample:
Both partial derivatives exist at (0,0), but the function is not continuous there, hence not differentiable. Our calculator checks differentiability by attempting to evaluate the partial derivatives symbolically; if the result is undefined or infinite, an error is shown.
Calculator features (verified):
x^2 + y^2 paraboloidsin(x)*cos(y) waveexp(-x^2-y^2) gaussianx*y hyperboliclog(x^2 + y^2) logarithmic