Tangent Line Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Tangent Line.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A line that touches a curve at exactly one point and has the same slope as the curve there.

The tangent line is the unique straight line that best approximates the curve at a specific point โ€” same value, same slope.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

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)f'(a). Asking "Do I need the line that matches the curve's value and slope (fโ€ฒ(a)f'(a)) at a single point of contact?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Do I need the line that matches the curve's value and slope (fโ€ฒ(a)f'(a)) at a single point of contact?

Worked Examples

Example 1

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

Answer

y=4xโˆ’1y = 4x - 1

First step

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

Full solution

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

Example 2

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

Example 3

medium
Find the equation of the tangent to f(x)=1xf(x) = \frac{1}{x} at x=2x = 2.

Example 4

medium
At which point on f(x)=x2f(x) = x^2 is the tangent line parallel to y=6xโˆ’5y = 6x - 5?

Example 5

medium
Find the tangent line to the curve f(x)=x2โˆ’2x+3f(x) = x^2 - 2x + 3 at the point where the tangent is horizontal.

Example 6

medium
Find the tangent line to f(x)=x2f(x) = x^2 that passes through the external point (2,โˆ’3)(2, -3).

Example 7

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

Example 8

hard
For f(x)=x3โˆ’6x2+9xf(x) = x^3 - 6x^2 + 9x, find values of aa for which the tangent line at (a,f(a))(a, f(a)) passes through the origin.

Example 9

challenge
Show that the tangent line to y=xny = x^n at (1,1)(1, 1) has xx-intercept 1โˆ’1/n1 - 1/n for any nโ‰ 0n \ne 0.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Find the equation of the tangent line to h(x)=3x3โˆ’xh(x) = 3x^3 - x at x=1x = 1.

Example 2

hard
At what point(s) on f(x)=x3โˆ’3xf(x) = x^3 - 3x does the tangent line have slope 99?

Example 3

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

Example 4

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

Example 5

easy
Find the point of tangency on f(x)=x3f(x) = x^3 at x=1x = 1.

Example 6

easy
Find the tangent slope to f(x)=sinโกxf(x) = \sin x at x=0x = 0.

Example 7

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

Example 8

easy
Find the tangent slope to f(x)=exf(x) = e^x at x=0x = 0.

Example 9

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

Example 10

easy
Find the slope of the tangent to f(x)=xf(x) = \sqrt{x} at x=4x = 4.

Example 11

medium
Find the equation of the tangent to f(x)=x3โˆ’xf(x) = x^3 - x at x=1x = 1.

Example 12

medium
Find the tangent to f(x)=1xf(x) = \frac{1}{x} at x=2x = 2.

Example 13

medium
At what point does f(x)=x2f(x) = x^2 have a tangent line parallel to y=6xy = 6x?

Example 14

medium
Find the tangent to f(x)=cosโกxf(x) = \cos x at x=ฯ€2x = \frac{\pi}{2}.

Example 15

medium
Use the tangent line of f(x)=xf(x) = \sqrt{x} at x=4x = 4 to approximate 4.1\sqrt{4.1}.

Example 16

medium
Find all points where f(x)=x3โˆ’3xf(x) = x^3 - 3x has a horizontal tangent.

Example 17

medium
Find the tangent to f(x)=lnโกxf(x) = \ln x at x=1x = 1.

Example 18

challenge
Find the equations of the tangent lines to f(x)=x2f(x) = x^2 that pass through the external point (0,โˆ’1)(0, -1).

Example 19

challenge
Find where the tangent to f(x)=x3f(x) = x^3 at x=ax = a also crosses the curve again.

Example 20

challenge
The tangent to f(x)=1xf(x) = \frac{1}{x} at x=ax = 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โˆ’3xf(x) = x^2 - 3x at x=2x = 2.

Example 22

medium
Find the tangent to f(x)=exf(x) = e^x at x=1x = 1.

Example 23

easy
Find the slope of the tangent to f(x)=x2โˆ’3xf(x) = x^2 - 3x at x=4x = 4.

Example 24

easy
Find the tangent line to f(x)=5xโˆ’7f(x) = 5x - 7 at x=2x = 2.

Example 25

easy
Find the slope of the tangent to f(x)=x3f(x) = x^3 at x=2x = 2.

Example 26

easy
Find the equation of the tangent to f(x)=x2โˆ’4f(x) = x^2 - 4 at x=1x = 1.

Example 27

medium
Find the tangent line to f(x)=lnโกxf(x) = \ln x at x=ex = e.

Example 28

medium
Find the equation of the tangent to f(x)=e2xf(x) = e^{2x} at x=0x = 0.

Example 29

medium
Find the tangent line to f(x)=sinโกxf(x) = \sin x at x=ฯ€/3x = \pi/3.

Example 30

medium
Use the tangent line of f(x)=xf(x) = \sqrt{x} at x=25x = 25 to approximate 26\sqrt{26}.

Example 31

medium
Find all points where f(x)=x3โˆ’6x2+9xf(x) = x^3 - 6x^2 + 9x has a horizontal tangent.

Example 32

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

Example 33

medium
Find the angle the tangent to f(x)=x2f(x) = x^2 at x=1x = 1 makes with the positive xx-axis.

Example 34

hard
Find both points on f(x)=x3โˆ’12xf(x) = x^3 - 12x where the tangent line has slope 00.

Example 35

hard
At what point on f(x)=exf(x) = e^x is the tangent line parallel to y=eโ‹…x+7y = e \cdot x + 7?

Example 36

hard
Find the tangent line to f(x)=xlnโกxf(x) = x \ln x at x=1x = 1.

Example 37

hard
Find the tangent line to the curve y2=x3โˆ’3x+3y^2 = x^3 - 3x + 3 at the point (1,1)(1, 1).

Example 38

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

Example 39

challenge
A line through (0,โˆ’2)(0, -2) is tangent to f(x)=x2+1f(x) = x^2 + 1. Find both possible slopes.

Related Concepts

Background Knowledge

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

slopederivative