Introduction to Derivatives

Site: Saylor Academy
Course: MA005: Calculus I
Book: Introduction to Derivatives
Printed by: Guest user
Date: Thursday, May 2, 2024, 4:08 AM

Description

Read this section to lay the groundwork for introducing the concept of a derivative. Work through practice problems 1-5.

PREVIEW OF CHAPTER 3

The two previous chapters have laid the foundation for the study of calculus. They provided a review of some material you will need, and they started to emphasize the various ways we will need to view and use functions: functions given by graphs, equations, and tables of values.  

Chapter 2 will focus on the idea of tangent lines. We will get a definition for the derivative of a function and calculate the derivatives of some functions using this definition. Then we will examine some of the properties of derivatives, see some relatively easy ways to calculate the derivatives, and begin to look at some ways we can use derivatives. Chapter 2 will emphasize what derivatives are, how to calculate them, and some of their applications. 

This section begins with a very graphical approach to slopes of tangent lines. It then examines the problem of finding the slopes of the tangent lines for a single function, y = x^2 , in some detail, and illustrates how these slopes can help us solve fairly sophisticated problems. 



Source: Dale Hoffman, https://s3.amazonaws.com/saylordotorg-resources/wwwresources/site/wp-content/uploads/2012/12/MA005-3.1-Introduction-to-Derivatives.pdf
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Fig. 1 is the graph of a function y = f(x). We can use the information in the graph to fill in the table: 

x y = f(x) m(x) = the estimated SLOPE of the tangent line to y=f(x) at the point (x,y)
0 0 1
1 1 0
2 0 – 1 
3 – 1  0
4 1 1
5 2 1/2

We can estimate the values of m(x) at some non-integer values of x,  m(.5) ≈ 0.5 and m(1.3) ≈ –0.3, and even over entire intervals, if 0 < x < 1then m(x) is positive.

The values of m(x) definitely depend on the values of x , and m(x) is a function of x. We can use the results in the table to help sketch the graph of m(x) in Fig. 2. 

