Skip Navigation

4.2: Derivatives

Difficulty Level: At Grade Created by: CK-12
Turn In

Tangent Lines and Rates of Change


With a careful enough picture, the concept here can be made crystal clear. The goal in making such a picture should be to draw a large enough diagram with as little clutter as possible. Here is an example:

This picture, carefully explained, will make it easier for any student to see that the slope of the secant line is just \begin{align*}\frac{f(x+h)-f(x)}{h}\end{align*} and that as \begin{align*}h \rightarrow 0\end{align*} the secant approaches the tangent at \begin{align*}x\end{align*}.


The best mechanism to give everyone a chance to understand this is by working carefully with the geometry. That is, the students should all work one simple example in lots of detail. Give them all three big sheets of graph paper and have them graph the function \begin{align*}y=x^2\end{align*} between \begin{align*}x=0\end{align*} and \begin{align*}x=5\end{align*}, but using the entire sheet so that they can see it zoomed in very closely. They should do this carefully on each sheet so that each contains a careful copy of the plot below:

Then, students should draw in the secant line through \begin{align*}(1,1)\end{align*} and \begin{align*}(1+3,(1+3)^2 )=(4,16)\end{align*} on one of their pages:

Students should find the slope of this line and show their work as follows:

\begin{align*}m = \frac{16-1}{4-1} = \frac{15}{3} = 5\end{align*}

Next, students should repeat this process for the secant line through \begin{align*}(1,1)\end{align*} and \begin{align*}(1+2,(1+2)^2 )=(3,9)\end{align*}. The diagram will look like:

and the slope calculation should look like:

\begin{align*}m = \frac{9-1}{3-1} = \frac{8}{2} = 4\end{align*}

and again now for the secant line through \begin{align*}(1,1)\end{align*} and \begin{align*}(1+.5,(1+.5)^2 )=(1.5,2.25)\end{align*}. The diagram will look like:

and the calculation of slope will be:

\begin{align*}m = \frac{2.25 - 1}{1.5 - 1} = \frac{1.25}{0.5} = 2.5\end{align*}

Finally, students should be asked to consider the general secant line through the points \begin{align*}(1,1)\end{align*} and \begin{align*}(1+h,(1+h)^2 )\end{align*}, and find its slope:

\begin{align*}m = \frac{(1 + h)^2 - 1}{(1 + h) - 1} = \frac{1 + 2h + h^2 - 1}{h} = 2 + h\end{align*}

Then ask students to consider how this equation works in terms of the calculations above. In the first diagram, we took points that were \begin{align*}h=3\end{align*} apart, and the slope of the secant was \begin{align*}5=2+h\end{align*}. Then in the second diagram we took points that were \begin{align*}h=2\end{align*} apart and the slope of the secant was \begin{align*}4=2+h\end{align*}. Then in the final diagram \begin{align*}h=0.5\end{align*} and slope was \begin{align*}2.5=2+h\end{align*}. Clearly, as \begin{align*}h \rightarrow 0\end{align*} the slope goes to \begin{align*}2\end{align*}. This is the slope of the tangent line at \begin{align*}x=2!\end{align*}


The best way to test this material is to have students perform the above approximations for variety of functions and points in those functions. As intuition grows, students can be asked what they think the slope of the tangent should be ahead of time at a minimum or a maximum or, for example, how a plot of the tangent slope (derivative) will approximately look. Students should be given problems which apply these concepts to applications. For example:

i) A cannonball flies through the air in a parabolic shape. The height \begin{align*}y(t)\end{align*} satisfies the equation \begin{align*}y=5-4.9t^2\end{align*} and the horizontal distance \begin{align*}x(t)\end{align*} satisfies the equation \begin{align*}x=5t\end{align*}.

a. Plot the horizontal and vertical positions as functions of time.

b. Draw in the secant line for each between \begin{align*}t=1\end{align*} and \begin{align*}t=3\end{align*}.

c. Find the average vertical and horizontal velocities between \begin{align*}t=1\end{align*} and \begin{align*}t=3\end{align*}

