Basic Rules of Differentiation#

The Rules#

Formulas of Differentiation

Derivative of a Constantddxc=0   for any constant cDerivative of a Power Functionddxxn=nxn1   for any constant n

The Derivative of a Sum, Difference, Product and Quotient

The following is a list of rules of differentiation that can be applied to the sum, difference, product, and quotient of f and g, assuming that both f and g are differentiable.

Constant Multiple Ruleddx[cf(x)]=cf(x)   for any constant cSum/Difference Ruleddx[f(x)±g(x)]=f(x)±g(x)Product Ruleddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)Quotient Ruleddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2

The Derivative of a Composition of Functions

The Chain Rule is a rule of differentiation that can be applied to the composition gf, assuming both f and g are differentiable. The General Power Rule is a specific case of the Chain Rule, where g(x)=xn.

Chain Ruleddx[g(f(x))]=g(f(x))f(x)General Power Ruleddx[f(x)]n=n[f(x)]n1f(x)   for any constant n

Example 1#

Sum and Constant Multiple Rule

Compute the derivative of f(x)=5x24x+2+3x4 using the basic rules of differentiation.

Step 1:   Remember the sum rule.

Since f(x) is the sum of functions, remember the sum rule for derivatives.

ddx[f(x)±g(x)]=ddx[f(x)]±ddx[g(x)]
Step 2:   Apply the sum rule.
f(x)=ddx(5x24x+2+3x4)=ddx(5x2)ddx(4x1)+ddx(2)+ddx(3x4)
Step 3:   Remember the constant multiple rule.

Since several terms of f(x) are a constant times a function, remember the constant multiple rule for derivatives.

ddx[cf(x)]=cddx[f(x)]
Step 4:   Apply the constant multiple rule.
f(x)=5ddx(x2)4ddx(x1)+ddx(2)+3ddx(x4)
Step 5:   Compute the derivative of each term.

Remember x0=1.

f(x)=5ddx(x2)4ddx(x1)+0+3ddx(x4)ddx(c)=0 for any constant c=52x2141x11+3(4)x41power rule, ddxxn=nxn1=10x14x012x5simplify

Therefore,

f(x)=10x412x5

Example 2#

Product Rule

Compute the derivative of h(x)=(3x2+1)(x2+x+1) using the basic rules of differentiation.

Step 1:   Remember the product rule.

Since h(x) is the product of two functions, remember the product rule for derivatives.

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)
Step 2:   Identify the two functions being multiplied.
f(x)=3x2+1    and    g(x)=x2+x+1
Step 3:   Compute the derivative of each function.
f(x)=ddx(3x2+1)=ddx(3x2)+ddx(1)sum rule=32x+0power Rule & ddx(c)=0=6xg(x)=ddx(x2+x+1)=ddx(x2)+ddx(x)+ddx(1)sum rule=2x+1+0power rule & ddx(c)=0=2x+1
Step 4:   Compute   h(x).
h(x)=f(x)g(x)+f(x)g(x)product rule=(6x)(x2+x+1)+(3x2+1)(2x+1)using Steps 2 & 3=6x3+6x2+6x+6x3+3x2+2x+1expand=12x3+9x2+8x+1combine like terms

Example 3#

Quotient Rule

Compute the derivative of h(x)=x37x+10x2+4 using the basic rules of differentiation and then evaluate h(2).

Step 1:   Remember the quotient rule.

Since h(x) is the quotient of two functions, remember the quotient rule for derivatives.

ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2
Step 2:   Apply the quotient rule to the given function.
h(x)=[ddx(x37x+10)](x2+4)(x37x+10)[ddx(x2+4)](x2+4)2=(3x27)(x2+4)(x37x+10)(2x)(x2+4)2
Step 3:   Simplify.
h(x)=(3x4+5x228)(2x414x2+20x)(x2+4)2expand numerator=x4+19x220x28(x2+4)2combine like terms
Step 4:   Evaluate h(2).
h(2)=24+192220228(22+4)2=16+19420228(4+4)2=16+76402882=2464=38

Good to know

Keep in mind that if the only goal is to compute h(2), then Step 3 can be skipped and x=2 can be plugged in immediately after computing the derivative in Step 2. This will reduce the number of computations and help avoid some possible algebraic mistakes while simplifying.

Example 4#

General Power Rule

Compute the derivative of h(x)=3x24x+2 using the basic rules of differentiation.

Step 1:   Remember the general power rule.

Since h(x) can be rewritten as (3x24x+2)1/2, remember the general power rule.

ddx[f(x)]n=n[f(x)]n1f(x)
Step 2:   Apply the rule and simplify.

Apply the general power rule with n=1/2 and f(x)=3x24x+2 and then simplify.

h(x)=ddx(3x24x+2)1/2=12(3x24x+2)1/21ddx(3x24x+2)general power rule=12(3x24x+2)1/2(32x214x11+0)=12(3x24x+2)1/2(6x4)=2(3x2)2(3x24+2)1/2simplify=3x23x24+2

Example 5#

Product and General Power Rule

Compute the derivative of h(x)=(4x+1)3(2x5)4 using the basic rules of differentiation.

Step 1:   Remember the product rule.

