Increasing and decreasing functions

AS · P1 · 15 min

The sign of the derivative tells you which way a curve is heading. Where dydx\dfrac{dy}{dx} is positive the curve rises from left to right; where it is negative the curve falls. Paper 1 asks you to find the interval on which a function is increasing or decreasing, to show that a function is increasing (or decreasing) for every value of xx, and to use that fact to decide whether a function has an inverse. These are short questions, usually 3 to 5 marks, but they reward precise algebra and a clearly stated reason.

The sign of the gradient

Walk along the curve y=x3−3x2−9x+2y = x^3 - 3x^2 - 9x + 2 from left to right. You go uphill until x=−1x = -1, downhill from x=−1x = -1 to x=3x = 3, then uphill again. Uphill means the tangent slopes upwards, so the gradient is positive; downhill means the gradient is negative.

y = x^3 - 3x^2 - 9x + 2 (-1, 7) (3, -25) x = -1 x = 3

The derivative is f′(x)=3x2−6x−9=3(x−3)(x+1)f'(x) = 3x^2 - 6x - 9 = 3(x - 3)(x + 1). It is positive for x<−1x < -1 and x>3x > 3, and negative for −1<x<3-1 < x < 3, exactly matching the picture.

Definition

A function ff is increasing on an interval if f(x)f(x) gets larger as xx gets larger throughout that interval. It is decreasing on an interval if f(x)f(x) gets smaller as xx gets larger.

For a differentiable function:

  • if f′(x)>0f'(x) > 0 for every xx in an interval, ff is increasing on that interval;
  • if f′(x)<0f'(x) < 0 for every xx in an interval, ff is decreasing on that interval.

The boundaries between increasing and decreasing sections are the points where f′(x)=0f'(x) = 0: the stationary points. This is why the two topics go together.

Strict or not strict

The function f(x)=x3f(x) = x^3 has f′(0)=0f'(0) = 0, yet it is increasing everywhere: it never goes down. A gradient that is zero at a single isolated point does not stop a function being increasing. In exam answers, showing f′(x)>0f'(x) > 0 is the cleanest argument. If the derivative is a perfect square, such as 3(x−2)23(x - 2)^2, say that f′(x)≥0f'(x) \ge 0 with equality only at x=2x = 2, so ff is increasing. Mark schemes for interval answers normally accept either strict or non-strict inequalities at the end points, such as −1<x<3-1 < x < 3 or −1≤x≤3-1 \le x \le 3.

Finding where a function is increasing or decreasing

This is an inequality problem. Differentiate, then solve f′(x)>0f'(x) > 0 or f′(x)<0f'(x) < 0. When f′(x)f'(x) is a quadratic, use the method from quadratic inequalities: find the roots, then decide which side of them the inequality holds.

Interval where f is increasing or decreasing
  1. Find f′(x)f'(x), rewriting as powers first if needed.
  2. Solve f′(x)=0f'(x) = 0 to find the critical values.
  3. Decide where f′(x)>0f'(x) > 0 (increasing) or f′(x)<0f'(x) < 0 (decreasing). For a quadratic with positive x2x^2 coefficient, it is negative between the roots and positive outside them. A quick sketch of y=f′(x)y = f'(x) helps.
  4. Respect the domain of ff: an answer of x<2x < 2 is wrong if ff is only defined for x>0x > 0, where it should be 0<x<20 < x < 2.
  5. State the answer as an interval or set of values.

Showing a function is increasing for all x

To prove that ff is increasing for every xx, you must show f′(x)>0f'(x) > 0 for every xx, not just test a few values. Three standard arguments do this.

Completing the square. If f′(x)f'(x) is a quadratic, write it as p(x−q)2+rp(x - q)^2 + r with p>0p > 0 and r>0r > 0. Since (x−q)2≥0(x - q)^2 \ge 0, the whole expression is at least rr, which is positive.

