Math Lab
Home/Class XI/Ch 12/Differentiation rules: sum, product, quotient

Differentiation rules

Computing every derivative from first principles is tedious. Instead, we build a small library of rules and a table of standard derivatives. With these, the derivative of almost any algebraic-trigonometric expression follows by mechanical steps.

The five basic rules

Let u(x),v(x)u(x), v(x) be differentiable functions, cc a constant.

(R1) Constant rule. (c)=0(c)' = 0.

(R2) Constant multiple. (cu)=cu(c \cdot u)' = c \cdot u'.

(R3) Sum/difference. (u±v)=u±v(u \pm v)' = u' \pm v'.

(R4) Product rule. (uv)=uv+uv(u v)' = u' v + u v'.

(R5) Quotient rule. (uv)=uvuvv2\left(\dfrac{u}{v}\right)' = \dfrac{u' v - u v'}{v^2}, where v0v \ne 0.

Proofs (sketch)

R4 proof: (u(x+h)v(x+h)u(x)v(x))/h(u(x+h)v(x+h) - u(x) v(x))/h. Add and subtract u(x)v(x+h)u(x) v(x+h): =[u(x+h)u(x)]v(x+h)+u(x)[v(x+h)v(x)]h=u(x+h)u(x)hv(x+h)+u(x)v(x+h)v(x)h.= \dfrac{[u(x+h) - u(x)] v(x+h) + u(x)[v(x+h) - v(x)]}{h} = \dfrac{u(x+h) - u(x)}{h} v(x+h) + u(x) \dfrac{v(x+h) - v(x)}{h}. As h0h \to 0: u(x)v(x)+u(x)v(x)u'(x) v(x) + u(x) v'(x). \qed\qed

R5 proof: similar idea, with more bookkeeping. Or derive R5 from R4 plus (1/v)=v/v2(1/v)' = -v'/v^2.

Standard derivatives table

ffff'
cc (constant)00
xx11
xnx^nnxn1n x^{n-1}
x\sqrt{x}1/(2x)1/(2\sqrt{x})
1/x1/x1/x2-1/x^2
sinx\sin xcosx\cos x
cosx\cos xsinx-\sin x
tanx\tan xsec2x\sec^2 x
cotx\cot xcsc2x-\csc^2 x
secx\sec xsecxtanx\sec x \tan x
cscx\csc xcscxcotx-\csc x \cot x
exe^xexe^x
axa^xaxlnaa^x \ln a
lnx\ln x1/x1/x
logax\log_a x1/(xlna)1/(x \ln a)

Worked examples

Example 1. f(x)=5x34x+7f(x) = 5 x^3 - 4 x + 7. Find f(x)f'(x).

By R2, R3: f(x)=15x24f'(x) = 15 x^2 - 4.

Example 2. f(x)=(3x+1)(2x5)f(x) = (3 x + 1)(2 x - 5). Find f(x)f'(x).

By R4: f(x)=3(2x5)+(3x+1)2=6x15+6x+2=12x13f'(x) = 3 \cdot (2 x - 5) + (3 x + 1) \cdot 2 = 6 x - 15 + 6 x + 2 = 12 x - 13.

(Or expand first: f(x)=6x213x5f(x)=12x13f(x) = 6 x^2 - 13 x - 5 \Rightarrow f'(x) = 12 x - 13. ✓)

Example 3. f(x)=x2+1x1f(x) = \dfrac{x^2 + 1}{x - 1}. Find f(x)f'(x).

By R5: f=2x(x1)(x2+1)1(x1)2=2x22xx21(x1)2=x22x1(x1)2f' = \dfrac{2 x \cdot (x - 1) - (x^2 + 1) \cdot 1}{(x - 1)^2} = \dfrac{2 x^2 - 2 x - x^2 - 1}{(x - 1)^2} = \dfrac{x^2 - 2 x - 1}{(x - 1)^2}.

Example 4. f(x)=xsinxf(x) = x \sin x. Find f(x)f'(x).

By R4: f(x)=1sinx+xcosx=sinx+xcosxf'(x) = 1 \cdot \sin x + x \cdot \cos x = \sin x + x \cos x.

Example 5. f(x)=sinxxf(x) = \dfrac{\sin x}{x}. Find f(x)f'(x).

By R5: f(x)=cosxxsinx1x2=xcosxsinxx2f'(x) = \dfrac{\cos x \cdot x - \sin x \cdot 1}{x^2} = \dfrac{x \cos x - \sin x}{x^2}.

Try it yourself

Find f(x)f'(x):

  1. f(x)=7x43x2+2f(x) = 7 x^4 - 3 x^2 + 2.
  2. f(x)=x2+3sinxf(x) = x^2 + 3 \sin x.
  3. f(x)=(x2+1)(x2)f(x) = (x^2 + 1)(x - 2).
  4. f(x)=x3x+1f(x) = \dfrac{x^3}{x + 1}.
  5. f(x)=1+x1xf(x) = \dfrac{1 + x}{1 - x}.
  6. f(x)=(x+1)(x+2)(x+3)f(x) = (x + 1)(x + 2)(x + 3). (Use R4 twice or expand.)
  7. f(x)=x2cosxf(x) = x^2 \cos x.
  8. f(x)=sinx1+cosxf(x) = \dfrac{\sin x}{1 + \cos x}.
  9. f(x)=xsinxf(x) = \sqrt{x} \cdot \sin x.
  10. f(x)=excosxf(x) = e^x \cos x.
  11. f(x)=lnxxf(x) = \dfrac{\ln x}{x}.
  12. f(x)=11+x2f(x) = \dfrac{1}{1 + x^2}.

Pitfalls / Tricks

  • Product rule: (uv)uv(u v)' \ne u' v'. Both terms must be present.
  • Quotient rule: numerator is uvuvu' v - u v' (order matters).
  • For three-factor products, apply the product rule twice: (uvw)=uvw+uvw+uvw(u v w)' = u' v w + u v' w + u v w'.
  • Insight. Derivatives are linear: (cu+dv)=cu+dv(c u + d v)' = c u' + d v'. Whenever you see a linear combination, just differentiate term by term.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Differentiation rules
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6