MATH 140 Calculus 1 • McGill University, Montreal

Revision sheet: the shape of a graph (MATH 140)

This sheet is not a summary of section 4.3 of Stewart: you already have the course notes. It answers one question only, what makes students lose marks when they use f′f' and f′′f'' to describe a graph in MATH 140 at McGill University, and which precise gesture avoids each loss.

The chapter looks mechanical, differentiate, set equal to zero, solve, and that is exactly where the marks go: the equation f′(c)=0f'(c) = 0 gives candidates, and the points are for what happens on each side. Every value below is exact and done by hand, as on the exam.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.

The thread of the chapter

A zero NOMINATES, a sign DECIDES: f′(c)=0f'(c) = 0, f′′(c)=0f''(c) = 0 or a derivative that does not exist only give candidates, and the sign of f′f' (for an extremum) or of f′′f'' (for an inflection point) on each side of the candidate is what the marker wants to see.

This chapter is part of MATH 140, Calculus 1 (McGill)

The essentials

Two derivatives, two independent questions

  • • The sign of f′f' answers: is the graph going UP or DOWN? The sign of f′′f'' answers: is it bending UP (a cup) or DOWN (a cap)? The four combinations all exist.
  • • Increasing does not mean concave upward: x\sqrt x increases while bending down, e−xe^{-x} decreases while bending up.
  • • Increasing/Decreasing Test and Concavity Test work on ONE interval at a time. A union of intervals is never an answer to “where is ff increasing” when the domain has a gap.
  • • On the graph of f′f': the SIGN (above or below the axis) gives the direction of ff, the SLOPE (rising or falling) gives the concavity of ff.
f' > 0f'' > 0f' > 0f'' < 0f' < 0f'' > 0f' < 0f'' < 0
The four shapes: up and cup, up and cap, down and cup, down and cap. The sign of f′f' and the sign of f′′f'' are read separately.

Before reading any figure, write its name on it: “this is y=f′(x)y = f'(x)”. Half of the errors on graph questions come from reading f′f' as if it were ff.

Candidates, then verdicts

  • • Candidates for a local extremum: the critical numbers, where f′(c)=0f'(c) = 0 OR f′(c)f'(c) does not exist (x1/3x^{1/3}, ∣x∣|x|, x2/3x^{2/3} at 00).
  • • Candidates for an inflection point: where f′′(c)=0f''(c) = 0 OR f′′(c)f''(c) does not exist, with ff continuous at cc.
  • • Verdict for an extremum: the sign of f′f' changes (First Derivative Test), or f′′(c)≠0f''(c) \neq 0 at a point where f′(c)=0f'(c) = 0 (Second Derivative Test).
  • • Verdict for an inflection point: the sign of f′′f'' changes. There is no shortcut test: f′′(c)=0f''(c) = 0 decides nothing.
  • • A factor squared, (x−a)2(x - a)^2, never changes sign: a double root of f′f' or f′′f'' is the candidate that usually fails.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

What the Second Derivative Test says at a critical number

Read a line as: at a number cc with the value of f′(c)f'(c) of the first column and of f′′(c)f''(c) of the second, the verdict is in the third. The red lines are not verdicts: the test is silent, and the First Derivative Test must decide.

f′(c)f'(c)f′′(c)f''(c)Verdict at cc
00 >0> 0 local minimum

Example: f(x)=2x3−3x2−36x+1f(x) = 2x^3 - 3x^2 - 36x + 1: f′(3)=0f'(3) = 0, f′′(3)=30f''(3) = 30, local minimum f(3)=−80f(3) = -80.

00 <0< 0 local maximum

Example: Same ff: f′(−2)=0f'(-2) = 0, f′′(−2)=−30f''(-2) = -30, local maximum f(−2)=45f(-2) = 45.

00 00 no conclusion test is silent

Example: p(x)=3x5−5x3p(x) = 3x^5 - 5x^3 at 00: p′(0)=p′′(0)=0p'(0) = p''(0) = 0, and p′<0p' < 0 on both sides, so no extremum.

Same form, other result: x4x^4, −x4-x^4 and x3x^3 all have f′(0)=f′′(0)=0f'(0) = f''(0) = 0: a minimum, a maximum, and neither.

