]> IB HL 2 - Chapter 02

Differentiation

2.1: The Derivative and the Tangent Line Problem

The Tangent Line Problem

We know all about lines—most importantly, we know all about the slope of a line. But why should the idea of slope be restricted to lines? Can't we say the graph below is steep…

An Image

…while the next graph is rather shallow?

An Image

The first graph was steep; it had a large (far from zero) slope. The second graph was shallow; it had a small (close to zero) slope.

The problem should be fairly evident—how do you describe the slope of this graph?

An Image

In some places, it is steep—but in others, it's shallow!

For lines, slope is constant—it doesn't matter where you measure; you'll get the same slope.

For curves, the slope changes as you look at different points along the curve. There's the rub: our formula for slope uses any two points—we can't do that for curves.

We can approximate the slope of the curve (at a particular value of x) with a secant line. Observe: (the curve is blue; the secant line is red)

An Image

First, the two points are (fairly) far apart—the red line (the secant line) doesn't show the slope of the curve. However, as the points get closer together…

An Image

The secant line looks more and more like a tangent line, which shows the slope of the curve. The trick is to use limits to determine what happens to the secant lines as those points get closer together.

 

Let's define a few things: let f(x) be the curve in question, and let (x, y) be the point at which we want to find the equation of the tangent line. Note that we could (and should) label this point as (x, f(x)).

There are a number of ways to define the second point (that defines the secant line)—let's choose a method that avoids subscripts. In particular, let the second point be Δx units away from the first point. Thus, the second point is at (x + Δx, f(x + Δx)).

Now to the equation of the secant line—perhaps we should first find the slope?

slope= change in ychange in x= f(x+Δx) f(x) (x+Δx) x = f(x+Δx) f(x) Δx

So here's the real problem: what happens to that slope as the second point gets closer to the first? What happens to this equation when Δx gets close to zero?

We've already tackled that—we should use limits!

slope = lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x

Of course, this is as far as we can go without actually knowing what f(x) is…

The Derivative

…but that's far enough! That equation gives us the first derivative of f(x).

f (x) = lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x

If this limit exists, then we can find the equation of the slope of the curve at any point—this can then be applied at the point in question to find a particular slope (and, ultimately, a particular equation of a tangent line).

There's one catch: the limit must exist…of course, we know that the limit exists if the left- and right-hand limits exist. So: f ′(x) exists if lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x = lim Δ x 0+ f ( x + Δ x ) f ( x ) Δ x . This will be true at all values of x within the domain of polynomial and rational functions. It will not be true where the function has a sharp turn (a cusp; e.g., y = |x|), or a vertical tangent (e.g., y = x 3 ).

Differentiability and Continuity

Differentiable functions are necessarily continuous. Continuous functions need not be differentiable.

Notation

There are several notations for the first derivative of the function h(x): h′(x), dy dx , d dx [ h ( x ) ]

Examples

[1.] Find the slope of f ( x )= 5x + 7 at the point (2, 17).

OK, I know—it's a line! We don't need to take the derivative! But let's do it anyway.

lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x = lim Δ x 0 [ 5 ( x + Δ x ) + 7 ] [ 5 x + 7 ] Δ x = lim Δ x 0 [ 5 x + 5 Δ x + 7 ] [ 5 x + 7 ] Δ x = lim Δ x 0 5 Δ x Δ x = lim Δ x 0 ( 5 ) = 5 . f′(x) = 5. Thus, the slope does not depend on the point—the slope if 5 at every point on this equation (duh!).

 

[2.] Find the slope of g ( x) =x2+1 at the point (3, 10).

lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x = lim Δ x 0 [ ( x + Δ x ) 2 + 1 ] [ x 2 + 1 ] Δ x = lim Δ x 0 [ x 2 + 2 · x · Δ x + ( Δ x ) 2 + 1 ] [ x 2 + 1 ] Δ x = lim Δ x 0 2 · x · Δ x + ( Δ x ) 2 Δ x = lim Δ x 0 ( 2 x + Δ x ) = 2 x . g(x) =2x, so g =2(3)=6 . The slope of g(x) at the point (3, 10) is 6—thus, the equation of the tangent line is y 10= 6( x 3 ) .

