CALCULUS WORKSPACE

Slope of Tangent Calculator

Evaluate f′(a) to find the instantaneous slope of a function at a chosen point.

CALCULUS

Enter a function and point

Try an example

Enter a supported function of x and a real input where the function is defined and differentiable.

TANGENT SLOPE

At x = 2

✓ Calculated
DERIVATIVE AT THE POINT
f′(2)=7f'(2) = 7
POINT ON CURVE(2, 11)SLOPE f′(a)7
STEP-BY-STEP

Evaluate the derivative

m=f′(a)m=f'(a)
  1. 1
    Locate the point on the curve

    Evaluate the function at a = 2.

    f(2)=11⇒P=(2,11)f(2) = 11\quad\Rightarrow\quad P=(2,11)
  2. 2
    Differentiate the function
    f′(x)=2⋅x+3f'(x) = 2 \cdot x + 3
  3. 3
    Evaluate the derivative to get the slope

    The tangent slope is the derivative evaluated at the selected input.

    m=f′(2)=7m=f'(2)=7
MeaningAt x = 2, the curve is at (2, 11), and its instantaneous rate of change is 7.
TANGENT SLOPE BASICS

What is the slope of a tangent?

The slope of the tangent to y = f(x) at x = a is the derivative evaluated at that input, f′(a). It measures the function’s instantaneous rate of change there. This calculator differentiates a supported function, evaluates the derivative at your selected x-value, and shows the corresponding point on the curve.

mtan=f′(a)=lim⁡h→0f(a+h)−f(a)hm_{\mathrm{tan}}=f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}

The derivative is the limit of secant slopes as the second point approaches the first. At x = a, that limit is the tangent slope f′(a), provided the derivative exists and is finite.

The function must be defined at x = a and differentiable there. At a corner, cusp, discontinuity, or vertical tangent, a finite tangent slope may not exist.

How to use the calculator

  1. Enter a function f(x) using the math field or standard notation such as x^2 + 3x + 1.
  2. Enter the x-coordinate a where you want the slope.
  3. Differentiate the function to obtain f′(x).
  4. Evaluate f′(a); this value is the tangent slope.
  5. Read the point (a, f(a)) and the direction indicated by the sign of the slope.

Worked example

Problem: Find the tangent slope of f(x) = x² + 3x + 1 at x = 2.

Method: Differentiate to get f′(x) = 2x + 3, then substitute a = 2.

Result: f′(2) = 2(2) + 3 = 7.

At the point (2, 11), the curve is rising by about 7 output units for each input unit locally.

When is tangent slope undefined?

  • A corner such as |x| at zero has no single tangent slope because its left and right slopes differ.
  • A vertical tangent has unbounded slope and cannot be reported as a finite real number.
  • A function outside its real domain has no curve point at the requested input.
  • For trigonometric functions, inputs use radians.

Common mistakes

  • Using f(a) instead of f′(a) as the tangent slope.
  • Substituting the point into the original function but forgetting to differentiate first.
  • Treating a zero derivative as proof of a maximum or minimum.
  • Ignoring domain restrictions or nondifferentiable points.

Frequently asked questions

How do I find the slope of a tangent line?

Differentiate f(x), then evaluate f′(a) at the chosen x-coordinate a.

Is tangent slope the same as the derivative?

At a differentiable point x = a, the tangent slope is the derivative value f′(a).

What does a zero tangent slope mean?

The tangent is horizontal. Further analysis is needed to decide whether the point is an extremum or a stationary inflection.

Can a tangent slope be undefined?

Yes. A corner, cusp, discontinuity, or vertical tangent can prevent a finite derivative from existing.

References

Related calculus tools