<< Chapter < Page Chapter >> Page >
This figure consists of two graphs labeled a and b. Figure a shows the Cartesian coordinate plane with 0, a, and x marked on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)) and (x, f(x)). There is also a straight line that crosses these two points (a, f(a)) and (x, f(x)). At the bottom of the graph, the equation msec = (f(x) - f(a))/(x - a) is given. Figure b shows a similar graph, but this time a + h is marked on the x-axis instead of x. Consequently, the curve labeled y = f(x) passes through (a, f(a)) and (a + h, f(a + h)) as does the straight line. At the bottom of the graph, the equation msec = (f(a + h) - f(a))/h is given.
We can calculate the slope of a secant line in either of two ways.

In [link] (a) we see that, as the values of x approach a , the slopes of the secant lines provide better estimates of the rate of change of the function at a . Furthermore, the secant lines themselves approach the tangent line to the function at a , which represents the limit of the secant lines. Similarly, [link] (b) shows that as the values of h get closer to 0 , the secant lines also approach the tangent line. The slope of the tangent line at a is the rate of change of the function at a , as shown in [link] (c).

This figure consists of three graphs labeled a, b, and c. Figure a shows the Cartesian coordinate plane with 0, a, x2, and x1 marked in order on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)), (x2, f(x2)), and (x1, f(x1)). There are three straight lines: the first crosses (a, f(a)) and (x1, f(x1)); the second crosses (a, f(a)) and (x2, f(x2)); and the third only touches (a, f(a)), making it the tangent. At the bottom of the graph, the equation mtan = limx → a (f(x) - f(a))/(x - a) is given. Figure b shows a similar graph, but this time a + h2 and a + h1 are marked on the x-axis instead of x2 and x1. Consequently, the curve labeled y = f(x) passes through (a, f(a)), (a + h2, f(a + h2)), and (a + h1, f(a + h1)) and the straight lines similarly cross the graph as in Figure a. At the bottom of the graph, the equation mtan = limh → 0 (f(a + h) - f(a))/h is given. Figure c shows only the curve labeled y = f(x) and its tangent at point (a, f(a)).
The secant lines approach the tangent line (shown in green) as the second point approaches the first.

You can use this site to explore graphs to see if they have a tangent line at a point.

In [link] we show the graph of f ( x ) = x and its tangent line at ( 1 , 1 ) in a series of tighter intervals about x = 1 . As the intervals become narrower, the graph of the function and its tangent line appear to coincide, making the values on the tangent line a good approximation to the values of the function for choices of x close to 1 . In fact, the graph of f ( x ) itself appears to be locally linear in the immediate vicinity of x = 1 .

This figure consists of four graphs labeled a, b, c, and d. Figure a shows the graphs of the square root of x and the equation y = (x + 1)/2 with the x-axis going from 0 to 4 and the y-axis going from 0 to 2.5. The graphs of these two functions look very close near 1; there is a box around where these graphs look close. Figure b shows a close up of these same two functions in the area of the box from Figure a, specifically x going from 0 to 2 and y going from 0 to 1.4. Figure c is the same graph as Figure b, but this one has a box from 0 to 1.1 in the x coordinate and 0.8 and 1 on the y coordinate. There is an arrow indicating that this is blown up in Figure d. Figure d shows a very close picture of the box from Figure c, and the two functions appear to be touching for almost the entire length of the graph.
For values of x close to 1 , the graph of f ( x ) = x and its tangent line appear to coincide.

Formally we may define the tangent line to the graph of a function as follows.

Definition

Let f ( x ) be a function defined in an open interval containing a . The tangent line to f ( x ) at a is the line passing through the point ( a , f ( a ) ) having slope

m tan = lim x a f ( x ) f ( a ) x a

provided this limit exists.

Equivalently, we may define the tangent line to f ( x ) at a to be the line passing through the point ( a , f ( a ) ) having slope

m tan = lim h 0 f ( a + h ) f ( a ) h

provided this limit exists.

Just as we have used two different expressions to define the slope of a secant line, we use two different forms to define the slope of the tangent line. In this text we use both forms of the definition. As before, the choice of definition will depend on the setting. Now that we have formally defined a tangent line to a function at a point, we can use this definition to find equations of tangent lines.

Finding a tangent line

Find the equation of the line tangent to the graph of f ( x ) = x 2 at x = 3 .

First find the slope of the tangent line. In this example, use [link] .

m tan = lim x 3 f ( x ) f ( 3 ) x 3 Apply the definition. = lim x 3 x 2 9 x 3 Substitute f ( x ) = x 2 and f ( 3 ) = 9 . = lim x 3 ( x 3 ) ( x + 3 ) x 3 = lim x 3 ( x + 3 ) = 6 Factor the numerator to evaluate the limit.

Next, find a point on the tangent line. Since the line is tangent to the graph of f ( x ) at x = 3 , it passes through the point ( 3 , f ( 3 ) ) . We have f ( 3 ) = 9 , so the tangent line passes through the point ( 3 , 9 ) .

Using the point-slope equation of the line with the slope m = 6 and the point ( 3 , 9 ) , we obtain the line y 9 = 6 ( x 3 ) . Simplifying, we have y = 6 x 9 . The graph of f ( x ) = x 2 and its tangent line at 3 are shown in [link] .

This figure consists of the graphs of f(x) = x squared and y = 6x - 9. The graphs of these functions appear to touch at x = 3.
The tangent line to f ( x ) at x = 3 .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

The slope of a tangent line revisited

Use [link] to find the slope of the line tangent to the graph of f ( x ) = x 2 at x = 3 .

The steps are very similar to [link] . See [link] for the definition.

m tan = lim h 0 f ( 3 + h ) f ( 3 ) h Apply the definition. = lim h 0 ( 3 + h ) 2 9 h Substitute f ( 3 + h ) = ( 3 + h ) 2 and f ( 3 ) = 9 . = lim h 0 9 + 6 h + h 2 9 h Expand and simplify to evaluate the limit. = lim h 0 h ( 6 + h ) h = lim h 0 ( 6 + h ) = 6

We obtained the same value for the slope of the tangent line by using the other definition, demonstrating that the formulas can be interchanged.

Got questions? Get instant answers now!
Got questions? Get instant answers now!
Practice Key Terms 4

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 1. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11964/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 1' conversation and receive update notifications?

Ask