2.2: Basic Differentiation Rules and Rates of Change

Rules

The Constant Rule

If f(x) is a constant function, then f(x) = c (where c is some real number). Let's look at the derivative in this case…

f ( x ) = lim Δ x 0 f ( x + Δ x ) f ( x ) Δ x = lim Δ x 0 c c Δ x = lim Δ x 0 ( 0 ) = 0

So for any constant function, f ′(x) = 0.

The Power Rule

Now let f(x) be a simple power function— f ( x )= xn, where n is a rational number. Through careful use of the Binomial Expansion of Polynomials, you can prove that f ( x )= n·x n1 .

The Constant Multiple Rule

Factoring allows us to show that d dx [ c · f ( x ) ] = c · d dx [ f ( x ) ] .

The Sum and Difference Rules

Grouping (the associative property) allows us to show that d dx [ f ( x ) + g ( x ) ] = d dx [ f ( x ) ] + d dx [ g ( x ) ] and d dx [ f ( x ) g ( x ) ] = d dx [ f ( x ) ] d dx [ g ( x ) ] .

Trigonometric Functions

Functions other than polynomials require more work (tricks?) to use the definition of the derivative—for example, sine and cosine. Note the work on page 107 of the text—I'll not repeat it here.

Know that d dx [ sinx ] = cosx and d dx [ cosx ] = sinx .

Rates of Change

The slope determines the amount of change in y for a unit change in x—thus, the slope is the rate of change for y.

So what, you say? Well, if the function determines the position of an object (y) for a given time (x), then the slope (the first derivative) is the change in position per unit change in time. Wait, that sounds familiar…change in position per change in time…that's velocity! And the change in velocity per change in time is acceleration!

Examples

[3.] Find n′(x) if n(x) = 7.

Easy! The derivative of a constant function is zero. n′(x) = 0.

 

[4.] Find dy dx if y = x³.

dy dx = d dx [ x 3 ] = 3 x 2 .

 

[5.] Find d dx [ 5 x 4 ] .

4 · 5 x 3 = 20 x 3 .

 

[6.] Find p′(x) if p(x) = 4x² + 2x - 5.

d dx [ 4 x 2 + 2 x 5 ] = d dx [ 4 x 2 ] + d dx [ 2 x ] d dx [ 5 ] = 8 x + 2 0 .

2.3: The Product and Quotient Rules and Higher-Order Derivatives

The Product Rule

d dx [ f ( x ) · g ( x ) ] = f ( x ) · g ( x ) + f ( x ) · g ( x )

The Quotient Rule

d dx [ f ( x ) g ( x ) ] = f ( x ) · g ( x ) f ( x ) · g ( x ) [ g ( x ) ] 2

A result of the quotient rule is that we can now obtain derivatives of the other trigonometric functions:

d dx [ tanx ] = sec 2 x

d dx [ cotx ] = csc 2 x

d dx [ secx ] = secx · tanx

d dx [ cscx ] = cscx · cotx

Higher-Order Derivatives

The derivative of a function is another function. Naturally, you can take the derivative of that function, which results in the second derivative!

Second Derivative: f ( x ) = d dx [ dy dx ] = d 2 y dx 2

This can continue for quite some time…

Third Derivative: f ( x ) = d dx [ d 2 y dx 2 ] = d 3 y dx 3

The n th Derivative: f ( n ) ( x ) = d n y dx n

Examples

[7.] Find d dx [ x x ]

d dx [ x x ] = d dx [ x ] · x + x · d dx [ x ] = ( 1 ) x + x ( 1 2 x 1 2 ) = x + x 2 x x

 

[8.] Find j′(x) if j ( x ) = 2 x x 2 + 1

