Definitions of Monotonic Functions

A function is said to be monotonic if it is either entirely non-increasing or non-decreasing on a given interval. Let II be an interval contained in the domain of a real-valued function ff. Then ff is said to be:

  • Strictly Increasing: if x1<x2x_1 < x_2 in II implies f(x1)<f(x2)f(x_1) < f(x_2) for all x1,x2Ix_1, x_2 \in I.
  • Increasing (Non-decreasing): if x1<x2x_1 < x_2 in II implies f(x1)f(x2)f(x_1) \le f(x_2) for all x1,x2Ix_1, x_2 \in I.
  • Strictly Decreasing: if x1<x2x_1 < x_2 in II implies f(x1)>f(x2)f(x_1) > f(x_2) for all x1,x2Ix_1, x_2 \in I.
  • Decreasing (Non-increasing): if x1<x2x_1 < x_2 in II implies f(x1)f(x2)f(x_1) \ge f(x_2) for all x1,x2Ix_1, x_2 \in I.
  • Constant: if f(x)=cf(x) = c for all xIx \in I, where cc is a constant.

These definitions are purely algebraic and do not require calculus. Derivatives are then used as a powerful test to identify such behaviour.


First Derivative Test for Monotonicity

Calculus provides a very powerful tool to determine the intervals on which a function is increasing or decreasing using its first derivative.

Theorem: Let ff be continuous on a closed interval [a,b][a, b] and differentiable on the open interval (a,b)(a, b). Then:

  1. ff is strictly increasing on [a,b][a, b] if f(x)>0f'(x) > 0 for each x(a,b)x \in (a, b).
  2. ff is strictly decreasing on [a,b][a, b] if f(x)<0f'(x) < 0 for each x(a,b)x \in (a, b).
  3. ff is a constant function on [a,b][a, b] if f(x)=0f'(x) = 0 for each x(a,b)x \in (a, b).

Useful extension:

  • If f(x)0f'(x) \ge 0 for all x(a,b)x \in (a, b), then ff is increasing (non-decreasing) on [a,b][a, b].
  • If f(x)0f'(x) \le 0 for all x(a,b)x \in (a, b), then ff is decreasing (non-increasing) on [a,b][a, b].

So, the sign of f(x)f'(x) tells us the sign of the slope of the tangent, and hence whether the function rises or falls.


Working Rule for Finding Intervals

To find the intervals in which a function f(x)f(x) is strictly increasing or strictly decreasing, follow these steps:

Step 1: Find the derivative f(x)f'(x) of the given function f(x)f(x).

Step 2: Set f(x)=0f'(x) = 0 and solve for xx to find the critical points. Also note any points where f(x)f'(x) is undefined but f(x)f(x) exists.

Step 3: These critical points divide the domain into disjoint intervals.

Step 4: Select a test point in each interval and evaluate the sign of f(x)f'(x).

  • If f(x)>0f'(x) > 0 in the interval, then f(x)f(x) is strictly increasing there.
  • If f(x)<0f'(x) < 0 in the interval, then f(x)f(x) is strictly decreasing there.

Instead of always substituting numerical test points, you may also inspect the sign directly from the factorized form of f(x)f'(x) whenever convenient.


Solved Examples

Example 1: Finding Intervals for a Quadratic Function

Find the intervals in which the function ff given by f(x)=x24x+6f(x) = x^2 - 4x + 6 is (a) strictly increasing (b) strictly decreasing.

Solution: Step 1: Find the first derivative f(x)f'(x). f(x)=ddx(x24x+6)=2x4.f'(x) = \frac{d}{dx}(x^2 - 4x + 6) = 2x - 4.

Step 2: Find the critical points by setting f(x)=0f'(x) = 0. 2x4=0    2x=4    x=2.2x - 4 = 0 \implies 2x = 4 \implies x = 2.

Step 3: The point x=2x = 2 divides the real line into two disjoint intervals: (,2)(-\infty, 2) and (2,)(2, \infty).

Step 4: Test the sign of f(x)f'(x) in each interval.

  • Interval (,2)(-\infty, 2): Pick a test point x=0x = 0. f(0)=2(0)4=4<0.f'(0) = 2(0) - 4 = -4 < 0. Hence, f(x)f(x) is strictly decreasing in (,2)(-\infty, 2).
  • Interval (2,)(2, \infty): Pick a test point x=3x = 3. f(3)=2(3)4=2>0.f'(3) = 2(3) - 4 = 2 > 0. Hence, f(x)f(x) is strictly increasing in (2,)(2, \infty).

Answer: (a) Strictly increasing in (2,)(2, \infty). (b) Strictly decreasing in (,2)(-\infty, 2).


Example 2: Finding Intervals for a Cubic Function

Find the intervals in which the function f(x)=2x33x236x+7f(x) = 2x^3 - 3x^2 - 36x + 7 is strictly increasing or strictly decreasing.