What to do: Go back to the sign of f′f' on each side of cc: First Derivative Test.

00 undefined no conclusion test cannot apply

Example: x4/3x^{4/3}: f′(0)=0f'(0) = 0 but f′′(x)=49x−2/3f''(x) = \frac{4}{9}x^{-2/3} is undefined at 00; f′f' goes from −- to ++, minimum 00.

What to do: The hypotheses of the test fail: use the First Derivative Test.

undefined undefined no conclusion test cannot apply

Example: x−3x1/3x - 3x^{1/3} at 00: f′(0)f'(0) does not exist; f′<0f' < 0 on both sides, so no extremum.

What to do: A critical number where f′f' does not exist is ALWAYS classified by the sign of f′f'.

The test is a shortcut for the easy cases. When it is silent it has said nothing, and a paper that writes “no extremum” at that point is wrong half the time.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Declaring an extremum wherever f' is zero

2 marks, the whole classification

What not to write

“g′(x)=3(x−2)2g'(x) = 3(x - 2)^2, so g′(2)=0g'(2) = 0 and gg has a local minimum at 22.”

What to write

“g′(2)=0g'(2) = 0, but 3(x−2)2>03(x - 2)^2 > 0 on both sides of 22: no sign change, so by the First Derivative Test gg has no local extremum at 22.”

Why: f′(c)=0f'(c) = 0 gives a horizontal tangent, and a horizontal tangent can sit on a rising curve, like x3x^3 at the origin. Only a change of sign of f′f' makes an extremum.

2. Declaring an inflection point wherever f'' is zero

1 to 2 marks, and a wrong sketch

What not to write

“f(x)=x4f(x) = x^4: f′′(x)=12x2f''(x) = 12x^2, f′′(0)=0f''(0) = 0, so (0,0)(0, 0) is an inflection point.”

What to write

“f′′(0)=0f''(0) = 0, but 12x2>012x^2 > 0 on both sides of 00: the concavity does not change, so (0,0)(0, 0) is not an inflection point.”

-1.5-1-0.50.511.5-3-2-1123y = x⁴y = x³x
Both curves have f′′(0)=0f''(0) = 0. The cube x3x^3 changes from cap to cup at the origin; x4x^4 is a cup on both sides, so the origin is its minimum, not an inflection point.

Why: An inflection point is defined by a CHANGE of concavity. A double root of f′′f'', as x2x^2 in g′′(x)=20x2(x−3)g''(x) = 20x^2(x - 3), is a candidate that fails; the root 33, simple, is a real inflection point.

3. Forgetting the critical numbers where f' does not exist

1 mark, more if the missing point was the extremum

What not to write

“h(x)=x−3x1/3h(x) = x - 3x^{1/3}, h′(x)=1−x−2/3=0h'(x) = 1 - x^{-2/3} = 0 gives x=±1x = \pm 1: the critical numbers are −1-1 and 11.”

What to write

“The critical numbers are −1-1 and 11 (h′=0h' = 0) AND 00 (h′(0)h'(0) does not exist, 00 in the domain). The sign of h′h' is then checked on each side of all three.”

Why: The definition has two halves. With ∣x−1∣|x - 1| or x2/3x^{2/3}, the forgotten point IS the minimum; here it is rejected, but only the sign of h′h' is allowed to reject it.

4. Alternating the signs of a chart across a double root

2 marks, and a maximum that does not exist

What not to write

“f′(x)=12x(x−1)2f'(x) = 12x(x - 1)^2: the signs go −-, ++, −- around 00 and 11, so a minimum at 00 and a maximum at 11.”

What to write

“(x−1)2≥0(x - 1)^2 \ge 0 never changes sign: f′f' is −- on (−∞,0)(-\infty, 0), ++ on (0,1)(0, 1) and ++ on (1,∞)(1, \infty). Minimum at 00, no extremum at 11.”

Why: Signs alternate only across SIMPLE roots. Take one test value in EVERY interval of the chart, or read the sign of each factor, never a rhythm +−+−+ - + - written in advance.

5. Reading the graph of f' as the graph of f

the whole question

What not to write

“The curve of f′f' has its lowest point at x=0x = 0, so ff has a local minimum at x=0x = 0.”

What to write

