Navigation

Concept Review

Differential Calculus

Monotonicity, Concavity and the Derivative Tests

The derivative tells you the slope of a graph at a point; this topic converts sign information about ff' and ff'' into shape information about the graph of ff — where it rises, where it falls, which way it bends, and which critical points are peaks and which are valleys. Every theorem below is a corollary of the Mean Value Theorem, and everything that follows in the course (curve sketching, optimisation) is an application of these tests. The recurring discipline is the sign chart: factor a derivative, mark the points where it can change sign, and read off the geometry.

Vocabulary and standing definitions

Increasing / decreasing. ff is increasing on an interval II if x1<x2x_1<x_2 in II implies f(x1)<f(x2)f(x_1)<f(x_2); decreasing if x1<x2x_1<x_2 implies f(x1)>f(x2)f(x_1)>f(x_2). (The non-strict versions weaken the conclusion to f(x1)f(x2)f(x_1)\le f(x_2) and f(x1)f(x2)f(x_1)\ge f(x_2) respectively.) Monotonicity is a statement about an interval, never about a single point.

Critical number. cc is a critical number of ff if cc is in the domain of ff and either f(c)=0f'(c)=0 or f(c)f'(c) does not exist. A point outside the domain — a vertical asymptote of a rational function, say — is never a critical number, even though it does split the number line.

Local extremum. ff has a local maximum at cc if f(x)f(c)f(x)\le f(c) for all xx in some open interval containing cc (local minimum: f(x)f(c)f(x)\ge f(c)).

Fermat's theorem. If cc is an interior point of the domain of ff, if ff has a local extremum at cc, and if f(c)f'(c) exists, then f(c)=0f'(c)=0. The interior-point hypothesis is not decoration: f(x)=xf(x)=x on [0,1][0,1] has an absolute minimum at the endpoint c=0c=0, yet the derivative there (one-sided, the only kind available) equals 11. Consequently every interior local extremum occurs at a critical number — but the converse is false, which is exactly why we need the tests below. On a closed-interval domain the two endpoints are never critical numbers and must be examined separately.

Monotonicity from the sign of ff'

Mean Value Theorem (the engine behind everything below). If ff is continuous on the closed interval [a,b][a,b] and differentiable on the open interval (a,b)(a,b), then there is at least one c(a,b)c\in(a,b) with f(c)=f(b)f(a)ba,equivalentlyf(b)f(a)=f(c)(ba).f'(c)=\frac{f(b)-f(a)}{b-a},\qquad\text{equivalently}\qquad f(b)-f(a)=f'(c)\,(b-a). Both hypotheses are required, and nothing at all is assumed about ff' at the endpoints aa and bb.

Increasing / Decreasing Test. Let ff be continuous on an interval II and differentiable at every interior point of II.

  • If f(x)>0f'(x)>0 at every interior point, ff is increasing on II.
  • If f(x)<0f'(x)<0 at every interior point, ff is decreasing on II.
  • If f(x)=0f'(x)=0 at every interior point, ff is constant on II.

Proof from the MVT. Let x1<x2x_1<x_2 lie in II. Then ff is continuous on [x1,x2][x_1,x_2] and differentiable on (x1,x2)(x_1,x_2), so the Mean Value Theorem supplies a c(x1,x2)c\in(x_1,x_2) with f(x2)f(x1)=f(c)(x2x1).f(x_2)-f(x_1)=f'(c)\,(x_2-x_1). Since x2x1>0x_2-x_1>0, the sign of f(x2)f(x1)f(x_2)-f(x_1) is exactly the sign of f(c)f'(c). If f>0f'>0 throughout, then f(x2)>f(x1)f(x_2)>f(x_1) for every such pair, which is the definition of increasing.

Two things the proof makes visible:

  1. II must be an interval. For f(x)=1xf(x)=-\dfrac1x we have f(x)=1x2>0f'(x)=\dfrac{1}{x^2}>0 on the whole domain, yet f(1)=1>1=f(1)f(-1)=1>-1=f(1). The domain (,0)(0,)(-\infty,0)\cup(0,\infty) is not an interval, so no MVT is available across the gap.
  2. The converse fails. f(x)=x3f(x)=x^3 is increasing on R\mathbb{R} but f(0)=0f'(0)=0. The sharp statement is: for ff differentiable on II, ff is increasing on II exactly when f0f'\ge0 on II and ff' vanishes identically on no subinterval of positive length. Isolated zeros of ff' never spoil monotonicity, so you may always close up the intervals: if f<0f'<0 on (a,c)(a,c) and on (c,b)(c,b) and ff is continuous at cc, then ff is decreasing on the whole of (a,b)(a,b).

Sign charts, done correctly

  1. Domain first. Write down the domain of ff and mark every excluded point.
  2. Differentiate, then put ff' over a single denominator and factor it completely. You cannot read the sign of 4x312x24x^3-12x^2; you can read the sign of 4x2(x3)4x^2(x-3).
  3. Mark the split points: zeros of the numerator, zeros of the denominator, and the excluded points from step 1.
  4. Determine the sign on each open interval by multiplying the signs of the factors, or by testing one convenient point.
  5. Report interval by interval. A factor raised to an even power is 0\ge0 and therefore never flips the sign.

The First Derivative Test

Theorem. Let cc be a critical number of ff, and suppose ff is continuous at cc and differentiable on a punctured interval (cδ,c)(c,c+δ)(c-\delta,c)\cup(c,c+\delta).

  • f>0f'>0 on (cδ,c)(c-\delta,c) and f<0f'<0 on (c,c+δ)(c,c+\delta) \Rightarrow local maximum at cc.
  • f<0f'<0 then f>0f'>0 \Rightarrow local minimum at cc.
  • ff' has the same sign on both sides \Rightarrow no local extremum at cc.

Continuity at cc is indispensable: a function with a jump at cc can have ff' change from ++ to - there and still have no local maximum. The test also requires ff' to keep a constant sign on each side; for f(x)=x2(2+sin(1/x))f(x)=x^2\big(2+\sin(1/x)\big) with f(0)=0f(0)=0 the derivative changes sign infinitely often near 00, so the test does not apply even though ff clearly has a minimum at 00 (because f(x)x2>0f(x)\ge x^2>0 for x0x\ne0).

Concavity

Definition. ff is concave up on an interval II if, for every aIa\in I at which ff is differentiable, the part of the graph lying over II stays above the tangent line at aa and touches it only at x=ax=a; equivalently — when ff is differentiable on II — if ff' is increasing on II; equivalently (no differentiability required anywhere), if for every a<ba<b in II the chord from (a,f(a))(a,f(a)) to (b,f(b))(b,f(b)) lies strictly above the graph on (a,b)(a,b). Concave down reverses all three. The words "over II" are load-bearing: a graph concave up on II may perfectly well drop below one of those tangent lines at points outside II.

Concavity Test. If f(x)>0f''(x)>0 for all xx in an interval II, then ff is concave up on II; if f(x)<0f''(x)<0 on II, then ff is concave down on II.

Why: f>0f''>0 says ff' is increasing (apply the Increasing/Decreasing Test to ff'), and that is the definition. The converse fails: f(x)=x4f(x)=x^4 is concave up on all of R\mathbb{R} although f(0)=0f''(0)=0.

Concavity is independent of monotonicity — all four combinations occur:

sign of ff'sign of ff''shape of the graphmodel on (0,)(0,\infty)
++++rising, ever more steeplyx2x^2
++-rising, levelling offx\sqrt{x}
-++falling, levelling off1/x1/x
--falling, ever more steeplyx2-x^2

Inflection points

Definition. (c,f(c))(c,f(c)) is an inflection point of ff if ff is continuous at cc and the concavity changes at cc — up on one side, down on the other.

