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

Example 14: x2x^2 on R\R⁠: minimum 0, no maximum

ExamplesMaxima and minima · Section 6.4
The question

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

f(x)=x2,x∈R.f(x) = x^2, \quad x \in \R.
Exam answer

For all x∈Rx \in \mathbf{R}⁠, f(x)=x2≥0=f(0)f(x) = x^2 \ge 0 = f(0)⁠.

So the minimum value of ff is 0, at x=0x = 0⁠.

For any c∈Rc \in \mathbf{R}⁠,

f(∣c∣+1)=(∣c∣+1)2>c2=f(c)\begin{aligned} f(|c| + 1) &= (|c| + 1)^2 \\ &> c^2 = f(c) \end{aligned}

So no point cc is a point of maximum value.

Hence the minimum value of ff is 0, at x=0x = 0⁠, and ff has no maximum value.

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

The one idea this problem is built on

A maximum value must be an actual value f(c)f(c) that no other value exceeds; a minimum value an actual value that no other value goes below. For x2x^2⁠, the fact "a square is never negative" hands us the minimum at once. For the maximum, we show that whatever point cc is proposed, some other point gives a bigger value, so no point can be the highest.

Given, to find, and the plan
Given
f(x)=x2f(x) = x^2 for every real xx⁠; the interval is I=RI = \R⁠.
To find
The maximum value and the minimum value of ff on R\R⁠, if they exist, and the points where they occur.
Plan
State Definition 3; prove f(0)=0f(0) = 0 is the minimum value; prove no maximum value exists by beating any proposed maximum; then redo the question on the smaller interval [−2,1][-2, 1] of the book's Note.

Basics you need

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