d. Using the same process, find the average vertical and horizontal velocities between \begin{align*}t=1\end{align*} and \begin{align*}t=1.5\end{align*}

e. Draw the tangent lines at \begin{align*}t=1\end{align*} to each plot and find their slope \begin{align*}=\end{align*} the instantaneous velocities at \begin{align*}t=1\end{align*}

f. Find the instantaneous velocities as functions of time throughout the entire flight

The Derivative


Just like the previous section, this material is most accessibly introduced with a careful diagram like:

By making the definition of \begin{align*}f'(x)\end{align*} geometrically intuitive, it is much more easily recalled and manipulated.

It should be pointed out carefully that by understanding this picture and the very intuitive nature of tangent lines, differentiability is easy to understand. Simply put, a derivative exists wherever we can easily tell what the tangent line should look like. For example, at a corner like in the diagram below, the slope appears to jump instantly from one value to another. For this reason we cannot see exactly how the tangent should be placed at the corner.

The other way in which differentiability can fail is if the slope is infinite (that is, the tangent line is vertical) or the function is not continuous at the point of interest.


To teach this concept it is probably best to have students look at a number of functions, plot them, and assess where they are differentiable and then finding the derivative at these points by taking limits. Making this material interesting for students is a challenge, but it may be helpful to point out that this is the essence of calculus. If students can fully grasp the equation for a derivative and its geometric basis then the rest will come very easily. In other words, if learning calculus is like climbing a mountain then understanding the derivative is like the sheerest part of the climb. It is difficult but worthwhile to really work on getting the details straight here.

Differentiating the process here could be accomplished by having students divide into more or less equal groups or three. One student in the group will be asked to “teach” the other two exactly what continuity means. One student should be asked to “teach” exactly what a derivative is geometrically and analytically. And the final student should be asked to explain carefully the difference between continuity and differentiability.


Students should be tested on the concept of derivatives by asking questions that lead them towards the coming material. For example, the following are great questions:

  1. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=14\end{align*}
  2. Now generalize this, so that if \begin{align*}f(x)=C\end{align*} for any constant \begin{align*}C\end{align*} then \begin{align*}f'(x)\end{align*} is?
  3. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=x\end{align*}
  4. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=x^2\end{align*}
  5. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=x^3\end{align*}
  6. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=x^4\end{align*}
  7. Can you guess (or calculate) the derivative \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=x^{10}\end{align*}
  8. Can you guess a rule that would generalize this result so that whenever \begin{align*}f(x)=x^n\end{align*}, what is \begin{align*}f'(x)\end{align*}?
  9. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=C g(x)\end{align*} for some constant \begin{align*}C\end{align*} and differentiable function \begin{align*}g(x)\end{align*}.
  10. Use the definition of the derivative to find \begin{align*}f'(x)\end{align*} if \begin{align*}f(x)=g(x)+h(x)\end{align*} for two differentiable functions \begin{align*}g(x)\end{align*} and \begin{align*}h(x)\end{align*}.

Techniques of Differentiation


This material will follow naturally from the material presented earlier if leading questions are asked. It is important to remind students at every available juncture that the function \begin{align*}f(x)\end{align*} gives the height at each \begin{align*}x\end{align*} whereas the function \begin{align*}f'(x)\end{align*} gives something totally different. \begin{align*}f'(x)\end{align*} gives the slope of the line tangent to \begin{align*}f(x)\end{align*} at each value of \begin{align*}x\end{align*}. Sometimes if students are not reminded of this, they can get caught up in the analysis of problems and forget what they are doing geometrically.

The so-called “constant rule” and rule for sums and differences should be intuitive; however, the product rule and quotient should be a little more difficult to remember. For this reason it is particularly important that these rules be practiced thoroughly.

The quotient rule in particular requires significant practice in order to keep it memorized. There are two good ways to remember the quotient rule before it becomes second nature. The first is to use a mnemonic. By repeating the following to yourself:

“Low dee high minus high dee low over what’s below (squared)”