Discriminant. A quadratic with positive leading coefficient and negative discriminant never meets the xx-axis, so it is positive for all xx. This is the method to use when the quadratic contains an unknown constant.

Signs of terms. If every term of f′(x)f'(x) is positive (or every term negative) for all xx in the domain, you are done. For example, f′(x)=3+2(x+1)2f'(x) = 3 + \dfrac{2}{(x + 1)^2} is a positive number plus a square, so it is positive for x≠−1x \neq -1. Even powers like (x+1)2(x + 1)^2 and (x+1)4(x + 1)^4 are never negative; odd powers like (2x−1)3(2x - 1)^3 take the sign of the bracket, so you need the domain to fix their sign.

Key result
  • f′(x)>0f'(x) > 0 throughout an interval: ff is increasing there.
  • f′(x)<0f'(x) < 0 throughout an interval: ff is decreasing there.
  • To show f′(x)>0f'(x) > 0 for all xx: complete the square, use the discriminant, or argue from the signs of the terms.
  • A function that is increasing (or decreasing) on its whole domain is one-one, so it has an inverse.

Increasing functions and inverses

A function has an inverse only if it is one-one: no two inputs give the same output. A function that is increasing throughout its domain can never return to a value it has already taken, so it is automatically one-one. The same is true of a function that is decreasing throughout its domain.

This gives a calculus route to two common questions:

  • "Determine whether ff has an inverse." Show that f′(x)f'(x) is always positive (or always negative) on the domain, and conclude that ff is one-one.
  • "Find the least value of aa for which ff, with domain x≥ax \ge a, has an inverse." Find where ff turns, using f′(x)=0f'(x) = 0. The domain must start at or beyond the last turning point so that ff only increases (or only decreases) on it.

Worked examples

Interval where a cubic decreases

Find the set of values of xx for which f(x)=x3−3x2−9x+2f(x) = x^3 - 3x^2 - 9x + 2 is decreasing.

Solutionf′(x)=3x2−6x−9=3(x2−2x−3)=3(x−3)(x+1)f'(x) = 3x^2 - 6x - 9 = 3(x^2 - 2x - 3) = 3(x - 3)(x + 1)

The critical values are x=−1x = -1 and x=3x = 3. The quadratic 3(x−3)(x+1)3(x - 3)(x + 1) has a positive x2x^2 coefficient, so it is negative between its roots.

ff is decreasing for −1<x<3-1 < x < 3.

Increasing for every x

Show that f(x)=x3−6x2+15x−4f(x) = x^3 - 6x^2 + 15x - 4 is an increasing function.

Solutionf′(x)=3x2−12x+15=3(x2−4x+5)f'(x) = 3x^2 - 12x + 15 = 3(x^2 - 4x + 5)

Complete the square:

x2−4x+5=(x−2)2−4+5=(x−2)2+1x^2 - 4x + 5 = (x - 2)^2 - 4 + 5 = (x - 2)^2 + 1

so

f′(x)=3(x−2)2+3f'(x) = 3(x - 2)^2 + 3

Since (x−2)2≥0(x - 2)^2 \ge 0 for all xx, f′(x)≥3>0f'(x) \ge 3 > 0 for all xx. Therefore ff is an increasing function.

