Math Visualizations

Position Graph

Values

t₁ (fixed)5.0
t₂7.0
Secant slope12.00
Tangent slope10.00

Controls

What is a Limit?

A limit describes the value that a function approaches as the input approaches a specific point. Limits are the foundation of calculus.

The derivative is defined as a limit:

f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}

Secant vs Tangent

The secant line connects two points on a curve. Its slope gives the average rate of change between those points.

The tangent line touches the curve at one point. Its slope gives the instantaneous rate of change at that point.

As the two points get closer together, the secant line approaches the tangent line:

slope of secant=s(t2)s(t1)t2t1t2t1s(t1)\text{slope of secant} = \frac{s(t_2) - s(t_1)}{t_2 - t_1} \xrightarrow{t_2 \to t_1} s'(t_1)

Try This

  1. Move the slider to change t₂ and watch the secant line
  2. Bring t₂ close to t₁ = 5 — the secant slope approaches the tangent slope
  3. Toggle the tangent line to compare secant and tangent directly
  4. Notice that when t₂ = t₁, the secant slope equals the tangent slope (the derivative)

Real-Life Applications