Derivatives · Class 12 · Lesson 17

Increasing and decreasing functions: read it from the sign of f'(x).

Short answer

If \(f'(x) > 0\) on an interval, \(f\) is strictly increasing there; if \(f'(x) < 0\), it is strictly decreasing. Find where \(f'(x) = 0\), then check the sign of \(f'\) between those points.

Example: \(f(x) = x^2 - 4x\) has \(f'(x) = 2x - 4\), so \(f\) decreases on \((-\infty, 2)\) and increases on \((2, \infty)\).

Class 12HSC & CBSE
01

What increasing and decreasing mean

A function is increasing on an interval if its graph rises as you move to the right, and decreasing if it falls. In symbols, take any two points \(x_1 < x_2\) in the interval:

Definitions

Increasing: \(f(x_1) \le f(x_2)\). Strictly increasing: \(f(x_1) < f(x_2)\).

Decreasing: \(f(x_1) \ge f(x_2)\). Strictly decreasing: \(f(x_1) > f(x_2)\).

Some books use "increasing" to mean strictly increasing. For the functions in this lesson the answer comes out the same either way.

Checking pairs of points by hand is slow. The derivative does it for you, because \(f'(x)\) is the slope of the tangent.

The derivative test

Let \(f\) be continuous on \([a, b]\) and differentiable on \((a, b)\).

If \(f'(x) > 0\) for every \(x\) in \((a, b)\), \(f\) is strictly increasing on \([a, b]\).

If \(f'(x) < 0\) for every \(x\) in \((a, b)\), \(f\) is strictly decreasing on \([a, b]\).

If \(f'(x) = 0\) for every \(x\) in \((a, b)\), \(f\) is constant on \([a, b]\).

Why it works: for \(x_1 < x_2\), Lagrange's mean value theorem gives \(f(x_2) - f(x_1) = f'(c)(x_2 - x_1)\) for some \(c\) between them. If \(f'\) is positive, both factors on the right are positive, so \(f(x_2) > f(x_1)\).

One subtlety. \(f'\) may be zero at a few separate points without spoiling strict increase. \(f(x) = x^3\) has \(f'(0) = 0\), yet it is strictly increasing everywhere.

02

The sign table method

  1. Find \(f'(x)\) and factorise it completely.
  2. Find the critical points: solve \(f'(x) = 0\), and note any point inside the domain where \(f'(x)\) is undefined.
  3. Mark them on the number line. They split the domain into intervals.
  4. Find the sign of \(f'(x)\) on each interval, from the sign of each factor or by testing one value.
  5. Read off the answer: \(f' > 0\) means increasing, \(f' < 0\) means decreasing.

Here is the table for \(f'(x) = 6(x - 2)(x - 3)\), from Example 3:

Interval\(x - 2\)\(x - 3\)\(f'(x)\)\(f\)
\(x < 2\)\(-\)\(-\)\(+\)increasing
\(2 < x < 3\)\(+\)\(-\)\(-\)decreasing
\(x > 3\)\(+\)\(+\)\(+\)increasing
03

Solved examples

Example 1: A quadratic

Easy

Find the intervals in which \(f(x) = x^2 - 6x + 5\) is increasing or decreasing.

  1. \(f'(x) = 2x - 6 = 2(x - 3)\), which is zero at \(x = 3\).
  2. For \(x < 3\), \(f'(x) < 0\). For \(x > 3\), \(f'(x) > 0\). (The vertex of the parabola is at \(x = 3\).)

AnswerStrictly decreasing on \((-\infty, 3)\), strictly increasing on \((3, \infty)\)

Example 2: Increasing for every x

Easy

Show that \(f(x) = x^3 + x\) is strictly increasing on \(\mathbb{R}\).

  1. \(f'(x) = 3x^2 + 1\).
  2. \(x^2 \ge 0\) for every \(x\), so \(3x^2 + 1 \ge 1 > 0\).
  3. \(f'\) is positive everywhere, so \(f\) is strictly increasing on the whole real line.

Answer\(f'(x) = 3x^2 + 1 > 0\) for all \(x\), so \(f\) is strictly increasing

Example 3: A cubic with a sign table

Medium

Find the intervals in which \(f(x) = 2x^3 - 15x^2 + 36x + 1\) is increasing or decreasing.

  1. \(f'(x) = 6x^2 - 30x + 36 = 6(x^2 - 5x + 6) = 6(x - 2)(x - 3)\).
  2. The critical points \(x = 2\) and \(x = 3\) split the line into \((-\infty, 2)\), \((2, 3)\) and \((3, \infty)\).
  3. The sign table in the method section gives \(+\), \(-\), \(+\).

AnswerIncreasing on \((-\infty, 2)\) and \((3, \infty)\); decreasing on \((2, 3)\)

Example 4: A quartic

Medium

Find the intervals in which \(f(x) = x^4 - 8x^2 + 3\) is increasing or decreasing.

  1. \(f'(x) = 4x^3 - 16x = 4x(x - 2)(x + 2)\). Critical points: \(-2\), \(0\), \(2\).
  2. Test one value in each interval: \(f'(-3) = -60\), \(f'(-1) = 12\), \(f'(1) = -12\), \(f'(3) = 60\).
  3. So the signs are \(-\), \(+\), \(-\), \(+\).

AnswerDecreasing on \((-\infty, -2)\) and \((0, 2)\); increasing on \((-2, 0)\) and \((2, \infty)\)

Example 5: A trigonometric function on an interval

Medium

Find the intervals in which \(f(x) = \sin x - \cos x\), \(0 \le x \le 2\pi\), is increasing or decreasing.

  1. \(f'(x) = \cos x + \sin x = \sqrt{2}\sin\left(x + \dfrac{\pi}{4}\right)\).
  2. \(f'(x) = 0\) when \(x + \dfrac{\pi}{4} = \pi\) or \(2\pi\), that is \(x = \dfrac{3\pi}{4}\) or \(\dfrac{7\pi}{4}\).
  3. As \(x\) runs over \([0, 2\pi]\), \(x + \dfrac{\pi}{4}\) runs from \(\dfrac{\pi}{4}\) to \(\dfrac{9\pi}{4}\). The sine is positive below \(\pi\), negative between \(\pi\) and \(2\pi\), and positive again above \(2\pi\).

AnswerIncreasing on \(\left[0, \dfrac{3\pi}{4}\right)\) and \(\left(\dfrac{7\pi}{4}, 2\pi\right]\); decreasing on \(\left(\dfrac{3\pi}{4}, \dfrac{7\pi}{4}\right)\)

Example 6: A logarithmic function

Medium

Find where \(f(x) = \dfrac{\log x}{x}\) is increasing or decreasing.

  1. The domain is \(x > 0\).
  2. Quotient rule: \(f'(x) = \dfrac{x\cdot\frac{1}{x} - \log x}{x^2} = \dfrac{1 - \log x}{x^2}\).
  3. \(x^2 > 0\), so the sign is that of \(1 - \log x\): positive for \(x < e\), negative for \(x > e\).
  4. A bonus: \(e < \pi\) and \(f\) decreases after \(e\), so \(f(e) > f(\pi)\), that is \(\dfrac{1}{e} > \dfrac{\log\pi}{\pi}\). Rearranged, this says \(e^\pi > \pi^e\).

AnswerIncreasing on \((0, e)\), decreasing on \((e, \infty)\)

Example 7: An exponential function

Exam level

Find the intervals in which \(f(x) = x^2 e^{-x}\) is increasing or decreasing.

  1. \(f'(x) = 2x\,e^{-x} - x^2 e^{-x} = x(2 - x)\,e^{-x}\).
  2. \(e^{-x} > 0\), so look at \(x(2 - x)\), which is zero at \(x = 0\) and \(x = 2\).
  3. \(x(2 - x)\) is negative for \(x < 0\), positive for \(0 < x < 2\), and negative for \(x > 2\).

AnswerIncreasing on \((0, 2)\); decreasing on \((-\infty, 0)\) and \((2, \infty)\)

Example 8: A function with a parameter

Exam level

Find the values of \(a\) for which \(f(x) = x^3 - 3ax^2 + 12x + 5\) is increasing for every real \(x\).

  1. \(f'(x) = 3x^2 - 6ax + 12\). We need \(f'(x) \ge 0\) for all \(x\).
  2. A quadratic with a positive leading coefficient is never negative exactly when its discriminant is at most 0: \(36a^2 - 4(3)(12) \le 0\).
  3. \(36a^2 \le 144\), so \(a^2 \le 4\), that is \(-2 \le a \le 2\).
  4. At \(a = 2\), \(f'(x) = 3(x - 2)^2\), which is zero only at \(x = 2\), so \(f\) is still strictly increasing. The same holds at \(a = -2\).

Answer\(-2 \le a \le 2\)

Vipul Sir's tip

Factorise \(f'(x)\) completely before you fill in the sign table. A squared factor such as \((x - 1)^2\) never changes sign, so \(f'\) does not flip there. If you assume the signs simply alternate, you will get these questions wrong.

04

Common mistakes

1. Assuming the signs alternate

If \(f'(x) = (x - 1)^2(x - 2)\), the critical points are 1 and 2. Wrong: signs \(+\), \(-\), \(+\). Right: \(-\), \(-\), \(+\), because \((x - 1)^2\) is never negative. So \(f\) is decreasing on \((-\infty, 2)\) and increasing on \((2, \infty)\).

2. Ignoring the domain

\(\dfrac{\log x}{x}\) exists only for \(x > 0\). Writing "increasing on \((-\infty, e)\)" is wrong; the answer is \((0, e)\).

3. Thinking \(f'(c) = 0\) stops a function increasing

\(x^3\) has \(f'(0) = 0\), yet \(x_1 < x_2\) always gives \(x_1^3 < x_2^3\). A zero of \(f'\) at a single point, with \(f' > 0\) on both sides, does not stop \(f\) being strictly increasing.

05

Practice questions

Try each one on paper before you open the answer.

Q1Find the intervals in which \(f(x) = 10 - 6x - 2x^2\) is increasing or decreasing.

\(f'(x) = -6 - 4x\), zero at \(x = -\dfrac{3}{2}\). Increasing on \(\left(-\infty, -\dfrac{3}{2}\right)\), decreasing on \(\left(-\dfrac{3}{2}, \infty\right)\).

Q2Find the intervals in which \(f(x) = x^3 - 3x^2 - 9x + 4\) is increasing or decreasing.

\(f'(x) = 3x^2 - 6x - 9 = 3(x - 3)(x + 1)\). Increasing on \((-\infty, -1)\) and \((3, \infty)\), decreasing on \((-1, 3)\).

Q3Show that \(f(x) = x - \sin x\) is increasing for all real \(x\).

\(f'(x) = 1 - \cos x \ge 0\), and it is zero only at the separate points \(x = 2n\pi\). So \(f\) is strictly increasing on \(\mathbb{R}\).

Q4Find where \(f(x) = \sin x + \cos x\), \(0 \le x \le \dfrac{\pi}{2}\), is increasing or decreasing.

\(f'(x) = \cos x - \sin x\), zero at \(x = \dfrac{\pi}{4}\). \(\cos x > \sin x\) before \(\dfrac{\pi}{4}\) and \(\cos x < \sin x\) after it.

Increasing on \(\left[0, \dfrac{\pi}{4}\right)\), decreasing on \(\left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right]\).

Q5Find where \(f(x) = x\log x\), \(x > 0\), is increasing or decreasing.

\(f'(x) = \log x + 1\), zero at \(x = \dfrac{1}{e}\). Decreasing on \(\left(0, \dfrac{1}{e}\right)\), increasing on \(\left(\dfrac{1}{e}, \infty\right)\).

Q6Find the least value of \(a\) for which \(f(x) = x^2 + ax + 3\) is strictly increasing on \((2, 5)\).

\(f'(x) = 2x + a\) is smallest near \(x = 2\), where it approaches \(4 + a\). We need \(2x + a > 0\) for every \(x\) in \((2, 5)\), which holds exactly when \(4 + a \ge 0\).

Least value: \(a = -4\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

06

Frequently asked questions

How do you find where a function is increasing or decreasing?

Differentiate, solve \(f'(x) = 0\) to get the critical points, and check the sign of \(f'(x)\) on each interval between them. Positive means increasing, negative means decreasing.

What is the difference between increasing and strictly increasing?

Strictly increasing means \(x_1 < x_2\) always gives \(f(x_1) < f(x_2)\). Increasing (also called non-decreasing) allows \(f(x_1) = f(x_2)\), so flat stretches are allowed. A constant function is increasing but not strictly increasing.

Is x³ strictly increasing even though its derivative is 0 at x = 0?

Yes. \(f'(x) = 3x^2\) is positive everywhere except the single point \(x = 0\). A derivative that is zero only at separate points does not stop strict increase.

Should the answer use open or closed intervals?

Both are correct when \(f\) is continuous at the endpoints. If \(f\) is strictly increasing on \((2, 3)\) and continuous at 2 and 3, it is strictly increasing on \([2, 3]\) as well. Most textbooks write open intervals between critical points.

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Class 11 & 12 Maths

Differentiation gets easy once the basics click.

Concept-first classes in small batches in Goregaon and Vile Parle, or online, for HSC, CBSE and ICSE students. Your first class is free.

WhatsApp↗