it can be recalled that the derivative of a quotient is the bottom times the derivative of the top minus the top times the derivative of the bottom all divided by the denominator squared. The second way to recall the quotient rule simply reduces it to the more intuitive product rule and the yet to be learned chain rule.


This material is best taught through practice, which can be gained in the form of small timed competitions. Students can be divided into two teams and asked to take everything off their desks except for a pencil and blank paper. Then a problem, like “Find the derivative of \begin{align*}f(x)= \frac{5x^2}{x^3-2}\end{align*}” can be written on the board. The teacher calls on the first hand that is raised, and if the answer is correct then his/her team earns a point. Once students have earned a point for their team, they should be prevented from answering again until the round is over. This will give all of the students an opportunity to participate. Note that rational functions like the one given above or for example \begin{align*}f(x) = \frac{2x^2-1}{x^3+4x-2}\end{align*} involve all of the rules studied thus far.


Students are best tested on this material by evaluating a large amount of derivatives for rational functions. It is best to continue reiterating what is being geometrically by having students plot the function and its derivative above one-another. For example, students can be asked the following question:

1. Suppose \begin{align*}f(x) = \frac{3x^3}{x^2-1}\end{align*}. Find \begin{align*}f'(x)\end{align*}:

a. Answer: \begin{align*}f'(x) = \frac{(x^2-1)9x^2-6x^4}{(x^2-1)^2} = \frac{3x^4-9x^2}{x^4-2x^2+1}\end{align*}

2. Draw a plot of \begin{align*}f(x)\end{align*} and \begin{align*}f'(x)\end{align*} on top of one-another:

a. Answer:

3. Draw in the tangent lines for the plot of \begin{align*}f(x)\end{align*} at the points where \begin{align*}x=2.5, x=1.5, x=0.5\end{align*}, and \begin{align*}x=0\end{align*}

4. Write next to each tangent line its approximate slope and compare these with the derivative’s value directly below these points.

In this way students continue connecting the ideas presented here with the geometric nature of derivatives.

Trigonometric Functions


In order to increase the accessibility of this section, the content should be augmented by adding a discussion of the following key limit:

\begin{align*}\lim_{h \to 0} \frac{\text {Sin}(h)}{h}\end{align*}

This limit gives the indeterminate form \begin{align*}\frac{0}{0}\end{align*} when \begin{align*}h=0\end{align*} is plugged in so we would like to use L’Hopitals rule. However, we don’t know what the derivative of the numerator is yet so we will need to think of something else.

The limit above can be found through some considerable trigonometry and analysis, but instead, we make a simple visual argument by looking at the graphs of \begin{align*}\frac{\mathrm {Sin}(h)}{h}\end{align*} from \begin{align*}x=0\end{align*} to \begin{align*}x=4\end{align*}:

from this plot it should be pretty clear that we will find:

\begin{align*}\lim_{h \to 0} \frac{\text {Sin}(h)}{h} = 1\end{align*}

Using this result, and the fact that \begin{align*}\mathrm {Sin} ^ 2 (x)+ \mathrm {Cos} ^ 2 (x)=1\end{align*} we can similarly see that:

\begin{align*}\lim_{h \to 0} \frac{1 - \text {Cos}(h)}{h} & = \lim_{h \to 0} \frac{(1 - \text {Cos} (h))(1 + \text {Cos}(h))}{h (1 + \text {Cos}(h))} \\ & = \lim_{h \to 0} \frac{(1 - \text {Cos} ^ 2 (h))}{h(1 + \text {Cos}(h))} \\ & = \lim_{h \to 0} \frac{- \text {Sin} ^ 2(h)}{h (1 + \text {Cos}(h))} \\ & = - \left (\lim_{h \to 0} \frac{\text {Sin}(h)}{h} \right ) \left (\lim_{h \to 0} \frac{\text {Sin}(h)}{1 + \text {Cos}(h)} \right ) \\ & = - (1)(0) \\ & = 0\end{align*}

Knowing these two limits is necessary for proving that \begin{align*}\frac{d}{dx} \sin(x) = \cos(x)\end{align*} as well as all the other trigonometric derivatives.


