Single-Variable-Calculus · Unit 4 · Video 1 · Interactive Practice

The Product Rule: Statement, Example, and Proof

IKey Formulas

FormulaNameWhat it says
(uv)′=u′v+uv′(uv)' = u'v + uv'Product ruleEach factor is varied once while the other is held fixed, and the two contributions are added
ddx(xnsin⁡x)=nxn−1sin⁡x+xncos⁡x\dfrac{d}{dx}\big(x^n \sin x\big) = n x^{n-1}\sin x + x^n \cos xThe worked exampleu=xnu = x^n and v=sin⁡xv = \sin x, so u′=nxn−1u' = nx^{n-1} and v′=cos⁡xv' = \cos x
Δ(uv)=Δu⋅v(x+Δx)+u(x) Δv\Delta(uv) = \Delta u \cdot v(x + \Delta x) + u(x)\,\Delta vAdd-and-subtract identityAdd and subtract u(x) v(x+Δx)u(x)\,v(x + \Delta x), then factor u(x)u(x) out of the last two terms
Δ(uv)Δx=ΔuΔx v(x+Δx)+u(x) ΔvΔx\dfrac{\Delta(uv)}{\Delta x} = \dfrac{\Delta u}{\Delta x}\,v(x + \Delta x) + u(x)\,\dfrac{\Delta v}{\Delta x}Difference quotientLetting Δx→0\Delta x \to 0 needs v(x+Δx)→v(x)v(x + \Delta x) \to v(x)

Key Insight: A product differentiates into a sum, and the false guess (uv)′=u′v′(uv)' = u'v' never appears: the only Δu Δv\Delta u\,\Delta v in sight is swallowed by the factor v(x+Δx)v(x + \Delta x), which collapses to v(x)v(x) in the limit.

IIThe Rule on xnsin⁡xx^n \sin x

The tangent slope is u′v+uv′u'v + uv', never the product u′v′u'v' of the two derivatives.

IIIWhere the Two Terms Come From

Growing xx by Δx\Delta x grows the rectangle uvuv by an L-shaped region made of exactly two pieces.

Step 1 — The change in the product
Δ(uv)=u(x+Δx) v(x+Δx)−u(x) v(x)\Delta(uv) = u(x + \Delta x)\,v(x + \Delta x) - u(x)\,v(x)

IVThe Limit Δx→0\Delta x \to 0

Divided by Δx\Delta x, each term settles onto its own limit, and the two add to (uv)′(uv)'.

💡 The step v(x+Δx)→v(x)v(x + \Delta x) \to v(x) is not bookkeeping — it is the continuity of vv, which holds because vv is differentiable (Lecture 2). Group the brackets the other way and it is the continuity of uu that the same proof needs.

VQuiz Questions

Problem 1 · Applying the Rule

Given: f(x)=x4sin⁡xf(x) = x^4 \sin x — find f′(x)f'(x).

✅ Correct! With u=x4u = x^4 and v=sin⁡xv = \sin x: u′v=4x3sin⁡xu'v = 4x^3\sin x differentiates the first and keeps the second, and uv′=x4cos⁡xuv' = x^4\cos x keeps the first and differentiates the second.
❌ That is u′v′u'v'. Differentiating both factors at once is the wrong guess the video names: a product differentiates into a sum of two terms, not a single product of derivatives.
❌ Check the sign. The product rule adds its two terms. The minus sign belongs to the quotient rule and to ddxcos⁡x\frac{d}{dx}\cos x — neither is in play here.
❌ The factors are crossed. Each term pairs a differentiated factor with the undifferentiated other one, so x4x^4 must sit next to cos⁡x\cos x, not next to sin⁡x\sin x.
Show solution

Name the pieces, then differentiate each:

u=x4,u′=4x3,v=sin⁡x,v′=cos⁡xu = x^4, \quad u' = 4x^3, \qquad v = \sin x, \quad v' = \cos x

