Tangent Plane Calculator

Type a surface and a point on it to find the tangent plane.

A function of x and y, such as x^2 + y^2 or sin(x) y.

The two coordinates x and y of the point of tangency, such as (1, 2).

Try

Result

You enteredz=f(x,y)=x2+y2 at (1,2)z = f(x, y) = x^{2} + y^{2}\ \text{at}\ \left(1, 2\right)

z=2x+4y−5\displaystyle z = 2x + 4y - 5

Normal line

r=(1,2,5)+t(2,4,−1)\displaystyle \mathbf{r} = \left(1, 2, 5\right) + t\left(2, 4, -1\right)

Normal vector

n=(2,4,−1)\displaystyle \mathbf{n} = \left(2, 4, -1\right)
Show the work
  1. Tangent plane to a graph

    The tangent plane to the surface z=f(x,y)z = f(x, y) at (a,b)=(1,2)(a, b) = \left(1, 2\right) is the plane through that point with the slopes fxf_x and fyf_y there.

    Using z=f(a,b)+fx(a,b)(x−a)+fy(a,b)(y−b)z = f(a, b) + f_x(a, b)(x - a) + f_y(a, b)(y - b)

  2. Partial derivatives

    Differentiate with respect to each variable, holding the other constant.

    fx=2xfy=2y\begin{gathered} f_x = 2x \\ f_y = 2y \end{gathered}
  3. Values at the point

    Substitute (x,y)=(1,2)(x, y) = \left(1, 2\right).

    f(1,2)=5fx(1,2)=2fy(1,2)=4\begin{gathered} f\left(1, 2\right) = 5 \\ f_x\left(1, 2\right) = 2 \\ f_y\left(1, 2\right) = 4 \end{gathered}
  4. Substitute into the plane

    Write the plane with these values and expand.

    z=5+2(x−1)+4(y−2)=2x+4y−5\begin{aligned} z &= 5 + 2\left(x - 1\right) + 4\left(y - 2\right) \\ &= 2x + 4y - 5 \end{aligned}
  5. Result

    The tangent plane.

    z=2x+4y−5z = 2x + 4y - 5

Worked examples