“The zeros of f′f' where it changes sign are the extrema of ff; the lowest point of the curve of f′f' is where ff decreases fastest, an inflection point of ff.”

-2.5-2-1.5-1-0.50.511.522.5-3-2-11234dashed: f'(x)y = f(x)x
f(x)=x33−xf(x) = \frac{x^3}{3} - x has its extrema at x=±1x = \pm 1, where the dashed f′f' crosses the axis; the lowest point of f′f', at x=0x = 0, is the inflection point of ff.

Why: The extrema of f′f' are the inflection points of ff, and the zeros of f′f' are its extrema. On the graph of f′f', look at the axis crossings for extrema and at the turning points for inflection points.

6. Reading a silent Second Derivative Test as a no

2 marks

What not to write

“f(x)=x4f(x) = x^4: f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0, so by the Second Derivative Test ff has no extremum at 00.”

What to write

“f′′(0)=0f''(0) = 0: the Second Derivative Test gives no conclusion. f′(x)=4x3f'(x) = 4x^3 goes from −- to ++ at 00, so by the First Derivative Test ff has a local minimum at 00.”

Why: The test has only two outputs, maximum and minimum. When f′′(c)=0f''(c) = 0 it has not answered, and x4x^4, −x4-x^4 and x3x^3 show that all three answers are possible.

7. Claiming f is increasing on a union of intervals

1 mark

What not to write

“f(x)=−1xf(x) = -\frac{1}{x}, f′(x)=1x2>0f'(x) = \frac{1}{x^2} > 0, so ff is increasing on (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty).”

What to write

“f′>0f' > 0 on (−∞,0)(-\infty, 0) and on (0,∞)(0, \infty), so ff is increasing on (−∞,0)(-\infty, 0) and increasing on (0,∞)(0, \infty).”

Why: The test works on one interval. Across the gap it fails: −1<1-1 < 1 but f(−1)=1>f(1)=−1f(-1) = 1 > f(1) = -1. The union sign turns two true statements into one false one.

8. Giving where instead of how much

1 mark

What not to write

“The local maximum of k(x)=x2exk(x) = x^2e^x is x=−2x = -2.”

What to write

“kk has a local maximum at x=−2x = -2, and the local maximum VALUE is k(−2)=4e−2k(-2) = 4e^{-2}.”

Why: “Find the local maximum values” asks for f(c)f(c); “where does ff have a local maximum” asks for cc. Answer both when in doubt, and an inflection point is always a POINT, (c,f(c))(c, f(c)).

Which method to choose

Which test, by what you have in front of you

Look at the candidate and at the data given before choosing the test

  • If f′(c)=0f'(c) = 0 and f′′(c)f''(c) is quick to compute and NOT zero → Second Derivative Test: the sign of f'' at c gives max or min

    Example: sin⁡x+cos⁡x\sin x + \cos x at π4\frac{\pi}{4}: f′′=−2<0f'' = -\sqrt 2 < 0, maximum 2\sqrt 2

  • If f′(c)=0f'(c) = 0 and f′′(c)=0f''(c) = 0 → the second test is silent: First Derivative Test, sign of f' on each side

    Example: 3x5−5x33x^5 - 5x^3 at 00: p′<0p' < 0 on both sides, no extremum

  • If f′(c)f'(c) does not exist, or f′′(c)f''(c) does not exist → First Derivative Test only

    Example: x4/3x^{4/3} at 00: f′f' from −- to ++, minimum 00

  • If f′f' factors with a squared factor (x−a)2(x - a)^2 → sign chart, factor by factor: no sign change at aa

    Example: 12x(x−1)212x(x - 1)^2: minimum at 00, nothing at 11

  • If the graph of f' is given → axis crossings give extrema of f, turning points give inflection points of f

    Example: f′=(x+2)(x−1)24f' = \frac{(x + 2)(x - 1)^2}{4}: minimum at −2-2, inflections at −1-1 and 11

  • If the question asks for inflection points → list the zeros and undefined points of f'', then check the sign change of f'' at each

    Example: x5−5x4x^5 - 5x^4: f′′=20x2(x−3)f'' = 20x^2(x - 3), only (3,−162)(3, -162)

