Courses / Computer Science I
Calculus

Differentiation Rules

Computer Science I 276 words Free to read

Computing Derivatives Efficiently

Rather than evaluate the limit definition every time, a handful of rules compute derivatives mechanically. Mastering them turns differentiation into routine algebra.

The basic rules:

The two rules for combining functions are where care is needed:

Standard derivatives round out the toolkit: ddxsinx=cosx\frac{d}{dx}\sin x = \cos x, ddxex=ex\frac{d}{dx}e^x = e^x (its own derivative), and ddxlnx=1x\frac{d}{dx}\ln x = \frac{1}{x}. With these plus the four combination rules, you can differentiate essentially any elementary function.

Common pitfall: thinking the derivative of a product is the product of the derivatives, or forgetting the chain rule on a composition. (fg)=fg+fg(fg)' = f'g + fg', not fgf'g'. And for f(g(x))f(g(x)) you must multiply by g(x)g'(x) — e.g. ddxsin(x2)=cos(x2)2x\frac{d}{dx}\sin(x^2) = \cos(x^2)\cdot 2x, not just cos(x2)\cos(x^2). Omitting the inner derivative is the single most common differentiation mistake.

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
Start Computer Science I free

Calculus