Apply (uv)′=u′v+uv′(uv)' = u'v + uv' — derivative of the first times the second as it stands, plus the first as it stands times the derivative of the second:

f′(x)=4x3⋅sin⁡x⏟u′v+x4⋅cos⁡x⏟uv′=4x3sin⁡x+x4cos⁡xf'(x) = \underbrace{4x^3 \cdot \sin x}_{u'v} + \underbrace{x^4 \cdot \cos x}_{uv'} = 4x^3\sin x + x^4\cos x

This is the video's ddx(xnsin⁡x)=nxn−1sin⁡x+xncos⁡x\frac{d}{dx}(x^n\sin x) = nx^{n-1}\sin x + x^n\cos x with n=4n = 4.

Problem 2 · The Cosine's Minus Sign

Given: g(x)=x3cos⁡xg(x) = x^3 \cos x — find g′(x)g'(x).

✅ Correct! The product rule still adds its two terms; the minus arrives inside the second one, from v′=(cos⁡x)′=−sin⁡xv' = (\cos x)' = -\sin x.
❌ The second factor's derivative is missing its sign. ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x = -\sin x, so uv′=x3⋅(−sin⁡x)=−x3sin⁡xuv' = x^3 \cdot (-\sin x) = -x^3\sin x.
❌ That is u′v′u'v'. You multiplied 3x23x^2 by −sin⁡x-\sin x. The rule never multiplies the two derivatives together — it pairs each one with the other factor left alone.
❌ The trig functions are swapped. The undifferentiated vv is cos⁡x\cos x and the differentiated v′v' is −sin⁡x-\sin x, so cos⁡x\cos x belongs with 3x23x^2 and sin⁡x\sin x with x3x^3.
Show solution

Here u=x3u = x^3 and v=cos⁡xv = \cos x, so

u′=3x2,v′=−sin⁡xu' = 3x^2, \qquad v' = -\sin x

and the rule gives

g′(x)=u′v+uv′=3x2⋅cos⁡x+x3⋅(−sin⁡x)=3x2cos⁡x−x3sin⁡xg'(x) = u'v + uv' = 3x^2 \cdot \cos x + x^3 \cdot (-\sin x) = 3x^2\cos x - x^3\sin x

The rule itself is unchanged — it is v′v', not the product rule, that supplies the minus sign.

Problem 3 · Inside the Proof

Given: the change Δ(uv)=u(x+Δx) v(x+Δx)−u(x) v(x)\Delta(uv) = u(x + \Delta x)\,v(x + \Delta x) - u(x)\,v(x), rewritten so that Δu\Delta u and Δv\Delta v both appear — identify the two moves that make the proof work.

Which product is added and subtracted?

Which limit is the one that needs the continuity of vv?

✅ Correct! Adding and subtracting u(x)v(x+Δx)u(x)v(x + \Delta x) splits the change into Δu⋅v(x+Δx)+u(x) Δv\Delta u \cdot v(x + \Delta x) + u(x)\,\Delta v, and only the leftover factor v(x+Δx)v(x + \Delta x) has to be moved to v(x)v(x) by continuity.
❌ That product is already there. − u(x)v(x)-\,u(x)v(x) is the "old value" in the original change, so adding and subtracting it would change nothing.
❌ Wrong pairing. The first bracket is multiplied by vv at the shifted point, v(x+Δx)v(x + \Delta x), so the term introduced by expanding it is u(x)v(x+Δx)u(x)v(x + \Delta x).
❌ No corner term is ever added. In this grouping Δu Δv\Delta u\,\Delta v is already inside Δu⋅v(x+Δx)\Delta u \cdot v(x + \Delta x), because that factor is vv at the taller, shifted height.
❌ That limit is the definition of a derivative. Δu/Δx→du/dx\Delta u / \Delta x \to du/dx holds because uu is differentiable — no continuity argument is needed to pass to it.
❌ That limit is the definition of a derivative. Δv/Δx→dv/dx\Delta v / \Delta x \to dv/dx is just vv being differentiable. The delicate factor is the one with no Δx\Delta x underneath it.
❌ That is the left-hand side. Δ(uv)/Δx→d(uv)/dx\Delta(uv)/\Delta x \to d(uv)/dx is the definition of the derivative being computed — it is the conclusion, not the step that needs justifying.
Show solution

The added and subtracted product. To make Δu\Delta u appear, write the first bracket against v(x+Δx)v(x + \Delta x):

[u(x+Δx)−u(x)]v(x+Δx)=u(x+Δx)v(x+Δx)−u(x)v(x+Δx)\big[u(x + \Delta x) - u(x)\big]v(x + \Delta x) = u(x + \Delta x)v(x + \Delta x) - u(x)v(x + \Delta x)

The second piece was not in the original change, so add u(x)v(x+Δx)u(x)v(x + \Delta x) back; the original − u(x)v(x)-\,u(x)v(x) is still owed, so subtract it as well. The last two terms share u(x)u(x):

u(x)v(x+Δx)−u(x)v(x)=u(x)[v(x+Δx)−v(x)]u(x)v(x + \Delta x) - u(x)v(x) = u(x)\big[v(x + \Delta x) - v(x)\big] ⟹Δ(uv)=Δu⋅v(x+Δx)+u(x) Δv\Longrightarrow \quad \Delta(uv) = \Delta u \cdot v(x + \Delta x) + u(x)\,\Delta v

The delicate limit. Dividing by Δx\Delta x puts one Δx\Delta x under Δu\Delta u and one under Δv\Delta v:

Δ(uv)Δx=ΔuΔx v(x+Δx)+u(x) ΔvΔx\frac{\Delta(uv)}{\Delta x} = \frac{\Delta u}{\Delta x}\,v(x + \Delta x) + u(x)\,\frac{\Delta v}{\Delta x}

Two of the three limits are definitions of derivatives. The remaining factor v(x+Δx)v(x + \Delta x) carries no Δx\Delta x underneath, and sending it to v(x)v(x) is exactly the continuity of vv — available because a differentiable function is continuous.

Problem 4 · The Example at a Point

Given: f(x)=xnsin⁡xf(x) = x^n \sin x for a positive integer nn — find f′(π)f'(\pi).

✅ Correct! At x=πx = \pi the first term dies because sin⁡π=0\sin\pi = 0, and the second survives as πncos⁡π=−πn\pi^n\cos\pi = -\pi^n.
❌ Only the first term vanishes. f(π)=0f(\pi) = 0 and sin⁡π=0\sin\pi = 0 kills nxn−1sin⁡xnx^{n-1}\sin x, but the curve is still moving: the term xncos⁡xx^n\cos x is nonzero there.
❌ Check the sign of the cosine. cos⁡π=−1\cos\pi = -1, not +1+1, so the surviving term is πn⋅(−1)\pi^n \cdot (-1).
❌ You used sin⁡π=1\sin\pi = 1. It is sin⁡π2\sin\frac{\pi}{2} that equals 11; sin⁡π=0\sin\pi = 0, so the whole first term drops out.
Show solution

Differentiate first, with u=xnu = x^n and v=sin⁡xv = \sin x:

f′(x)=nxn−1sin⁡x+xncos⁡xf'(x) = nx^{n-1}\sin x + x^n\cos x

Now substitute x=πx = \pi, where sin⁡π=0\sin\pi = 0 and cos⁡π=−1\cos\pi = -1:

f′(π)=nπn−1⋅0+πn⋅(−1)=−πnf'(\pi) = n\pi^{n-1}\cdot 0 + \pi^n \cdot (-1) = -\pi^n

Each term must be evaluated separately: the product rule produces a sum, so one term vanishing does not make the derivative vanish. Checking n=1n = 1: f(x)=xsin⁡xf(x) = x\sin x, f′(x)=sin⁡x+xcos⁡xf'(x) = \sin x + x\cos x, and f′(π)=0−π=−πf'(\pi) = 0 - \pi = -\pi. ✓

Solved: 0 / 4