ff has a maximum value in I if there is a point cc in I with f(c)≥f(x)f(c) \ge f(x) for all x∈x \in I; f(c)f(c) is the maximum value and cc a point of maximum value. Minimum: f(c)≤f(x)f(c) \le f(x) for all x∈x \in I. (This reprint prints the inequalities as >> and <<⁠; they must be read as ≥\ge and ≤\le⁠, since x=cx = c is itself in I and f(c)>f(c)f(c) > f(c) is impossible. The book's own working, "f(x)≥0f(x) \ge 0 for all xx", uses ≥\ge⁠.) Lesson: maxima and minima

2Squares are never negative

For every real xx⁠, x2≥0x^2 \ge 0⁠, and x2=0x^2 = 0 only when x=0x = 0⁠.

3Proving "there is no maximum"

To show no point cc is a point of maximum value, take an arbitrary cc and produce a point xx in the interval with f(x)>f(c)f(x) > f(c)⁠. Then cc fails the definition, and since cc was arbitrary, every point fails.

4Absolute value

∣x∣|x| is the distance of xx from 0; x2=∣x∣2x^2 = |x|^2⁠, and ∣x∣≤2|x| \le 2 means −2≤x≤2-2 \le x \le 2⁠. Basics: interval notation

Solution

  1. The minimum value is 0, at x=0x = 0

    For every real xx (Basic 2),

    f(x)=x2≥0=f(0).f(x) = x^2 \ge 0 = f(0).

    So the point c=0c = 0 satisfies f(c)≤f(x)f(c) \le f(x) for all x∈Rx \in \R⁠. By Definition 3(b), the minimum value of ff is 0, and the point of minimum value is x=0x = 0. It is the only such point, because x2=0x^2 = 0 only for x=0x = 0⁠.

    The book reads this from the graph (Fig 6.8). The inequality x2≥0x^2 \ge 0 is the algebraic reason the graph never dips below the xx-axis and touches it only at the origin.
    Definition 3(b): a minimum value is a value f(c)f(c) that is ≤\le every value of ff on the interval. Lesson: maxima and minima
  2. There is no maximum value

    Suppose some point c∈Rc \in \R were a point of maximum value. Take the point x=∣c∣+1x = |c| + 1⁠. Then

    f(∣c∣+1)=(∣c∣+1)2=c2+2∣c∣+1>c2=f(c),\begin{aligned} f(|c|+1) &= (|c|+1)^2 \\ &= c^2 + 2|c| + 1 \\ &> c^2 = f(c), \end{aligned}

    because 2∣c∣+1≥1>02|c| + 1 \ge 1 > 0⁠. So f(c)f(c) is not ≥\ge every value of ff⁠, and cc is not a point of maximum value. Since cc was arbitrary, ff has no maximum value, and no point of maximum value, in R\R.

    "No maximum" is a statement about every point, so it needs an argument for an arbitrary cc (Basic 3). We used ∣c∣2=c2|c|^2 = c^2⁠. Put simply: the values x2x^2 grow without bound (f(10)=100f(10) = 100⁠, f(100)=10000f(100) = 10000⁠, …), so none of them is the largest.
  3. The book's Note: restrict the domain to [−2,1][-2, 1]

    Now consider the same rule only for −2≤x≤1-2 \le x \le 1⁠.

    Maximum. Every xx in [−2,1][-2,1] satisfies ∣x∣≤2|x| \le 2⁠, so

    f(x)=∣x∣2≤22=4=f(−2).f(x) = |x|^2 \le 2^2 = 4 = f(-2).

    Hence on [−2,1][-2,1] the maximum value is 44⁠, at x=−2x = -2. Equality ∣x∣=2|x| = 2 needs x=±2x = \pm2⁠, and only −2-2 is in the interval, so −2-2 is the only point of maximum value.

    Minimum. Step 1 still applies, since 0∈[−2,1]0 \in [-2,1]⁠: the minimum value on [−2,1][-2,1] is 00⁠, at x=0x = 0⁠.

    x y O −2 −1 1 2 1 2 3 4 5 6 (−2, 4) minimum 0 at x = 0 (1, 1) y = x²
    The parabola y=x2y = x^2 (thin blue) has a lowest point but rises without end, so it has no highest point. Over [−2,1][-2, 1] (thick gold) it has both: highest (−2,4)(-2, 4)⁠, lowest (0,0)(0, 0)⁠. Equal scales on both axes.
    Restricting the domain removes the far-away points that made the values unbounded, so a largest value can now exist. The point farthest from 0 in [−2,1][-2,1] is −2-2 (distance 2, while 1 is at distance 1), and x2x^2 is the square of that distance.
    The Remark after Example 16 explains why this works in general: a continuous function on a closed interval always has a maximum and a minimum value. Example 16
  4. How this fits with derivatives

    The minimum on R\R is at x=0x = 0⁠, an interior point where f′(x)=2xf'(x) = 2x equals 0: the tangent there is horizontal. The maximum on [−2,1][-2,1] is at the end point x=−2x = -2⁠, where f′(−2)=−4≠0f'(-2) = -4 \ne 0⁠.

    This previews two later facts: at an interior extreme point of a differentiable function the derivative is 0 (Theorem 2, Section 6.4), but at an end point of a closed interval it need not be, so end points must always be checked separately (Section 6.4.1).
Result

On R\R⁠: the minimum value of ff is 0, at the point x=0x = 0⁠; ff has no maximum value and no point of maximum value. On [−2,1][-2,1] (the book's Note): maximum value (−2)2=4(-2)^2 = 4 at x=−2x = -2⁠, minimum value 0 at x=0x = 0⁠. This agrees with the book's solution.

Check it with numbers
xx−2-2−1.5-1.5−1-100.51
x2x^242.25100.251

On [−2,1][-2,1] the largest entry is 4 (at −2-2⁠) and the smallest 0 (at 0). Outside the interval, values keep growing: f(3)=9f(3) = 9⁠, f(10)=100f(10) = 100⁠.

Common mistakes
  1. "The maximum is ∞\infty⁠." ∞\infty is not a value of ff⁠; a maximum value must be f(c)f(c) for an actual point cc⁠. The correct statement is "no maximum value".
  2. Reading Definition 3 with a strict inequality. With f(c)>f(x)f(c) > f(x) for all xx⁠, including x=cx = c⁠, nothing could ever be a maximum. Use ≥\ge and ≤\le⁠.
  3. Taking the maximum on [−2,1][-2,1] at x=1x = 1 because 1 is the right end. Compare f(−2)=4f(-2) = 4 with f(1)=1f(1) = 1⁠: the left end wins.
What to take away
  1. A minimum (maximum) value is proved by one inequality valid for every xx in the interval.
  2. "No maximum" is proved by beating an arbitrary candidate point.
  3. The answer depends on the interval: the same rule x2x^2 has no maximum on R\R but a maximum on [−2,1][-2,1]⁠.

Every fact used, and where it comes from

FactUsed inSource
Maximum value, minimum value, point of maximum/minimum valueSteps 1–3Definition 3, Section 6.4 (printed with >>⁠, <<⁠; read ≥\ge⁠, ≤\le⁠) (Lesson)
x2≥0x^2 \ge 0⁠, with equality only at 0; x2=∣x∣2x^2 = |x|^2Steps 1–3Algebra of real numbers
(∣c∣+1)2=c2+2∣c∣+1(|c|+1)^2 = c^2 + 2|c| + 1Step 2Expanding a square
Restriction to [−2,1][-2,1]⁠: maximum 4 at −2-2Step 3Note after Example 14
Continuous function on a closed interval has a maximum and a minimumStep 3Remark after Example 16, Section 6.4
Interior extremum: f′=0f' = 0 or ff not differentiableStep 4Theorem 2, 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 →