Since h(x) is the product of two functions, remember the product rule for derivatives.

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)
Step 2:   Apply the product rule.

Apply the product rule with f(x)=(4x+1)3 and g(x)=(2x5)4.

h(x)=[ddx(4x+1)3](2x5)4+(4x+1)3[ddx(2x5)4]=[3(4x+1)24](2x5)4+(4x+1)3[4(2x5)32]

Notice how the general power rule was used to compute the derivative of both (4x+1)3 and (2x5)4.

Step 3:   Pull out common factors.
h(x)=4(4x+1)2(2x5)3[3(2x5)+2(4x+1)]
Step 4:   Simplify.
h(x)=4(4x+1)2(2x5)3[6x15+8x+2]=4(4x+1)2(2x5)3(14x13)

Example 6#

Quotient and General Power Rule

Compute the derivative of h(x)=x5(4x7)3 using the basic rules of differentiation.

Step 1:   Remember the quotient rule.

Since h(x) is the quotient of two functions, remember the quotient rule for derivatives.

ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2
Step 2:   Apply the quotient rule.

Apply the quotient rule with f(x)=x5 and g(x)=(4x7)3.

h(x)=[ddxx5](4x7)3x5[ddx(4x7)3][(4x7)3]2=[5x4](4x7)3x5[3(4x7)24][(4x7)3]2power rule & general power rule=5x4(4x7)312x5(4x7)2(4x7)6simplify
Step 3:   Pull out common factors from the numerator.
h(x)=x4(4x7)2[5(4x7)12x](4x7)6
Step 4:   Simplify.
h(x)=x4(4x7)2[20x3512x](4x7)64=x4(8x35)(4x7)4

An Applied Example#

Example 7#

Rate of Change of Unit Price

Penn State Learning has a weekly demand function for their calculators which is given by

p=d(x)=3002x2

where p is measured in dollars and x is measured in thousands of calculators. What is the instantaneous rate of change of the unit price when the quantity demanded is 5000 calculators?

Step 1:   Determine   x.

Notice that x=5 because units are in thousands of calculators demanded.

Step 2:   Compute the derivative.

In order to compute the instantaneous rate of change, we need to compute the derivative, d(x).

d(x)=ddx(3002x2)=ddx300ddx2x2difference rule=02ddxx2ddxc=0 & constant multiple rule=22xpower rule=4x
Step 3:   Plug in   x=5.

Lastly, substitute x=5 into d(x).

d(5)=45=20

Therefore, the instantaneous rate of change of the unit price is 20 dollars per thousand calculators when the quantity demanded is 5000 calculators. This means that the unit price would decrease by approximately 20 dollars if the demand increased from 5000 to 6000 calculators.

Using the Derivative to Compute Limits#

Example 8#

Evaluate a Limit using a Derivative

Use the limit definition of the derivative to evaluate

limh0(x+h)25(x+h)(x25x)h.
Step 1:   Recall the limit definition of the derivative.

Begin with the limit definition of the derivative.

f(x)=limh0f(x+h)f(x)h
Step 2:   Identify   f(x).

Identify the f(x) in the limit definition of f(x) for our problem. If we focus on the f(x) that is being subtracted in the numerator of the limit definition of f(x), this appears to coincide with the (x25x) that is being subtracted in the numerator of our limit. So we hypothesize that

f(x)=x25x.
Step 3:   Verify choice of   f(x).

Verify that the given limit is equal to the limit definition of the derivative of f(x)=x25x.

If f(x)=x25x then f(x+h)=(x+h)25(x+h) and therefore

limh0(x+h)25(x+h)(x25x)h=limh0f(x+h)f(x)h=f(x)

Since the given limit is equal to the derivative of x25x, we can evaluate the limit by computing the derivative of x25x instead of algebraically simplifying it.

Step 4:   Evaluate the limit by computing the derivative.

Evaluate the given limit by computing the derivative of f(x)=x25x using the basic rules of differentiation.

limh0(x+h)25(x+h)(x25x)h=ddx(x25x)=ddxx2ddx5xdifference rule=2x5

Example 9#

Evaluate a Limit using a Derivative

Use the limit definition of the derivative to evaluate

limh0(2+h)38h.
Step 1:   Recall the limit definition of the derivative.
f(x)=limh0f(x+h)f(x)h
Step 2:   Identify   f(x).

Identity the f(x) in the limit definition of f(x) for our problem. If we focus on the f(x+h) in the numerator of the limit definition of f(x), this appears to coincide with the (2+h)3 in the numerator of our limit. So we hypothesize that

f(x)=x3     and     x=2.
Step 3:   Verify choice of   f(x).

Verify that the given limit is equal to the limit definition of the derivative of the function f(x)=x3 at x=2.

If f(x)=x3 then f(2+h)=(2+h)3 and f(2)=23=8. Therefore

limh0(2+h)38h=limh0f(2+h)f(2)h=f(2)

Since the given limit is equal to the derivative of x3 at x=2, we can evaluate the limit by computing the derivative of x3 instead of algebraically simplifying it.

Step 4:   Evaluate the limit by computing the derivative.

Evaluate the given limit by computing the derivative of f(x)=x3 and then plugging in x=2.

limh0(2+h)38h=f(2)=322since f(x)=3x2=12