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)=x2,x=0f(x) = x^{2},\quad x = 0

x=0\displaystyle x = 0
Show the work
  1. Power rule

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

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

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

    So f′(x)=2xf'(x) = 2x.

  3. Slope of the tangent

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

    m=f′(0)=0\begin{aligned} m &= f'(0) \\ &= 0 \end{aligned}
  4. A vertical normal

    The tangent is horizontal, so the normal, which is perpendicular to it, is the vertical line through the point.

    x=0x = 0
  5. Result

    The normal line to x2x^{2} at x=0x = 0 is x=0x = 0.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^2
  • x = 0

Points on the graph

  • y = x^2: zero (0, 0)
  • y = x^2: minimum (0, 0)

Worked examples