j ( x ) = ( x 2 + 1 ) ( d dx [ 2 x ] ) ( d dx [ x 2 + 1 ] ) ( 2 x ) ( x 2 + 1 ) 2 = ( x 2 + 1 ) ( 2 ) ( 2 x ) ( 2 x ) x 4 + 2 x 2 + 1 = 2 x 2 + 2 4 x 2 x 4 + 2 x 2 + 1 = 2 2 x 2 x 4 + 2 x 2 + 1

 

[9.] Find d 4 y dx 4 if y = 3 x 5 + 7 x 3 12 x + 15 .

d dx [ 3 x 5 + 7 x 3 12 x + 15 ] = 15 x 4 + 21 x 2 12

d 2 y dx 2 = d dx [ 15 x 4 + 21 x 2 12 ] = 60 x 3 + 42 x

d 3 y dx 3 = d dx [ 60 x 3 + 42 x ] = 180 x 2 + 42

d 4 y dx 4 = d dx [ 180 x 2 + 42 ] = 360 x

 

2.4: The Chain Rule

The Chain Rule

We've looked at lots of ways to combine functions—sums, differences, products, quotients…that leaves only one other way!

Compositions! Enter the Chain Rule:

d dx [ f ( g ( x ) ) ] = f ( g ( x ) ) · g ( x )

The General Power Rule

If you combine the Power Rule and the Chain Rule, you get the General Power Rule:

d dx [ f ( x ) ] n = n · [ f ( x ) ] n 1 · f ( x )

Simplifying Derivatives

Just do it!

Examples

[10.] Find the first derivative of v ( x ) = 3 x 2 + 9 x 5

We can decompose v ( x ) into f ( x ) = x and g ( x ) = 3 x 2 + 9 x 5 , so that v ( x ) = f ( g ( x ) ) .

Then v ( x ) = f ( g ( x ) ) · g ( x ) = 1 2 [ g ( x ) ] 1 2 · ( 6 x + 9 ) = 1 2 ( 3 x 2 + 9 x 5 ) 1 2 ( 6 x + 9 ) = 6 x + 9 2 3 x 2 + 9 x 5

 

2.5: Implicit Differentiation

Explicit Equations

Almost all of the equations that you've looked at have been in explicit form—in other words, the function has been solved for one variable (typically y, which is what makes it a function). Taking derivatives of explicit functions has been covered quite thoroughly, I think…

Implicit Equations

An implicit equation is one that has not been solved for a variable—perhaps because it is difficult to do so; perhaps because it is impossible. Maybe the equation is a function; maybe it's only a relation.

The equation xy = 1 is in explicit form, and can be easily solved for y (it is a function). x 2 + 2 x y + y 2 = 1 is in implicit form, and cannot easily be switched to explicit since it does not represent a function.

Implicit Differentiation

Naturally, you can find the slope of any curve—function or not. When the equation is in implicit form, you must use implicit differentiation. There are two tricks to doing this: [1] remembering the chain rule, and [2] factoring/solving for dy dx . Perhaps some examples would be the best way to show you how to do this…

Examples

[11.] Let's find dy dx for the equation x² + 2xy + y² = 1.

TIP: think of x and y as functions! Thus, the derivative of x² is 2 x dx dx , and the derivative of y² is 2 y dy dx . Also, the derivative of 2 x y must be handled with the product rule!

2 x dx dx + 2 [ x dy dx + dx dx y ] + 2 y dy dx = 0 ; or, since dx dx is just 1, 2 x + 2 [ x dy dx + y ] + 2 y dy dx = 0

Simplify. 2 x + 2 x dy dx + 2 y + 2 y dy dx = 0 .

Now we need to solve for dy dx —group and factor! 2 x dy dx + 2 y dy dx = 2 x 2 y ; dy dx [ 2 x + 2 y ] = 2 x 2 y ; dy dx = 2 x 2 y 2 x + 2 y = 2 ( x + y ) 2 ( x + y ) = 1 .

Since the derivative is a constant, this should tell you that this implicit equation is a line!

An Image

 

[12.] Find dy dx for 2 x 3 3 y 2 = 7 .

6 x dx dx 6 y dy dx = 0 ; 6 x 6 y dy dx = 0 ; 6 x = 6 y dy dx ; dy dx = 6 x 6 y = x y .