(Alternatively: the discriminant of x2−4x+5x^2 - 4x + 5 is 16−20=−4<016 - 20 = -4 < 0 and the leading coefficient is positive, so f′(x)>0f'(x) > 0 for all xx.)

A chain rule function and its inverse

The function ff is defined by f(x)=1(2x−1)2−xf(x) = \dfrac{1}{(2x - 1)^2} - x for x>12x > \tfrac{1}{2}.

(a) Find f′(x)f'(x) and hence determine whether ff is increasing or decreasing.

(b) State, with a reason, whether ff has an inverse.

Solution

(a) Write f(x)=(2x−1)−2−xf(x) = (2x - 1)^{-2} - x. By the chain rule,

f′(x)=−2(2x−1)−3×2−1=−4(2x−1)3−1f'(x) = -2(2x - 1)^{-3} \times 2 - 1 = -\frac{4}{(2x - 1)^3} - 1

For x>12x > \tfrac{1}{2}, 2x−1>02x - 1 > 0, so (2x−1)3>0(2x - 1)^3 > 0 and −4(2x−1)3<0-\dfrac{4}{(2x - 1)^3} < 0. Both terms of f′(x)f'(x) are negative, so f′(x)<0f'(x) < 0 for all xx in the domain. Hence ff is decreasing.

(b) ff is decreasing throughout its domain, so it is one-one, and therefore ff has an inverse.

Note the role of the domain: the cube (2x−1)3(2x - 1)^3 could be negative if x<12x < \tfrac{1}{2} were allowed, and then the argument would fail.

Restricting a domain for an inverse

The function ff is defined by f(x)=2x3−9x2+12xf(x) = 2x^3 - 9x^2 + 12x for x≥ax \ge a. Find the least value of aa for which ff has an inverse.

Solutionf′(x)=6x2−18x+12=6(x−1)(x−2)f'(x) = 6x^2 - 18x + 12 = 6(x - 1)(x - 2)

So ff is increasing for x<1x < 1, decreasing for 1<x<21 < x < 2 and increasing for x>2x > 2. There are turning points at x=1x = 1 and x=2x = 2.

For ff to be one-one on x≥ax \ge a, the domain must not contain a turning point in its interior, so it must lie entirely in the region x≥2x \ge 2, where ff is increasing. The least value is a=2a = 2.

y = 2x^3 - 9x^2 + 12x (1, 5) (2, 4) x = 2

The graph shows why a=1a = 1 would fail: on x≥1x \ge 1 the curve falls from (1,5)(1, 5) to (2,4)(2, 4) and then rises back through y=5y = 5, so some outputs are taken twice.

An unknown constant

Find the set of values of the constant kk for which the function f(x)=x3−6x2+kx+1f(x) = x^3 - 6x^2 + kx + 1 has f′(x)>0f'(x) > 0 for all xx, so that ff is increasing.

Solutionf′(x)=3x2−12x+kf'(x) = 3x^2 - 12x + k

This quadratic has a positive x2x^2 coefficient, so it is positive for all xx exactly when it has no real roots:

b2−4ac=144−12k<0⇒k>12b^2 - 4ac = 144 - 12k < 0 \quad\Rightarrow\quad k > 12

(At k=12k = 12, f′(x)=3(x−2)2f'(x) = 3(x - 2)^2, which is zero at x=2x = 2 only; ff is still increasing in the everyday sense, but f′(x)>0f'(x) > 0 fails at one point, so k=12k = 12 is excluded from this answer.)

A bracket to the power three

Find the set of values of xx for which f(x)=(3x−2)3−9xf(x) = (3x - 2)^3 - 9x is decreasing.

Solution

By the chain rule,

f′(x)=3(3x−2)2×3−9=9(3x−2)2−9f'(x) = 3(3x - 2)^2 \times 3 - 9 = 9(3x - 2)^2 - 9

ff is decreasing where f′(x)<0f'(x) < 0:

9(3x−2)2<9⇒(3x−2)2<1⇒−1<3x−2<19(3x - 2)^2 < 9 \quad\Rightarrow\quad (3x - 2)^2 < 1 \quad\Rightarrow\quad -1 < 3x - 2 < 1

Adding 22 and dividing by 33: 13<x<1\tfrac{1}{3} < x < 1.

Do not expand the cube here. Keeping (3x−2)2(3x - 2)^2 as a single square makes the inequality a one-line job.

Watch out

Testing a few values. Showing f′(0)>0f'(0) > 0, f′(1)>0f'(1) > 0 and f′(5)>0f'(5) > 0 does not prove f′(x)>0f'(x) > 0 for every xx. You need an algebraic argument: completed square, discriminant or signs of terms.

Getting the side of the roots wrong. For 3(x−3)(x+1)<03(x - 3)(x + 1) < 0 the answer is between the roots, −1<x<3-1 < x < 3, not x<−1x < -1 or x>3x > 3. Sketch the parabola y=f′(x)y = f'(x) if unsure.

Square roots with one sign. (3x−2)2<1(3x - 2)^2 < 1 means −1<3x−2<1-1 < 3x - 2 < 1, not just 3x−2<13x - 2 < 1.

Assuming an odd power is positive. 4(2x−1)3\dfrac{4}{(2x - 1)^3} is positive only when 2x−1>02x - 1 > 0. Quote the domain when you use it.

Answering in terms of f(x)f(x). "ff is increasing for f(x)>7f(x) > 7" is meaningless; the answer is a set of xx-values.

Exam tip
  • "Show that ff is increasing" needs the derivative, an argument valid for all xx in the domain, and a concluding sentence. The final mark is for the conclusion with its reason, for example "f′(x)=3(x−2)2+3>0f'(x) = 3(x - 2)^2 + 3 > 0 for all xx, so ff is increasing."
  • "Determine whether ff is increasing, decreasing or neither": give the sign of f′(x)f'(x) with a reason, then the word. If f′(x)f'(x) changes sign in the domain, the answer is "neither".
  • Inverse questions: link the steps explicitly. "Decreasing, therefore one-one, therefore has an inverse." Examiners look for "one-one".
  • Least value of aa: identify the turning points, then choose the end point that leaves no turning point inside the domain. Students often give the other turning point by mistake.
  • Keep squares together. A derivative like 9(3x−2)2−99(3x - 2)^2 - 9 is easier to handle without expanding.
Summary
  • f′(x)>0f'(x) > 0 on an interval means ff is increasing there; f′(x)<0f'(x) < 0 means decreasing.
  • To find where ff increases or decreases, solve the inequality f′(x)>0f'(x) > 0 or f′(x)<0f'(x) < 0, respecting the domain.
  • A positive quadratic is negative between its roots and positive outside them.
  • To show f′(x)>0f'(x) > 0 for all xx: complete the square, show the discriminant is negative, or argue that every term is positive.
  • An isolated zero of f′(x)f'(x) (as for x3x^3 at 00) does not stop ff being increasing.
  • A function that is increasing or decreasing on its whole domain is one-one and has an inverse.
  • For the least aa with domain x≥ax \ge a, start the domain at the last turning point.

Practice questions

Question
  1. Find the set of values of xx for which f(x)=x2−8x+3f(x) = x^2 - 8x + 3 is increasing.
  2. Find the set of values of xx for which f(x)=2x3+3x2−36xf(x) = 2x^3 + 3x^2 - 36x is decreasing.
  3. Show that f(x)=x3+3x2+5x−1f(x) = x^3 + 3x^2 + 5x - 1 is an increasing function.
  4. The function ff is defined by f(x)=x+4xf(x) = x + \dfrac{4}{x} for x>0x > 0. Find the set of values of xx for which ff is increasing and the set for which it is decreasing.
  5. The function ff is defined by f(x)=1x+2−3xf(x) = \dfrac{1}{x + 2} - 3x for x>−2x > -2. Determine whether ff is increasing or decreasing, and state whether ff has an inverse.
  6. The function ff is defined by f(x)=(2x+1)32−3xf(x) = (2x + 1)^{\frac{3}{2}} - 3x for x≥−12x \ge -\tfrac{1}{2}. Find the set of values of xx for which ff is increasing.
  7. The function ff is defined by f(x)=2x3+3x2−12xf(x) = 2x^3 + 3x^2 - 12x for x≤ax \le a. Find the greatest value of aa for which ff has an inverse.
  8. Find the set of values of kk for which f(x)=x3+kx2+27xf(x) = x^3 + kx^2 + 27x satisfies f′(x)>0f'(x) > 0 for all xx.
  9. The function ff is defined by f(x)=x+9x−1f(x) = x + \dfrac{9}{x - 1} for x>1x > 1. (a) Find the set of values of xx for which ff is increasing. (b) The function gg is defined by g(x)=x+9x−1g(x) = x + \dfrac{9}{x - 1} for x≥ax \ge a. Find the least value of aa for which gg has an inverse.
Answers
  1. f′(x)=2x−8>0f'(x) = 2x - 8 > 0 when x>4x > 4.

  2. f′(x)=6x2+6x−36=6(x+3)(x−2)f'(x) = 6x^2 + 6x - 36 = 6(x + 3)(x - 2). Negative between the roots: −3<x<2-3 < x < 2.

  3. f′(x)=3x2+6x+5=3(x2+2x)+5=3(x+1)2−3+5=3(x+1)2+2f'(x) = 3x^2 + 6x + 5 = 3(x^2 + 2x) + 5 = 3(x + 1)^2 - 3 + 5 = 3(x + 1)^2 + 2. Since (x+1)2≥0(x + 1)^2 \ge 0, f′(x)≥2>0f'(x) \ge 2 > 0 for all xx, so ff is increasing.

  4. f′(x)=1−4x2=x2−4x2f'(x) = 1 - \dfrac{4}{x^2} = \dfrac{x^2 - 4}{x^2}. For x>0x > 0 the denominator is positive, so the sign is that of x2−4x^2 - 4. Increasing for x>2x > 2; decreasing for 0<x<20 < x < 2.

  5. f(x)=(x+2)−1−3xf(x) = (x + 2)^{-1} - 3x, so f′(x)=−(x+2)−2−3=−1(x+2)2−3f'(x) = -(x + 2)^{-2} - 3 = -\dfrac{1}{(x + 2)^2} - 3. Both terms are negative, so f′(x)<0f'(x) < 0 for all x>−2x > -2: ff is decreasing. It is therefore one-one and has an inverse.

  6. f′(x)=32(2x+1)12×2−3=32x+1−3f'(x) = \tfrac{3}{2}(2x + 1)^{\frac{1}{2}} \times 2 - 3 = 3\sqrt{2x + 1} - 3. This is positive when 2x+1>1\sqrt{2x + 1} > 1, so 2x+1>12x + 1 > 1, x>0x > 0. ff is increasing for x>0x > 0 (and decreasing for −12<x<0-\tfrac{1}{2} < x < 0).

  7. f′(x)=6x2+6x−12=6(x+2)(x−1)f'(x) = 6x^2 + 6x - 12 = 6(x + 2)(x - 1). ff is increasing for x<−2x < -2, decreasing for −2<x<1-2 < x < 1. For the domain x≤ax \le a to contain no turning point in its interior, a≤−2a \le -2. The greatest value is a=−2a = -2.

  8. f′(x)=3x2+2kx+27f'(x) = 3x^2 + 2kx + 27. Positive for all xx when the discriminant is negative: 4k2−4(3)(27)<04k^2 - 4(3)(27) < 0, so k2<81k^2 < 81, giving −9<k<9-9 < k < 9.

  9. (a) f′(x)=1−9(x−1)2f'(x) = 1 - \dfrac{9}{(x - 1)^2}. This is positive when (x−1)2>9(x - 1)^2 > 9. For x>1x > 1, x−1>0x - 1 > 0, so x−1>3x - 1 > 3 and x>4x > 4. ff is increasing for x>4x > 4 (and decreasing for 1<x<41 < x < 4). (b) gg has a minimum at x=4x = 4 (where f′(x)=0f'(x) = 0). For gg to be one-one the domain must not contain points on both sides of x=4x = 4, so the least value is a=4a = 4.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action