A brief note on First Principles and the Rules . Read it before a test. Try each question at the end before you open its answer.
The definition Derivative at a point: f ′ ( a ) = lim h → 0 f ( a + h ) − f ( a ) h f'(a) = \displaystyle\lim_{h \to 0} \dfrac{f(a + h) - f(a)}{h} f ′ ( a ) = h → 0 lim h f ( a + h ) − f ( a ) , the slope of the tangent at x = a x = a x = a . Secant: the line through ( a , f ( a ) ) (a, f(a)) ( a , f ( a )) and ( a + h , f ( a + h ) ) (a + h, f(a + h)) ( a + h , f ( a + h )) . Its slope is the quotient above. Tangent line: y − f ( a ) = f ′ ( a ) ( x − a ) y - f(a) = f'(a)(x - a) y − f ( a ) = f ′ ( a ) ( x − a ) . Notation: f ′ ( x ) f'(x) f ′ ( x ) , d y d x \dfrac{dy}{dx} d x d y . The UK says gradient and the US says slope. Corner: a corner such as ∣ x ∣ |x| ∣ x ∣ at 0 0 0 has no derivative. The rules Constant: ( c ) ′ = 0 (c)' = 0 ( c ) ′ = 0 . Power: ( x n ) ′ = n x n − 1 (x^n)' = nx^{n-1} ( x n ) ′ = n x n − 1 . Multiple: ( c f ) ′ = c f ′ (cf)' = cf' ( c f ) ′ = c f ′ . Sum: ( f + g ) ′ = f ′ + g ′ (f + g)' = f' + g' ( f + g ) ′ = f ′ + g ′ . Product: ( u v ) ′ = u ′ v + u v ′ (uv)' = u'v + uv' ( uv ) ′ = u ′ v + u v ′ . Quotient: ( u v ) ′ = u ′ v − u v ′ v 2 \left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2} ( v u ) ′ = v 2 u ′ v − u v ′ . Standard derivatives, with x x x in radians Sine and cosine: ( sin x ) ′ = cos x (\sin x)' = \cos x ( sin x ) ′ = cos x and ( cos x ) ′ = − sin x (\cos x)' = -\sin x ( cos x ) ′ = − sin x . Tangent and friends: ( tan x ) ′ = sec 2 x (\tan x)' = \sec^2 x ( tan x ) ′ = sec 2 x , ( sec x ) ′ = sec x tan x (\sec x)' = \sec x\tan x ( sec x ) ′ = sec x tan x , ( csc x ) ′ = − csc x cot x (\csc x)' = -\csc x\cot x ( csc x ) ′ = − csc x cot x , ( cot x ) ′ = − csc 2 x (\cot x)' = -\csc^2 x ( cot x ) ′ = − csc 2 x . Exponential and logarithm: ( e x ) ′ = e x (e^x)' = e^x ( e x ) ′ = e x , ( ln x ) ′ = 1 x (\ln x)' = \dfrac{1}{x} ( ln x ) ′ = x 1 , ( a x ) ′ = a x ln a (a^x)' = a^x\ln a ( a x ) ′ = a x ln a . A rate Meaning: d y d x \dfrac{dy}{dx} d x d y is the change of y y y per unit of x x x , with the unit of y y y per unit of x x x . Speed: v = d s d t v = \dfrac{ds}{dt} v = d t d s in m/s. Circle: d A d r = 2 π r \dfrac{dA}{dr} = 2\pi r d r d A = 2 π r . Class 12: the chain rule, implicit and logarithmic differentiation come in the chapter on continuity and differentiability. A worked example Differentiate f ( x ) = x 2 cos x f(x) = x^2\cos x f ( x ) = x 2 cos x and find f ′ ( π ) f'(\pi) f ′ ( π ) .
Take u = x 2 u = x^2 u = x 2 and v = cos x v = \cos x v = cos x . Then u ′ = 2 x u' = 2x u ′ = 2 x and v ′ = − sin x v' = -\sin x v ′ = − sin x . Product rule. f ′ ( x ) = 2 x cos x − x 2 sin x f'(x) = 2x\cos x - x^2\sin x f ′ ( x ) = 2 x cos x − x 2 sin x . At x = π x = \pi x = π . 2 π × ( − 1 ) − π 2 × 0 = − 2 π 2\pi \times (-1) - \pi^2 \times 0 = -2\pi 2 π × ( − 1 ) − π 2 × 0 = − 2 π . Practice with new numbers
A program to try The program compares each derivative with a small-step difference quotient.
Read it first. Then run it. Does each quotient match the expected number?
1. Add a fifth check for math.exp at 0 with the expected number 1.
Mistakes to avoid Product of the derivatives. Use u ′ v + u v ′ u'v + uv' u ′ v + u v ′ . The top of the quotient rule. It is u ′ v − u v ′ u'v - uv' u ′ v − u v ′ , and the bottom is v 2 v^2 v 2 . Degrees. The trigonometric derivatives need radians. Lost factor. ( x 5 ) ′ = 5 x 4 (x^5)' = 5x^4 ( x 5 ) ′ = 5 x 4 . A rate without a unit. Write the unit of y y y per unit of x x x . Check yourself Find the derivative of f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 at x = 2 x = 2 x = 2 from the definition. Stuck? Show a hint Show the answerFind the slope of y = cos x y = \cos x y = cos x at x = π 6 x = \dfrac{\pi}{6} x = 6 π . Stuck? Show a hint Show the answerDifferentiate y = x sin x y = x\sin x y = x sin x . Stuck? Show a hint Show the answerDifferentiate y = x − 1 x + 1 y = \dfrac{x - 1}{x + 1} y = x + 1 x − 1 . Stuck? Show a hint Show the answerFind the tangent to y = x 2 y = x^2 y = x 2 at x = 3 x = 3 x = 3 . Stuck? Show a hint Show the answerSources OpenStax, Calculus Volume 1 , Chapter 3 on derivatives. NCERT, Mathematics Textbook for Class XI, Chapter 12.