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

The Product Rule: Statement, Example, and Proof

IKey Formulas

FormulaNameWhat it says
(uv)=uv+uv(uv)' = u'v + uv'Product ruleEach factor is varied once while the other is held fixed, and the two contributions are added
ddx(xnsinx)=nxn1sinx+xncosx\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=sinxv = \sin x, so u=nxn1u' = nx^{n-1} and v=cosxv' = \cos x
Δ(uv)=Δuv(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Δxv(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 Δx0\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)=uv(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 xnsinxx^n \sin x

The tangent slope is uv+uvu'v + uv', never the product uvu'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 Δx0\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)=x4sinxf(x) = x^4 \sin xfind f(x)f'(x).

✅ Correct! With u=x4u = x^4 and v=sinxv = \sin x: uv=4x3sinxu'v = 4x^3\sin x differentiates the first and keeps the second, and uv=x4cosxuv' = x^4\cos x keeps the first and differentiates the second.
❌ That is uvu'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 ddxcosx\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 cosx\cos x, not next to sinx\sin x.
Show solution

Name the pieces, then differentiate each:

u=x4,u=4x3,v=sinx,v=cosxu = x^4, \quad u' = 4x^3, \qquad v = \sin x, \quad v' = \cos x

Apply (uv)=uv+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)=4x3sinxuv+x4cosxuv=4x3sinx+x4cosxf'(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(xnsinx)=nxn1sinx+xncosx\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)=x3cosxg(x) = x^3 \cos xfind g(x)g'(x).

✅ Correct! The product rule still adds its two terms; the minus arrives inside the second one, from v=(cosx)=sinxv' = (\cos x)' = -\sin x.
❌ The second factor's derivative is missing its sign. ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x, so uv=x3(sinx)=x3sinxuv' = x^3 \cdot (-\sin x) = -x^3\sin x.
❌ That is uvu'v'. You multiplied 3x23x^2 by sinx-\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 cosx\cos x and the differentiated vv' is sinx-\sin x, so cosx\cos x belongs with 3x23x^2 and sinx\sin x with x3x^3.
Show solution

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

u=3x2,v=sinxu' = 3x^2, \qquad v' = -\sin x

and the rule gives

g(x)=uv+uv=3x2cosx+x3(sinx)=3x2cosxx3sinxg'(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 vv', 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 Δuv(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 Δuv(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/Δxdu/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/Δxdv/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)/Δxd(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)=Δuv(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Δxv(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)=xnsinxf(x) = x^n \sin x for a positive integer nnfind 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 nxn1sinxnx^{n-1}\sin x, but the curve is still moving: the term xncosxx^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=sinxv = \sin x:

f(x)=nxn1sinx+xncosxf'(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πn10+π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)=xsinxf(x) = x\sin x, f(x)=sinx+xcosxf'(x) = \sin x + x\cos x, and f(π)=0π=πf'(\pi) = 0 - \pi = -\pi. ✓

Solved: 0 / 4