Prove Product Rule for Derivatives

hard CBSE JEE-MAIN JEE Advanced 2023 4 min read

Question

Prove the product rule from first principles:

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\frac{d}{dx}[f(x) \cdot g(x)] = f'(x) \cdot g(x) + f(x) \cdot g'(x)

Solution — Step by Step

We apply the limit definition directly to the product h(x)=f(x)g(x)h(x) = f(x) \cdot g(x):

h(x)=limΔx0f(x+Δx)g(x+Δx)f(x)g(x)Δxh'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x)\,g(x + \Delta x) - f(x)\,g(x)}{\Delta x}

Nothing clever yet — just the raw definition. The trick comes in the next step.

The numerator has two functions at different points mixed together. We can’t separate them as-is. The key move is to add and subtract f(x+Δx)g(x)f(x + \Delta x)\,g(x) in the numerator:

=limΔx0f(x+Δx)g(x+Δx)f(x+Δx)g(x)+f(x+Δx)g(x)f(x)g(x)Δx= \lim_{\Delta x \to 0} \frac{f(x + \Delta x)\,g(x + \Delta x) - f(x + \Delta x)\,g(x) + f(x + \Delta x)\,g(x) - f(x)\,g(x)}{\Delta x}

This is the entire proof. Everything after this is just clean algebra and taking limits.

Group the first two terms and the last two terms separately:

=limΔx0[f(x+Δx)g(x+Δx)g(x)Δx+g(x)f(x+Δx)f(x)Δx]= \lim_{\Delta x \to 0} \left[ f(x + \Delta x) \cdot \frac{g(x + \Delta x) - g(x)}{\Delta x} + g(x) \cdot \frac{f(x + \Delta x) - f(x)}{\Delta x} \right]

Now each fraction is a recognizable derivative in disguise.

Split the limit across the sum (valid because both limits exist):

  • limΔx0g(x+Δx)g(x)Δx=g(x)\lim_{\Delta x \to 0} \dfrac{g(x + \Delta x) - g(x)}{\Delta x} = g'(x)
  • limΔx0f(x+Δx)f(x)Δx=f(x)\lim_{\Delta x \to 0} \dfrac{f(x + \Delta x) - f(x)}{\Delta x} = f'(x)
  • limΔx0f(x+Δx)=f(x)\lim_{\Delta x \to 0} f(x + \Delta x) = f(x) (since ff is differentiable, hence continuous)

Substituting:

h(x)=f(x)g(x)+g(x)f(x)h'(x) = f(x) \cdot g'(x) + g(x) \cdot f'(x)
ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\boxed{\frac{d}{dx}[f(x)\,g(x)] = f'(x)\,g(x) + f(x)\,g'(x)}

This is the product rule, proved from scratch.

Why This Works

The product rule looks asymmetric until you see its geometric meaning. Imagine f(x)f(x) and g(x)g(x) as the sides of a rectangle with area A=fgA = f \cdot g. When xx increases by Δx\Delta x, the area changes by three pieces: Δfg\Delta f \cdot g (strip along one side), fΔgf \cdot \Delta g (strip along the other), and ΔfΔg\Delta f \cdot \Delta g (tiny corner piece).

As Δx0\Delta x \to 0, that corner piece ΔfΔg\Delta f \cdot \Delta g becomes negligible compared to the other two — it’s second-order small. What survives is exactly fg+fgf' \cdot g + f \cdot g'.

The algebraic proof we did above is the rigorous way of saying the same thing. The “bridge term” f(x+Δx)g(x)f(x + \Delta x)\,g(x) was our way of isolating the two strips without losing any information.

Alternative Method

Some textbooks present this using logarithmic differentiation — useful when you want to verify the rule rather than prove it.

Let h=fgh = f \cdot g. Take ln\ln of both sides:

lnh=lnf+lng\ln h = \ln f + \ln g

Differentiate both sides with respect to xx:

hh=ff+gg\frac{h'}{h} = \frac{f'}{f} + \frac{g'}{g}

Multiply through by h=fgh = fg:

h=fg+fgh' = f'g + fg'

This log-differentiation shortcut is extremely useful in JEE when you have products of 3 or more functions. For h=fgkh = f \cdot g \cdot k, you get hh=ff+gg+kk\frac{h'}{h} = \frac{f'}{f} + \frac{g'}{g} + \frac{k'}{k} immediately — no need to apply the product rule twice.

Common Mistake

The most common error in this proof is forgetting to use the fact that ff is continuous at xx when taking limΔx0f(x+Δx)=f(x)\lim_{\Delta x \to 0} f(x + \Delta x) = f(x). Students often skip this step or treat it as obvious. In a JEE Advanced proof question, examiners look for this — differentiability implies continuity, and you need continuity here to complete the argument. State it explicitly: “Since ff is differentiable at xx, it is continuous there, so limΔx0f(x+Δx)=f(x)\lim_{\Delta x \to 0} f(x + \Delta x) = f(x).”

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next