Normal Line Calculator

Type a function and the value of x where the normal crosses the curve.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

At x =aa

A number such as 2, -1/2 or 0.5.

Try

Result

You enteredf(x)=x3,x=2f(x) = x^{3},\quad x = 2

y=−112x+496\displaystyle y = -\frac{1}{12}x + \frac{49}{6}

Slope of the normal

m⊥=−112\displaystyle m_{\perp} = -\frac{1}{12}
Show the work
  1. Power rule

    xx is raised to the constant power n=3n = 3, so the exponent comes down in front and drops by one.

    Using ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}

    ddx[x3]=3x2\frac{d}{dx}\left[x^{3}\right] = 3x^{2}
  2. The derivative

    So f′(x)=3x2f'(x) = 3x^{2}.

  3. Slope of the tangent

    The slope of the tangent at x=2x = 2 is the derivative there.

    m=f′(2)=12\begin{aligned} m &= f'(2) \\ &= 12 \end{aligned}
  4. Slope of the normal

    The normal is perpendicular to the tangent, so its slope is the negative reciprocal of the tangent slope.

    m⊥=−1m=−112\begin{aligned} m_{\perp} &= -\frac{1}{m} \\ &= -\frac{1}{12} \end{aligned}
  5. Point-slope form of a line

    The normal passes through (2,8)(2, 8).

    Using y−y1=m⊥(x−x1)y - y_1 = m_{\perp}\left(x - x_1\right)

    y−8=−112(x−2)y - 8 = -\frac{1}{12}\left(x - 2\right)
  6. Equation of the normal line

    Solve for yy to write the line as y=mx+by = mx + b.

    y=−112x+16+8=−112x+496\begin{aligned} y &= -\frac{1}{12}x + \frac{1}{6} + 8 \\ &= -\frac{1}{12}x + \frac{49}{6} \end{aligned}
  7. Result

    The normal line to x3x^{3} at x=2x = 2 is y=−112x+496y = -\frac{1}{12}x + \frac{49}{6}.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^3
  • y = -(1/12)x + 49/6

Points on the graph

  • y = x^3: zero (0, 0)
  • y = x^3 and y = -(1/12)x + 49/6: intersection (2, 8)

Worked examples