No branch uses a limit or an asymptote: those belong to the complete curve sketch. Here each question isolates what f′f' or f′′f'' says.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Classifying the critical numbers with a sign chart

When to use it: Any question asking where ff is increasing or decreasing, or for its local maximum and minimum values

  1. 1 Give the domain, then compute f′f' and FACTOR it completely.
  2. 2 List the critical numbers: the zeros of f′f' AND the numbers of the domain where f′f' does not exist.
  3. 3 Draw the sign chart: one row per factor, one column per critical number, one test value or factor sign in every interval.
  4. 4 Conclude the intervals of increase and decrease by naming the Increasing/Decreasing Test, one interval at a time.
  5. 5 At each critical number, name the First Derivative Test and give the VALUE f(c)f(c) of each local extremum.

Concluding sentence

“Since f′f' changes from negative to positive at x=−4x = -4, ff has a local minimum there by the First Derivative Test, and the local minimum value is f(−4)=−127f(-4) = -127.”

The trap: Stopping after solving f′(x)=0f'(x) = 0: the solutions are candidates, and the chart is the proof.

Marking: Typically 2 marks for f' factored, 1 for the complete list of critical numbers, 3 for the sign chart, 2 for the intervals, 2 for the classified extrema with their values.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

A minimum, a flat inflection point, and a silent test

Let f(x)=3x4−8x3+6x2+1f(x) = 3x^4 - 8x^3 + 6x^2 + 1. Find the intervals of increase and decrease, the local extreme values, the intervals of concavity and the inflection points of ff.

No calculator. Every conclusion must name the test that gives it, as on a MATH 140 final.

-0.4-0.20.20.40.60.811.21.41.6123456min (0, 1)(1/3, 38/27)(1, 2)x
The graph drawn after the study: the only local minimum is (0,1)(0, 1), and at (1,2)(1, 2) the curve flattens to a horizontal tangent without turning back, an inflection point.

Step 1

f′(x)=12x3−24x2+12x=12x(x2−2x+1)=12x(x−1)2f'(x) = 12x^3 - 24x^2 + 12x = 12x(x^2 - 2x + 1) = 12x(x - 1)^2. ff is a polynomial, so f′f' exists everywhere: the critical numbers are 00 and 11.

Why

Factoring completely is what makes the sign readable. The square (x−1)2(x - 1)^2 is the warning: at 11 the sign of f′f' will not change.

Step 2

Sign of f′f': 12x<012x < 0 and (x−1)2>0(x - 1)^2 > 0 on (−∞,0)(-\infty, 0), so f′<0f' < 0; on (0,1)(0, 1) and (1,∞)(1, \infty), f′>0f' > 0. ff is decreasing on (−∞,0](-\infty, 0] and increasing on [0,∞)[0, \infty). Local minimum f(0)=1f(0) = 1; no extremum at 11.

Why

The increasing intervals [0,1][0, 1] and [1,∞)[1, \infty) share the point 11, so ff is increasing on [0,∞)[0, \infty) as a whole. The candidate 11 is rejected by the sign, not by a guess.

Step 3

f′′(x)=36x2−48x+12=12(3x2−4x+1)=12(3x−1)(x−1)f''(x) = 36x^2 - 48x + 12 = 12(3x^2 - 4x + 1) = 12(3x - 1)(x - 1). At 00: f′′(0)=12>0f''(0) = 12 > 0, the Second Derivative Test confirms the minimum. At 11: f′′(1)=0f''(1) = 0, the test is silent, and step 2 has already decided.

Why

Using both tests where they apply is a free check. At 11 the silence of the second test is not a result: the result came from the sign chart.

Step 4

12(3x−1)(x−1)12(3x - 1)(x - 1) is positive on (−∞,13)\left(-\infty, \frac{1}{3}\right) and (1,∞)(1, \infty), negative on (13,1)\left(\frac{1}{3}, 1\right). The concavity changes at 13\frac{1}{3} and at 11: inflection points (13,3827)\left(\frac{1}{3}, \frac{38}{27}\right) and (1,2)(1, 2).

Why

Both roots of f′′f'' are SIMPLE, so both are real inflection points. The value f(13)=127−827+1827+2727=3827f\left(\frac{1}{3}\right) = \frac{1}{27} - \frac{8}{27} + \frac{18}{27} + \frac{27}{27} = \frac{38}{27} is computed over a common denominator.

