A510 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 10 · Derivative rules

Products, quotients and chains

The power rule handles x5. But engineering formulas are built from pieces multiplied, divided and nested: power is voltage times current, a gain is one impedance over another, and a signal inside a sine is often itself a function of time. Three rules cover all of them, and each has a picture behind it that makes it hard to forget.

Play

  • The curve is y=g(x)3, a function inside a function, with the inside g(x)=1+mx. The strip compares the slope measured from the curve with the chain rule's prediction, 3g2⋅g′.
  • Change the inside's steepness m. How does the slope of the whole thing respond?
  • Move x0 and check that the two slopes always agree.

Predict

You double the inner function's steepness m, keeping x0 at 0. What happens to the slope of g3 there?

Name it

The three rules

Product rule. Think of f(x)g(x) as the area of a rectangle with sides f and g. Nudge x and both sides grow, by Δf and Δg. The area gains two thin strips, fΔg and gΔf, plus a tiny corner ΔfΔg that vanishes faster than the strips. So

(fg)′=f′g+fg′

Electrical power p=vi is a product, so its rate of change is v˙i+vi˙.

Chain rule. For a function inside a function, f(g(x)), the rates multiply:

ddxf(g(x))=f′(g(x))⋅g′(x)

Differentiate the outside as if the inside were a plain variable, then multiply by the derivative of the inside. For example, ddx(3x+1)5=5(3x+1)4⋅3, and ddx1+x2=121+x2⋅2x=x1+x2.

Quotient rule. Write f/g as f⋅g−1 and use the other two rules:

(fg)′=f′g−fg′g2

The order on top matters: derivative of the top first. A safe memory aid is to rederive it from the product and chain rules when in doubt.

With these, the power rule and the derivatives of ex, sin⁡ and cos⁡ (next lesson), you can differentiate every formula in this course.

Worked example

A device has v=3t2 volts and i=2t+1 amps. How fast is its power changing?

Show the solution
  1. Product rule on p=vi. p′=v′i+vi′=6t(2t+1)+3t2⋅2=18t2+6t
  2. Evaluate at t=1 s. p′(1)=18+6=24W/s
  3. Check by expanding first. p=6t3+3t2, so p′=18t2+6t.

Answer the power changes at 18t2+6t watts per second, which is 24 W/s at t=1 s.

Worked example

How sensitive is a divider's ratio R2R1+R2 to R2?

Show the solution
  1. Quotient rule. Call the ratio k=R2R1+R2: dkdR2=(R1+R2)−R2(R1+R2)2=R1(R1+R2)2
  2. Put in 10 kΩ and 10 kΩ. dkdR2=140kΩ
  3. A 100 Ω change in R2. Δk≈100Ω40kΩ=0.0025

Answer the sensitivity is R1/(R1+R2)2; with 10 kΩ and 10 kΩ that's 1/(40 kΩ), so a 100 Ω change in R2 moves the ratio by 0.0025.

Worked example

A source of EMF E with internal resistance r delivers P=E2R(R+r)2 to a load R. Where is dP/dR zero?

Show the solution
  1. Quotient rule. dPdR=E2(R+r)2−R⋅2(R+r)(R+r)4=E2r−R(R+r)3
  2. Find the zero. The top, r−R, is zero only at R=r.
  3. Read the sign. dP/dR is positive below R=r and negative above, so the power rises to a peak at R=r and falls after.

Answer dP/dR is zero only at R=r, where the power peaks. That's the maximum power transfer theorem, from one derivative.

Check

Differentiate x2(x+1)3.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Differentiate (3x+1)3.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Differentiate x1+x2.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

At some instant a device has v = 4 V and i = 2 A, with v rising at 7 V/s and i at 9 A/s. How fast is the power p=vi changing, in W/s?

Write units the way you normally would: 1.5 W/s, 1500 mW/s and 0.0015 kW/s are the same answer.

Check

Differentiate these at x = 2.

(a)

2x+1x+1

(b)

x2(2x+1)

(c)

2x+1

Check

Differentiate the load power P=E2R(R+r)2 with respect to R.

Step 1

Apply the quotient rule and simplify.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Using the picture of a rectangle, explain why the derivative of fg isn't f′g′.

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.