Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Example 16: f(x)=xf(x)=x on (0,1)(0,1)⁠: no maximum, no minimum

ExamplesMaxima and minima · Section 6.4
The question

Find the maximum and the minimum values, if any, of the function given by

f(x)=x,x∈(0,1).f(x) = x, \quad x \in (0, 1).
Exam answer

Let x0∈(0,1)x_0 \in (0, 1)⁠. Then x02∈(0,1)\frac{x_0}{2} \in (0, 1) and

f(x02)=x02<x0=f(x0)f\left(\frac{x_0}{2}\right) = \frac{x_0}{2} < x_0 = f(x_0)

So x0x_0 is not a point of minimum value.

Also x0+12∈(0,1)\frac{x_0 + 1}{2} \in (0, 1) and

f(x0+12)=x0+12>x0f\left(\frac{x_0 + 1}{2}\right) = \frac{x_0 + 1}{2} > x_0

So x0x_0 is not a point of maximum value either.

Hence ff has neither a maximum value nor a minimum value in (0,1)(0, 1)⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The values of ff fill the open interval (0,1)(0,1)⁠: they get as close as we like to 0 and to 1 but never equal them, because the end points 0 and 1 are not in the domain. A minimum would have to be a smallest value actually taken. But below any point we pick there is a smaller one (halfway to 0), and above any point a larger one (halfway to 1). So there is no smallest and no largest value.

