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 and into shape information about the graph of — 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. is increasing on an interval if in implies ; decreasing if implies . (The non-strict versions weaken the conclusion to and respectively.) Monotonicity is a statement about an interval, never about a single point.
Critical number. is a critical number of if is in the domain of and either or 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. has a local maximum at if for all in some open interval containing (local minimum: ).
Fermat's theorem. If is an interior point of the domain of , if has a local extremum at , and if exists, then . The interior-point hypothesis is not decoration: on has an absolute minimum at the endpoint , yet the derivative there (one-sided, the only kind available) equals . 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
Mean Value Theorem (the engine behind everything below). If is continuous on the closed interval and differentiable on the open interval , then there is at least one with Both hypotheses are required, and nothing at all is assumed about at the endpoints and .
Increasing / Decreasing Test. Let be continuous on an interval and differentiable at every interior point of .
- If at every interior point, is increasing on .
- If at every interior point, is decreasing on .
- If at every interior point, is constant on .
Proof from the MVT. Let lie in . Then is continuous on and differentiable on , so the Mean Value Theorem supplies a with Since , the sign of is exactly the sign of . If throughout, then for every such pair, which is the definition of increasing.
Two things the proof makes visible:
- must be an interval. For we have on the whole domain, yet . The domain is not an interval, so no MVT is available across the gap.
- The converse fails. is increasing on but . The sharp statement is: for differentiable on , is increasing on exactly when on and vanishes identically on no subinterval of positive length. Isolated zeros of never spoil monotonicity, so you may always close up the intervals: if on and on and is continuous at , then is decreasing on the whole of .
Sign charts, done correctly
- Domain first. Write down the domain of and mark every excluded point.
- Differentiate, then put over a single denominator and factor it completely. You cannot read the sign of ; you can read the sign of .
- Mark the split points: zeros of the numerator, zeros of the denominator, and the excluded points from step 1.
- Determine the sign on each open interval by multiplying the signs of the factors, or by testing one convenient point.
- Report interval by interval. A factor raised to an even power is and therefore never flips the sign.
The First Derivative Test
Theorem. Let be a critical number of , and suppose is continuous at and differentiable on a punctured interval .
- on and on local maximum at .
- then local minimum at .
- has the same sign on both sides no local extremum at .
Continuity at is indispensable: a function with a jump at can have change from to there and still have no local maximum. The test also requires to keep a constant sign on each side; for with the derivative changes sign infinitely often near , so the test does not apply even though clearly has a minimum at (because for ).
Concavity
Definition. is concave up on an interval if, for every at which is differentiable, the part of the graph lying over stays above the tangent line at and touches it only at ; equivalently — when is differentiable on — if is increasing on ; equivalently (no differentiability required anywhere), if for every in the chord from to lies strictly above the graph on . Concave down reverses all three. The words "over " are load-bearing: a graph concave up on may perfectly well drop below one of those tangent lines at points outside .
Concavity Test. If for all in an interval , then is concave up on ; if on , then is concave down on .
Why: says is increasing (apply the Increasing/Decreasing Test to ), and that is the definition. The converse fails: is concave up on all of although .
Concavity is independent of monotonicity — all four combinations occur:
| sign of | sign of | shape of the graph | model on |
|---|---|---|---|
| rising, ever more steeply | |||
| rising, levelling off | |||
| falling, levelling off | |||
| falling, ever more steeply |
Inflection points
Definition. is an inflection point of if is continuous at and the concavity changes at — up on one side, down on the other.
Necessary condition. If is an inflection point and exists, then .
So the candidates are the points in the domain of where or fails to exist; each candidate must then be tested for an actual change of sign of .
Why alone is not enough, in three examples:
- : , but everywhere, so the concavity never changes. is a minimum, not an inflection point.
- : and , which is never zero and does not exist at . Yet for , for , and is continuous at , so is an inflection point (with a vertical tangent). Candidates where is undefined must not be skipped.
- : is negative for and positive for , so the concavity does "change" across — but is not in the domain, there is no point on the graph, and there is no inflection point.
The Second Derivative Test
Theorem. Suppose and exists.
- has a local minimum at .
- has a local maximum at .
- the test gives no information whatsoever.
(The hypothesis that exists already forces to exist on an open interval around . Many textbooks additionally assume is continuous near ; that is more than is needed.)
Why: since , If this limit is positive, then for all near (with ), which forces just to the left of and just to the right. The First Derivative Test then gives a local minimum.
The inconclusive case. At each of the following has :
| what actually happens at | |
|---|---|
| local (indeed absolute) minimum | |
| local (indeed absolute) maximum | |
| neither: increases through a horizontal inflection point |
So 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 does not exist (a corner or a cusp) — the theorem cannot even be stated there.
Worked example 1 — a full analysis of
Step 1 — domain. is a polynomial: defined and twice differentiable on all of .
Step 2 — critical numbers. exists everywhere, and exactly at and . Those are the only critical numbers.
Step 3 — sign chart for . The factor is and vanishes only at , so it never changes the sign; the sign of is the sign of .
| interval | ||||
|---|---|---|---|---|
| decreasing | ||||
| decreasing | ||||
| increasing |
Because is continuous at and on both sides of it, is decreasing on the whole interval and increasing on .
Step 4 — First Derivative Test. At there is no sign change, so there is no extremum — only a horizontal tangent. At the sign changes from to : a local minimum with value .
Step 5 — concavity. so the candidates are and .
| interval | concavity | |||
|---|---|---|---|---|
| up | ||||
| down | ||||
| up |
Both candidates show a genuine change, so there are two inflection points: and .
Step 6 — cross-check with the Second Derivative Test. , confirming the local minimum at . At , , so the test is inconclusive — and indeed is not an extremum. That is the inconclusive case in the wild.
Worked example 2 — a critical number where does not exist
Analyse , defined for all real (the exponents have odd denominator , so makes sense for ).
Step 1 — first derivative over one denominator.
Step 2 — critical numbers. at . Also does not exist while is in the domain of , so is a critical number too.
Step 3 — sign chart. for and for .
| interval | ||||
|---|---|---|---|---|
| increasing | ||||
| decreasing | ||||
| increasing |
First Derivative Test: to at gives a local maximum ; to at gives a local minimum . The Second Derivative Test could not have decided : does not exist. Since as and as , the graph has a cusp at the origin.
Step 4 — concavity. For every , , so the sign of is the sign of : concave down on , concave up on and on .
Step 5 — inflection points. The candidates were (where ) and (where is undefined). Only produces a change of concavity, and , so the unique inflection point is . At the cusp the graph is concave up on both sides, so it is not an inflection point.
Common mistakes
| Wrong | Right | Why |
|---|---|---|
| ", so is a local extremum" | only makes a candidate | at has a horizontal tangent and no extremum. |
| Listing as a critical number of | is not in the domain, so it is not critical | Critical numbers must belong to the domain of . |
| " is increasing on " | state each interval separately | For the union claim is false: . |
| ", so is an inflection point" | verify that changes sign at | at : but concave up on both sides. |
| Ignoring candidates where is undefined | include them, then test the sign | has an inflection point at where does not exist. |
| ", so the Second Derivative Test says is not an extremum" | the test says nothing at all | , and all have with three different outcomes. |
| Using the Second Derivative Test at a cusp | use the First Derivative Test | The test requires ; at a cusp does not exist. |
| ", so is increasing" | means is increasing, i.e. concave up | on is concave up but decreasing. |
| Reading signs off an unfactored | factor first, then multiply signs | The sign of is invisible until you write . |
| Treating as a sign change in | even powers never change the sign | No extremum at if . |
| Reporting "local maximum at " | "local maximum value , attained at " | Keep the location () and the value () distinct. |
Quick reference
| Question | Look at | Test used |
|---|---|---|
| Where is increasing? | sign of on an interval | Increasing/Decreasing Test (via MVT) |
| Is a local max or min? | change of sign of at | First Derivative Test |
| Shortcut when | sign of the number | Second Derivative Test (useless if ) |
| Which way does the graph bend? | sign of on an interval | Concavity Test |
| Where does the bending change? | change of sign of , with continuous there | inflection 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 . Find the intervals on which 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. is a polynomial, so it is differentiable on all of ; there are no excluded points to mark.
Step 2 — differentiate and factor.
Step 3 — critical numbers. exists everywhere, so the critical numbers are the solutions of , namely and .
Step 4 — sign chart.
| interval | ||||
|---|---|---|---|---|
| increasing | ||||
| decreasing | ||||
| increasing |
Test values confirm this: , , .
Step 5 — First Derivative Test. At the sign of changes from to , so has a local maximum there: At the sign changes from to , so has a local minimum there:
Check (Second Derivative Test). , so (local max, as found) and (local min, as found).
Answer: is increasing on and on and decreasing on ; local maximum value at ; local minimum value at .
Determine the intervals of concavity of and find every inflection point (give the coordinates).
Show hint
Concavity is controlled by , not by ; find where can change sign, then check that it actually does.
Show answer
Step 1 — two derivatives. Both exist for every real , so the only candidate for an inflection point is the solution of , namely .
Step 2 — sign chart for .
| interval | concavity | |
|---|---|---|
| concave down | ||
| concave up |
For instance and .
Step 3 — confirm the inflection point. is a polynomial, hence continuous at , and genuinely changes sign there, so does give an inflection point. Its -coordinate is
Remark. , so this is an inflection point with a slanted tangent line — an inflection point need not have a horizontal tangent, and is not a critical number.
Answer: is concave down on and concave up on ; the only inflection point is .
Let . Find all critical numbers and classify each one with the Second Derivative Test. Then find all inflection points.
Show hint
Factor to get the critical numbers, then evaluate the number at each of them.
Show answer
Step 1 — derivatives.
Step 2 — critical numbers. exists everywhere and exactly at .
Step 3 — Second Derivative Test. The hypotheses hold at each point: and exists. Therefore gives a local maximum and give local minima. The values are
Step 4 — inflection points. Set : is an upward parabola, so outside and inside it: the sign really changes at both points, and is continuous, so both are inflection points. Their common -value is
Check. Between the local max at and the local min at the graph must switch from concave down to concave up exactly once; lies between and , as expected.
Answer: local maximum value at ; local minimum value at and at ; inflection points and .
For and , verify that and . 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 ""?
Show hint
Compute the second derivatives and ask, for each one, whether the sign of actually changes at — not merely whether it vanishes.
Show answer
Step 1 — derivatives at . In both cases the Second Derivative Test is inconclusive, since .
Step 2 — concavity of . for every and , so everywhere and is increasing on . The graph is concave up on and on — the concavity does not change. Hence is not an inflection point.
Using the First Derivative Test instead: for and for , a change from to , so has a local (in fact absolute) minimum at , of value .
Step 3 — concavity of . is negative for and positive for , so is concave down on and concave up on . The concavity changes and is continuous at , so is an inflection point.
First Derivative Test: for every , so does not change sign and has no local extremum at . (It is a horizontal inflection point: the tangent line crosses the graph.)
Step 4 — the moral. For a twice-differentiable function, is a necessary condition for an inflection point at , but it is not sufficient: and both satisfy it at and only one of them actually has an inflection point there. The deciding fact is always whether changes sign.
Answer: : no inflection point at the origin, local (absolute) minimum. : inflection point at the origin, no local extremum. So by itself proves nothing.
Let on . 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 is easier than it looks: divide by , after checking that is impossible at a solution.
Show answer
Step 1 — derivatives. Both exist everywhere, so critical numbers come only from .
Step 2 — critical numbers. means . If then too, which is impossible (), so we may divide by : (The hunt is for critical numbers in the interior : Fermat's theorem and both derivative tests are statements about interior points, so the endpoints and are not critical numbers. They are candidates for absolute extrema and would be checked separately — here .)
Step 3 — Second Derivative Test. The values are
Step 4 — concavity. (Each test point below is taken strictly inside its interval.) means , i.e. (again is impossible), so or .
| interval | test point | concavity | |
|---|---|---|---|
| down | |||
| up | |||
| down |
Step 5 — inflection points. changes sign at both and , and is continuous, so both give inflection points:
Check. Note here, so exactly where : the inflection points must sit on the -axis, which matches the values just computed. Also is the largest value can take, consistent with a maximum.
Answer: local maximum at ; local minimum at ; concave down on and , concave up on ; inflection points and .
Let . 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 after the quotient rule.
Show answer
Step 1 — domain. only at , so the domain is . The value 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 , , , : Simplify the numerator: . Hence
Step 3 — critical numbers and sign chart. only at ; fails to exist only at , which is outside the domain. So is the only critical number. The denominator is an odd power, so it does change sign at .
| interval | ||||
|---|---|---|---|---|
| decreasing | ||||
| increasing | ||||
| decreasing |
Spot checks: , , .
Step 4 — First Derivative Test. The sign of changes from to at : local maximum, of value There is no local minimum. (Nothing happens "at ": there is no point of the graph there — it is a vertical asymptote.)
Step 5 — second derivative. Write and use the product rule: The bracket is , so
Step 6 — concavity. for all , so the sign of is the sign of : concave down on and on , concave up on .
Step 7 — inflection points. The only candidate in the domain is , and does change sign there, so gives the inflection point . At the concavity does not change (down on both sides) and, more importantly, is not in the domain, so there is no inflection point there.
Check. A numerical slope at : , matching . And agrees with "concave up beyond ".
Answer: domain ; decreasing on and on , increasing on ; local maximum value at and no local minimum; concave down on and on , concave up on ; single inflection point .
Let . 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 vanish; that is not an answer, it is a signal to switch tests.
Show answer
Step 1 — derivatives.
Step 2 — critical numbers. exists everywhere and vanishes at .
Step 3 — Second Derivative Test where possible. The values at the two decided points:
Step 4 — First Derivative Test at . Near (say for , ) we have and , so The sign does not change, so has no local extremum at ; it is a horizontal-tangent point, and is in fact decreasing on the whole interval .
Step 5 — inflection points. at and .
| interval | concavity | |||
|---|---|---|---|---|
| down | ||||
| up | ||||
| down | ||||
| up |
All three candidates show a change of sign, so all three are inflection points. With we get and , so is odd, so , and .
Check. illustrates the whole point of the problem: , the Second Derivative Test is silent, and the truth is "no extremum, but an inflection point with a horizontal tangent".
Answer: local maximum value at ; local minimum value at ; no extremum at . Inflection points , and .
Let , which is defined for all real . Find all critical numbers (including any where 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 .
Show hint
Write as a single fraction with in the denominator, and remember that a critical number only needs — not — to be defined.
Show answer
Step 1 — first derivative as a single fraction. using .
Step 2 — critical numbers. at . Also does not exist (the denominator vanishes), and is defined, so is a critical number as well. Critical numbers: and .
Step 3 — sign chart for . For every , , so the denominator is always positive and the sign of is the sign of .
| interval | ||||
|---|---|---|---|---|
| decreasing | ||||
| decreasing | ||||
| increasing |
Step 4 — First Derivative Test. At there is no sign change, so is a critical number that is not a local extremum. Since is continuous at and on both sides, is decreasing on the whole interval . At the sign changes from to : a local minimum of value
Step 5 — what happens at . As (from either side) the numerator tends to and , so from both sides. The graph has a vertical tangent line at the origin (not a cusp, because the slope blows up to on both sides rather than to opposite infinities).
Step 6 — second derivative. where the last step factors out and uses .
Step 7 — sign chart for . Now the denominator matters: has the same sign as .
| interval | concavity | |||
|---|---|---|---|---|
| up | ||||
| down | ||||
| up |
Step 8 — inflection points. Two candidates: (where ) and (where is undefined but is continuous). Both show a genuine change of concavity, so both are inflection points. using and . And .
Check. A numerical slope at : and , matching .
Answer: critical numbers (where does not exist) and ; is decreasing on and increasing on ; the only local extremum is the local minimum — the critical number is not an extremum; is concave up on and on , concave down on ; inflection points and , the latter with a vertical tangent line.
Suppose is twice differentiable on and its derivative is
(a) Find the critical numbers of and the intervals where increases and decreases; classify each critical number. (b) Compute and find every at which has an inflection point. (c) Why can you not give the -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 keeps the algebra short.
Show answer
Part (a).
Step 1 — factor completely. The bracket is a difference of squares: so
Step 2 — critical numbers. is differentiable everywhere, so the critical numbers are the zeros of : .
Step 3 — sign chart. The factor vanishes only at and never changes the sign, so the sign of is that of .
| interval | |||||
|---|---|---|---|---|---|
| increasing | |||||
| decreasing | |||||
| decreasing | |||||
| increasing |
Check with test points: and and .
Step 4 — classify. By the First Derivative Test: to at gives a local maximum; to at gives a local minimum; at the derivative is but keeps the same sign on both sides, so there is no extremum — just a horizontal tangent inside a stretch where is decreasing. Since is continuous, is decreasing on the whole interval .
Part (b).
Step 5 — differentiate . Put , so and : (Expanded: .)
Step 6 — zeros of . gives ; and gives , i.e.
Step 7 — sign chart for (in the variable ).
| range of | concavity | |||
|---|---|---|---|---|
| down | ||||
| up | ||||
| down | ||||
| up |
All three zeros are genuine sign changes, and is continuous, so has inflection points at Notice that is simultaneously a critical number and an inflection point: a horizontal inflection.
Part (c). Knowing determines only up to an additive constant: every function has the same derivative, and they all have the same shape shifted vertically. The -coordinates of extrema and inflection points are therefore determined, but the -coordinates are not. One extra piece of data (a value such as ) would pin them down.
Answer: (a) critical numbers ; increasing on and , decreasing on ; local maximum at , local minimum at , neither at . (b) , with inflection points at , , . (c) Because is only determined up to an additive constant.
Find constants and such that has a local maximum at and an inflection point at . Then verify that your really has both features, and give its complete increase/decrease and concavity behaviour.
Show hint
Translate each requirement into an equation about or 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.
Inflection point at : exists everywhere, so an inflection point at forces :
Local maximum at : is a polynomial, so it is differentiable everywhere and is an interior point of the domain ; Fermat's theorem therefore gives :
So the candidate is
Step 2 — verification (necessary, because both conditions were only necessary conditions).
Is a local maximum? and , so by the Second Derivative Test yes — a local maximum. Its value is
Is an inflection point? is negative for and positive for , so the concavity really changes, and is continuous. Yes — the inflection point is
Step 3 — full behaviour of . The critical numbers are and .
| interval | ||||
|---|---|---|---|---|
| increasing | ||||
| decreasing | ||||
| increasing |
So there is also a local minimum at , confirmed by , with value Concavity: down on , up on .
Sanity check. For any cubic the single inflection point sits exactly halfway between the two critical numbers: here , which is precisely the inflection point found.
Answer: , , giving : local maximum value at , local minimum value at , increasing on and , decreasing on , concave down on and concave up on with inflection point .
(a) Use the Mean Value Theorem to prove: if is continuous on and for every , then is decreasing on . (b) The function satisfies at every point of its domain, yet is larger than . Explain precisely which hypothesis fails. (c) Give a function that is increasing on all of but has for some , and say what this shows about the converse of the Increasing/Decreasing Test.
Show hint
For (a), start by choosing two arbitrary points of and checking that the MVT hypotheses hold on the closed interval between them.
Show answer
Part (a) — proof.
Let and be any two points of with . We must show .
Check the MVT hypotheses on . Since and is continuous on , is continuous on . Since and is differentiable at every point of , is differentiable on . Both hypotheses hold.
Apply the MVT. There exists with
Read off the sign. We have by choice, and , so by hypothesis. A negative number times a positive number is negative, so
Since were arbitrary points of , is decreasing on . (QED)
Note that the conclusion covers the endpoints and even though was only assumed to exist on the open interval — continuity on the closed interval is all that the endpoints need.
Part (b). The hypothesis that fails is that the set on which we are testing is an interval. The domain of is , 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 with we would need the MVT on , but is not even defined at , let alone continuous there — no is produced and no conclusion follows.
What is true is the theorem applied separately on each interval of the domain: is increasing on and is increasing on . It is not increasing on the union. This is why monotonicity conclusions must always be reported interval by interval, never joined with .
Part (c). Take . If then (the cube function is strictly increasing on ), so is increasing on all of ; nevertheless This shows the converse of the Increasing/Decreasing Test is false: " increasing on " does not imply " on ". The correct converse is on . Combining the two directions: for a differentiable on an interval , is increasing on if and only if on and is not identically on any subinterval of of positive length. In practice this is why isolated zeros of may be absorbed into a single interval of increase or decrease — as in part (a), where finitely many points with would not have changed the conclusion.
Answer: (a) proved via the MVT applied to ; (b) the domain of is not an interval, so the MVT cannot be applied across — the function is increasing on and on separately, not on the union; (c) is increasing on with , so is sufficient but not necessary for increase.
