Kim’s Math NotesCourse index

Selecting Procedures for Calculating Derivatives

How can I choose among the product, quotient, and chain rules?

Choose the first rule from the last operation, rewrite when it is shorter, and go inside one rule at a time.

The inside's derivative

Common mistake k(x)=(x2+1)5: k′(x)=5(x2+1)4, so k′(1)=80.

Correction Times the inside's derivative 2x: k′(x)=5(x2+1)4⋅2x, k′(1)=160.

Problem 1

Example one. f of x is three over x, plus three to the x, plus e cubed. Find f prime of one. Three terms, just added, so we go term by term. For each one, ask where the x is.

Three over x has a plain number on top, so rewrite it as three x to the negative one.

Watch this part of the concept lesson

Read the rest of this scene

The x is in the base. The power rule gives negative three x to the negative two. Three to the x. Now x is up in the exponent, so it's not the power rule: three to the x times the natural log of three. e cubed looks like a power, but there's no x at all.

It's just a number, about twenty, so its derivative is zero, not three e squared. So f prime of x is negative three x to the negative two, plus three to the x natural log three. At one: negative three plus three natural log three. Ask where the x is in each workbook problem.

Problem 2

Example two, multiple choice. g of x is x squared, times the natural log of x squared plus one. Find g prime of one. Plug in x equals one in your head. Square, add one, take the log on one side, square on the other.

The last button is times. The last operation picks the first rule. So the product rule goes first. Get the inside piece ready.

Watch this part of the concept lesson

Read the rest of this scene

The derivative of the natural log of x squared plus one is two x over x squared plus one. By the product rule, we get two x times the log, plus x squared times two x over x squared plus one. At one, x squared plus one is two. Two natural log two, plus two over two, which is two natural log two plus one. That's D. Find the last operation first in each workbook product.

Problem 3

Example three. h of x is two x plus one, all over x squared plus one. Find h prime of one. It's a fraction. Can we rewrite it? The bottom is a sum, so we can't split it.

So it's the quotient rule.

Watch this part of the concept lesson

Read the rest of this scene

Bottom times the top's derivative, minus top times the bottom's derivative, over the bottom squared. No need to expand. Plug in one: two times two is four, minus three times two is six, over four. That's negative one half. Check for a rewrite before any quotient rule in the workbook.

Problem 4

Example four. k of x is x squared plus one, to the fifth. Find k prime of one. Plug in one: square, add one, and the last step is the fifth power. So it's the chain rule. Outside first: five times x squared plus one to the fourth, times the inside's derivative, two x.

At one: five times two to the fourth times two, which is one hundred sixty.

Watch this part of the concept lesson

Read the rest of this scene

Finish every chain with its inside's derivative in the workbook. On autopilot, you bring down the five, lower the power, and stop. That gives eighty. The chain rule always ends with the inside's derivative. Times two x, and it's one hundred sixty. The AP course description itself names this mistake: leaving out the derivative of the inside function.

Problem 5

Example five. The curve x cubed plus y cubed equals six x y passes through three, three. Find d y d x there. x and y are mixed, and solving for y is hard. So use implicit differentiation, then plug in the point.

The left side gives three x squared plus three y squared d y d x. Six x y is a product, so the right side is six y plus six x d y d x. Plug in three, three right away: twenty-seven plus twenty-seven d y d x equals eighteen plus eighteen d y d x.

Watch this part of the concept lesson

Read the rest of this scene

Nine d y d x equals negative nine, so d y d x is negative one. Mixed curves are in the workbook too.

Problem 6

Example six, multiple choice. f of x is x to the fifth plus two x minus one, and g is its inverse. Find g prime of two. This is an inverse with no formula. Two is what g takes in, so two is what f puts out.

Find a with f of a equals two, then flip f prime of a.

Watch this part of the concept lesson

Read the rest of this scene

a to the fifth plus two a minus one equals two. Try one: one plus two minus one is two. f prime of x is five x to the fourth plus two, so f prime of one is seven. Flip it: g prime of two is one seventh. That's A. Inverses with no formula are in the workbook.

Problem 7

Example seven. y is inverse tangent of x squared. Find d y d x at x equals one. This inverse is different: inverse tangent has its own formula. The inside is u equals x squared, so use the formula, with u prime on top.

u prime is two x, and u squared is x to the fourth.

Watch this part of the concept lesson

Read the rest of this scene

So d y d x is two x over one plus x to the fourth. At one: two over two, which is one. Inverse trig with an inside is waiting in the workbook.

Problem 8

Example eight. p and q are given only in a table. k of x is p of q of x, over x. Find k prime of one. Plug in one: find q, then p, and the last step is dividing by x.

Quotient rule, and the top, p of q of x, needs the chain rule.

Watch this part of the concept lesson

Read the rest of this scene