Necessary condition. If (c,f(c))(c,f(c)) is an inflection point and f(c)f''(c) exists, then f(c)=0f''(c)=0.

So the candidates are the points cc in the domain of ff where f(c)=0f''(c)=0 or f(c)f''(c) fails to exist; each candidate must then be tested for an actual change of sign of ff''.

Why f(c)=0f''(c)=0 alone is not enough, in three examples:

  • f(x)=x4f(x)=x^4: f(0)=0f''(0)=0, but f(x)=12x20f''(x)=12x^2\ge0 everywhere, so the concavity never changes. (0,0)(0,0) is a minimum, not an inflection point.
  • f(x)=x1/3f(x)=x^{1/3}: f(x)=13x2/3f'(x)=\tfrac13x^{-2/3} and f(x)=29x5/3f''(x)=-\tfrac29x^{-5/3}, which is never zero and does not exist at 00. Yet f>0f''>0 for x<0x<0, f<0f''<0 for x>0x>0, and ff is continuous at 00, so (0,0)(0,0) is an inflection point (with a vertical tangent). Candidates where ff'' is undefined must not be skipped.
  • f(x)=1/xf(x)=1/x: f(x)=2/x3f''(x)=2/x^3 is negative for x<0x<0 and positive for x>0x>0, so the concavity does "change" across 00 — but 00 is not in the domain, there is no point (0,f(0))(0,f(0)) on the graph, and there is no inflection point.

The Second Derivative Test

Theorem. Suppose f(c)=0f'(c)=0 and f(c)f''(c) exists.

  • f(c)>0f''(c)>0 \Rightarrow ff has a local minimum at cc.
  • f(c)<0f''(c)<0 \Rightarrow ff has a local maximum at cc.
  • f(c)=0f''(c)=0 \Rightarrow the test gives no information whatsoever.