Solution: Step 1: Find f(x)f'(x). f(x)=ddx(2x33x236x+7)=6x26x36.f'(x) = \frac{d}{dx}(2x^3 - 3x^2 - 36x + 7) = 6x^2 - 6x - 36.

Step 2: Factorize f(x)f'(x) and find critical points. f(x)=6(x2x6)=6(x3)(x+2).f'(x) = 6(x^2 - x - 6) = 6(x - 3)(x + 2). Set f(x)=0f'(x) = 0: 6(x3)(x+2)=0    x=3 or x=2.6(x - 3)(x + 2) = 0 \implies x = 3 \text{ or } x = -2.

Step 3: The points x=2x = -2 and x=3x = 3 divide the real line into three intervals: (,2)(-\infty, -2), (2,3)(-2, 3), and (3,)(3, \infty).

Step 4: Test the sign of f(x)f'(x).

  • In (,2)(-\infty, -2): Take x=3x = -3. f(3)=6(6)(1)=36>0.f'(-3) = 6(-6)(-1) = 36 > 0. So, f(x)f(x) is strictly increasing.
  • In (2,3)(-2, 3): Take x=0x = 0. f(0)=6(3)(2)=36<0.f'(0) = 6(-3)(2) = -36 < 0. So, f(x)f(x) is strictly decreasing.
  • In (3,)(3, \infty): Take x=4x = 4. f(4)=6(1)(6)=36>0.f'(4) = 6(1)(6) = 36 > 0. So, f(x)f(x) is strictly increasing.

Answer: The function is strictly increasing in (,2)(3,)(-\infty, -2) \cup (3, \infty) and strictly decreasing in (2,3)(-2, 3).


Example 3: Proving a Function is Strictly Increasing Everywhere

Show that the function f(x)=x33x2+4x,  xRf(x) = x^3 - 3x^2 + 4x, \; x \in \mathbb{R} is strictly increasing on R\mathbb{R}.

Solution: Step 1: Find f(x)f'(x). f(x)=3x26x+4.f'(x) = 3x^2 - 6x + 4.

Step 2: Show that f(x)>0f'(x) > 0 for all real values of xx by completing the square. f(x)=3(x22x)+4f'(x) = 3(x^2 - 2x) + 4 f(x)=3[(x1)21]+4f'(x) = 3[(x-1)^2 - 1] + 4 f(x)=3(x1)23+4f'(x) = 3(x-1)^2 - 3 + 4 f(x)=3(x1)2+1.f'(x) = 3(x-1)^2 + 1.

Step 3: Analyze the expression. Since (x1)20(x-1)^2 \ge 0 for all real xx, we get 3(x1)20.3(x-1)^2 \ge 0. Hence, 3(x1)2+11>0.3(x-1)^2 + 1 \ge 1 > 0. So, f(x)>0for all xR.f'(x) > 0 \quad \text{for all } x \in \mathbb{R}.

Step 4: Conclude using the first derivative test. Since the derivative is positive everywhere, the function is strictly increasing on R\mathbb{R}.

Answer: Proved analytically.


Example 4: Trigonometric Function Intervals

Find the intervals in which the function f(x)=sinx+cosxf(x) = \sin x + \cos x, 0x2π0 \le x \le 2\pi is strictly increasing or strictly decreasing.

Solution: Step 1: Find f(x)f'(x). f(x)=cosxsinx.f'(x) = \cos x - \sin x.

Step 2: Find critical points by setting f(x)=0f'(x) = 0. cosxsinx=0    cosx=sinx    tanx=1.\cos x - \sin x = 0 \implies \cos x = \sin x \implies \tan x = 1. In the interval [0,2π][0, 2\pi], this happens at x=π4,  5π4.x = \frac{\pi}{4}, \; \frac{5\pi}{4}.

Step 3: These points divide the interval into three sub-intervals: (0,π4),(π4,5π4),(5π4,2π).(0, \tfrac{\pi}{4}), \quad (\tfrac{\pi}{4}, \tfrac{5\pi}{4}), \quad (\tfrac{5\pi}{4}, 2\pi).

Step 4: Test the sign of f(x)f'(x) in each interval.

  • In (0,π4)(0, \frac{\pi}{4}): Take x=π6x = \frac{\pi}{6}. f(π6)=cosπ6sinπ6=3212>0.f'\left(\frac{\pi}{6}\right) = \cos \frac{\pi}{6} - \sin \frac{\pi}{6} = \frac{\sqrt{3}}{2} - \frac{1}{2} > 0. So f(x)f(x) is strictly increasing.
  • In (π4,5π4)(\frac{\pi}{4}, \frac{5\pi}{4}): Take x=π2x = \frac{\pi}{2}. f(π2)=01=1<0.f'\left(\frac{\pi}{2}\right) = 0 - 1 = -1 < 0. So f(x)f(x) is strictly decreasing.
  • In (5π4,2π)(\frac{5\pi}{4}, 2\pi): Take x=3π2x = \frac{3\pi}{2}. f(3π2)=0(1)=1>0.f'\left(\frac{3\pi}{2}\right) = 0 - (-1) = 1 > 0. So f(x)f(x) is strictly increasing.

