]> Differentiation

Differentiation

4.1 The Derivative and the Tangent Line Problem

We've already looked at the Tangent Line problem (Chapter 3), so now it's time to finish what was begun—to use limits to squash that secant line into a tangent line!

A brief recap first: the slope of a curve can make sense, but it changes from point to point—so we must talk about the tangent at a point; from a point, we can choose another point, and form a secant line through these two points; the issue is, what happens to the equation of the secant line as the second point approaches the first point?

Let's find out!

The Tangent Line Problem

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= x3 ).

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)= 5 x + 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 Δx0 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 Δx0 g(x+Δx) g(x) Δx  =  lim Δx0 [ (x+Δx) 2 + 1 ] [ x2 + 1 ] Δx  =  lim Δx0 [ x2 + 2 x · Δ x + ( Δ x ) 2 ] [ x2 + 1 ] Δx  =  lim Δx0 2 x · Δ x + ( Δ x ) 2 Δx  =  lim Δx0 ( 2 x + Δx ) = 2 x g(x) = 2x, so  g(3) = 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 ) .

4.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 Δx0 f(x+Δx) f(x) Δx  =  lim Δx0 c c Δx  =  lim Δx0 ( 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· xn1 .

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) ] .

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 3 .

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

 

[5] Find  d dx [ 5 x4 ] .

4 · 5 x3 = 20 x3 .

 

[6] Find p ( x )  if  p(x) = 4 x2 + 2 x 5 .

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

4.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

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 ] = d2y dx2

This can continue for quite some time…

Third Derivative:  f (x) = d dx [ d2y dx2 ] = d3y dx3

The nth Derivative:  f(n) (x) = dny dxn

Examples

[7] Find  d dx [ xx ] .

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

 

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

j(x) = (x2+1) ( ddx [2x] ) ( ddx [ x2+1 ] ) (2x) (x2+1) 2 = (x2+1) (2) (2x) (2x) x4 + 2 x2 + 1 = 2 x2 + 2 4 x2 x4 + 2 x2 + 1 = 2 2 x2 x4 + 2 x2 + 1 .

 

[9] Find  d4y dy4  if  y = 3x5 + 7x3 12x + 15 .

ddx [ 3x5 + 7x3 12x + 15 ] = 15x4 + 21x2 12 ; d2y dy2 = ddx [ 15x4 + 21x2 12 ] = 60x3 + 42x ; d3y dy3 = ddx [ 60x3 + 42x ] = 180x2 + 42 ; d4y dy4 = ddx [ 180x2 + 42 ] = 360 x .

 

4.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:

ddx [ 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:

ddx [ f(x) ] n = n · [ f(x) ] n 1 · f(x)

Simplifying Derivatives

Just do it!

Examples

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

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

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

 

4.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² + 2xy + y² = 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  2x dx dx , and the derivative of y² is  2y dy dx . Also, the derivative of 2xy must be handled with the product rule!

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

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

Now we need to solve for  dy dx —group and factor!  2x dy dx + 2y dy dx = -2x 2y dy dx [ 2x + 2y ] = -2x 2y ; dy dx = -2x 2y 2x + 2y = -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 2x³ - 3y² = 7.

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


Valid MathML 2.0! Valid CSS Level 2!

Page last validated 2010-08-15