(The hypothesis that f(c)f''(c) exists already forces ff' to exist on an open interval around cc. Many textbooks additionally assume ff'' is continuous near cc; that is more than is needed.)

Why: since f(c)=0f'(c)=0, f(c)=limxcf(x)f(c)xc=limxcf(x)xc.f''(c)=\lim_{x\to c}\frac{f'(x)-f'(c)}{x-c}=\lim_{x\to c}\frac{f'(x)}{x-c}. If this limit is positive, then f(x)xc>0\dfrac{f'(x)}{x-c}>0 for all xx near cc (with xcx\ne c), which forces f(x)<0f'(x)<0 just to the left of cc and f(x)>0f'(x)>0 just to the right. The First Derivative Test then gives a local minimum.

The inconclusive case. At c=0c=0 each of the following has f(0)=f(0)=0f'(0)=f''(0)=0:

ffwhat actually happens at 00
x4x^4local (indeed absolute) minimum
x4-x^4local (indeed absolute) maximum
x3x^3neither: ff increases through a horizontal inflection point

So f(c)=0f''(c)=0 means "try something else", never "no extremum". Fall back on the First Derivative Test. The Second Derivative Test is also silent at a critical number where f(c)f'(c) does not exist (a corner or a cusp) — the theorem cannot even be stated there.

Worked example 1 — a full analysis of f(x)=x44x3f(x)=x^4-4x^3

Step 1 — domain. ff is a polynomial: defined and twice differentiable on all of R\mathbb{R}.

Step 2 — critical numbers. f(x)=4x312x2=4x2(x3).f'(x)=4x^3-12x^2=4x^2(x-3). ff' exists everywhere, and f(x)=0f'(x)=0 exactly at x=0x=0 and x=3x=3. Those are the only critical numbers.

Step 3 — sign chart for ff'. The factor 4x24x^2 is 0\ge0 and vanishes only at 00, so it never changes the sign; the sign of ff' is the sign of x3x-3.

interval4x24x^2x3x-3ff'ff
(,0)(-\infty,0)++--decreasing
(0,3)(0,3)++--decreasing
(3,)(3,\infty)++++++increasing

Because ff is continuous at 00 and f<0f'<0 on both sides of it, ff is decreasing on the whole interval (,3](-\infty,3] and increasing on [3,)[3,\infty).

Step 4 — First Derivative Test. At x=0x=0 there is no sign change, so there is no extremum — only a horizontal tangent. At x=3x=3 the sign changes from - to ++: a local minimum with value f(3)=81108=27f(3)=81-108=-27.

Step 5 — concavity. f(x)=12x224x=12x(x2),f''(x)=12x^2-24x=12x(x-2), so the candidates are x=0x=0 and x=2x=2.

interval12x12xx2x-2ff''concavity
(,0)(-\infty,0)--++up
(0,2)(0,2)++--down
(2,)(2,\infty)++++++up

Both candidates show a genuine change, so there are two inflection points: (0,0)(0,0) and (2,16)(2,-16).

Step 6 — cross-check with the Second Derivative Test. f(3)=12(9)24(3)=10872=36>0f''(3)=12(9)-24(3)=108-72=36>0, confirming the local minimum at x=3x=3. At x=0x=0, f(0)=0f''(0)=0, so the test is inconclusive — and indeed x=0x=0 is not an extremum. That is the inconclusive case in the wild.

Worked example 2 — a critical number where ff' does not exist

Analyse f(x)=x2/3(x5)=x5/35x2/3f(x)=x^{2/3}(x-5)=x^{5/3}-5x^{2/3}, defined for all real xx (the exponents have odd denominator 33, so x2/3=(x1/3)2x^{2/3}=\left(x^{1/3}\right)^2 makes sense for x<0x<0).

Step 1 — first derivative over one denominator. f(x)=53x2/3103x1/3=5x3x1/3103x1/3=5(x2)3x1/3.f'(x)=\frac53x^{2/3}-\frac{10}{3}x^{-1/3}=\frac{5x}{3x^{1/3}}-\frac{10}{3x^{1/3}}=\frac{5(x-2)}{3x^{1/3}}.

Step 2 — critical numbers. f(x)=0f'(x)=0 at x=2x=2. Also f(0)f'(0) does not exist while 00 is in the domain of ff, so x=0x=0 is a critical number too.

Step 3 — sign chart. 3x1/3<03x^{1/3}<0 for x<0x<0 and >0>0 for x>0x>0.

interval5(x2)5(x-2)3x1/33x^{1/3}ff'ff
(,0)(-\infty,0)--++increasing
(0,2)(0,2)-++-decreasing
(2,)(2,\infty)++++++increasing

First Derivative Test: ++ to - at x=0x=0 gives a local maximum f(0)=0f(0)=0; - to ++ at x=2x=2 gives a local minimum f(2)=22/3(25)=322/34.76f(2)=2^{2/3}(2-5)=-3\cdot2^{2/3}\approx-4.76. The Second Derivative Test could not have decided x=0x=0: f(0)f'(0) does not exist. Since f(x)+f'(x)\to+\infty as x0x\to0^- and f(x)f'(x)\to-\infty as x0+x\to0^+, the graph has a cusp at the origin.

Step 4 — concavity. f(x)=109x1/3+109x4/3=109x+1x4/3.f''(x)=\frac{10}{9}x^{-1/3}+\frac{10}{9}x^{-4/3}=\frac{10}{9}\cdot\frac{x+1}{x^{4/3}}. For every x0x\ne0, x4/3=(x1/3)4>0x^{4/3}=\left(x^{1/3}\right)^4>0, so the sign of ff'' is the sign of x+1x+1: concave down on (,1)(-\infty,-1), concave up on (1,0)(-1,0) and on (0,)(0,\infty).

Step 5 — inflection points. The candidates were x=1x=-1 (where f=0f''=0) and x=0x=0 (where ff'' is undefined). Only x=1x=-1 produces a change of concavity, and f(1)=(1)2/3(15)=1(6)=6f(-1)=(-1)^{2/3}(-1-5)=1\cdot(-6)=-6, so the unique inflection point is (1,6)(-1,-6). At the cusp x=0x=0 the graph is concave up on both sides, so it is not an inflection point.

Common mistakes

WrongRightWhy
"f(c)=0f'(c)=0, so cc is a local extremum"f(c)=0f'(c)=0 only makes cc a candidatef(x)=x3f(x)=x^3 at c=0c=0 has a horizontal tangent and no extremum.
Listing x=2x=2 as a critical number of f(x)=1x2f(x)=\dfrac{1}{x-2}22 is not in the domain, so it is not criticalCritical numbers must belong to the domain of ff.
"ff is increasing on (,0)(0,)(-\infty,0)\cup(0,\infty)"state each interval separatelyFor f(x)=1/xf(x)=-1/x the union claim is false: f(1)=1>f(1)=1f(-1)=1>f(1)=-1.
"f(c)=0f''(c)=0, so (c,f(c))(c,f(c)) is an inflection point"verify that ff'' changes sign at ccf(x)=x4f(x)=x^4 at c=0c=0: f(0)=0f''(0)=0 but concave up on both sides.
Ignoring candidates where ff'' is undefinedinclude them, then test the signf(x)=x1/3f(x)=x^{1/3} has an inflection point at 00 where f(0)f''(0) does not exist.
"f(c)=0f''(c)=0, so the Second Derivative Test says cc is not an extremum"the test says nothing at allx4x^4, x4-x^4 and x3x^3 all have f(0)=f(0)=0f'(0)=f''(0)=0 with three different outcomes.
Using the Second Derivative Test at a cuspuse the First Derivative TestThe test requires f(c)=0f'(c)=0; at a cusp f(c)f'(c) does not exist.
"f>0f''>0, so ff is increasing"f>0f''>0 means ff' is increasing, i.e. concave upf(x)=x2f(x)=x^2 on (,0)(-\infty,0) is concave up but decreasing.
Reading signs off an unfactored ff'factor first, then multiply signsThe sign of 4x312x24x^3-12x^2 is invisible until you write 4x2(x3)4x^2(x-3).
Treating (x1)2(x-1)^2 as a sign change in ff'even powers never change the signNo extremum at x=1x=1 if f(x)=(x1)2(x4)f'(x)=(x-1)^2(x-4).
Reporting "local maximum at y=11y=11""local maximum value 1111, attained at x=1x=-1"Keep the location (xx) and the value (yy) distinct.

Quick reference

QuestionLook atTest used
Where is ff increasing?sign of ff' on an intervalIncreasing/Decreasing Test (via MVT)
Is cc a local max or min?change of sign of ff' at ccFirst Derivative Test
Shortcut when f(c)=0f'(c)=0sign of the number f(c)f''(c)Second Derivative Test (useless if f(c)=0f''(c)=0)
Which way does the graph bend?sign of ff'' on an intervalConcavity Test
Where does the bending change?change of sign of ff'', with ff continuous thereinflection point

Key terms

  • Increasing function
  • Decreasing function
  • Monotonicity
  • Critical number
  • Fermat's theorem
  • Increasing/Decreasing Test
  • Mean Value Theorem
  • Sign chart
  • First Derivative Test
  • Local maximum
  • Local minimum
  • Concave up
  • Concave down
  • Concavity Test
  • Inflection point
  • Second Derivative Test
  • Inconclusive case
  • Horizontal tangent
  • Cusp
  • Vertical tangent

Practice Problems

Let f(x)=2x33x212x+4f(x)=2x^{3}-3x^{2}-12x+4. Find the intervals on which ff is increasing and decreasing, and use the First Derivative Test to locate and classify every local extremum.

Show hint

Differentiate, factor the quadratic completely, and build a sign chart from the factors.

Show answer

Step 1 — domain. ff is a polynomial, so it is differentiable on all of R\mathbb{R}; there are no excluded points to mark.

Step 2 — differentiate and factor. f(x)=6x26x12=6(x2x2)=6(x2)(x+1).f'(x)=6x^{2}-6x-12=6\left(x^{2}-x-2\right)=6(x-2)(x+1).

Step 3 — critical numbers. ff' exists everywhere, so the critical numbers are the solutions of f(x)=0f'(x)=0, namely x=1x=-1 and x=2x=2.

Step 4 — sign chart.

intervalx+1x+1x2x-2ff'ff
(,1)(-\infty,-1)--++increasing
(1,2)(-1,2)++--decreasing
(2,)(2,\infty)++++++increasing

Test values confirm this: f(2)=6(4)(1)=24>0f'(-2)=6(-4)(-1)=24>0, f(0)=6(2)(1)=12<0f'(0)=6(-2)(1)=-12<0, f(3)=6(1)(4)=24>0f'(3)=6(1)(4)=24>0.

Step 5 — First Derivative Test. At x=1x=-1 the sign of ff' changes from ++ to -, so ff has a local maximum there: f(1)=2(1)33(1)212(1)+4=23+12+4=11.f(-1)=2(-1)^{3}-3(-1)^{2}-12(-1)+4=-2-3+12+4=11. At x=2x=2 the sign changes from - to ++, so ff has a local minimum there: f(2)=2(8)3(4)12(2)+4=161224+4=16.f(2)=2(8)-3(4)-12(2)+4=16-12-24+4=-16.

Check (Second Derivative Test). f(x)=12x6f''(x)=12x-6, so f(1)=18<0f''(-1)=-18<0 (local max, as found) and f(2)=18>0f''(2)=18>0 (local min, as found).

Answer: ff is increasing on (,1](-\infty,-1] and on [2,)[2,\infty) and decreasing on [1,2][-1,2]; local maximum value 1111 at x=1x=-1; local minimum value 16-16 at x=2x=2.

Determine the intervals of concavity of f(x)=x36x2+9x+1f(x)=x^{3}-6x^{2}+9x+1 and find every inflection point (give the coordinates).

Show hint

Concavity is controlled by ff'', not by ff'; find where ff'' can change sign, then check that it actually does.

Show answer

Step 1 — two derivatives. f(x)=3x212x+9,f(x)=6x12=6(x2).f'(x)=3x^{2}-12x+9,\qquad f''(x)=6x-12=6(x-2). Both exist for every real xx, so the only candidate for an inflection point is the solution of f(x)=0f''(x)=0, namely x=2x=2.

Step 2 — sign chart for ff''.

interval6(x2)6(x-2)concavity
(,2)(-\infty,2)-concave down
(2,)(2,\infty)++concave up

For instance f(0)=12<0f''(0)=-12<0 and f(3)=6>0f''(3)=6>0.

Step 3 — confirm the inflection point. ff is a polynomial, hence continuous at x=2x=2, and ff'' genuinely changes sign there, so x=2x=2 does give an inflection point. Its yy-coordinate is f(2)=86(4)+9(2)+1=824+18+1=3.f(2)=8-6(4)+9(2)+1=8-24+18+1=3.

Remark. f(2)=3(4)12(2)+9=1224+9=30f'(2)=3(4)-12(2)+9=12-24+9=-3\ne0, so this is an inflection point with a slanted tangent line — an inflection point need not have a horizontal tangent, and x=2x=2 is not a critical number.

Answer: ff is concave down on (,2)(-\infty,2) and concave up on (2,)(2,\infty); the only inflection point is (2,3)(2,3).

Let f(x)=x48x2+3f(x)=x^{4}-8x^{2}+3. Find all critical numbers and classify each one with the Second Derivative Test. Then find all inflection points.

Show hint

Factor ff' to get the critical numbers, then evaluate the number ff'' at each of them.

Show answer

Step 1 — derivatives. f(x)=4x316x=4x(x24)=4x(x2)(x+2),f(x)=12x216.f'(x)=4x^{3}-16x=4x\left(x^{2}-4\right)=4x(x-2)(x+2),\qquad f''(x)=12x^{2}-16.

Step 2 — critical numbers. ff' exists everywhere and f(x)=0f'(x)=0 exactly at x=2,  0,  2x=-2,\;0,\;2.

Step 3 — Second Derivative Test. The hypotheses hold at each point: f(c)=0f'(c)=0 and f(c)f''(c) exists. f(0)=16<0,f(2)=12(4)16=32>0,f(2)=12(4)16=32>0.f''(0)=-16<0,\qquad f''(2)=12(4)-16=32>0,\qquad f''(-2)=12(4)-16=32>0. Therefore x=0x=0 gives a local maximum and x=±2x=\pm2 give local minima. The values are f(0)=3,f(±2)=168(4)+3=1632+3=13.f(0)=3,\qquad f(\pm2)=16-8(4)+3=16-32+3=-13.

Step 4 — inflection points. Set f(x)=0f''(x)=0: 12x216=0        x2=43        x=±23=±233±1.155.12x^{2}-16=0\;\implies\;x^{2}=\frac{4}{3}\;\implies\;x=\pm\frac{2}{\sqrt3}=\pm\frac{2\sqrt3}{3}\approx\pm1.155. ff'' is an upward parabola, so f>0f''>0 outside [233,233]\left[-\tfrac{2\sqrt3}{3},\tfrac{2\sqrt3}{3}\right] and f<0f''<0 inside it: the sign really changes at both points, and ff is continuous, so both are inflection points. Their common yy-value is f ⁣(±23)=(43)2843+3=169323+3=1696+279=5395.889.f\!\left(\pm\frac{2}{\sqrt3}\right)=\left(\frac43\right)^{2}-8\cdot\frac43+3=\frac{16}{9}-\frac{32}{3}+3=\frac{16-96+27}{9}=-\frac{53}{9}\approx-5.889.

Check. Between the local max at x=0x=0 and the local min at x=2x=2 the graph must switch from concave down to concave up exactly once; 2331.155\tfrac{2\sqrt3}{3}\approx1.155 lies between 00 and 22, as expected.

Answer: local maximum value 33 at x=0x=0; local minimum value 13-13 at x=2x=-2 and at x=2x=2; inflection points (233,539)\left(-\frac{2\sqrt3}{3},-\frac{53}{9}\right) and (233,539)\left(\frac{2\sqrt3}{3},-\frac{53}{9}\right).

For f(x)=x4f(x)=x^{4} and g(x)=x5g(x)=x^{5}, verify that f(0)=f(0)=0f'(0)=f''(0)=0 and g(0)=g(0)=0g'(0)=g''(0)=0. Decide for each function whether the origin is an inflection point and whether it is a local extremum. What does the comparison show about the condition "f(c)=0f''(c)=0"?

Show hint

Compute the second derivatives and ask, for each one, whether the sign of ff'' actually changes at 00 — not merely whether it vanishes.

Show answer

Step 1 — derivatives at 00. f(x)=4x3,f(x)=12x2        f(0)=0,  f(0)=0.f'(x)=4x^{3},\quad f''(x)=12x^{2}\;\implies\;f'(0)=0,\;f''(0)=0. g(x)=5x4,g(x)=20x3        g(0)=0,  g(0)=0.g'(x)=5x^{4},\quad g''(x)=20x^{3}\;\implies\;g'(0)=0,\;g''(0)=0. In both cases the Second Derivative Test is inconclusive, since f(0)=g(0)=0f''(0)=g''(0)=0.

Step 2 — concavity of f(x)=x4f(x)=x^{4}. f(x)=12x2>0f''(x)=12x^{2}>0 for every x0x\ne0 and f(0)=0f''(0)=0, so f0f''\ge0 everywhere and ff' is increasing on R\mathbb{R}. The graph is concave up on (,0)(-\infty,0) and on (0,)(0,\infty) — the concavity does not change. Hence (0,0)(0,0) is not an inflection point.

Using the First Derivative Test instead: f(x)=4x3<0f'(x)=4x^{3}<0 for x<0x<0 and >0>0 for x>0x>0, a change from - to ++, so ff has a local (in fact absolute) minimum at 00, of value 00.

Step 3 — concavity of g(x)=x5g(x)=x^{5}. g(x)=20x3g''(x)=20x^{3} is negative for x<0x<0 and positive for x>0x>0, so gg is concave down on (,0)(-\infty,0) and concave up on (0,)(0,\infty). The concavity changes and gg is continuous at 00, so (0,0)(0,0) is an inflection point.

First Derivative Test: g(x)=5x4>0g'(x)=5x^{4}>0 for every x0x\ne0, so gg' does not change sign and gg has no local extremum at 00. (It is a horizontal inflection point: the tangent line y=0y=0 crosses the graph.)

Step 4 — the moral. For a twice-differentiable function, f(c)=0f''(c)=0 is a necessary condition for an inflection point at cc, but it is not sufficient: x4x^{4} and x5x^{5} both satisfy it at c=0c=0 and only one of them actually has an inflection point there. The deciding fact is always whether ff'' changes sign.

Answer: x4x^{4}: no inflection point at the origin, local (absolute) minimum. x5x^{5}: inflection point at the origin, no local extremum. So f(c)=0f''(c)=0 by itself proves nothing.

Let f(x)=sinx+cosxf(x)=\sin x+\cos x on [0,2π][0,2\pi]. Find the critical numbers, classify them with the Second Derivative Test, and determine the intervals of concavity together with all inflection points.

Show hint

Setting cosx=sinx\cos x=\sin x is easier than it looks: divide by cosx\cos x, after checking that cosx=0\cos x=0 is impossible at a solution.

Show answer

Step 1 — derivatives. f(x)=cosxsinx,f(x)=sinxcosx=(sinx+cosx).f'(x)=\cos x-\sin x,\qquad f''(x)=-\sin x-\cos x=-(\sin x+\cos x). Both exist everywhere, so critical numbers come only from f(x)=0f'(x)=0.

Step 2 — critical numbers. cosxsinx=0\cos x-\sin x=0 means cosx=sinx\cos x=\sin x. If cosx=0\cos x=0 then sinx=0\sin x=0 too, which is impossible (sin2+cos2=1\sin^2+\cos^2=1), so we may divide by cosx\cos x: tanx=1        x=π4  or  x=5π4in [0,2π].\tan x=1\;\implies\;x=\frac{\pi}{4}\ \text{ or }\ x=\frac{5\pi}{4}\quad\text{in }[0,2\pi]. (The hunt is for critical numbers in the interior (0,2π)(0,2\pi): Fermat's theorem and both derivative tests are statements about interior points, so the endpoints x=0x=0 and x=2πx=2\pi are not critical numbers. They are candidates for absolute extrema and would be checked separately — here f(0)=f(2π)=1f(0)=f(2\pi)=1.)

Step 3 — Second Derivative Test. f ⁣(π4)=(22+22)=2<0        local maximum,f''\!\left(\frac{\pi}{4}\right)=-\left(\frac{\sqrt2}{2}+\frac{\sqrt2}{2}\right)=-\sqrt2<0\;\implies\;\text{local maximum}, f ⁣(5π4)=(2222)=2>0        local minimum.f''\!\left(\frac{5\pi}{4}\right)=-\left(-\frac{\sqrt2}{2}-\frac{\sqrt2}{2}\right)=\sqrt2>0\;\implies\;\text{local minimum}. The values are f ⁣(π4)=22+22=2,f ⁣(5π4)=2222=2.f\!\left(\frac{\pi}{4}\right)=\frac{\sqrt2}{2}+\frac{\sqrt2}{2}=\sqrt2,\qquad f\!\left(\frac{5\pi}{4}\right)=-\frac{\sqrt2}{2}-\frac{\sqrt2}{2}=-\sqrt2.

Step 4 — concavity. (Each test point below is taken strictly inside its interval.) f(x)=0f''(x)=0 means sinx=cosx\sin x=-\cos x, i.e. tanx=1\tan x=-1 (again cosx=0\cos x=0 is impossible), so x=3π4x=\dfrac{3\pi}{4} or x=7π4x=\dfrac{7\pi}{4}.

intervaltest pointff''concavity
(0,3π4)\left(0,\frac{3\pi}{4}\right)x=π2x=\frac{\pi}{2}f ⁣(π2)=(1+0)=1<0f''\!\left(\frac{\pi}{2}\right)=-(1+0)=-1<0down
(3π4,7π4)\left(\frac{3\pi}{4},\frac{7\pi}{4}\right)x=πx=\pif(π)=(01)=1>0f''(\pi)=-(0-1)=1>0up
(7π4,2π)\left(\frac{7\pi}{4},2\pi\right)x=11π6x=\frac{11\pi}{6}f ⁣(11π6)=(12+32)=1320.366<0f''\!\left(\frac{11\pi}{6}\right)=-\left(-\frac12+\frac{\sqrt3}{2}\right)=\frac{1-\sqrt3}{2}\approx-0.366<0down

Step 5 — inflection points. ff'' changes sign at both 3π4\tfrac{3\pi}{4} and 7π4\tfrac{7\pi}{4}, and ff is continuous, so both give inflection points: f ⁣(3π4)=2222=0,f ⁣(7π4)=22+22=0.f\!\left(\frac{3\pi}{4}\right)=\frac{\sqrt2}{2}-\frac{\sqrt2}{2}=0,\qquad f\!\left(\frac{7\pi}{4}\right)=-\frac{\sqrt2}{2}+\frac{\sqrt2}{2}=0.

Check. Note f=ff''=-f here, so f=0f''=0 exactly where f=0f=0: the inflection points must sit on the xx-axis, which matches the values just computed. Also f(π/4)=21.414f(\pi/4)=\sqrt2\approx1.414 is the largest value sinx+cosx\sin x+\cos x can take, consistent with a maximum.

Answer: local maximum 2\sqrt2 at x=π4x=\frac{\pi}{4}; local minimum 2-\sqrt2 at x=5π4x=\frac{5\pi}{4}; concave down on (0,3π4)\left(0,\frac{3\pi}{4}\right) and (7π4,2π)\left(\frac{7\pi}{4},2\pi\right), concave up on (3π4,7π4)\left(\frac{3\pi}{4},\frac{7\pi}{4}\right); inflection points (3π4,0)\left(\frac{3\pi}{4},0\right) and (7π4,0)\left(\frac{7\pi}{4},0\right).

Let f(x)=x1(x+2)2f(x)=\dfrac{x-1}{(x+2)^{2}}. State the domain, then find the intervals of increase and decrease, all local extrema, the intervals of concavity, and all inflection points.

Show hint

Mark the excluded point on your number line before anything else; it splits the chart but is never a critical number. Cancel one power of (x+2)(x+2) after the quotient rule.

Show answer

Step 1 — domain. (x+2)2=0(x+2)^{2}=0 only at x=2x=-2, so the domain is (,2)(2,)(-\infty,-2)\cup(-2,\infty). The value x=2x=-2 is a split point for every sign chart but is not a critical number and can not be an inflection point.

Step 2 — first derivative. Quotient rule with u=x1u=x-1, v=(x+2)2v=(x+2)^{2}, u=1u'=1, v=2(x+2)v'=2(x+2): f(x)=1(x+2)2(x1)2(x+2)(x+2)4=(x+2)[(x+2)2(x1)](x+2)4=(x+2)2(x1)(x+2)3.f'(x)=\frac{1\cdot(x+2)^{2}-(x-1)\cdot2(x+2)}{(x+2)^{4}}=\frac{(x+2)\big[(x+2)-2(x-1)\big]}{(x+2)^{4}}=\frac{(x+2)-2(x-1)}{(x+2)^{3}}. Simplify the numerator: (x+2)2(x1)=x+22x+2=4x(x+2)-2(x-1)=x+2-2x+2=4-x. Hence f(x)=4x(x+2)3.f'(x)=\frac{4-x}{(x+2)^{3}}.

Step 3 — critical numbers and sign chart. f(x)=0f'(x)=0 only at x=4x=4; ff' fails to exist only at x=2x=-2, which is outside the domain. So x=4x=4 is the only critical number. The denominator (x+2)3(x+2)^{3} is an odd power, so it does change sign at 2-2.

interval4x4-x(x+2)3(x+2)^{3}ff'ff
(,2)(-\infty,-2)++--decreasing
(2,4)(-2,4)++++++increasing
(4,)(4,\infty)-++-decreasing

Spot checks: f(3)=71=7<0f'(-3)=\dfrac{7}{-1}=-7<0, f(0)=48=12>0f'(0)=\dfrac{4}{8}=\tfrac12>0, f(5)=1343<0f'(5)=\dfrac{-1}{343}<0.

Step 4 — First Derivative Test. The sign of ff' changes from ++ to - at x=4x=4: local maximum, of value f(4)=41(4+2)2=336=112.f(4)=\frac{4-1}{(4+2)^{2}}=\frac{3}{36}=\frac{1}{12}. There is no local minimum. (Nothing happens "at x=2x=-2": there is no point of the graph there — it is a vertical asymptote.)

Step 5 — second derivative. Write f(x)=(4x)(x+2)3f'(x)=(4-x)(x+2)^{-3} and use the product rule: f(x)=(1)(x+2)3+(4x)(3)(x+2)4=(x+2)4[(x+2)3(4x)].f''(x)=(-1)(x+2)^{-3}+(4-x)\cdot(-3)(x+2)^{-4}=(x+2)^{-4}\Big[-(x+2)-3(4-x)\Big]. The bracket is x212+3x=2x14-x-2-12+3x=2x-14, so f(x)=2x14(x+2)4=2(x7)(x+2)4.f''(x)=\frac{2x-14}{(x+2)^{4}}=\frac{2(x-7)}{(x+2)^{4}}.

Step 6 — concavity. (x+2)4>0(x+2)^{4}>0 for all x2x\ne-2, so the sign of ff'' is the sign of x7x-7: concave down on (,2)(-\infty,-2) and on (2,7)(-2,7), concave up on (7,)(7,\infty).

Step 7 — inflection points. The only candidate in the domain is x=7x=7, and ff'' does change sign there, so f(7)=71(7+2)2=681=227f(7)=\frac{7-1}{(7+2)^{2}}=\frac{6}{81}=\frac{2}{27} gives the inflection point (7,227)\left(7,\tfrac{2}{27}\right). At x=2x=-2 the concavity does not change (down on both sides) and, more importantly, 2-2 is not in the domain, so there is no inflection point there.

Check. A numerical slope at x=0x=0: f(0.001)f(0.001)0.0020.5000\dfrac{f(0.001)-f(-0.001)}{0.002}\approx0.5000, matching f(0)=12f'(0)=\tfrac12. And f(10)=620736>0f''(10)=\dfrac{6}{20736}>0 agrees with "concave up beyond 77".

Answer: domain x2x\ne-2; decreasing on (,2)(-\infty,-2) and on [4,)[4,\infty), increasing on (2,4](-2,4]; local maximum value 112\frac{1}{12} at x=4x=4 and no local minimum; concave down on (,2)(-\infty,-2) and on (2,7)(-2,7), concave up on (7,)(7,\infty); single inflection point (7,227)\left(7,\frac{2}{27}\right).

Let f(x)=3x55x3f(x)=3x^{5}-5x^{3}. Find every critical number and classify it, using the Second Derivative Test where it works and the First Derivative Test where it does not. Then find all inflection points.

Show hint

One of the three critical numbers will make ff'' vanish; that is not an answer, it is a signal to switch tests.

Show answer

Step 1 — derivatives. f(x)=15x415x2=15x2(x21)=15x2(x1)(x+1),f'(x)=15x^{4}-15x^{2}=15x^{2}\left(x^{2}-1\right)=15x^{2}(x-1)(x+1), f(x)=60x330x=30x(2x21).f''(x)=60x^{3}-30x=30x\left(2x^{2}-1\right).

Step 2 — critical numbers. ff' exists everywhere and vanishes at x=1,  0,  1x=-1,\;0,\;1.

Step 3 — Second Derivative Test where possible. f(1)=30(1)(21)=30<0        local maximum at x=1,f''(-1)=30(-1)(2-1)=-30<0\;\implies\;\text{local maximum at }x=-1, f(1)=30(1)(21)=30>0        local minimum at x=1,f''(1)=30(1)(2-1)=30>0\;\implies\;\text{local minimum at }x=1, f(0)=0        inconclusive.f''(0)=0\;\implies\;\textbf{inconclusive}. The values at the two decided points: f(1)=3(1)5(1)=3+5=2,f(1)=35=2.f(-1)=3(-1)-5(-1)=-3+5=2,\qquad f(1)=3-5=-2.

Step 4 — First Derivative Test at x=0x=0. Near 00 (say for 1<x<1-1<x<1, x0x\ne0) we have 15x2>015x^{2}>0 and x21<0x^{2}-1<0, so f(x)=15x2(x21)<0on (1,0) and on (0,1).f'(x)=15x^{2}\left(x^{2}-1\right)<0\quad\text{on }(-1,0)\text{ and on }(0,1). The sign does not change, so ff has no local extremum at x=0x=0; it is a horizontal-tangent point, and ff is in fact decreasing on the whole interval [1,1][-1,1].

Step 5 — inflection points. f(x)=30x(2x21)=0f''(x)=30x\left(2x^{2}-1\right)=0 at x=0x=0 and x=±12=±22x=\pm\dfrac{1}{\sqrt2}=\pm\dfrac{\sqrt2}{2}.

interval30x30x2x212x^{2}-1ff''concavity
(,22)\left(-\infty,-\frac{\sqrt2}{2}\right)-++-down
(22,0)\left(-\frac{\sqrt2}{2},0\right)--++up
(0,22)\left(0,\frac{\sqrt2}{2}\right)++--down
(22,)\left(\frac{\sqrt2}{2},\infty\right)++++++up

All three candidates show a change of sign, so all three are inflection points. With x=12x=\dfrac{1}{\sqrt2} we get x3=122=24x^{3}=\dfrac{1}{2\sqrt2}=\dfrac{\sqrt2}{4} and x5=142=28x^{5}=\dfrac{1}{4\sqrt2}=\dfrac{\sqrt2}{8}, so f ⁣(22)=328524=3281028=7281.237.f\!\left(\frac{\sqrt2}{2}\right)=3\cdot\frac{\sqrt2}{8}-5\cdot\frac{\sqrt2}{4}=\frac{3\sqrt2}{8}-\frac{10\sqrt2}{8}=-\frac{7\sqrt2}{8}\approx-1.237. ff is odd, so f ⁣(22)=728f\!\left(-\frac{\sqrt2}{2}\right)=\frac{7\sqrt2}{8}, and f(0)=0f(0)=0.

Check. x=0x=0 illustrates the whole point of the problem: f(0)=f(0)=0f'(0)=f''(0)=0, the Second Derivative Test is silent, and the truth is "no extremum, but an inflection point with a horizontal tangent".

Answer: local maximum value 22 at x=1x=-1; local minimum value 2-2 at x=1x=1; no extremum at x=0x=0. Inflection points (22,728)\left(-\frac{\sqrt2}{2},\frac{7\sqrt2}{8}\right), (0,0)(0,0) and (22,728)\left(\frac{\sqrt2}{2},-\frac{7\sqrt2}{8}\right).

Let g(x)=x4/34x1/3g(x)=x^{4/3}-4x^{1/3}, which is defined for all real xx. Find all critical numbers (including any where gg' fails to exist), the intervals of increase and decrease, all local extrema, the intervals of concavity, and all inflection points. Describe what the graph does at x=0x=0.

Show hint

Write gg' as a single fraction with x2/3x^{2/3} in the denominator, and remember that a critical number only needs gg — not gg' — to be defined.

Show answer

Step 1 — first derivative as a single fraction. g(x)=43x1/343x2/3=4x3x2/343x2/3=4(x1)3x2/3,g'(x)=\frac43x^{1/3}-\frac43x^{-2/3}=\frac{4x}{3x^{2/3}}-\frac{4}{3x^{2/3}}=\frac{4(x-1)}{3x^{2/3}}, using x1/3=xx2/3x^{1/3}=\dfrac{x}{x^{2/3}}.

Step 2 — critical numbers. g(x)=0g'(x)=0 at x=1x=1. Also g(0)g'(0) does not exist (the denominator vanishes), and g(0)=0g(0)=0 is defined, so x=0x=0 is a critical number as well. Critical numbers: x=0x=0 and x=1x=1.

Step 3 — sign chart for gg'. For every x0x\ne0, x2/3=(x1/3)2>0x^{2/3}=\left(x^{1/3}\right)^{2}>0, so the denominator is always positive and the sign of gg' is the sign of x1x-1.

interval4(x1)4(x-1)3x2/33x^{2/3}gg'gg
(,0)(-\infty,0)-++-decreasing
(0,1)(0,1)-++-decreasing
(1,)(1,\infty)++++++increasing

Step 4 — First Derivative Test. At x=0x=0 there is no sign change, so x=0x=0 is a critical number that is not a local extremum. Since gg is continuous at 00 and g<0g'<0 on both sides, gg is decreasing on the whole interval (,1](-\infty,1]. At x=1x=1 the sign changes from - to ++: a local minimum of value g(1)=14=3.g(1)=1-4=-3.

Step 5 — what happens at x=0x=0. As x0x\to0 (from either side) the numerator tends to 4-4 and 3x2/30+3x^{2/3}\to0^{+}, so g(x)g'(x)\to-\infty from both sides. The graph has a vertical tangent line x=0x=0 at the origin (not a cusp, because the slope blows up to -\infty on both sides rather than to opposite infinities).

Step 6 — second derivative. g(x)=4313x2/343(23)x5/3=49x2/3+89x5/3=49x+2x5/3,g''(x)=\frac43\cdot\frac13x^{-2/3}-\frac43\cdot\left(-\frac23\right)x^{-5/3}=\frac{4}{9}x^{-2/3}+\frac{8}{9}x^{-5/3}=\frac{4}{9}\cdot\frac{x+2}{x^{5/3}}, where the last step factors out x5/3x^{-5/3} and uses x2/3=x5/3xx^{-2/3}=x^{-5/3}\cdot x.

Step 7 — sign chart for gg''. Now the denominator matters: x5/3=(x1/3)5x^{5/3}=\left(x^{1/3}\right)^{5} has the same sign as xx.

intervalx+2x+2x5/3x^{5/3}gg''concavity
(,2)(-\infty,-2)--++up
(2,0)(-2,0)++--down
(0,)(0,\infty)++++++up

Step 8 — inflection points. Two candidates: x=2x=-2 (where g=0g''=0) and x=0x=0 (where gg'' is undefined but gg is continuous). Both show a genuine change of concavity, so both are inflection points. g(2)=(2)4/34(2)1/3=24/3+421/3=21/3(2+4)=621/37.56,g(-2)=(-2)^{4/3}-4(-2)^{1/3}=2^{4/3}+4\cdot2^{1/3}=2^{1/3}(2+4)=6\cdot2^{1/3}\approx7.56, using (2)1/3=21/3(-2)^{1/3}=-2^{1/3} and (2)4/3=(21/3)4=24/3(-2)^{4/3}=\left(-2^{1/3}\right)^{4}=2^{4/3}. And g(0)=0g(0)=0.

Check. A numerical slope at x=1x=-1: g(1)=1+4=5g(-1)=1+4=5 and g(0.999)g(1.001)0.0022.667\dfrac{g(-0.999)-g(-1.001)}{0.002}\approx-2.667, matching g(1)=4(2)3=832.667g'(-1)=\dfrac{4(-2)}{3}=-\dfrac83\approx-2.667.

Answer: critical numbers x=0x=0 (where gg' does not exist) and x=1x=1; gg is decreasing on (,1](-\infty,1] and increasing on [1,)[1,\infty); the only local extremum is the local minimum g(1)=3g(1)=-3 — the critical number x=0x=0 is not an extremum; gg is concave up on (,2)(-\infty,-2) and on (0,)(0,\infty), concave down on (2,0)(-2,0); inflection points (2,  621/3)\left(-2,\;6\cdot2^{1/3}\right) and (0,0)(0,0), the latter with a vertical tangent line.

Suppose ff is twice differentiable on R\mathbb{R} and its derivative is f(x)=(x1)2[(x1)29].f'(x)=(x-1)^{2}\left[(x-1)^{2}-9\right].

(a) Find the critical numbers of ff and the intervals where ff increases and decreases; classify each critical number. (b) Compute ff'' and find every xx at which ff has an inflection point. (c) Why can you not give the yy-coordinates of these points?

Show hint

Factor the bracket as a difference of squares, and note that an even power can never change a sign. For (b), the substitution u=x1u=x-1 keeps the algebra short.

Show answer

Part (a).

Step 1 — factor ff' completely. The bracket is a difference of squares: (x1)29=[(x1)3][(x1)+3]=(x4)(x+2),(x-1)^{2}-9=\big[(x-1)-3\big]\big[(x-1)+3\big]=(x-4)(x+2), so f(x)=(x1)2(x4)(x+2).f'(x)=(x-1)^{2}(x-4)(x+2).

Step 2 — critical numbers. ff is differentiable everywhere, so the critical numbers are the zeros of ff': x=2,  1,  4x=-2,\;1,\;4.

Step 3 — sign chart. The factor (x1)20(x-1)^{2}\ge0 vanishes only at x=1x=1 and never changes the sign, so the sign of ff' is that of (x4)(x+2)(x-4)(x+2).

interval(x1)2(x-1)^{2}x+2x+2x4x-4ff'ff
(,2)(-\infty,-2)++--++increasing
(2,1)(-2,1)++++--decreasing
(1,4)(1,4)++++--decreasing
(4,)(4,\infty)++++++++increasing

Check with test points: f(3)=16(7)(1)=112>0f'(-3)=16(-7)(-1)=112>0 and f(0)=1(4)(2)=8<0f'(0)=1(-4)(2)=-8<0 and f(5)=16(1)(7)=112>0f'(5)=16(1)(7)=112>0.

Step 4 — classify. By the First Derivative Test: ++ to - at x=2x=-2 gives a local maximum; - to ++ at x=4x=4 gives a local minimum; at x=1x=1 the derivative is 00 but keeps the same sign on both sides, so there is no extremum — just a horizontal tangent inside a stretch where ff is decreasing. Since ff is continuous, ff is decreasing on the whole interval [2,4][-2,4].

Part (b).

Step 5 — differentiate ff'. Put u=x1u=x-1, so f=u49u2f'=u^{4}-9u^{2} and dudx=1\dfrac{du}{dx}=1: f(x)=4u318u=2u(2u29)=2(x1)[2(x1)29].f''(x)=4u^{3}-18u=2u\left(2u^{2}-9\right)=2(x-1)\left[2(x-1)^{2}-9\right]. (Expanded: f(x)=2(x1)(2x24x7)f''(x)=2(x-1)\left(2x^{2}-4x-7\right).)

Step 6 — zeros of ff''. u=0u=0 gives x=1x=1; and 2u2=92u^{2}=9 gives u=±32=±322u=\pm\dfrac{3}{\sqrt2}=\pm\dfrac{3\sqrt2}{2}, i.e. x=13221.121andx=1+3223.121.x=1-\frac{3\sqrt2}{2}\approx-1.121\qquad\text{and}\qquad x=1+\frac{3\sqrt2}{2}\approx3.121.

Step 7 — sign chart for ff'' (in the variable u=x1u=x-1).

range of uu2u2u2u292u^{2}-9ff''concavity
u<32u<-\frac{3}{\sqrt2}-++-down
32<u<0-\frac{3}{\sqrt2}<u<0--++up
0<u<320<u<\frac{3}{\sqrt2}++--down
u>32u>\frac{3}{\sqrt2}++++++up

All three zeros are genuine sign changes, and ff is continuous, so ff has inflection points at x=1322,x=1,x=1+322.x=1-\frac{3\sqrt2}{2},\qquad x=1,\qquad x=1+\frac{3\sqrt2}{2}. Notice that x=1x=1 is simultaneously a critical number and an inflection point: a horizontal inflection.

Part (c). Knowing ff' determines ff only up to an additive constant: every function F(x)+CF(x)+C has the same derivative, and they all have the same shape shifted vertically. The xx-coordinates of extrema and inflection points are therefore determined, but the yy-coordinates are not. One extra piece of data (a value such as f(0)=5f(0)=5) would pin them down.

Answer: (a) critical numbers 2,1,4-2,1,4; increasing on (,2](-\infty,-2] and [4,)[4,\infty), decreasing on [2,4][-2,4]; local maximum at x=2x=-2, local minimum at x=4x=4, neither at x=1x=1. (b) f(x)=2(x1)[2(x1)29]f''(x)=2(x-1)\left[2(x-1)^{2}-9\right], with inflection points at x=1322x=1-\frac{3\sqrt2}{2}, x=1x=1, x=1+322x=1+\frac{3\sqrt2}{2}. (c) Because ff is only determined up to an additive constant.

Find constants aa and bb such that f(x)=x3+ax2+bx+1f(x)=x^{3}+ax^{2}+bx+1 has a local maximum at x=1x=-1 and an inflection point at x=1x=1. Then verify that your ff really has both features, and give its complete increase/decrease and concavity behaviour.

Show hint

Translate each requirement into an equation about ff' or ff'' at the given point — then remember that these conditions are only necessary, so a verification step is compulsory.

Show answer

Step 1 — set up the two conditions. f(x)=3x2+2ax+b,f(x)=6x+2a.f'(x)=3x^{2}+2ax+b,\qquad f''(x)=6x+2a.

Inflection point at x=1x=1: ff'' exists everywhere, so an inflection point at x=1x=1 forces f(1)=0f''(1)=0: 6(1)+2a=0        a=3.6(1)+2a=0\;\implies\;a=-3.

Local maximum at x=1x=-1: ff is a polynomial, so it is differentiable everywhere and 1-1 is an interior point of the domain R\mathbb{R}; Fermat's theorem therefore gives f(1)=0f'(-1)=0: 3(1)2+2a(1)+b=0        32a+b=0        3+6+b=0        b=9.3(-1)^{2}+2a(-1)+b=0\;\implies\;3-2a+b=0\;\implies\;3+6+b=0\;\implies\;b=-9.

So the candidate is f(x)=x33x29x+1.f(x)=x^{3}-3x^{2}-9x+1.

Step 2 — verification (necessary, because both conditions were only necessary conditions). f(x)=3x26x9=3(x22x3)=3(x3)(x+1),f(x)=6x6=6(x1).f'(x)=3x^{2}-6x-9=3\left(x^{2}-2x-3\right)=3(x-3)(x+1),\qquad f''(x)=6x-6=6(x-1).

Is x=1x=-1 a local maximum? f(1)=0f'(-1)=0 and f(1)=12<0f''(-1)=-12<0, so by the Second Derivative Test yes — a local maximum. Its value is f(1)=13+9+1=6.f(-1)=-1-3+9+1=6.

Is x=1x=1 an inflection point? f(x)=6(x1)f''(x)=6(x-1) is negative for x<1x<1 and positive for x>1x>1, so the concavity really changes, and ff is continuous. Yes — the inflection point is (1,  f(1))=(1,  139+1)=(1,10).\left(1,\;f(1)\right)=\left(1,\;1-3-9+1\right)=(1,-10).

Step 3 — full behaviour of f(x)=x33x29x+1f(x)=x^{3}-3x^{2}-9x+1. The critical numbers are x=1x=-1 and x=3x=3.

intervalx+1x+1x3x-3ff'ff
(,1)(-\infty,-1)--++increasing
(1,3)(-1,3)++--decreasing
(3,)(3,\infty)++++++increasing

So there is also a local minimum at x=3x=3, confirmed by f(3)=12>0f''(3)=12>0, with value f(3)=272727+1=26.f(3)=27-27-27+1=-26. Concavity: down on (,1)(-\infty,1), up on (1,)(1,\infty).

Sanity check. For any cubic x3+ax2+bx+cx^{3}+ax^{2}+bx+c the single inflection point sits exactly halfway between the two critical numbers: here 1+32=1\dfrac{-1+3}{2}=1, which is precisely the inflection point found.

Answer: a=3a=-3, b=9b=-9, giving f(x)=x33x29x+1f(x)=x^{3}-3x^{2}-9x+1: local maximum value 66 at x=1x=-1, local minimum value 26-26 at x=3x=3, increasing on (,1](-\infty,-1] and [3,)[3,\infty), decreasing on [1,3][-1,3], concave down on (,1)(-\infty,1) and concave up on (1,)(1,\infty) with inflection point (1,10)(1,-10).

(a) Use the Mean Value Theorem to prove: if ff is continuous on [a,b][a,b] and f(x)<0f'(x)<0 for every x(a,b)x\in(a,b), then ff is decreasing on [a,b][a,b]. (b) The function f(x)=1xf(x)=-\dfrac1x satisfies f(x)>0f'(x)>0 at every point of its domain, yet f(1)=1f(-1)=1 is larger than f(1)=1f(1)=-1. Explain precisely which hypothesis fails. (c) Give a function that is increasing on all of R\mathbb{R} but has f(c)=0f'(c)=0 for some cc, and say what this shows about the converse of the Increasing/Decreasing Test.

Show hint

For (a), start by choosing two arbitrary points of [a,b][a,b] and checking that the MVT hypotheses hold on the closed interval between them.

Show answer

Part (a) — proof.

Let x1x_{1} and x2x_{2} be any two points of [a,b][a,b] with x1<x2x_{1}<x_{2}. We must show f(x1)>f(x2)f(x_{1})>f(x_{2}).

Check the MVT hypotheses on [x1,x2][x_{1},x_{2}]. Since [x1,x2][a,b][x_{1},x_{2}]\subseteq[a,b] and ff is continuous on [a,b][a,b], ff is continuous on [x1,x2][x_{1},x_{2}]. Since (x1,x2)(a,b)(x_{1},x_{2})\subseteq(a,b) and ff is differentiable at every point of (a,b)(a,b), ff is differentiable on (x1,x2)(x_{1},x_{2}). Both hypotheses hold.

Apply the MVT. There exists c(x1,x2)c\in(x_{1},x_{2}) with f(x2)f(x1)=f(c)(x2x1).f(x_{2})-f(x_{1})=f'(c)\,(x_{2}-x_{1}).

Read off the sign. We have x2x1>0x_{2}-x_{1}>0 by choice, and c(x1,x2)(a,b)c\in(x_{1},x_{2})\subseteq(a,b), so f(c)<0f'(c)<0 by hypothesis. A negative number times a positive number is negative, so f(x2)f(x1)<0,i.e.f(x2)<f(x1).f(x_{2})-f(x_{1})<0,\qquad\text{i.e.}\qquad f(x_{2})<f(x_{1}).

Since x1<x2x_{1}<x_{2} were arbitrary points of [a,b][a,b], ff is decreasing on [a,b][a,b]. (QED)

Note that the conclusion covers the endpoints aa and bb even though ff' was only assumed to exist on the open interval — continuity on the closed interval is all that the endpoints need.

Part (b). f(x)=1x=x1        f(x)=x2=1x2>0for every x0.f(x)=-\frac1x=-x^{-1}\;\implies\;f'(x)=x^{-2}=\frac{1}{x^{2}}>0\quad\text{for every }x\ne0. The hypothesis that fails is that the set on which we are testing is an interval. The domain of ff is (,0)(0,)(-\infty,0)\cup(0,\infty), which is not an interval, and the theorem in part (a) (and its increasing counterpart) is applied to a closed interval contained in the domain. To compare f(1)f(-1) with f(1)f(1) we would need the MVT on [1,1][-1,1], but ff is not even defined at 0[1,1]0\in[-1,1], let alone continuous there — no cc is produced and no conclusion follows.

What is true is the theorem applied separately on each interval of the domain: ff is increasing on (,0)(-\infty,0) and ff is increasing on (0,)(0,\infty). It is not increasing on the union. This is why monotonicity conclusions must always be reported interval by interval, never joined with \cup.

Part (c). Take f(x)=x3f(x)=x^{3}. If x1<x2x_{1}<x_{2} then x13<x23x_{1}^{3}<x_{2}^{3} (the cube function is strictly increasing on R\mathbb{R}), so ff is increasing on all of R\mathbb{R}; nevertheless f(x)=3x2givesf(0)=0.f'(x)=3x^{2}\quad\text{gives}\quad f'(0)=0. This shows the converse of the Increasing/Decreasing Test is false: "ff increasing on II" does not imply "f>0f'>0 on II". The correct converse is f0f'\ge0 on II. Combining the two directions: for a differentiable ff on an interval II, ff is increasing on II if and only if f0f'\ge0 on II and ff' is not identically 00 on any subinterval of II of positive length. In practice this is why isolated zeros of ff' may be absorbed into a single interval of increase or decrease — as in part (a), where finitely many points with f=0f'=0 would not have changed the conclusion.

Answer: (a) proved via the MVT applied to [x1,x2][x_{1},x_{2}]; (b) the domain of 1/x-1/x is not an interval, so the MVT cannot be applied across x=0x=0 — the function is increasing on (,0)(-\infty,0) and on (0,)(0,\infty) separately, not on the union; (c) f(x)=x3f(x)=x^{3} is increasing on R\mathbb{R} with f(0)=0f'(0)=0, so f>0f'>0 is sufficient but not necessary for increase.