How to use these solutions#
These are detailed worked solutions to the Practice questions of the lesson Derivatives and the Rules of Differentiation . Attempt each question yourself first, then go through the solution one step at a time. Notice which rule is chosen and why, recognising the right rule is half the work in differentiation.
Question 1: Derivatives from first principles#
The problem#
Find the derivative from first principles of
(a) x 2 + 3 x x^2 + 3x x 2 + 3 x ; (b) x \sqrt{x} x ; (c) cos x \cos x cos x .
Understanding the problem#
"From first principles" means you may not use the ready-made rules such as d d x x n = n x n − 1 \displaystyle \tfrac{d}{dx}x^n = nx^{n-1} d x d x n = n x n − 1 . You must work directly from the definition of the derivative and evaluate the limit.
The idea#
The definition is
f ′ ( x ) = lim h → 0 f ( x + h ) − f ( x ) h . \displaystyle f'(x) = \lim_{h \to 0}\frac{f(x + h) - f(x)}{h}. f ′ ( x ) = h → 0 lim h f ( x + h ) − f ( x ) .
In each part we write f ( x + h ) − f ( x ) f(x + h) - f(x) f ( x + h ) − f ( x ) , simplify it until a factor h h h cancels with the h h h in the denominator, and only then let h → 0 h \to 0 h → 0 . Putting h = 0 h = 0 h = 0 too early gives 0 0 \displaystyle \tfrac{0}{0} 0 0 , which is meaningless.
Step-by-step solution#
Part (a)
Step 1. Write f ( x + h ) f(x + h) f ( x + h ) for f ( x ) = x 2 + 3 x f(x) = x^2 + 3x f ( x ) = x 2 + 3 x .
f ( x + h ) = ( x + h ) 2 + 3 ( x + h ) = x 2 + 2 x h + h 2 + 3 x + 3 h . f(x + h) = (x + h)^2 + 3(x + h) = x^2 + 2xh + h^2 + 3x + 3h. f ( x + h ) = ( x + h ) 2 + 3 ( x + h ) = x 2 + 2 x h + h 2 + 3 x + 3 h .
Step 2. Subtract f ( x ) f(x) f ( x ) ; the x 2 x^2 x 2 and 3 x 3x 3 x terms cancel.
f ( x + h ) − f ( x ) = 2 x h + h 2 + 3 h = h ( 2 x + h + 3 ) . f(x + h) - f(x) = 2xh + h^2 + 3h = h(2x + h + 3). f ( x + h ) − f ( x ) = 2 x h + h 2 + 3 h = h ( 2 x + h + 3 ) .
Step 3. Divide by h h h (allowed, because h ≠ 0 h \ne 0 h = 0 while we approach the limit) and let h → 0 h \to 0 h → 0 .
f ′ ( x ) = lim h → 0 h ( 2 x + h + 3 ) h = lim h → 0 ( 2 x + h + 3 ) = 2 x + 3. \displaystyle f'(x) = \lim_{h \to 0}\frac{h(2x + h + 3)}{h} = \lim_{h \to 0}(2x + h + 3) = 2x + 3. f ′ ( x ) = h → 0 lim h h ( 2 x + h + 3 ) = h → 0 lim ( 2 x + h + 3 ) = 2 x + 3.
Part (b)
Step 1. Form the difference quotient for f ( x ) = x f(x) = \sqrt{x} f ( x ) = x (x > 0 x > 0 x > 0 ).
x + h − x h . \displaystyle \frac{\sqrt{x + h} - \sqrt{x}}{h}. h x + h − x .
If we put h = 0 h = 0 h = 0 now we get 0 0 \displaystyle \tfrac{0}{0} 0 0 , so we must simplify first.
Step 2. Multiply the top and bottom by the conjugate x + h + x \sqrt{x + h} + \sqrt{x} x + h + x , and use ( p − q ) ( p + q ) = p 2 − q 2 (p - q)(p + q) = p^2 - q^2 ( p − q ) ( p + q ) = p 2 − q 2 .
x + h − x h ⋅ x + h + x x + h + x = ( x + h ) − x h ( x + h + x ) = h h ( x + h + x ) . \displaystyle \frac{\sqrt{x + h} - \sqrt{x}}{h}\cdot\frac{\sqrt{x + h} + \sqrt{x}}{\sqrt{x + h} + \sqrt{x}} = \frac{(x + h) - x}{h\left(\sqrt{x + h} + \sqrt{x}\right)} = \frac{h}{h\left(\sqrt{x + h} + \sqrt{x}\right)}. h x + h − x ⋅ x + h + x x + h + x = h ( x + h + x ) ( x + h ) − x = h ( x + h + x ) h .
Step 3. Cancel h h h and take the limit.
f ′ ( x ) = lim h → 0 1 x + h + x = 1 x + x = 1 2 x . \displaystyle f'(x) = \lim_{h \to 0}\frac{1}{\sqrt{x + h} + \sqrt{x}} = \frac{1}{\sqrt{x} + \sqrt{x}} = \frac{1}{2\sqrt{x}}. f ′ ( x ) = h → 0 lim x + h + x 1 = x + x 1 = 2 x 1 .
Part (c)
Step 1. Form the difference quotient for f ( x ) = cos x f(x) = \cos x f ( x ) = cos x .
cos ( x + h ) − cos x h . \displaystyle \frac{\cos(x + h) - \cos x}{h}. h cos ( x + h ) − cos x .
Step 2. Use the identity cos C − cos D = − 2 sin C + D 2 sin C − D 2 \displaystyle \cos C - \cos D = -2\sin\frac{C + D}{2}\sin\frac{C - D}{2} cos C − cos D = − 2 sin 2 C + D sin 2 C − D with C = x + h C = x + h C = x + h , D = x D = x D = x .
cos ( x + h ) − cos x = − 2 sin ( x + h 2 ) sin h 2 . \displaystyle \cos(x + h) - \cos x = -2\sin\left(x + \tfrac{h}{2}\right)\sin\tfrac{h}{2}. cos ( x + h ) − cos x = − 2 sin ( x + 2 h ) sin 2 h .
Step 3. Rearrange so that the standard limit lim θ → 0 sin θ θ = 1 \displaystyle \lim_{\theta \to 0}\tfrac{\sin\theta}{\theta} = 1 θ → 0 lim θ s i n θ = 1 appears, with θ = h 2 \displaystyle \theta = \tfrac{h}{2} θ = 2 h .
cos ( x + h ) − cos x h = − sin ( x + h 2 ) ⋅ sin ( h / 2 ) h / 2 . \displaystyle \frac{\cos(x + h) - \cos x}{h} = -\sin\left(x + \tfrac{h}{2}\right)\cdot\frac{\sin(h/2)}{h/2}. h cos ( x + h ) − cos x = − sin ( x + 2 h ) ⋅ h /2 sin ( h /2 ) .
Step 4. Let h → 0 h \to 0 h → 0 : the first factor tends to sin x \sin x sin x and the second to 1 1 1 .
d d x cos x = − sin x ⋅ 1 = − sin x . \displaystyle \frac{d}{dx}\cos x = -\sin x \cdot 1 = -\sin x. d x d cos x = − sin x ⋅ 1 = − sin x .
Checking the answer#
The rules you learn later give the same results: d d x ( x 2 + 3 x ) = 2 x + 3 \displaystyle \tfrac{d}{dx}(x^2 + 3x) = 2x + 3 d x d ( x 2 + 3 x ) = 2 x + 3 and d d x x 1 / 2 = 1 2 x − 1 / 2 = 1 2 x \displaystyle \tfrac{d}{dx}x^{1/2} = \tfrac12 x^{-1/2} = \tfrac{1}{2\sqrt{x}} d x d x 1/2 = 2 1 x − 1/2 = 2 x 1 . For (c), at x = 0 x = 0 x = 0 the cosine graph is at its peak, so its slope should be 0 0 0 , and − sin 0 = 0 -\sin 0 = 0 − sin 0 = 0 .
Answer#
(a) 2 x + 3 2x + 3 2 x + 3 ; (b) 1 2 x \displaystyle \frac{1}{2\sqrt{x}} 2 x 1 ; (c) − sin x -\sin x − sin x .
Common mistake to avoid#
Substituting h = 0 h = 0 h = 0 before cancelling. The factor h h h must disappear from the denominator first.
Question 2: Value of a derivative at a point#
The problem#
Find f ′ ( 2 ) f'(2) f ′ ( 2 ) for f ( x ) = 5 x 3 − 4 x f(x) = 5x^3 - 4x f ( x ) = 5 x 3 − 4 x .
Understanding the problem#
f ′ ( 2 ) f'(2) f ′ ( 2 ) is the slope of the graph of f f f at x = 2 x = 2 x = 2 . First find the derivative function f ′ ( x ) f'(x) f ′ ( x ) , then substitute x = 2 x = 2 x = 2 .
The idea#
Use the power rule d d x x n = n x n − 1 \displaystyle \tfrac{d}{dx}x^n = nx^{n-1} d x d x n = n x n − 1 together with the constant-multiple and difference rules.
Step-by-step solution#
Step 1. Differentiate term by term.
f ′ ( x ) = 5 ⋅ 3 x 2 − 4 ⋅ 1 = 15 x 2 − 4. f'(x) = 5 \cdot 3x^2 - 4 \cdot 1 = 15x^2 - 4. f ′ ( x ) = 5 ⋅ 3 x 2 − 4 ⋅ 1 = 15 x 2 − 4.
Step 2. Substitute x = 2 x = 2 x = 2 .
f ′ ( 2 ) = 15 ( 4 ) − 4 = 60 − 4 = 56. f'(2) = 15(4) - 4 = 60 - 4 = 56. f ′ ( 2 ) = 15 ( 4 ) − 4 = 60 − 4 = 56.
Checking the answer#
Estimate with a small step. f ( 2 ) = 40 − 8 = 32 f(2) = 40 - 8 = 32 f ( 2 ) = 40 − 8 = 32 and f ( 2.001 ) ≈ 32.05603 f(2.001) \approx 32.05603 f ( 2.001 ) ≈ 32.05603 , so f ( 2.001 ) − f ( 2 ) 0.001 ≈ 56.03 \displaystyle \tfrac{f(2.001) - f(2)}{0.001} \approx 56.03 0.001 f ( 2.001 ) − f ( 2 ) ≈ 56.03 , very close to 56 56 56 .
Answer#
f ′ ( 2 ) = 56 f'(2) = 56 f ′ ( 2 ) = 56 .
Common mistake to avoid#
Substituting x = 2 x = 2 x = 2 into f f f first and then differentiating the number 32 32 32 gives 0 0 0 . Always differentiate first, then substitute.
Question 3: Using the power, sum and product rules#
The problem#
Differentiate
(a) x − 3 + 2 x 1 / 2 x^{-3} + 2x^{1/2} x − 3 + 2 x 1/2 ; (b) ( 2 x + 1 ) ( x 2 − 4 ) (2x + 1)(x^2 - 4) ( 2 x + 1 ) ( x 2 − 4 ) ; (c) ( x − 1 ) 3 (x - 1)^3 ( x − 1 ) 3 .
Understanding the problem#
Three functions built from powers of x x x . Part (a) has negative and fractional powers; (b) is a product; (c) is a cube of a bracket.
The idea#
The power rule d d x x n = n x n − 1 \displaystyle \tfrac{d}{dx}x^n = nx^{n-1} d x d x n = n x n − 1 works for every real n n n , including negative and fractional. For (b) use the product rule ( u v ) ′ = u ′ v + u v ′ (uv)' = u'v + uv' ( uv ) ′ = u ′ v + u v ′ . For (c), write the cube as a product (or expand it), since only the rules of this lesson are available.
Step-by-step solution#
Part (a)
Step 1. Differentiate x − 3 x^{-3} x − 3 : n = − 3 n = -3 n = − 3 , so the new power is − 4 -4 − 4 .
d d x x − 3 = − 3 x − 4 . \displaystyle \frac{d}{dx}x^{-3} = -3x^{-4}. d x d x − 3 = − 3 x − 4 .
Step 2. Differentiate 2 x 1 / 2 2x^{1/2} 2 x 1/2 : n = 1 2 \displaystyle n = \tfrac12 n = 2 1 , so the new power is − 1 2 \displaystyle -\tfrac12 − 2 1 .
d d x 2 x 1 / 2 = 2 ⋅ 1 2 x − 1 / 2 = x − 1 / 2 . \displaystyle \frac{d}{dx}2x^{1/2} = 2 \cdot \tfrac{1}{2}x^{-1/2} = x^{-1/2}. d x d 2 x 1/2 = 2 ⋅ 2 1 x − 1/2 = x − 1/2 .
Step 3. Add.
d d x ( x − 3 + 2 x 1 / 2 ) = − 3 x − 4 + x − 1 / 2 = − 3 x 4 + 1 x . \displaystyle \frac{d}{dx}\left(x^{-3} + 2x^{1/2}\right) = -3x^{-4} + x^{-1/2} = -\frac{3}{x^4} + \frac{1}{\sqrt{x}}. d x d ( x − 3 + 2 x 1/2 ) = − 3 x − 4 + x − 1/2 = − x 4 3 + x 1 .
Part (b)
Step 1. Let u = 2 x + 1 u = 2x + 1 u = 2 x + 1 and v = x 2 − 4 v = x^2 - 4 v = x 2 − 4 . Then u ′ = 2 u' = 2 u ′ = 2 and v ′ = 2 x v' = 2x v ′ = 2 x .
Step 2. Apply the product rule.
d d x ( u v ) = u ′ v + u v ′ = 2 ( x 2 − 4 ) + ( 2 x + 1 ) ( 2 x ) . \displaystyle \frac{d}{dx}(uv) = u'v + uv' = 2(x^2 - 4) + (2x + 1)(2x). d x d ( uv ) = u ′ v + u v ′ = 2 ( x 2 − 4 ) + ( 2 x + 1 ) ( 2 x ) .
Step 3. Expand and collect.
2 x 2 − 8 + 4 x 2 + 2 x = 6 x 2 + 2 x − 8. 2x^2 - 8 + 4x^2 + 2x = 6x^2 + 2x - 8. 2 x 2 − 8 + 4 x 2 + 2 x = 6 x 2 + 2 x − 8.
Part (c)
Step 1. Expand the cube using ( p − q ) 3 = p 3 − 3 p 2 q + 3 p q 2 − q 3 (p - q)^3 = p^3 - 3p^2q + 3pq^2 - q^3 ( p − q ) 3 = p 3 − 3 p 2 q + 3 p q 2 − q 3 .
( x − 1 ) 3 = x 3 − 3 x 2 + 3 x − 1. (x - 1)^3 = x^3 - 3x^2 + 3x - 1. ( x − 1 ) 3 = x 3 − 3 x 2 + 3 x − 1.
Step 2. Differentiate term by term.
3 x 2 − 6 x + 3. 3x^2 - 6x + 3. 3 x 2 − 6 x + 3.
Step 3. Factor to see the neat form.
3 x 2 − 6 x + 3 = 3 ( x 2 − 2 x + 1 ) = 3 ( x − 1 ) 2 . 3x^2 - 6x + 3 = 3(x^2 - 2x + 1) = 3(x - 1)^2. 3 x 2 − 6 x + 3 = 3 ( x 2 − 2 x + 1 ) = 3 ( x − 1 ) 2 .
Checking the answer#
For (b), expand first: ( 2 x + 1 ) ( x 2 − 4 ) = 2 x 3 + x 2 − 8 x − 4 (2x + 1)(x^2 - 4) = 2x^3 + x^2 - 8x - 4 ( 2 x + 1 ) ( x 2 − 4 ) = 2 x 3 + x 2 − 8 x − 4 , whose derivative is 6 x 2 + 2 x − 8 6x^2 + 2x - 8 6 x 2 + 2 x − 8 . The same.
Answer#
(a) − 3 x − 4 + x − 1 / 2 -3x^{-4} + x^{-1/2} − 3 x − 4 + x − 1/2 ; (b) 6 x 2 + 2 x − 8 6x^2 + 2x - 8 6 x 2 + 2 x − 8 ; (c) 3 ( x − 1 ) 2 3(x - 1)^2 3 ( x − 1 ) 2 .
Question 4: Using the quotient and product rules#
The problem#
Differentiate
(a) x 2 x + 3 \displaystyle \frac{x^2}{x + 3} x + 3 x 2 ; (b) 1 + sin x cos x \displaystyle \frac{1 + \sin x}{\cos x} cos x 1 + sin x ; (c) x tan x x\tan x x tan x .
Understanding the problem#
(a) and (b) are quotients of two functions; (c) is a product.
The idea#
Quotient rule: ( u v ) ′ = u ′ v − u v ′ v 2 \displaystyle \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2} ( v u ) ′ = v 2 u ′ v − u v ′ , "derivative of top times bottom, minus top times derivative of bottom, over bottom squared". Product rule: ( u v ) ′ = u ′ v + u v ′ (uv)' = u'v + uv' ( uv ) ′ = u ′ v + u v ′ . We also need d d x sin x = cos x \displaystyle \tfrac{d}{dx}\sin x = \cos x d x d sin x = cos x , d d x cos x = − sin x \displaystyle \tfrac{d}{dx}\cos x = -\sin x d x d cos x = − sin x and d d x tan x = sec 2 x \displaystyle \tfrac{d}{dx}\tan x = \sec^2 x d x d tan x = sec 2 x .
Step-by-step solution#
Part (a)
Step 1. u = x 2 u = x^2 u = x 2 , u ′ = 2 x u' = 2x u ′ = 2 x ; v = x + 3 v = x + 3 v = x + 3 , v ′ = 1 v' = 1 v ′ = 1 .
Step 2. Apply the quotient rule.
d d x x 2 x + 3 = 2 x ( x + 3 ) − x 2 ⋅ 1 ( x + 3 ) 2 . \displaystyle \frac{d}{dx}\frac{x^2}{x + 3} = \frac{2x(x + 3) - x^2 \cdot 1}{(x + 3)^2}. d x d x + 3 x 2 = ( x + 3 ) 2 2 x ( x + 3 ) − x 2 ⋅ 1 .
Step 3. Simplify the numerator: 2 x 2 + 6 x − x 2 = x 2 + 6 x 2x^2 + 6x - x^2 = x^2 + 6x 2 x 2 + 6 x − x 2 = x 2 + 6 x .
= x 2 + 6 x ( x + 3 ) 2 . \displaystyle = \frac{x^2 + 6x}{(x + 3)^2}. = ( x + 3 ) 2 x 2 + 6 x .
Part (b)
Step 1. u = 1 + sin x u = 1 + \sin x u = 1 + sin x , u ′ = cos x u' = \cos x u ′ = cos x ; v = cos x v = \cos x v = cos x , v ′ = − sin x v' = -\sin x v ′ = − sin x .
Step 2. Apply the quotient rule. Be careful with the minus sign in front of u v ′ uv' u v ′ .
cos x ⋅ cos x − ( 1 + sin x ) ( − sin x ) cos 2 x = cos 2 x + sin x + sin 2 x cos 2 x . \displaystyle \frac{\cos x \cdot \cos x - (1 + \sin x)(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin x + \sin^2 x}{\cos^2 x}. cos 2 x cos x ⋅ cos x − ( 1 + sin x ) ( − sin x ) = cos 2 x cos 2 x + sin x + sin 2 x .
Step 3. Use sin 2 x + cos 2 x = 1 \sin^2 x + \cos^2 x = 1 sin 2 x + cos 2 x = 1 in the numerator.
= 1 + sin x cos 2 x . \displaystyle = \frac{1 + \sin x}{\cos^2 x}. = cos 2 x 1 + sin x .
Part (c)
Step 1. u = x u = x u = x , u ′ = 1 u' = 1 u ′ = 1 ; v = tan x v = \tan x v = tan x , v ′ = sec 2 x v' = \sec^2 x v ′ = sec 2 x .
Step 2. Apply the product rule.
d d x ( x tan x ) = 1 ⋅ tan x + x sec 2 x = tan x + x sec 2 x . \displaystyle \frac{d}{dx}(x\tan x) = 1 \cdot \tan x + x\sec^2 x = \tan x + x\sec^2 x. d x d ( x tan x ) = 1 ⋅ tan x + x sec 2 x = tan x + x sec 2 x .
Checking the answer#
For (b), check at x = 0 x = 0 x = 0 numerically. The function is g ( x ) = 1 + sin x cos x \displaystyle g(x) = \tfrac{1 + \sin x}{\cos x} g ( x ) = c o s x 1 + s i n x ; g ( 0.001 ) ≈ 1.001 0.9999995 ≈ 1.0010005 \displaystyle g(0.001) \approx \tfrac{1.001}{0.9999995} \approx 1.0010005 g ( 0.001 ) ≈ 0.9999995 1.001 ≈ 1.0010005 and g ( 0 ) = 1 g(0) = 1 g ( 0 ) = 1 , so the slope is about 1.0 1.0 1.0 . The formula gives 1 + 0 1 = 1 \displaystyle \tfrac{1 + 0}{1} = 1 1 1 + 0 = 1 . Correct.
Answer#
(a) x 2 + 6 x ( x + 3 ) 2 \displaystyle \frac{x^2 + 6x}{(x + 3)^2} ( x + 3 ) 2 x 2 + 6 x ; (b) 1 + sin x cos 2 x \displaystyle \frac{1 + \sin x}{\cos^2 x} cos 2 x 1 + sin x ; (c) tan x + x sec 2 x \tan x + x\sec^2 x tan x + x sec 2 x .
Common mistake to avoid#
Writing u v ′ − u ′ v uv' - u'v u v ′ − u ′ v in the numerator (the wrong order) flips the sign of the answer. The quotient rule starts with u ′ v u'v u ′ v .
Question 5: Derivatives of trigonometric combinations#
The problem#
Differentiate
(a) sin 2 x \sin^2 x sin 2 x (treating it as sin x ⋅ sin x \sin x \cdot \sin x sin x ⋅ sin x ); (b) sec x − tan x \sec x - \tan x sec x − tan x .
Understanding the problem#
In (a) you are told to treat the square as a product of two equal factors, so that the product rule can be used. In (b) you need the standard derivatives of sec x \sec x sec x and tan x \tan x tan x .
The idea#
(a) Product rule with u = v = sin x u = v = \sin x u = v = sin x . (b) Difference rule with d d x sec x = sec x tan x \displaystyle \tfrac{d}{dx}\sec x = \sec x\tan x d x d sec x = sec x tan x and d d x tan x = sec 2 x \displaystyle \tfrac{d}{dx}\tan x = \sec^2 x d x d tan x = sec 2 x .
Step-by-step solution#
Part (a)
Step 1. u = sin x u = \sin x u = sin x , v = sin x v = \sin x v = sin x , so u ′ = v ′ = cos x u' = v' = \cos x u ′ = v ′ = cos x .
Step 2. Product rule.
d d x ( sin x ⋅ sin x ) = cos x sin x + sin x cos x = 2 sin x cos x . \displaystyle \frac{d}{dx}(\sin x \cdot \sin x) = \cos x\sin x + \sin x\cos x = 2\sin x\cos x. d x d ( sin x ⋅ sin x ) = cos x sin x + sin x cos x = 2 sin x cos x .
(This is also sin 2 x \sin 2x sin 2 x .)
Part (b)
Step 1. Differentiate each term.
d d x sec x = sec x tan x , d d x tan x = sec 2 x . \displaystyle \frac{d}{dx}\sec x = \sec x\tan x, \qquad \frac{d}{dx}\tan x = \sec^2 x. d x d sec x = sec x tan x , d x d tan x = sec 2 x .
Step 2. Subtract.
d d x ( sec x − tan x ) = sec x tan x − sec 2 x . \displaystyle \frac{d}{dx}(\sec x - \tan x) = \sec x\tan x - \sec^2 x. d x d ( sec x − tan x ) = sec x tan x − sec 2 x .
This can also be written sec x ( tan x − sec x ) \sec x(\tan x - \sec x) sec x ( tan x − sec x ) .
Checking the answer#
For (a), sin 2 x = 1 − cos 2 x 2 \displaystyle \sin^2 x = \tfrac{1 - \cos 2x}{2} sin 2 x = 2 1 − c o s 2 x . Its derivative, using d d x cos 2 x = − 2 sin 2 x \displaystyle \tfrac{d}{dx}\cos 2x = -2\sin 2x d x d cos 2 x = − 2 sin 2 x , is sin 2 x = 2 sin x cos x \sin 2x = 2\sin x\cos x sin 2 x = 2 sin x cos x . Agrees.
Answer#
(a) 2 sin x cos x 2\sin x\cos x 2 sin x cos x ; (b) sec x tan x − sec 2 x \sec x\tan x - \sec^2 x sec x tan x − sec 2 x .
Question 6: Slope of a tangent and horizontal tangents#
The problem#
Find the slope of the tangent to y = x 3 − 3 x + 1 y = x^3 - 3x + 1 y = x 3 − 3 x + 1 at x = 2 x = 2 x = 2 . At which points is the tangent horizontal?
Understanding the problem#
The slope of the tangent at a point is the value of d y d x \displaystyle \tfrac{dy}{dx} d x d y there. A horizontal tangent has slope 0 0 0 .
The idea#
Differentiate, substitute x = 2 x = 2 x = 2 for the first part, and solve d y d x = 0 \displaystyle \tfrac{dy}{dx} = 0 d x d y = 0 for the second.
Step-by-step solution#
Step 1. Differentiate.
d y d x = 3 x 2 − 3. \displaystyle \frac{dy}{dx} = 3x^2 - 3. d x d y = 3 x 2 − 3.
Step 2. Slope at x = 2 x = 2 x = 2 .
3 ( 2 ) 2 − 3 = 12 − 3 = 9. 3(2)^2 - 3 = 12 - 3 = 9. 3 ( 2 ) 2 − 3 = 12 − 3 = 9.
Step 3. Horizontal tangent: set the slope to zero.
3 x 2 − 3 = 0 ⟹ x 2 = 1 ⟹ x = 1 or x = − 1. 3x^2 - 3 = 0 \;\Longrightarrow\; x^2 = 1 \;\Longrightarrow\; x = 1 \text{ or } x = -1. 3 x 2 − 3 = 0 ⟹ x 2 = 1 ⟹ x = 1 or x = − 1.
Step 4. Find the points on the curve. At x = 1 x = 1 x = 1 : y = 1 − 3 + 1 = − 1 y = 1 - 3 + 1 = -1 y = 1 − 3 + 1 = − 1 . At x = − 1 x = -1 x = − 1 : y = − 1 + 3 + 1 = 3 y = -1 + 3 + 1 = 3 y = − 1 + 3 + 1 = 3 .
Checking the answer#
y y y at x = 0.9 x = 0.9 x = 0.9 , 1 1 1 , 1.1 1.1 1.1 is − 0.971 -0.971 − 0.971 , − 1 -1 − 1 , − 0.969 -0.969 − 0.969 : the curve bottoms out near x = 1 x = 1 x = 1 , consistent with a horizontal tangent there.
Answer#
Slope 9 9 9 at x = 2 x = 2 x = 2 ; the tangent is horizontal at x = ± 1 x = \pm 1 x = ± 1 , i.e. at the points ( 1 , − 1 ) (1, -1) ( 1 , − 1 ) and ( − 1 , 3 ) (-1, 3) ( − 1 , 3 ) .
Question 7: Rate of change of the area of a circle#
The problem#
The area of a circle is A = π r 2 A = \pi r^2 A = π r 2 . How fast does A A A change with respect to r r r when r = 5 r = 5 r = 5 ?
Understanding the problem#
"How fast A A A changes with r r r " is the derivative d A d r \displaystyle \tfrac{dA}{dr} d r d A , the instantaneous rate of change of area per unit increase in radius. We need its value at r = 5 r = 5 r = 5 .
The idea#
Differentiate π r 2 \pi r^2 π r 2 with respect to r r r ; π \pi π is a constant multiplier.
Step-by-step solution#
Step 1. Differentiate.
d A d r = π ⋅ 2 r = 2 π r . \displaystyle \frac{dA}{dr} = \pi \cdot 2r = 2\pi r. d r d A = π ⋅ 2 r = 2 π r .
Step 2. Substitute r = 5 r = 5 r = 5 .
d A d r ∣ r = 5 = 10 π ≈ 31.4. \displaystyle \frac{dA}{dr}\Big|_{r = 5} = 10\pi \approx 31.4. d r d A r = 5 = 10 π ≈ 31.4.
Checking the answer#
2 π r 2\pi r 2 π r is the circumference: increasing the radius a little adds a thin ring whose area is about circumference × \times × thickness. That makes sense.
Answer#
d A d r = 10 π \displaystyle \frac{dA}{dr} = 10\pi d r d A = 10 π square units per unit of radius when r = 5 r = 5 r = 5 .
Question 8: Derivative of a long polynomial at x = 1#
The problem#
If f ( x ) = 1 + x + x 2 + ⋯ + x 50 f(x) = 1 + x + x^2 + \cdots + x^{50} f ( x ) = 1 + x + x 2 + ⋯ + x 50 , find f ′ ( 1 ) f'(1) f ′ ( 1 ) .
Understanding the problem#
f f f is a sum of 51 51 51 terms, the powers of x x x from 0 0 0 to 50 50 50 . We want the derivative at x = 1 x = 1 x = 1 .
The idea#
Differentiate term by term with the power rule, then put x = 1 x = 1 x = 1 ; every power of 1 1 1 is 1 1 1 , leaving a sum of whole numbers.
Step-by-step solution#
Step 1. Differentiate each term: d d x 1 = 0 \displaystyle \tfrac{d}{dx}1 = 0 d x d 1 = 0 , d d x x k = k x k − 1 \displaystyle \tfrac{d}{dx}x^k = kx^{k-1} d x d x k = k x k − 1 .
f ′ ( x ) = 0 + 1 + 2 x + 3 x 2 + ⋯ + 50 x 49 . f'(x) = 0 + 1 + 2x + 3x^2 + \cdots + 50x^{49}. f ′ ( x ) = 0 + 1 + 2 x + 3 x 2 + ⋯ + 50 x 49 .
Step 2. Put x = 1 x = 1 x = 1 .
f ′ ( 1 ) = 1 + 2 + 3 + ⋯ + 50. f'(1) = 1 + 2 + 3 + \cdots + 50. f ′ ( 1 ) = 1 + 2 + 3 + ⋯ + 50.
Step 3. Use the sum of the first n n n natural numbers, n ( n + 1 ) 2 \displaystyle \tfrac{n(n + 1)}{2} 2 n ( n + 1 ) , with n = 50 n = 50 n = 50 .
f ′ ( 1 ) = 50 × 51 2 = 1275. \displaystyle f'(1) = \frac{50 \times 51}{2} = 1275. f ′ ( 1 ) = 2 50 × 51 = 1275.
Checking the answer#
For a small case, f ( x ) = 1 + x + x 2 f(x) = 1 + x + x^2 f ( x ) = 1 + x + x 2 gives f ′ ( 1 ) = 1 + 2 = 3 = 2 ⋅ 3 2 \displaystyle f'(1) = 1 + 2 = 3 = \tfrac{2 \cdot 3}{2} f ′ ( 1 ) = 1 + 2 = 3 = 2 2 ⋅ 3 . The pattern holds.
Answer#
f ′ ( 1 ) = 1275 f'(1) = 1275 f ′ ( 1 ) = 1275 .
Question 9: Derivative of tan x from the quotient rule#
The problem#
Derive d d x tan x = sec 2 x \displaystyle \frac{d}{dx}\tan x = \sec^2 x d x d tan x = sec 2 x using the quotient rule.
Understanding the problem#
This is a short proof. You must show, using only d d x sin x = cos x \displaystyle \tfrac{d}{dx}\sin x = \cos x d x d sin x = cos x , d d x cos x = − sin x \displaystyle \tfrac{d}{dx}\cos x = -\sin x d x d cos x = − sin x and the quotient rule, that the derivative of tan x \tan x tan x is sec 2 x \sec^2 x sec 2 x .
The idea#
Write tan x = sin x cos x \displaystyle \tan x = \frac{\sin x}{\cos x} tan x = cos x sin x , apply the quotient rule, and simplify with sin 2 x + cos 2 x = 1 \sin^2 x + \cos^2 x = 1 sin 2 x + cos 2 x = 1 .
Step-by-step solution#
Step 1. Express tan x \tan x tan x as a quotient: u = sin x u = \sin x u = sin x , v = cos x v = \cos x v = cos x , with u ′ = cos x u' = \cos x u ′ = cos x , v ′ = − sin x v' = -\sin x v ′ = − sin x .
Step 2. Apply the quotient rule.
d d x tan x = cos x ⋅ cos x − sin x ⋅ ( − sin x ) cos 2 x = cos 2 x + sin 2 x cos 2 x . \displaystyle \frac{d}{dx}\tan x = \frac{\cos x\cdot\cos x - \sin x\cdot(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x}. d x d tan x = cos 2 x cos x ⋅ cos x − sin x ⋅ ( − sin x ) = cos 2 x cos 2 x + sin 2 x .
Step 3. The numerator is 1 1 1 by the Pythagorean identity.
= 1 cos 2 x = sec 2 x . \displaystyle = \frac{1}{\cos^2 x} = \sec^2 x. = cos 2 x 1 = sec 2 x .
This holds wherever cos x ≠ 0 \cos x \ne 0 cos x = 0 . ■ \blacksquare ■
Checking the answer#
At x = 0 x = 0 x = 0 , tan x \tan x tan x behaves like x x x (slope 1 1 1 ), and sec 2 0 = 1 \sec^2 0 = 1 sec 2 0 = 1 . At x = π 4 \displaystyle x = \tfrac{\pi}{4} x = 4 π , sec 2 = 2 \sec^2 = 2 sec 2 = 2 , and indeed tan \tan tan is steeper there.
Answer#
d d x tan x = cos 2 x + sin 2 x cos 2 x = sec 2 x \displaystyle \frac{d}{dx}\tan x = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \sec^2 x d x d tan x = cos 2 x cos 2 x + sin 2 x = sec 2 x .
Question 10: Derivative of a general linear fraction#
The problem#
Find d d x ( a x + b c x + d ) \displaystyle \frac{d}{dx}\left(\frac{ax + b}{cx + d}\right) d x d ( c x + d a x + b ) , where a , b , c , d a, b, c, d a , b , c , d are constants.
Understanding the problem#
This is a quotient of two linear expressions. The letters a , b , c , d a, b, c, d a , b , c , d are fixed numbers, not variables. The result is a useful general formula (Example 6 is the special case a = b = c = 1 a = b = c = 1 a = b = c = 1 , d = − 1 d = -1 d = − 1 ).
The idea#
Quotient rule with u = a x + b u = ax + b u = a x + b and v = c x + d v = cx + d v = c x + d .
Step-by-step solution#
Step 1. u ′ = a u' = a u ′ = a , v ′ = c v' = c v ′ = c .
Step 2. Apply the quotient rule.
a ( c x + d ) − ( a x + b ) c ( c x + d ) 2 . \displaystyle \frac{a(cx + d) - (ax + b)c}{(cx + d)^2}. ( c x + d ) 2 a ( c x + d ) − ( a x + b ) c .
Step 3. Expand the numerator: a c x + a d − a c x − b c acx + ad - acx - bc a c x + a d − a c x − b c . The a c x acx a c x terms cancel.
= a d − b c ( c x + d ) 2 . \displaystyle = \frac{ad - bc}{(cx + d)^2}. = ( c x + d ) 2 a d − b c .
Checking the answer#
With a = b = c = 1 a = b = c = 1 a = b = c = 1 , d = − 1 d = -1 d = − 1 this gives − 1 − 1 ( x − 1 ) 2 = − 2 ( x − 1 ) 2 \displaystyle \tfrac{-1 - 1}{(x - 1)^2} = -\tfrac{2}{(x - 1)^2} ( x − 1 ) 2 − 1 − 1 = − ( x − 1 ) 2 2 , exactly Example 6 of the lesson. Also, if a d − b c = 0 ad - bc = 0 a d − b c = 0 the fraction is a constant, and its derivative is 0 0 0 , as the formula says.
Answer#
d d x ( a x + b c x + d ) = a d − b c ( c x + d ) 2 \displaystyle \frac{d}{dx}\left(\frac{ax + b}{cx + d}\right) = \frac{ad - bc}{(cx + d)^2} d x d ( c x + d a x + b ) = ( c x + d ) 2 a d − b c .