Tangent Line Examples: 48 Problems with Answers

Worked examples of Tangent Line to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Find the equation of the tangent line to f(x)=x2+3 at x=2.
Show solution

Answer

y=4x−1

First step

1.
Find the point of tangency: f(2)=4+3=7. Point: (2,7).

Full solution

  1. 2.
    Find the slope: f′(x)=2x, so f′(2)=4.
  2. 3.
    Write the tangent line using point-slope form: y−7=4(x−2).
  3. 4.
    Simplify: y=4x−8+7=4x−1.
Two pieces of information define a line: a point and a slope. The point is (a,f(a)) and the slope is f′(a). Plug both into the point-slope formula y−f(a)=f′(a)(x−a).

Example 2

medium
Find the equation of the tangent line to g(x)=x at x=9, and use it to approximate 9.1.

Example 3

medium
Find the equation of the tangent to f(x)=1x at x=2.

Example 4

medium
At which point on f(x)=x2 is the tangent line parallel to y=6x−5?

Example 5

medium
Find the tangent line to the curve f(x)=x2−2x+3 at the point where the tangent is horizontal.

Example 6

medium
Find the tangent line to f(x)=x2 that passes through the external point (2,−3).

Example 7

hard
Find the equation of the tangent to the implicit curve x2+y2=25 at the point (3,4).

Example 8

hard
For f(x)=x3−6x2+9x, find values of a for which the tangent line at (a,f(a)) passes through the origin.

Example 9

challenge
Show that the tangent line to y=xn at (1,1) has x-intercept 1−1/n for any n≠0.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
Find the equation of the tangent line to h(x)=3x3−x at x=1.

Example 2

hard
At what point(s) on f(x)=x3−3x does the tangent line have slope 9?

Example 3

easy
Find the slope of the tangent to f(x)=x2 at x=2.

Example 4

easy
Find the equation of the tangent to f(x)=x2 at x=2.

Example 5

easy
Find the point of tangency on f(x)=x3 at x=1.

Example 6

easy
Find the tangent slope to f(x)=sin⁡x at x=0.

Example 7

easy
Find the tangent line to f(x)=3x+1 at x=5.

Example 8

easy
Find the tangent slope to f(x)=ex at x=0.

Example 9

easy
Find the equation of the tangent to f(x)=x2+1 at x=0.

Example 10

easy
Find the slope of the tangent to f(x)=x at x=4.

Example 11

medium
Find the equation of the tangent to f(x)=x3−x at x=1.

Example 12

medium
Find the tangent to f(x)=1x at x=2.

Example 13

medium
At what point does f(x)=x2 have a tangent line parallel to y=6x?

Example 14

medium
Find the tangent to f(x)=cos⁡x at x=π2.

Example 15

medium
Use the tangent line of f(x)=x at x=4 to approximate 4.1.

Example 16

medium
Find all points where f(x)=x3−3x has a horizontal tangent.

Example 17

medium
Find the tangent to f(x)=ln⁡x at x=1.

Example 18

challenge
Find the equations of the tangent lines to f(x)=x2 that pass through the external point (0,−1).

Example 19

challenge
Find where the tangent to f(x)=x3 at x=a also crosses the curve again.

Example 20

challenge
The tangent to f(x)=1x at x=a forms a triangle with the axes. Show its area is constant and find it.

Example 21

medium
Find the tangent to f(x)=x2−3x at x=2.

Example 22

medium
Find the tangent to f(x)=ex at x=1.

Example 23

easy
Find the slope of the tangent to f(x)=x2−3x at x=4.

Example 24

easy
Find the tangent line to f(x)=5x−7 at x=2.

Example 25

easy
Find the slope of the tangent to f(x)=x3 at x=2.

Example 26

easy
Find the equation of the tangent to f(x)=x2−4 at x=1.

Example 27

medium
Find the tangent line to f(x)=ln⁡x at x=e.

Example 28

medium
Find the equation of the tangent to f(x)=e2x at x=0.

Example 29

medium
Find the tangent line to f(x)=sin⁡x at x=π/3.

Example 30

medium
Use the tangent line of f(x)=x at x=25 to approximate 26.

Example 31

medium
Find all points where f(x)=x3−6x2+9x has a horizontal tangent.

Example 32

medium
Find the equation of the normal line to f(x)=x2 at x=1.

Example 33

medium
Find the angle the tangent to f(x)=x2 at x=1 makes with the positive x-axis.

Example 34

hard
Find both points on f(x)=x3−12x where the tangent line has slope 0.

Example 35

hard
At what point on f(x)=ex is the tangent line parallel to y=e⋅x+7?

Example 36

hard
Find the tangent line to f(x)=xln⁡x at x=1.

Example 37

hard
Find the tangent line to the curve y2=x3−3x+3 at the point (1,1).

Example 38

hard
Find the tangent line to the curve x2+xy+y2=7 at (1,2).

Example 39

challenge
A line through (0,−2) is tangent to f(x)=x2+1. Find both possible slopes.

What to focus on

Core idea: A tangent line touches a curve at a point with the same value and the same slope, giving the best linear approximation there.

Common stuck point: The procedure for tangent line is the easy part; the trap is using the slope of a secant instead of f′(a). Asking "Do I need the line that matches the curve's value and slope (f′(a)) at a single point of contact?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Do I need the line that matches the curve's value and slope (f′(a)) at a single point of contact?

Concept recap

A tangent line is a line that touches a curve at a point and has the same slope as the curve there; it may meet or cross the curve again elsewhere.

A tangent line is like the beam of a car's headlights on a winding road: at each instant it points exactly the way the car is moving at that spot. Follow the beam a short way and you stay close to the road; follow it far and the road curves away. Further on, the beam may even cross the road again.

Read the full lesson on Tangent Line

Tangent Line is covered with related ideas in the guide Derivatives Explained: Rules, Interpretation, and Applications.

Related concepts

Background knowledge

These ideas may be useful before you work through the harder examples.

slopederivative