Given, to find, and the plan
Given
f(x)=xf(x) = x on the open interval (0,1)(0,1)⁠, that is 0<x<10 < x < 1⁠.
To find
The maximum and the minimum values of ff on (0,1)(0,1)⁠, if any.
Plan
Note that ff is strictly increasing; then show, by beating an arbitrary candidate, that no point is a point of minimum value and no point is a point of maximum value; finally compare with the closed interval [0,1][0,1] (the book's Remark).

Basics you need

1Maximum and minimum value (Definition 3, Section 6.4)

cc in I is a point of minimum value if f(c)≤f(x)f(c) \le f(x) for all xx in I, and of maximum value if f(c)≥f(x)f(c) \ge f(x) for all xx in I. The point cc must belong to I. (The reprint prints <<⁠, >>⁠; read ≤\le⁠, ≥\ge⁠, as in Example 14.) Lesson: maxima and minima

2Open and closed intervals

(0,1)(0,1) is the set of xx with 0<x<10 < x < 1⁠: the end points are left out. [0,1][0,1] includes them. Basics: interval notation

3Strictly increasing (Definition 1, Section 6.3)

ff is strictly increasing on I if x1<x2x_1 < x_2 in I gives f(x1)<f(x2)f(x_1) < f(x_2)⁠. Lesson: increasing and decreasing functions

4The midpoint lies strictly between

If a<ba < b⁠, then a<a+b2<ba < \frac{a+b}{2} < b⁠: the average of two different numbers lies strictly between them.

Solution

  1. ff is strictly increasing on (0,1)(0,1)

    If 0<x1<x2<10 < x_1 < x_2 < 1⁠, then f(x1)=x1<x2=f(x2)f(x_1) = x_1 < x_2 = f(x_2)⁠. So ff is strictly increasing (Definition 1). (Also f′(x)=1>0f'(x) = 1 > 0⁠.)

    For an increasing function, smaller inputs give smaller outputs, so a minimum would have to be at the smallest input and a maximum at the largest input. The whole question is therefore: does (0,1)(0,1) have a smallest or a largest number? It does not, and the next two steps prove it.
  2. No minimum value

    Suppose x0∈(0,1)x_0 \in (0,1) were a point of minimum value. Consider the point x02\frac{x_0}{2}⁠, halfway between 0 and x0x_0 (Basic 4):

    0<x02<x0<1.0 < \frac{x_0}{2} < x_0 < 1.

    So x02\frac{x_0}{2} is in the domain, and f ⁣(x02)=x02f\!\left(\frac{x_0}{2}\right) = \frac{x_0}{2} <x0=f(x0)< x_0 = f(x_0)⁠. This contradicts f(x0)≤f(x)f(x_0) \le f(x) for all xx⁠. Hence no point of (0,1)(0,1) is a point of minimum value: ff has no minimum value.

    This is the book's argument ("we find x02<x0\frac{x_0}{2} < x_0 for all x0∈(0,1)x_0 \in (0,1)"). Halving moves a point closer to 0 but never reaches 0, so it stays in the domain. For instance, if someone claims 0.0010.001 is the minimum, then 0.00050.0005 is smaller and still in (0,1)(0,1)⁠.
  3. No maximum value

    Suppose x1∈(0,1)x_1 \in (0,1) were a point of maximum value. Consider the point x1+12\frac{x_1+1}{2}⁠, halfway between x1x_1 and 1 (Basic 4):

    x1<x1+12<1.x_1 < \frac{x_1+1}{2} < 1.

    It is also greater than 0, so it lies in (0,1)(0,1)⁠, and f ⁣(x1+12)=x1+12f\!\left(\frac{x_1+1}{2}\right) = \frac{x_1+1}{2} >x1=f(x1)> x_1 = f(x_1)⁠. This contradicts f(x1)≥f(x)f(x_1) \ge f(x) for all xx⁠. Hence ff has no maximum value in (0,1)(0,1)⁠.

    x y O 1 1 x₀ = 0.4 x₀/2 = 0.2 is lower x₁ = 0.7 (x₁ + 1)/2 = 0.85 is higher (1, 1) not on the graph (0, 0) not on the graph
    The graph of f(x)=xf(x) = x on (0,1)(0,1)⁠: a segment whose end points (open circles) are missing. Gold dots are proposed extreme points; the green dot (halfway to 0) is lower than x0=0.4x_0 = 0.4⁠, the rose dot (halfway to 1) is higher than x1=0.7x_1 = 0.7⁠. Equal scales on both axes.
    The difference is x1+12−x1=1−x12\frac{x_1+1}{2} - x_1 = \frac{1 - x_1}{2}⁠, which is positive because x1<1x_1 < 1⁠. Halving the gap to 1 always leaves a point closer to 1, but never 1 itself: if 0.9990.999 is claimed as the maximum, 0.99950.9995 beats it.
  4. What changes on the closed interval [0,1][0,1]

    The book's Remark: if the end points are added, so that f(x)=xf(x) = x on [0,1][0,1]⁠, then f(0)=0≤x=f(x)f(0) = 0 \le x = f(x) and f(1)=1≥x=f(x)f(1) = 1 \ge x = f(x) for every xx in [0,1][0,1]⁠. So on [0,1][0,1] the minimum value is 0 (at x=0x = 0⁠) and the maximum value is 1 (at x=1x = 1⁠).

    On (0,1)(0,1) the numbers 0 and 1 are still bounds (every value lies between them), but they are not values of ff⁠, because 0 and 1 are not in the domain. A maximum or minimum must be a value actually taken. Including the end points makes them values. The book records two general facts here: a monotonic function takes its maximum and minimum at the end points of its domain (when they belong to it), and every continuous function on a closed interval has a maximum and a minimum value.
    This is why absolute extrema are always looked for on closed intervals [a,b][a,b] in Section 6.4.1. Lesson: absolute extrema on a closed interval
Result

The function f(x)=xf(x) = x⁠, x∈(0,1)x \in (0,1)⁠, has neither a maximum value nor a minimum value in (0,1)(0,1)⁠. (On the closed interval [0,1][0,1] it would have minimum value 0 at x=0x = 0 and maximum value 1 at x=1x = 1⁠.) This agrees with the book's solution and Remark.

Check it with numbers
  • Candidate minimum 0.40.4⁠: 0.42=0.2\frac{0.4}{2} = 0.2 is in (0,1)(0,1) and smaller. Candidate 0.0010.001⁠: 0.00050.0005 is smaller.
  • Candidate maximum 0.70.7⁠: 0.7+12=0.85\frac{0.7+1}{2} = 0.85 is in (0,1)(0,1) and larger. Candidate 0.9990.999⁠: 0.99950.9995 is larger.

Every candidate is beaten, however close it is to 0 or 1.

Common mistakes
  1. "The minimum is 0 and the maximum is 1." Those are values of ff only if 0 and 1 are in the domain; in (0,1)(0,1) they are not.
  2. "The minimum is the smallest positive number." There is no smallest positive real number: half of any positive number is a smaller positive number.
  3. Looking for f′(x)=0f'(x) = 0⁠. f′(x)=1f'(x) = 1 everywhere, so derivatives give no candidate at all here; the issue is the missing end points.
What to take away
  1. A maximum or minimum value must be attained at a point of the domain; approaching a bound is not enough.
  2. On open intervals, extreme values may fail to exist even for very simple functions.
  3. On a closed interval, a continuous function always has both (Remark after this example; Section 6.4.1).

Every fact used, and where it comes from

FactUsed inSource
Strictly increasingStep 1Definition 1, Section 6.3 (Lesson)
Maximum / minimum value must be f(c)f(c) for some cc in ISteps 2–4Definition 3, Section 6.4 (Lesson)
a<a+b2<ba < \frac{a+b}{2} < b when a<ba < bSteps 2, 3Arithmetic of inequalities
Monotonic functions take extreme values at the end points; continuous functions on closed intervals have bothStep 4Remark after Example 16, Section 6.4
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →