How to find the equation of a tangent line at a point
A tangent-line equation needs two things: a point on the curve and the slope at that point. The original function gives us the point, and its derivative gives us the slope. Let’s put those pieces together and work through two examples.
Use the tangent-line formula
If has a finite derivative at , the tangent line passes through with slope . Substituting that point and slope into point-slope form gives
The tangent line matches the curve’s direction at the point. It can cross the curve there or intersect the curve elsewhere; tangency describes the local slope.
Example: Find the tangent line to a quadratic at x = 4
First find the point on the curve by evaluating the original function at .
The point is . Now differentiate and evaluate the derivative at the same x-value to find the slope.
Substitute the point and slope into the tangent-line formula, then simplify if we want slope-intercept form.
At , the line gives , so it passes through the required point. Its slope is , matching .
Example: Find a tangent line to a sine function
Find the tangent line to at , with angles measured in radians. Evaluate the function and its derivative.
The point is , and the slope is . The tangent-line equation is
Recognize horizontal and vertical tangents
A horizontal tangent has slope . When , its equation is . A vertical tangent, when established by the curve’s nearby direction, has equation . It cannot be written with a finite slope in the point-slope formula. An undefined derivative can also occur at a corner, so the local behavior determines whether a vertical tangent exists.