2.6: Related Rates

We know all about relating two variables in equations—what we haven't done is investigate how the rate of change of one variable is related to the rate of change of another variable (or several other variables), with respect to a another variable (time).

Did I mention that we're talking about word problems—applications of calculus?

The Technique

You're going to need to write an equation that relates the two variables. Then, take the implicit derivative with respect to t (time). Now you should be able to plug in the given values and solve for the requested item.

Perhaps this should be illustrated with some examples…

Examples

[13.] A rock is dropped into a pond, which causes a circular ripple. The ripple moves away from the center (where the rock was dropped) at 1m/s. How fast is the area of the circle changing when the radius is 3m?

Let's inventory what was given in the problem.

The ripple moves away from the center at 1m/s: this is the rate of change of the radius; dr dt .

How fast is the area of the circle changing…: this is asking for the rate of change in the area; dA dt .

… when the radius is 3m: r = 3.

So, the variables are radius, area, and time. We need to write an equation that relates the area and the radius. Any ideas?

Of course! A = π r 2 . Now that we've got an equation, we need to differentiate with respect to t.

dA dt = 2 π r dr dt .

Now, we're trying to solve for dA dt : that means we need to plug in value for everything else—r and dr dt .

Joy! They were given as dr dt = 1 and r = 3!

dA dt = 2 π ( 3 ) ( 1 ) = 6 π .

When the radius is 3m, the area is changing at 6πm²/s.

 

[14.] Gravel is being poured out of a container onto the ground at a rate of 2yd³/min. The gravel forms a cone as it lands, where the height of the cone is about half of the diameter. How fast is the height of the cone rising when the diameter of the pile is 3yd?

dV dt = 2 , r = 1.5, h = ½d = r, and we're asked about dh dt . We need an equation that relates V, r and h

V = 1 3 π r 2 h , so dV dt = π 3 [ 2 r dr dt h + r 2 dh dt ] . Plug in! 2 = π 3 [ 2 ( 1.5 ) dr dt h + ( 1.5 ) 2 dh dt ] .

Oops—what are we going to do about dr dt and h? Well, h = r, so h = 1.5. What about dr dt ? Well, if h = r, then dh dt = dr dt ! So we get 2 = π 3 [ 2 ( 1.5 ) dh dt ( 1.5 ) + ( 1.5 ) 2 dh dt ] . Now we just need to solve for dh dt

Factor! 2 = π 3 [ 2 ( 1.5 ) ( 1.5 ) + ( 1.5 ) 2 ] dh dt means 6 π [ 2 ( 1.5 ) ( 1.5 ) + ( 1.5 ) 2 ] = dh dt , 6 π [ 2 ( 1.5 ) 2 + ( 1.5 ) 2 ] = dh dt , 6 3 π ( 1.5 ) 2 = dh dt , 2 π ( 1.5 ) 2 = dh dt . That gives an approximate rate of change of 0.2829yd/min.

 

[15.] Stranded on Tatooine, R2-D2 and C-3PO have decided to split up in the desert. R2-D2 moves due north at 7km/hr, and C-3PO moves due east at 5km/hr. How fast is the distance between them increasing after 2 hours?

Let's let n = distance north (of R2-D2), e = distance east (of C-3PO), and D = distance between the two. So we're given dn dt = 7 , de dt = 5 , and t = 2.

The only equation we can write that relates these is n 2 + e 2 = D 2 . Of course, that means 2 n dn dt + 2 e de dt = 2 D dD dt . What are we going to plug in for n, e and D? How will we use the value t = 2?

Of course! At t = 2, n = 14, e = 10, and D = 14 2 + 10 2 = 196 + 100 = 296 .

2 ( 14 ) ( 7 ) + 2 ( 10 ) ( 5 ) = 2 296 dD dt , so dD dt = 296 2 296 = 148 296 , or approximately 8.602km/hr.


Valid MathML 2.0! Valid CSS Level 2!

Page last validated 2010-08-15