liveBook · Manning

Tangent

As explained in Geometry for Programmers

A tangent line is the line that touches a curve at a point and represents the curve's instantaneous direction there.

A tangent line touches a curve at a point and captures its instantaneous direction there. Its slope measures how rapidly the function grows or declines at that point. Geometrically, shrinking an interval around the point turns the secant line’s average slope into the tangent line’s slope—the derivative. section 5.1.1

Use tangent slopes to:

  • Measure a curve’s local incline or decline at a chosen point. section 5.1.1
  • Join polynomial pieces smoothly by requiring matching tangent slopes at their shared point. section 7.1.1
  • Add curvature constraints by relating the curve’s second derivative to its shape at a point. section 7.1.1

A smooth polynomial join

Suppose a polynomial P(x) must pass through two points and have tangent slope -1 at both. For a cubic P(x) = ax³ + bx² + cx + d, impose P(1) = 1, P(3) = 2, P′(1) = -1, and P′(3) = -1. Solving the resulting linear system produces a curve that interpolates the points while matching the prescribed tangent directions. section 7.1.1

Figure 5.3 As the interval decreases, the hypotenuse line becomes more like the tangent line.
05-03

Visualize how a shrinking interval makes a secant line approach the tangent line. section 5.1.1

Figure 7.2 A cubic polynomial set by a pair of points and a pair of tangents
07-02

Inspect a cubic determined by two points and two tangent constraints. section 7.1.1

How Geometry for Programmers covers it

How deep it goes
Builds geometric intuition from shrinking intervals, then applies derivative equations to interpolation and curvature constraints.
Examples
Uses shrinking secant intervals, a cubic through two points, and matching tangent slopes of -1.
What it assumes
Assumes basic line slope and polynomial familiarity while motivating derivatives geometrically rather than requiring formal limits.
What you can do after
Apply tangent slopes to measure local direction and construct smooth polynomial curves with derivative constraints.
How it connects
Connects tangent lines with derivatives, differentiation, polynomial interpolation, curvature, and second derivatives.

Also explained in

Compare how 2 books explain tangent →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Geometry for Programmers. The section links point to the parts of the book it draws on.