A tangent's gradient is the limit of secant gradients

Years 11–12Stage 6Run it

The gradient at P is the limit of secant gradients as Q slides towards P; the derivative gives it at every point.

Demonstration: a simplified model1 · A secant

A graph of y = x² with P at (1, 1) and Q at (2, 4). The secant PQ has rise 3 and run 1, so its gradient = 3.

The secant PQ joins two points on y = x². Its gradient is rise ÷ run: 3 ÷ 1 = 3.

  1. Curve y = x²
  2. Secant PQ

Key Thick black line: the curve. Filled dot: P, which stays put. Open circle: Q, which slides along the curve. Solid blue line: the secant PQ, through two points on the curve. Dotted lines: the run and the rise from P to Q. Grey dashed lines: secants with longer runs, on the same side of P. Red dashed line: the tangent at P. Open red circle: where the tangent meets the curve again. Filled dot: the gradient at P, plotted above P's x-value.

The model could not start here. The figure, the steps and the table on this page still show the idea; reload the page to try again.

The idea, step by step

  1. A graph of y = x² with P at (1, 1) and Q at (1.1, 1.21). The secant PQ has rise 0.21 and run 0.1, so its gradient = 2.1.
    2 · Q slides closerSlide Q towards P. With a run of 0.1, the gradient of PQ is 2.1. The table lists more runs.1 Curve y = x² · 2 Secant PQ
  2. A graph of y = x² with P at (1, 1) and Q at (0.9, 0.81). The secant PQ has rise −0.19 and run −0.1, so its gradient = 1.9.
    3 · From the leftQ on the left, 0.1 back from P: gradient 1.9. From each side the gradients close in on one value.1 Curve y = x² · 2 Secant PQ
  3. A graph of y = x² with P at (1, 1). Q is on P, so the rise and the run are both zero: zero divided by zero has no value, and no secant is drawn.
    4 · Q on PPut Q on P: the rise and the run are both zero, and zero ÷ zero has no value. No secant is drawn.1 Curve y = x²
  4. A graph of y = x² with P at (1, 1) and Q at (1.01, 1.0201). The secant PQ has rise 0.0201 and run 0.01, so its gradient = 2.01. The tangent at P, dashed, has gradient = 2.
    5 · The tangentThe secants close in on the tangent at P. Its gradient, 2, is their limit. P's height is 1: a different number.1 Curve y = x² · 2 Secant PQ · 3 Tangent at P
  5. A graph of y = x³ with P at (−1, −1) and Q at (−0.99, −0.9703). The secant PQ has rise 0.029701 and run 0.01, so its gradient = 2.9701. The tangent at P, dashed, has gradient = 3.
    6 · Crossing againOn y = x³ the tangent at P meets the curve again, at x = 2. A tangent can cross a curve.1 Curve y = x³ · 2 Secant PQ · 3 Tangent at P
  6. The gradient graph of y = x²: the gradient of the curve at each x from the left end of P's range up to P, where x is 2 and the gradient = 4.
    7 · The gradient graphThe derivative gives the gradient at every point: for y = x², plotted as P moves, the gradients make a straight line.1 Gradient graph · 2 Gradient at P

Gradients of the secants PQ as Q closes in on P, from the right and then from the left

Run hx at QGradient of PQIn the first figure
1.0002.0003.0000Shown
0.5001.5002.5000
0.1001.1002.1000
0.0101.0102.0100
0.0011.0012.0010
-1.0000.0001.0000
-0.5000.5001.5000
-0.1000.9001.9000
-0.0100.9901.9900
-0.0010.9991.9990
With a learner

Three questions to ask

  1. What is the gradient of the secant PQ, and how did you work it out?
  2. What happens to the gradients in the table as Q gets closer to P from each side?
  3. What goes wrong if Q is put exactly on P to find the gradient there?

What to expect

Many learners say a tangent touches a curve at one point only, or that a gradient at a single point cannot exist.

What to try next

Open the secant practical in Try it in the Lab, above, to draw these secants on y = x² by hand and compare your table with this one.

About this model

What is simplified

  • The curves, secants and tangents are computed from the functions themselves, not drawn by hand. The working on the figure rounds numbers to at most six decimal places and gradients to four; ≈ marks a rounded value.
  • The run slider moves in hundredths, so on the slider Q comes no nearer to P than one hundredth, apart from zero, where Q sits on P. The table goes on to one thousandth.
  • The tangent is the line through P whose gradient is the limit of the secant gradients: the derivative at P.
  • For y = sin x, x is in radians. The gradient of sin x is cos x only when x is measured in radians.
  • Move P moves P from left to right at a steady, slow rate, so you can watch the gradient graph grow; Speed runs it up to twice as fast. No time is shown, and none is taught.
  • The gradient graph is drawn from the exact derivative at each x that P has passed, from the left end of P's range.

Review

Demonstration: a simplified model. Checked against its written sources, 26 September 2026. Not reviewed by a qualified teacher.

Curriculum references

MAV-11-06MAV-11-08MAV-12-04MA11-5

Reference, not a verified alignment.

All demonstrations Practicals in the Lab