Courses / Computer Science I
Calculus

Differentiation Rules

Computer Science I 202 words Free to read

## Basic Differentiation Rules

Instead of evaluating limits every time, differentiation rules compute derivatives mechanically through algebra.

RuleFormulaExample
Power ruleddxxn=nxn1\frac{d}{dx} x^n = n x^{n-1}ddxx3=3x2\frac{d}{dx} x^3 = 3x^2
Constant multipleddx(cf)=cf\frac{d}{dx}(c f) = c f'Constants factor out
Sum rule(f+g)=f+g(f + g)' = f' + g'Sum of derivatives

Standard derivatives round out the toolkit: ddxex=ex\frac{d}{dx} e^x = e^x, ddxlnx=1x\frac{d}{dx} \ln x = \frac{1}{x}, and ddxsinx=cosx\frac{d}{dx} \sin x = \cos x.

## Combination & Chain Rules

Combining functions requires precise rules, especially for products and compositions.

Combination RuleFormulaKey Distinction
Product rule(fg)=fg+fg(fg)' = f'g + fg'Not the product of derivatives
Quotient rule(f/g)=fgfgg2(f/g)' = \frac{f'g - fg'}{g^2}Note the minus sign & order
Chain rule[f(g(x))]=f(g(x))g(x)[f(g(x))]' = f'(g(x)) \cdot g'(x)Outer times inner derivative
Common pitfall: Forgetting the chain rule inner derivative. ddxsin(x2)=cos(x2)2x\frac{d}{dx}\sin(x^2) = \cos(x^2) \cdot 2x, not just cos(x2)\cos(x^2). Omitting g(x)g'(x) is the #1 mistake.
The quotient rule, derived by leaning on the product rule --- then

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

10practice questions
2interactive scenes

Calculus