Letters first. k prime of x is x times p prime of q of x times q prime of x, minus p of u, over x squared. Inside first: from the table, q of one is two. So k prime of one is p prime of two times q prime of one, minus p of two, over one. Back to the table: two times four, minus five, which is three. Grabbing p prime of one here would give negative thirteen.

The inside value picks the column. Table combos are in the workbook. So, which rule goes first? Three steps. Step one: rewrite when it gets shorter, like three over x. Step two: the last operation picks the first rule.

Step three: never stop before the inside's derivative. And with a table, letters first. Now you can take one derivative of anything. So what happens when we differentiate the derivative? Mixed practice is in your workbook, and questions go in the comments.

Next up: three point six, higher-order derivatives. See you there.

Worked examples

Example 1

Let f(x)=3x+3x+e3. Find f′(1).
Answer and solution

Answer f′(1)=−3+3ln3

  1. 3x=3x−1: x in the base →−3x−2. 3x: x in the exponent →3xln3. e3: a number →0.
  2. f′(x)=−3x−2+3xln3→f′(1)=−3+3ln3

Example 2

Let g(x)=x2ln(x2+1). What is g′(1)?
  1. 1
  2. 2ln2
  3. 2ln2+12
  4. 2ln2+1
Hint

x2 times ln(x2+1), so the product rule, with the chain rule inside it.

Answer and solution

Answer D. 2ln2+1

  1. g′(x)=2xln(x2+1)+x2⋅2xx2+1
  2. g′(1)=2ln2+1⋅22=2ln2+1
  3. Answer D.

Example 3

Let h(x)=2x+1x2+1. Find h′(1).
Hint

A sum over a sum, so the quotient rule.

Answer and solution

Answer −12

  1. h′(x)=(x2+1)⋅2−(2x+1)⋅2x(x2+1)2
  2. h′(1)=2⋅2−3⋅222=−12

Example 4

Let k(x)=(x2+1)5. Find k′(1).
Hint

An inside to a power, so the chain rule.

Answer and solution

Answer 160

  1. k′(x)=5(x2+1)4⋅2x
  2. k′(1)=5(2)4⋅2=160

Example 5

The curve x3+y3=6xy passes through (3,3). Find dydx at (3,3).
Hint

You can't solve for y, so implicit.

Answer and solution

Answer −1

  1. 3x2+3y2dydx=6y+6xdydx
  2. 27+27dydx=18+18dydx→9dydx=−9→dydx=−1

Example 6

Let f(x)=x5+2x−1, and let g be the inverse function of f. What is g′(2)?
  1. 17
  2. 182
  3. 7
  4. 12
Hint

Find a with f(a)=2, then flip f′(a).

Answer and solution

Answer A. 17

  1. a5+2a−1=2→a=1,f′(x)=5x4+2→f′(1)=7
  2. g′(2)=1f′(1)=17
  3. Answer A.

Example 7

Let y=tan−1(x2). Find dydx at x=1.
Hint

tan−1 of an inside, so the formula, times u′.

Answer and solution

Answer 1

  1. dydx=2x1+(x2)2=2x1+x4
  2. x=1:21+1=1

Example 8

p and q are differentiable; values are in the table.
Let k(x)=p(q(x))x. Find k′(1).
x12
p(x)45
p′(x)-12
q(x)21
q′(x)43
Answer and solution

Answer 3

  1. The last operation is the division by x, so the quotient rule goes first; the top p(q(x)) needs the chain rule.
  2. k′(x)=p′(q(x))q′(x)⋅x−p(q(x))⋅1x2
  3. k′(1)=p′(2)⋅q′(1)⋅1−p(2)12=2⋅4−51=3

Workbook

Problem 1

For each function, name the first rule to use, then find the derivative. (a) f(x)=x2+3x (b) g(x)=exsin(2x) (c) h(x)=(lnx)3
Hint

Name the last operation first. (a) can be rewritten: x+3x−1.

Answer and solution
  1. rewrite: x+3x−1, so f′(x)=1−3x2
  2. product rule (chain inside): exsin2x+2excos2x
  3. chain rule: 3(lnx)2x
  1. (a) A sum over x: rewrite f(x) = x + 3x^{-1}, so f'(x) = 1 - 3/x^2.
  2. g′(x)=exsin2x+ex⋅2cos2x
  3. h′(x)=3(lnx)2⋅1x

Common mistake Using the quotient rule where rewriting is shorter; naming the first rule wrong.

Watch the worked solution to Problem 1

Problem 2

Let h(x)=ln(x2ex) for x>0. Use the properties of logarithms to rewrite h(x), then find h′(x).
Hint

For x>0: ln(x2ex)=2lnx+x.

Answer and solution

Answer h(x)=2lnx+x, h′(x)=2x+1

  1. h(x)=lnx2+lnex=2lnx+x
  2. h′(x)=2x+1

Common mistake Differentiating ln(x^2 e^x) without rewriting and losing a term.