Step 5

Check: f(0)=1<f(13)=3827<f(1)=2f(0) = 1 < f\left(\frac{1}{3}\right) = \frac{38}{27} < f(1) = 2, increasing as found in step 2; the point (1,2)(1, 2) has f′(1)=0f'(1) = 0 and f′′f'' changing sign: a horizontal tangent at an inflection point.

Why

The values must respect the monotonicity just proved. A value at 13\frac{1}{3} below 11 would reveal an arithmetic slip before the marker finds it.

The conclusion, written out

“ff is decreasing on (−∞,0](-\infty, 0] and increasing on [0,∞)[0, \infty), with a local minimum value f(0)=1f(0) = 1 and no extremum at 11. It is concave upward on (−∞,13)\left(-\infty, \frac{1}{3}\right) and (1,∞)(1, \infty), concave downward on (13,1)\left(\frac{1}{3}, 1\right), with inflection points (13,3827)\left(\frac{1}{3}, \frac{38}{27}\right) and (1,2)(1, 2).”

The classic mistake on this problem: Declaring a maximum at 11 because the chart was filled −-, ++, −- by habit, or skipping the inflection point (1,2)(1, 2) because it is also a critical number.

Learn by heart

  • • Critical number: f′(c)=0f'(c) = 0 OR f′(c)f'(c) undefined, with cc in the domain. A candidate, never a verdict.
  • • Extremum: f′f' CHANGES sign. Inflection point: f′′f'' CHANGES sign, ff continuous at cc.
  • • Second Derivative Test: f′(c)=0f'(c) = 0, f′′(c)>0f''(c) > 0 minimum; f′′(c)<0f''(c) < 0 maximum; f′′(c)=0f''(c) = 0 or undefined, NO conclusion.
  • • A squared factor never changes sign: a double root of f′f' or f′′f'' is the candidate that fails.
  • • On the graph of f′f': crossings of the axis are extrema of ff, turning points are inflection points of ff.
  • • Increasing and decreasing are stated on INTERVALS, one at a time, never on a union across a gap.
  • • Local maximum at cc, local maximum VALUE f(c)f(c), inflection POINT (c,f(c))(c, f(c)).

Frequently asked questions

How do I find where a function is increasing or decreasing in MATH 140?

Compute the derivative and factor it completely. List the critical numbers, where the derivative is zero or does not exist. Then make a sign chart with one test value in every interval between them. Where the derivative is positive the function is increasing, where it is negative it is decreasing, stated interval by interval.

What is the difference between the first and second derivative tests?

The first derivative test looks at the sign of f prime on each side of a critical number: a change from plus to minus is a maximum, from minus to plus a minimum, no change means no extremum. It always applies. The second derivative test only looks at the sign of f double prime at the point; it is faster, but when f double prime is zero or undefined it gives no answer.

Is every point where the second derivative is zero an inflection point?

No. An inflection point needs a change of concavity, so the second derivative must change sign there. The function x to the fourth has a second derivative equal to zero at the origin, yet it is concave upward on both sides, and the origin is its minimum. A zero of the second derivative is only a candidate to be checked.

How do I read f from the graph of f prime?

Where the graph of f prime is above the axis, f is increasing; below, f is decreasing. Where f prime crosses the axis, f has a local maximum or minimum; where it only touches the axis, f has none. Where the graph of f prime rises, f is concave upward, and the turning points of f prime are the inflection points of f.

Can a function be increasing and concave down at the same time?

Yes. Increasing is about the sign of the first derivative, concave down about the sign of the second, and the two are independent. The square root function increases while bending down: it keeps rising, but more and more slowly. This is exactly what economists call diminishing returns.

Practise it

Corrected exercises: Shape of a graph, MATH 140 at McGill

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 10 corrected exercises
  • 100 points
  • 150 minutes
Do the exercises
Previous sheet The Mean Value Theorem Next sheet L'Hospital's rule

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/math140-shape-of-graph. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a MATH 140 tutor in Montreal?

Get in touch for a first session. The shape of a graph is where the derivative chapters start to pay: curve sketching and optimization are built on these two tests.

Site by Studio Squalli