2.1 Tangent Lines
A tangent line describes the direction a curve is moving at a particular point. By examining the slopes of secant lines through nearby points, we can determine the slope of a tangent line and use it to describe how a function changes instantaneously.
Secant Lines and Tangent Lines
A secant line passes through two distinct points on a curve. Its slope measures the average rate of change of the function between those points.
Slope of a Secant Line
For two points \((a,f(a))\) and \((b,f(b))\) on the graph of a function, the slope of the secant line is
This is the average rate of change of the function on \([a,b]\).
A tangent line describes the direction of a curve at a single point. When the curve is smooth at that point, the tangent line is the line that best approximates the curve nearby.
Unlike a secant line, which uses two fixed points, a tangent line can be found by moving one of the secant points closer and closer to the other.
A tangent line does not necessarily touch a curve at only one point. It may cross the curve or intersect it again elsewhere. What makes it a tangent line is its local direction at the point of tangency.
From Secant Lines to Tangent Lines
Suppose we want the slope of the tangent line to \(y=f(x)\) at \(x=a\).
Choose a second point on the curve whose x-coordinate is \(a+h\). The two points are \((a,f(a))\) and \((a+h,f(a+h))\).
The horizontal distance between the points is \(h\), while the vertical change is \(f(a+h)-f(a)\).
As \(h\) approaches zero, the second point moves toward the first. If the secant slopes approach a finite value, that value is the tangent slope.
Slope of a Tangent Line
The slope of the tangent line to \(y=f(x)\) at \(x=a\) is
provided this limit exists as a finite number.
We can also express the same idea by allowing the x-coordinate of the second point to approach \(a\).
These two expressions describe the same limiting process. The first uses the horizontal change \(h\), while the second uses the x-coordinate \(x\) directly.
Finding the Slope of a Tangent Line
Example 1: Finding a Tangent Slope
Find the slope of the tangent line to \(f(x)=x^2\) at \(x=1\).
Show solution
Begin with the tangent slope formula.
Evaluate the function at both inputs.
Substitute these expressions into the difference quotient.
Combine like terms, factor out \(h\), and cancel the common factor. This cancellation is valid for nonzero \(h\).
The expression is now defined at the limiting value, so evaluate.
The tangent line has slope 2. This means the curve is increasing at an instantaneous rate of 2 units of output per unit of input at \(x=1\).
Equations of Tangent Lines
Once we know the tangent slope, we can write the equation of the tangent line using the point-slope form of a line.
Point-Slope Form
A line with slope \(m\) passing through \((a,b)\) has equation
For a tangent line to \(f\) at \(x=a\), the point is \((a,f(a))\).
Example 2: Finding the Equation of a Tangent Line
Find the equation of the tangent line to \(f(x)=x^2\) at \(x=2\).
Show solution
First, find the point on the curve.
The tangent line passes through \((2,4)\).
Now calculate the slope using the difference quotient.
Expand the square and simplify.
Use point-slope form with slope 4 and the point \((2,4)\).
Distribute and solve for y.
The tangent line and parabola both pass through \((2,4)\) and have the same instantaneous slope at that point.
Horizontal Tangent Lines
A tangent line is horizontal when its slope is zero. At such a point, the function has no instantaneous upward or downward change.
Example 3: A Horizontal Tangent
Find the tangent line to \(f(x)=x^2\) at \(x=0\).
Show solution
Evaluate the difference quotient.
The tangent point is \((0,0)\). A line through this point with slope zero has equation
A horizontal tangent can occur at a local maximum, a local minimum, or neither. For example, \(f(x)=x^3\) has a horizontal tangent at the origin, but the function continues increasing through that point.
When a Tangent Slope Does Not Exist
Not every curve has a finite tangent slope at every point. Corners, cusps, vertical tangents, and discontinuities can prevent the usual tangent slope from existing.
Corners
At a corner, the slopes approaching from the left and right approach different values.
For example, consider \(f(x)=|x|\) at the origin.
For negative h, the quotient equals -1. For positive h, it equals 1.
Since the one-sided slopes disagree, there is no unique tangent slope at the origin.
Vertical Tangents
A curve may have a vertical tangent line, even though its tangent slope is not a finite real number.
For example, the graph of \(f(x)=\sqrt[3]{x}\) has a vertical tangent at the origin. Its secant slopes become arbitrarily large and positive as the second point approaches the origin.
The vertical tangent line is \(x=0\), but its slope is undefined.
Cusps and Discontinuities
At a cusp, the curve approaches a sharp point with incompatible unbounded one-sided slopes. At a discontinuity, the curve does not meet the usual conditions for a tangent line at the point.
These situations are important because the existence of a tangent slope requires more than simply being able to draw a line near a graph.
Interpreting Tangent Slopes
The tangent slope tells us how the function is changing at a particular input.
| Tangent slope | Interpretation |
|---|---|
| Positive | The function is increasing instantaneously. |
| Negative | The function is decreasing instantaneously. |
| Zero | The tangent line is horizontal. |
| Undefined | A finite tangent slope does not exist. |
In applications, the units of a tangent slope are the units of the output divided by the units of the input. If position is measured in meters and time in seconds, the tangent slope has units of meters per second.
Common Mistakes
- Confusing secant and tangent slopes. A secant slope measures average change between two points, while a tangent slope measures instantaneous change at one point.
- Substituting zero into the difference quotient too early. Simplify the quotient first, then evaluate its limit.
- Forgetting the point on the curve. A slope alone is not enough to write a unique tangent line. You also need the point of tangency.
- Assuming every tangent slope exists. Corners, cusps, and vertical tangents require special attention.
- Assuming a horizontal tangent must be an extremum. A horizontal tangent can occur without a local maximum or minimum.
- Thinking a tangent line cannot cross a curve. Tangency describes local direction, not the number of intersections.
Key Takeaways
- A secant line measures average rate of change between two points.
- A tangent line describes the instantaneous direction of a curve at a point.
- Tangent slopes are found by taking limits of secant slopes.
- Once the tangent slope and point are known, point-slope form gives the tangent line equation.
- Horizontal tangents have slope zero; vertical tangents have undefined slope.
- The tangent slope is the central geometric idea behind the derivative.