Watch the worked solution to Problem 2

Problem 3

The curve x2+xy+y2=7 passes through (1,2). Find dydx at (1,2).
Hint

xy is a product. Put in (1,2) right after differentiating.

Answer and solution

Answer −45

  1. 2x+(y+xdydx)+2ydydx=0
  2. 2+2+(1+4)dydx=0→dydx=−45

Common mistake Dropping the y term of the product xy.

Watch the worked solution to Problem 3

Problem 4

Let y=sin−1(2x). Find dydx at x=14.
Hint

u=2x: u′1−u2.

Answer and solution

Answer 43=433

  1. dydx=21−(2x)2
  2. x=14:21−14=23/2=43

Common mistake Writing 1 - 2x^2 for 1 - (2x)^2, or dropping the inside 2.

Watch the worked solution to Problem 4

Problem 5

If h(x)=exx2+1, then h′(1)=
  1. −e2
  2. 0
  3. e2
  4. e
Hint

The bottom is not a single power: quotient rule.

Answer and solution

Answer B. 0

  1. h′(x)=(x2+1)ex−ex(2x)(x2+1)2
  2. h′(1)=2e−2e4=0
  3. Answer B.

Common mistake Dividing the derivatives, e^x/(2x).

Watch the worked solution to Problem 5

Problem 6

What is the value of ddx[x2x+1] at x=4?
  1. 13
  2. 43
  3. 113
  4. 133
Hint

The last operation is a product. Inside it, a chain.

Answer and solution

Answer D. 133

  1. ddx[x2x+1]=2x+1+x⋅222x+1
  2. x=4:3+43=133
  3. Answer D.

Common mistake Multiplying the derivatives, or dropping the chain's 2 in the root.

Watch the worked solution to Problem 6

Problem 7

If y=ln(sinx), then dydx at x=π4 is
  1. −1
  2. 22
  3. 1
  4. 2
Hint

ddxlnu=u′u with u=sinx.

Answer and solution

Answer C. 1

  1. dydx=1sinx⋅cosx=cosxsinx
  2. x=π4:2/22/2=1
  3. Answer C.

Common mistake Using -cos x as the derivative of sin x; dropping cos x on top.

Watch the worked solution to Problem 7

Problem 8

Let f(x)=x3+2x+1, and let g be the inverse function of f. What is g′(4)?
  1. 15
  2. 150
  3. 5
  4. 50
Hint

Find the x with f(x)=4. Then flip f′ there.

Answer and solution

Answer A. 15

  1. a3+2a+1=4→a=1,f′(x)=3x2+2→f′(1)=5
  2. g′(4)=1f′(1)=15
  3. Answer A.

Common mistake Putting 4 into f' instead of the x with f(x) = 4.

Watch the worked solution to Problem 8

Problem 9

Let k(x)=xx2+16.
  1. Show that k′(x)=16(x2+16)32.
  2. Write an equation of the line tangent to the graph of k at x=3.
Hint

Quotient rule; the bottom x2+16 needs the chain rule.

Answer and solution
  1. quotient rule with the chain rule for the bottom, then multiply by x2+16x2+16
  2. y=35+16125(x−3)
  1. k′(x)=x2+16⋅1−x⋅xx2+16x2+16=(x2+16)−x2(x2+16)32=16(x2+16)32
  2. (b) k(3) = 3/5 and k'(3) = 16/125, so y = 3/5 + (16/125)(x - 3).

Common mistake Forgetting the chain rule on the bottom root.

Watch the worked solution to Problem 9

Problem 10

The functions r and w are differentiable; the table gives values. Let H(x)=r(w(x))x. Find H′(3).
x13
r(x)62
r′(x)4-1
w(x)31
w′(x)52
Hint

Quotient first. The top r(w(x)) is a chain: r′(w(x))⋅w′(x).

Answer and solution

Answer 2

  1. The last operation is the division by x, so the quotient rule goes first; the top r(w(x)) needs the chain rule.
  2. H′(x)=r′(w(x))w′(x)⋅x−r(w(x))⋅1x2
  3. H′(3)=r′(1)⋅w′(3)⋅3−r(1)32=4⋅2⋅3−69=189=2

Common mistake Reading r' at 3 instead of at w(3) = 1.

Watch the worked solution to Problem 10

Problem 11

Let f(x)=xπ+πx+π2. Find f′(1).
Hint

Ask where the x is in each term: in the base, in the exponent, or nowhere.

Answer and solution

Answer f′(1)=π+πlnπ

  1. f′(x)=πxπ−1+πxlnπ+0
  2. f′(1)=π+πlnπ
  3. x^π: x is the base, the power rule. π^x: x is the exponent, a^x ln a. π²: no x at all, a constant, so 0.

Common mistake Using the power rule on π^x, or 2π as the derivative of π^2.

Watch the worked solution to Problem 11