Practice 1: The graph of y = f(x) is given in Fig. 3. Set up a table of values for x and m(x) (the slope of the line tangent to the graph of y=f(x) at the point (x,y) and then graph the function m(x)


In some applications, we need to know where the graph of a function f(x) has horizontal tangent lines (slopes = 0). In Fig. 3, the slopes of the tangent lines to graph of y = f(x) are 0 when x = 2 or x ≈ 4.5

Practice 2: At what values of x does the graph of y = g(x) in Fig. 4 have horizontal tangent lines? 


Example 1: Fig. 5 is the graph of the height of a rocket at time t. Sketch the graph of the velocity of the rocket at time t. (Velocity is the slope of the tangent to the graph of position or height.) 


Solution: The lower graph in Fig. 6 shows the velocity of the rocket. 


Practice 3: Fig. 7 shows the temperature during a summer day in Chicago. Sketch the graph of the rate at which the temperature is changing. (This is just the graph of the slopes of the lines which are tangent to the temperature graph.) 


The function m(x), the slope of the line tangent to the graph of f(x), is called the derivative of f(x). We have used the idea of the slope of the tangent line throughout Chapter 1. In the Section 2.1, we will formally define the derivative of a function and begin to examine some of the properties of the derivative function, but first lets see what we can do when we have a formula for f(x)

When we have a formula for a function, we can determine the slope of the tangent line at a point (x, f(x)) by calculating the slope of the secant line through the points (x, f(x)) and (x+h, f(x+h)), \mathrm{m}_{\mathrm{sec}}=\frac{\mathrm{f}(\mathrm{x}+\mathrm{h})-\mathrm{f}(\mathrm{x})}{(\mathrm{x}+\mathrm{h})-(\mathrm{x})}, and then taking the limit of \mathrm{m}_{\mathrm{sec}} as h approaches 0 (Fig. 8) :

\mathrm{m}_{\mathrm{tan}}=\lim\limits_{h \rightarrow 0} \mathrm{~m}_{\mathrm{Sec}}=\lim\limits_{h \rightarrow 0} \frac{f(x+h)-f(x)}{(x+h)-(x)}


Example 2: Find the slope of the line tangent to the graph of y = f(x) = x^2 at the point (2,4). (Fig. 9). 


Solution: In this example x=2, so x+h=2+h and f(x+h)=f(2+h)=(2+h)^{2}

The slope of the tangent line at (2,4) is

\begin{aligned}&\mathrm{m}_{\tan }=\lim\limits_{h \rightarrow 0} \mathrm{~m}_{\mathrm{sec}}=\lim\limits_{h \rightarrow 0} \frac{f(2+h)-f(2)}{(2+h)-(2)} \\&=\lim\limits_{h \rightarrow 0} \frac{(2+h)^{2}-(2)^{2}}{(2+h)-(2)}=\lim _{h \rightarrow 0} \frac{4+4 h+h^{2}-4}{h} \\&=\lim\limits_{h \rightarrow 0} \frac{4 h+h^{2}}{h}=\lim _{h \rightarrow 0} \frac{h(4+h)}{h}=\lim\limits_{h \rightarrow 0}(4+h)=4\end{aligned}

The tangent line to the graph of \mathrm{y}=\mathrm{x}^{2} at the point (2,4) has slope 4.

We can use the point–slope formula for a line to find the equation of the tangent line: 

y – y_o = m(x – x_o) so y – 4 = 4(x – 2) and y = 4x – 4

Practice 4: Use the method of Example 2 to show that the slope of the line tangent to the graph of \mathrm{y}=\mathrm{f}(\mathrm{x})=\mathrm{x}^{2} at the point (1,1) is \mathrm{m}_{\tan }=2. Also find the values of \mathrm{m}_{\mathrm{tan}} at (0,0) and (-1,1).

It is possible to find the slopes of the tangent lines one point at a time, but that is not very efficient. You should have noticed in the Practice 4 that the algebra for each point was very similar, so let's do all the work once for an arbitrary point (x, f(x))=\left(x, x^{2}\right) and then use the general result for our particular problems. The slope of the line tangent to the graph of y=f(x)=x^{2} at the arbitrary point \left(x, x^{2}\right) is

\begin{aligned}\mathrm{m}_{\tan } &=\lim _{h \rightarrow 0} \frac{f(x+h)-f(x)}{(x+h)-(x)}=\lim _{h \rightarrow 0} \frac{(x+h)^{2}-(x)^{2}}{(x+h)-(x)}=\lim _{h \rightarrow 0} \frac{x^{2}+2 x h+h^{2}-x^{2}}{h} \\&=\lim _{h \rightarrow 0} \frac{2 x h+h^{2}}{h}=\lim _{h \rightarrow 0} \frac{h(2 x+h)}{h}=\lim _{h \rightarrow 0}(2 x+h)=\mathbf{2} \mathbf{x}\end{aligned}

The slope of the line tangent to the graph of y=f(x)=x^{2} at the point \left(x, x^{2}\right) is m_{\tan }=2 x. We can use this general result at any value of x without going through all of the calculations again. The slope of the line tangent to y=f(x)=x^{2} at the point (4,16) is m_{\tan }=2(4)=8 and the slope at \left(\pi, \pi^{2}\right) is m_{\tan }=2(\pi)=2 \pi. The value of x determines where we are on the curve ( at \mathrm{y}=\mathrm{x}^{2} ) as well as the slope of the tangent line, \mathrm{m}_{\tan }=2 \mathrm{x}, at that point. The slope m_{\tan }=2 \mathrm{x} is a function of \mathrm{x} and is called the derivative of \mathbf{y}=\mathbf{x}^{2}.

Simply knowing that the slope of the line tangent to the graph of y=x^{2} is m_{\tan }=2 x at a point (x, y) can help us quickly find the equation of the line tangent to the graph of \mathrm{y}=\mathrm{x}^{2} at any point and answer a number of difficult sounding questions.

Example 3: Find the equations of the lines tangent to \mathrm{y}=\mathrm{x}^{2} at (3,9) and \left(\mathrm{p}, \mathrm{p}^{2}\right).

Solution: At (3,9), the slope of the tangent line is 2 x=2(3)=6, and the equation of the line is y-y_{0}=m\left(x-x_{0}\right) so y-9=6(x-3) and y=6 x-9.

At \left(p, p^{2}\right), the slope of the tangent line is 2 x=2(p)=2 p, and the equation of the line is y-y_{o}=m\left(x-x_{o}\right) \quad so y-p^{2}=2 p(x-p) and y=2 p x-p^{2}.

Example 4: A rocket has been programmed to follow the path y = x^2  in space (from left to right along the curve), but an emergency has arisen and the crew must return to their base which is located at coordinates (3,5). At what point on the path y = x^2 should the captain turn off the engines so the ship will coast along the tangent to the curve to return to the base? (Fig. 10)


Solution: You might spend a few minutes trying to solve this problem without using the relation \mathrm{m}_{\tan }=2x, but the problem is much easier if we do use that result. 

Lets assume that the captain turns off the engine at the point (p,q) on the curve y = x^2, and then try to determine what values p and q must have so that the resulting tangent line to the curve will go through the point (3,5). The point (p,q) is on the curve y = x^2 , so  q = p^2, and the equation of the tangent line, found in Example 3, is y = 2px – p^2.

To find the value of p so that the tangent line will go through the point (3,5), we can substitute the values x = 3 and y = 5 into the equation of the tangent line and solve for p

y = 2px – p^2  so 5 = 2p(3) – p  and  p – 6p + 5 = 0

The only solutions of p^2 – 6p + 5 = (p – 1)(p – 5) = 0 are p = 1 and p = 5, so the only possible points are (1,1) and (5,25). You can verify that the tangent lines to y = x^2 at (1,1) and (5,25) go through the base at the point (3,5) (Fig. 11). Since the ship is moving from left to right along the curve, the captain should turn off the engines at the point (1,1). Why not at (5,25)

Practice 5: Verify that if the rocket engines in Example 4 are shut off at (2,4), then the rocket will go through the point (3,8)


Practice 1: Approximate values of m(x) are in the table below. Fig. 17 is a graph of m(x).

x y = f(x) m(x) = the estimated SLOPE of the tangent line to y=f(x) at the point (x,y)
0 2 –1 
1 1 –1 
2 1/3 0
3 1 1
4 3/2 1/2
5 1 –2


Practice 2: The tangent lines to the graph of g are horizontal (slope = 0) when x ≈ –1, 1, 2.5, and 5

Practice 3: Fig. 18 is a graph of the approximate rate of temperature change (slope). 


Practice 4: \mathrm{y}=\mathrm{x}^{2}

\begin{aligned}
&\operatorname{At}(1,1), \mathrm{m}_{\tan }=\lim\limits_{h \rightarrow 0} \frac{f(1+h)-f(1)}{(1+h)-(1)}=\lim\limits_{h \rightarrow 0} \frac{(1+h)^{2}-(1)^{2}}{h}=\lim\limits_{h \rightarrow 0} \frac{\left\{1+2 h+h^{2}\right\}-1}{h} \\
&=\lim\limits_{h \rightarrow 0} \frac{2 h+h^{2}}{h}=\lim\limits_{h \rightarrow 0} \frac{h(1+h)}{h}=\lim\limits_{h \rightarrow 0}(2+h)=2
\end{aligned}

\mathrm{At}(0,0), \mathrm{m}_{\tan }=\lim\limits_{h \rightarrow 0} \frac{f(0+h)-f(0)}{(0+h)-(0)}=\lim\limits_{h \rightarrow 0} \frac{(0+h)^{2}-(0)^{2}}{h}=\lim\limits_{h \rightarrow 0} \frac{h^{2}}{h}=\lim\limits_{h \rightarrow 0} \mathrm{~h}=\mathbf{0}

\operatorname{At}(-1,1), \mathrm{m}_{\tan }=\lim\limits_{h \rightarrow 0} \frac{f(-1+h)-f(-1)}{(-1+h)-(-1)}=\lim\limits_{h \rightarrow 0} \frac{\left\{1-2 h+h^{2}\right\}-1}{h}=\lim\limits_{h \rightarrow 0} \frac{-2 h+h^{2}}{h}=-\mathbf{2}

Practice 5: From Example 4 we know the slope of the tangent line is m_{\tan }=2 x so the slope of the tangent line at (2,4) is m_{\tan }=2 x=2(2)=4. The tangent line has slope 4 and goes through the point (2,4) so the equation of the tangent line (using \left.y-y_{o}=m\left(x-x_{o}\right)\right) is y-4=4(x-2) or y=4 x-4. The point (3,8) satisfies the equation \mathrm{y}=4 \mathrm{x}-4 so the point ((3,8)\) lies on the tangent line.