B. Derivatives and Their Applications · Curve Sketching: Connecting f, f′ and f″Finding the Second Derivative of Polynomial and Rational Functions
B1.3About 65 minutes
Learning goals- I can find f″(x) for polynomial functions using the power, sum and chain rules.
- I can find f″(x) for simple rational functions by rewriting with negative exponents or using the quotient rule.
- I can simplify and factor f″(x) so its sign is easy to read.
Words to know
negative exponent
x⁻ⁿ = 1/xⁿ. Rewriting fractions this way lets you use the power rule.
quotient rule
(u/v)′ = (u′v − uv′)/v², which you derived from the product and chain rules in Derivatives and Differentiation Rules.
simple rational function
A quotient of two polynomials of low degree, such as 1/(x − 2), x/(x + 1) or 1/(x² + 1).
Two derivatives in a row
In the last lesson you met f″ through graphs and data. Now you will find it algebraically, quickly and accurately, for polynomial and simple rational functions. Every later lesson in this unit depends on this skill, so it is worth practising until it is automatic.
The plan is simple: find f′, simplify it, then differentiate again. A tidy f′ makes f″ much easier. Here are the rules you will use (from Derivatives and Differentiation Rules):
- Power rule: d/dx xⁿ = nxⁿ⁻¹ for any rational n (including negative n).
- Constant multiple, sum and difference rules.
- Chain rule: d/dx [g(x)]ⁿ = n[g(x)]ⁿ⁻¹ g′(x).
- Product rule: (uv)′ = u′v + uv′.
Worked exampleExample 1: A polynomial
Find f″(x) for f(x) = x⁴ − 2x³ + 5x − 8, and evaluate f″(−1) and f″(2).
- f′(x) = 4x³ − 6x² + 5.
- f″(x) = 12x² − 12x = 12x(x − 1).
- f″(−1) = 12(1) + 12 = 24 > 0, so f is concave up at x = −1.
- f″(2) = 48 − 24 = 24 > 0. f″ = 0 at x = 0 and x = 1, where the concavity may change.
f″(x) = 12x² − 12x; f″(−1) = 24 and f″(2) = 24.
Worked exampleExample 2: Chain rule twice
Find f″(x) for f(x) = (2x − 1)⁵.
- f′(x) = 5(2x − 1)⁴ · 2 = 10(2x − 1)⁴.
- f″(x) = 10 · 4(2x − 1)³ · 2 = 80(2x − 1)³.
f″(x) = 80(2x − 1)³. (No need to expand: the factored form shows f″ = 0 at x = 1/2 and its sign changes there.)
Rational functions: rewrite with negative exponents
For a simple rational function, rewrite before differentiating:
- 1/x = x⁻¹, and 3/(x − 2)² = 3(x − 2)⁻².
- If the numerator and denominator have the same degree, divide first: x/(x + 1) = 1 − 1/(x + 1).
Then use the power and chain rules. When you are finished, rewrite negative exponents as fractions so you can read signs easily.
Rewriting a rational function with negative exponents turns each derivative into a power rule and chain rule step.Worked exampleExample 3: Simple rational functions
Find f″(x) for (a) f(x) = 1/x, (b) g(x) = 3/(x − 2)², (c) h(x) = x/(x + 1).
- (a) f(x) = x⁻¹, f′(x) = −x⁻², f″(x) = 2x⁻³ = 2/x³.
- (b) g(x) = 3(x − 2)⁻², g′(x) = −6(x − 2)⁻³, g″(x) = 18(x − 2)⁻⁴ = 18/(x − 2)⁴.
- (c) h(x) = (x + 1 − 1)/(x + 1) = 1 − (x + 1)⁻¹. h′(x) = (x + 1)⁻². h″(x) = −2(x + 1)⁻³ = −2/(x + 1)³.
f″ = 2/x³, g″ = 18/(x − 2)⁴ (always positive, so g is concave up on both sides of x = 2), h″ = −2/(x + 1)³.
For f(x) = 1/x, f″(x) = 2/x³ is negative for x < 0 (the left branch bends like ∩) and positive for x > 0 (the right branch bends like ∪). There is no inflection point, because x = 0 is not in the domain.The quotient rule (a recap)
**Remember from Derivatives and Differentiation Rules (lesson The Quotient Rule and Rational Functions): writing u/v as u · v⁻¹ and using the product and chain rules gives the quotient rule**
(u/v)′ = (u′v − uv′)/v² ("low d-high minus high d-low, over the square of what's below").
Go back to that lesson if you want the derivation or more practice. You may use the formula or the product-rule method; both give the same answer. For a second derivative of a quotient, simplify f′ fully first, then use the rule again (or rewrite f′ with a negative exponent).
Worked exampleExample 4: A bell-shaped curve
Find f′(x) and f″(x) for f(x) = 1/(x² + 1). Where is f″(x) = 0?
- f(x) = (x² + 1)⁻¹, so f′(x) = −(x² + 1)⁻² · 2x = −2x(x² + 1)⁻².
- Product rule on f′: f″(x) = −2(x² + 1)⁻² + (−2x)(−2)(x² + 1)⁻³(2x) = −2(x² + 1)⁻² + 8x²(x² + 1)⁻³.
- Common factor (x² + 1)⁻³: f″(x) = [−2(x² + 1) + 8x²]/(x² + 1)³ = (6x² − 2)/(x² + 1)³.
- f″ = 0 when 6x² = 2, x² = 1/3, x = ±1/√3 ≈ ±0.577. There, f = 1/(1/3 + 1) = 3/4.
f′(x) = −2x/(x² + 1)², f″(x) = (6x² − 2)/(x² + 1)³, which is zero at x = ±1/√3. Since the denominator is always positive, f″ changes sign there: inflection points (±1/√3, 3/4).
Where f″ < 0 (shaded, between x = −1/√3 and x = 1/√3) the bell-shaped curve is concave down; outside, f″ > 0 and it is concave up. The inflection points are at x = ±1/√3 ≈ ±0.577, where y = 3/4.Factor before you finish
When f″ is a fraction, pull out the lowest power of each repeated factor (as in Example 4), combine into one fraction, and factor the numerator. The sign of f″ then comes from a short list of factors, exactly as with f′.
Just for funWhy was the second derivative so calm in a crisis?
It had already been through the change of a change.
Hands-on activityDerivative chains with cards
You need: 12 index cards (or squares of paper), a pen and a timer.
- On 4 cards write functions: x⁴ − 3x², (3x + 1)⁴, 2/x, x/(x − 3). On 4 more write their first derivatives, and on the last 4 their second derivatives (work them out first and check them with this lesson's examples and a partner or a grown-up).
- Shuffle all 12 cards. Set a timer for 3 minutes and arrange them in 4 chains: f → f′ → f″.
- Then turn over the f cards only and rebuild the other cards from memory.
What to look for (answers): x⁴ − 3x² → 4x³ − 6x → 12x² − 6. (3x + 1)⁴ → 12(3x + 1)³ → 108(3x + 1)². 2/x → −2/x² → 4/x³. x/(x − 3) = 1 + 3/(x − 3) → −3/(x − 3)² → 6/(x − 3)³.
Your turn
1Find f″(x) for f(x) = 2x³ − 9x² + 12x.
f′ = 6x² − 18x + 12; f″ = 12x − 18.
2Find f″(x) for f(x) = (x² + 3)².
Expand: x⁴ + 6x² + 9. f′ = 4x³ + 12x; f″ = 12x² + 12.
y = 4x⁻², y′ = −8x⁻³, y″ = 24x⁻⁴ = 24/x⁴.
4Find f″(x) for f(x) = 1/(x − 5).
f = (x − 5)⁻¹, f′ = −(x − 5)⁻², f″ = 2(x − 5)⁻³ = 2/(x − 5)³.
5Find f″(x) for f(x) = (x + 2)/(x − 1).
f = 1 + 3/(x − 1) = 1 + 3(x − 1)⁻¹. f′ = −3(x − 1)⁻²; f″ = 6(x − 1)⁻³ = 6/(x − 1)³.
6For f(x) = x⁴ − 6x², evaluate f″(0) and f″(2) and state the concavity at each.
f″(x) = 12x² − 12. f″(0) = −12 (concave down); f″(2) = 36 (concave up).
7Find where f″(x) = 0 for f(x) = x⁵ − 5x⁴.
f′ = 5x⁴ − 20x³; f″ = 20x³ − 60x² = 20x²(x − 3). x = 0 and x = 3.
More practice: warm-up
1Find f″(x) for f(x) = 5x³.
2Find f″(x) for f(x) = x² − 7x + 1.
3Rewrite 3/x⁴ with a negative exponent.
4Find f″(x) for f(x) = x⁻¹.
5Find f″(1) for f(x) = x⁶.
f″ = 30x⁴, so f″(1) = 30.
More practice: on your own
1Find f″(x) for f(x) = (3x − 2)⁴.
f′ = 12(3x − 2)³; f″ = 108(3x − 2)².
2Find f″(x) for f(x) = x²/(x + 1). (Hint: divide first.)
x² = (x + 1)(x − 1) + 1, so f = x − 1 + (x + 1)⁻¹. f′ = 1 − (x + 1)⁻²; f″ = 2(x + 1)⁻³ = 2/(x + 1)³.
3Find f″(x) for f(x) = √x (x > 0).
f = x^(1/2), f′ = (1/2)x^(−1/2), f″ = −(1/4)x^(−3/2) = −1/(4x√x). Negative, so √x is concave down.
4Use the quotient rule to find f′(x) for f(x) = x/(x² + 4).
u = x, v = x² + 4: f′ = [1(x² + 4) − x(2x)]/(x² + 4)² = (4 − x²)/(x² + 4)².
5Find f″(x) for f(x) = x(x − 3)².
Expand: x³ − 6x² + 9x. f′ = 3x² − 12x + 9; f″ = 6x − 12.
Challenge
1Find f″(x) for f(x) = 2x/(x² + 1) and simplify fully.
f′ = [2(x² + 1) − 2x(2x)]/(x² + 1)² = (2 − 2x²)/(x² + 1)². Then f″ = [−4x(x² + 1)² − (2 − 2x²)·2(x² + 1)(2x)]/(x² + 1)⁴. Divide top and bottom by (x² + 1): [−4x(x² + 1) − 4x(2 − 2x²)]/(x² + 1)³ = (−4x³ − 4x − 8x + 8x³)/(x² + 1)³ = (4x³ − 12x)/(x² + 1)³ = 4x(x² − 3)/(x² + 1)³.
2Find a formula for the nth derivative of f(x) = 1/x.
f′ = −x⁻², f″ = 2x⁻³, f‴ = −6x⁻⁴, f⁽⁴⁾ = 24x⁻⁵. Pattern: f⁽ⁿ⁾(x) = (−1)ⁿ n! / xⁿ⁺¹.
3Find all values of k for which f(x) = x⁴ + kx³ + 6x² is concave up for every x.
f″(x) = 12x² + 6kx + 12. This is ≥ 0 for all x when its discriminant is ≤ 0: 36k² − 576 ≤ 0, k² ≤ 16, −4 ≤ k ≤ 4. (At k = ±4, f″ = 12(x ± 1)² touches 0 at one point without changing sign, so f is still concave up.)
Check your understandingQuiz
1. What is f″(x) for f(x) = x³ − 4x² + x?
2. What is f″(x) for f(x) = 1/x²?
3. What is f″(x) for f(x) = (x − 3)⁴?
4. Which rewriting is the best first step to differentiate f(x) = x/(x − 2)?
5. For f(x) = 1/(x² + 1), what is f″(0)?
6. The quotient rule says (u/v)′ equals:
For parents and teachersBig idea (B1.3): finding f″ is two derivatives in a row. For rational functions, rewriting with negative exponents (and dividing first when the degrees are equal) keeps the algebra short.
How to help: ask your teen to check one answer by a second method (for example, expand (x² + 3)² and differentiate, or use the quotient rule instead of negative exponents). Matching answers build confidence.
Common difficulties:
- Forgetting the chain-rule factor (the derivative of the inside).
- Sign errors with negative exponents: the derivative of x⁻¹ is −x⁻², and of −x⁻² is +2x⁻³.
- Not simplifying f′ before differentiating again.
- Writing the quotient-rule numerator in the wrong order.