Students will understand the cyclic nature of trigonometric functions and their derivatives with practice. In order to make the practice more interesting it is again recommended that students compete to answer simple questions like, if \begin{align*}f(x)= \mathrm {Cos}(x)\end{align*}, what is \begin{align*}f'''' (x)\end{align*}? Or for example: Show in two ways that \begin{align*}\frac{d}{dx} (\mathrm {Sin} ^ 2 (x)+ \mathrm {Cos}^2 (x) )=0\end{align*}.


Students can be tested on this and past material in a way that predicts the next lesson. For example, the following are good leading questions:

  1. \begin{align*}f(x)=[\mathrm {Sin}(x) ]^1, f'(x)=\end{align*}?
  2. \begin{align*}f(x)=[\mathrm {Sin}(x) ]^2, f'(x)=\end{align*}? (hint: apply the product rule)
  3. \begin{align*}f(x)=[\mathrm {Sin}(x) ]^3, f'(x)=\end{align*}? (hint: apply the product rule twice)
  4. \begin{align*}f(x)=[\mathrm {Sin}(x) ]^{-1}, f'(x)=\end{align*}? (hint: apply the quotient rule)
  5. \begin{align*}f(x)=[\mathrm {Sin}(x) ]^{-2}, f'(x)=\end{align*}? (hint: apply the product rule and the quotient rule)
  6. Can you guess a general rule if \begin{align*}f(x)=[\mathrm {Sin}(x) ]^n\end{align*} for finding \begin{align*}f'(x)\end{align*}?

The Chain Rule


The chain rule is best explained by the description that derivatives of complicated functions are evaluated “outside to inside.” It is a good idea to give a complicated looking function like:

\begin{align*}f(x)=(\text {Sin}(3x^4+2x) )^3\end{align*}

The outermost function is the one raising the inside to the third power, so we begin by ignoring the detail inside the parenthesis and write:

\begin{align*}f'(x)=3(\text {Sin}(3x^4+2x) )^2 \frac{d}{dx} \text {Sin}(3x^4+2x)\end{align*}

This inner derivative again requires the chain rule with the outermost function Sine, so we proceed to break it down:

\begin{align*}f' (x) = 3 (\text {Sin} (3x^4 + 2x))^2 \text {Cos} (3x^4 + 2x) \frac{d}{dx} (3x^4 + 2x)\end{align*}

Now finally we can simply differentiate this final innermost function term by term using the power rule:

\begin{align*}f'(x)=3(\sin(3x^4+2x) )^2 \text {Cos}(3x^4+2x)(12x^3+2)\end{align*}

and we’re done!


Teaching the chain rule requires the ability to motivate students to try lots and lots of problems. For example, you could give each student a simple function which requires the chain rule for differentiating like \begin{align*}f(x)=\text {Sin}(x^2)\end{align*}. Then the student could be asked to plot his/her function and discuss the properties, and then to calculate the derivative \begin{align*}f'(x)\end{align*}, plot this, and discuss the properties of this as well. Ideally the student will match points of the function with its derivative to confirm that the tangent line looks about right for the slope given by the derivative.


To test this material, students should be required to find simple derivatives of composite functions. Again, it is best to continue relating this all back to the basic geometric idea by having students plot the function and the derivative, draw in tangents on the function, and match up points to make sure the slope makes sense.  

Implicit Differentiation


The material here is actually the result of generalizing our conception of the derivative. For example, if we think of the object \begin{align*}\frac{d}{dx}\end{align*} as a kind of operator then this all will make much more sense. If one is given an implicit equation like

\begin{align*}yx + \text {Sin}(y) = \frac{y}{x^2+1}\end{align*}

we can simply think of each side as its own function, the left side we call \begin{align*}L(x,y)\end{align*} and the right side we can call \begin{align*}R(x,y)\end{align*}:

\begin{align*}L(x,y) & = yx + \text {Sin}(y) \\ R(x,y) & = \frac{y}{x^2+1}\end{align*}

These would be a little bit more complicated than we are used to because they are functions of two variables instead of just one. In any case, we know that \begin{align*}L(x,y)=R(x,y)\end{align*} and so of course the derivatives should satisfy: \begin{align*}\frac{d}{dx} L(x,y) = \frac{d}{dx} R(x,y)\end{align*}. Now, to take the derivative of each term we tread carefully:

\begin{align*}\frac{d}{dx} L(x,y) & = x \frac{d}{dx}(y) + y \frac{d}{dx} (x) + \text {Cos}(y) \frac{d}{dx}(y) = x \frac{dy}{dx} + y(1) + \text {Cos}(y) \frac{dy}{dx} \\ \frac{d}{dx} R(x,y) & = \frac{(x^2+1) \frac{d}{dx} (y)-y \frac{d}{dx} (x^2+1)}{(x^2+1)^2} = \frac{(x^2+1) \frac{dy}{dx}-y (2x)}{(x^2+1)^2}\end{align*}

Setting these equal, as prescribed, we obtain that:

\begin{align*}x \frac{dy}{dx} + y + \text {Cos}(y) \frac{dy}{dx} = \frac{(x^2+1) \frac{dy}{dx} - 2xy}{(x^2+1)^2}\end{align*}

which can then be solved for \begin{align*}\frac{dy}{dx}\end{align*} if desired.


One might try to make this material more accessible by relating it to the orbits of planets. For example, draw the following diagram of the “Earth’s Orbit” on the board (note: The actual Earth’s orbit is much closer to a circle than this ellipse):

Then the question could be: If the Sun were to suddenly disappear, what would happen? This will pique the students’ interest and get them thinking a little bit. The idea is that gravity would go away so the earth would no longer be in its orbit. It would instead travel on a straight line tangent to the orbit at the point where it was when the Sun disappeared.

Once students have arrived at the idea that the Earth would fly off along a tangent line, the question should be: What is the equation for the tangent line to an ellipse? Well, the slope of the tangent is \begin{align*}\frac{dy}{dx}\end{align*} for the equation of the ellipse \begin{align*}\frac{x^2}{16} + \frac{y^2}{9} = 1\end{align*} and in order to find this, students should use implicit differentiation. Alternatively, the ellipse can be described as the solution set to the two equations \begin{align*}y = 3\sqrt{\frac{1 -x^2}{16}}\end{align*} and \begin{align*}y = -3 \sqrt{\frac{1 - x^2}{16}}\end{align*} however an implicit equation is much more elegant. In any event, this description can be used by the students to check their work.

Another fun question might be along the lines of this: Suppose you are riding in a car on the highway with the moon roof open. You put your hand up to feel the air and all of sudden your class ring goes flying off. If you were going around a curve at the time it flew off, which direction would the ring fly? The answer, again, is along the tangent to the curve of your path. And in order to calculate this you should use implicit differentiation.


The most straightforward way to test implicit differentiation is by having students find \begin{align*}\frac{dy}{dx}\end{align*} for a variety of different implicit functions. In order to keep everything well connected, students should ideally be asked to plot the implicit functions on an \begin{align*}x-y\end{align*} grid and find the tangent lines at certain points \begin{align*}(x,y)\end{align*} using their determined function for \begin{align*}\frac{dy}{dx}\end{align*}. This will keep everything nicely connected and prevent students from losing the overall picture of what is going on here.  

Linearization and Newton’s Method


In the text we see that “the tangent line…is a good approximation to the curve” near \begin{align*}x_0\end{align*}. One logical point of interest is that any other function with the same tangent line is also approximated well by the same line near \begin{align*}x_0\end{align*}. But what this means is that \begin{align*}f(x)\end{align*} is actually approximated well near \begin{align*}x_0\end{align*} by any function that shares its tangent there. That means that any function passing through \begin{align*}x_0\end{align*} and “traveling in the same direction” as \begin{align*}f(x)\end{align*} will approximate \begin{align*}f\end{align*} well near \begin{align*}x_0\end{align*}. A priori there is no reason that we should choose one of these functions instead of another, however the idea of choosing the linear one is that it is simple. A linearization simply means that we are choosing the “simplest” function from among all the functions that pass through \begin{align*}x_0\end{align*} in the same direction as \begin{align*}f(x)\end{align*}.

Newton’s Method is a process for finding where a function becomes zero, by linearizing the function at a point \begin{align*}x_0\end{align*} and then solving this linear function for its zero. Then we move to that value which we call \begin{align*}x_1\end{align*}, and repeat the process to find an \begin{align*}x_2\end{align*} and so on. The success or failure of this process depends delicately on the shape of the function at the initial point \begin{align*}x_0\end{align*} as well as between \begin{align*}x_0\end{align*} and the zero value. For example, if the derivative of the function at any point \begin{align*}x_n\end{align*} is ever zero then the linearization there will be horizontal and will not have any zeroes.


The most objective and accessible way to teach linearization is graphically. For example, students could be split into groups of three that are each given a function and a value for \begin{align*}x_0\end{align*}. For example, one group could be given \begin{align*}f(x)= \mathrm {Sin}(x)\end{align*} and \begin{align*}x_0 = \pi\end{align*}, and another could be given \begin{align*}f(x)=\sqrt{x}\end{align*} and \begin{align*}x_0 = 9\end{align*}. Then the groups should designate tasks to each member: One member will be the artist, one will be the derivator, and one will be the calculator.

The calculator will begin by making a table with a series of points near \begin{align*}x_0\end{align*} and the function’s values there, like the example below:

\begin{align*}& x && f(x) = \sqrt{x} && L(x)=f(x_0 )+f'(x_0 )(x-x_0 )=3+ \frac{1}{6}(x-3) \\ & 8.7 && 2.95 && 2.94958 \\ & 8.8 && 2.96667 && 2.96648 \\ & 8.9 && 2.98333 && 2.98329 \\ & 9 && 3 && 3 \\ & 9.1 && 3.01667 && 3.01662 \\ & 9.2 && 3.03333 && 3.03315 \\ & 9.3 && 3.05 && 3.04959\end{align*}

Then the artist will work with this table to draw a careful graph of the function on graph paper near the point \begin{align*}x_0\end{align*} while the mathematician determines the equation for the linearization of the group’s function near the point \begin{align*}x_0\end{align*}. The calculator will calculate and fill in the column of the table for the same \begin{align*}x-\end{align*}values using the linearization, and the artist will draw in a plot of the linearization (the tangent line). Enough points should be used with enough spacing to be able to see the linearization deviate from the function. This may require a very fine scale, a large spacing, or a great many points. This will be the task of the group as a whole to figure out what window to use and how many points to include.

Newton’s Method can be taught by using it to find zeroes of certain functions. In fact, Newton’s Method can be used to find information like \begin{align*}\sqrt{4.2}\end{align*}. To find this, we simply search for zeroes of the function \begin{align*}f(x)=x^2-4.2\end{align*} beginning at, say, \begin{align*}x_0=2\end{align*}.


Students should demonstrate their understanding of this material by finding the equation for the tangent line of a function and examining how well this approximates the function. This can be done both numerically and graphically, and students should use both techniques.

Newton’s method can be tested by having students search for zeroes of functions beginning with a variety of points. If the students are particularly computer inclined, it is a fun project to have them write a code to carry out Newton’s method. The code would take as an input \begin{align*}f(x),f'(x)\end{align*},and \begin{align*}x_0\end{align*} and would loop whenever \begin{align*}f'(x) \neq 0\end{align*} to set \begin{align*}x = x - \frac{f(x)}{f'(x)}\end{align*}. At a more basic level, students could simply require the program to loop some predetermined large number of times M. At a more advanced level students could have the program loop until \begin{align*}|f(x)| \le \in\end{align*} for some predetermined small number \begin{align*}\in\end{align*}.

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Show More

Image Attributions

Show Hide Details
Save or share your relevant files like activites, homework and worksheet.
To add resources, you must be the owner of the section. Click Customize to make your own copy.
Please wait...
Please wait...
Image Detail
Sizes: Medium | Original