Answer: Strictly increasing in (0,π4)(5π4,2π)(0, \frac{\pi}{4}) \cup (\frac{5\pi}{4}, 2\pi) and strictly decreasing in (π4,5π4)(\frac{\pi}{4}, \frac{5\pi}{4}).


Example 5: Logarithmic Function Intervals

Find the intervals in which the function f(x)=lnxxf(x) = \ln x - x is strictly increasing or strictly decreasing. Also, mention the domain.

Solution: Step 1: Determine the domain. Since lnx\ln x is defined only for x>0x>0, the domain is (0,).(0, \infty).

Step 2: Find f(x)f'(x). f(x)=ddx(lnxx)=1x1=1xx.f'(x) = \frac{d}{dx}(\ln x - x) = \frac{1}{x} - 1 = \frac{1-x}{x}.

Step 3: Find critical points by setting f(x)=0f'(x)=0. 1xx=0    1x=0    x=1.\frac{1-x}{x} = 0 \implies 1-x=0 \implies x=1. This lies in the domain.

Step 4: The domain is divided into two intervals: (0,1)(0,1) and (1,)(1,\infty).

Step 5: Test the sign of f(x)f'(x).

  • In (0,1)(0,1): Take x=12x=\tfrac{1}{2}. f(12)=11/21/2=1>0.f'\left(\tfrac{1}{2}\right)=\frac{1-1/2}{1/2}=1>0. So f(x)f(x) is strictly increasing.
  • In (1,)(1,\infty): Take x=2x=2. f(2)=122=12<0.f'(2)=\frac{1-2}{2}=-\frac{1}{2}<0. So f(x)f(x) is strictly decreasing.

Answer: Domain: (0,)(0, \infty). Strictly increasing in (0,1)(0,1) and strictly decreasing in (1,)(1,\infty).


Example 6: Exponential Function with Product Rule

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

Solution: Step 1: Find f(x)f'(x) using the product rule. f(x)=xddx(ex)+exddx(x).f'(x) = x\frac{d}{dx}(e^{-x}) + e^{-x}\frac{d}{dx}(x). Since ddx(ex)=ex\frac{d}{dx}(e^{-x}) = -e^{-x}, f(x)=x(ex)+ex(1)=ex(1x).f'(x) = x(-e^{-x}) + e^{-x}(1) = e^{-x}(1-x).

Step 2: Find critical points by setting f(x)=0f'(x)=0. ex(1x)=0.e^{-x}(1-x)=0. But ex>0e^{-x}>0 for every real xx, so the derivative can be zero only when 1x=0    x=1.1-x=0 \implies x=1.

Step 3: This divides the real line into (,1)(-\infty,1) and (1,)(1,\infty).

Step 4: Test the sign of f(x)f'(x).

  • In (,1)(-\infty,1): Since 1x>01-x>0 and ex>0e^{-x}>0, we get f(x)>0f'(x)>0. So the function is strictly increasing.
  • In (1,)(1,\infty): Since 1x<01-x<0 and ex>0e^{-x}>0, we get f(x)<0f'(x)<0. So the function is strictly decreasing.

Answer: Strictly increasing in (,1)(-\infty, 1) and strictly decreasing in (1,)(1, \infty).


Example 7: Proving Monotonicity Involving Inequalities

Find the least value of aa such that the function ff given by f(x)=x2+ax+1f(x) = x^2 + ax + 1 is strictly increasing on (1,2)(1, 2).

Solution: Step 1: Find f(x)f'(x). f(x)=2x+a.f'(x) = 2x + a.

Step 2: For f(x)f(x) to be strictly increasing on (1,2)(1,2), it is enough to ensure f(x)0 for all x(1,2),f'(x) \ge 0 \text{ for all } x \in (1,2), and in fact for this linear derivative, the least value occurs at the left end of the interval. Since 2x+a2x+a is a linear expression increasing with xx, its smallest value on (1,2)(1,2) is approached as x1+x \to 1^+. So we need 2(1)+a0    a2.2(1) + a \ge 0 \implies a \ge -2.

Step 3: Check the least value a=2a=-2. Then f(x)=2x2=2(x1).f'(x)=2x-2=2(x-1). For every x(1,2)x \in (1,2), we have x1>0x-1>0, so f(x)>0.f'(x)>0. Thus the function is indeed strictly increasing on (1,2)(1,2).

Answer: The least value of aa is 2-2.