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

Exercise 6.2 · Q11: x2−x+1x^2-x+1 is neither increasing nor decreasing on (−1,1)(-1,1)

Exercise 6.2Increasing and decreasing functions · Section 6.3
The question

11. Prove that the function ff given by f(x)=x2−x+1f(x) = x^2 - x + 1 is neither strictly increasing nor decreasing on (−1,1)(-1, 1)⁠.

Exam answer

f(x)=x2−x+1f(x) = x^2 - x + 1⁠, so f′(x)=2x−1f'(x) = 2x - 1⁠.

f′(x)=0f'(x) = 0 gives x=12x = \frac12⁠, which lies in (−1,1)(-1, 1)⁠.

In (−1,12)\left(-1, \frac12\right)⁠, f′(x)<0f'(x) < 0⁠, so ff is strictly decreasing there.

In (12,1)\left(\frac12, 1\right)⁠, f′(x)>0f'(x) > 0⁠, so ff is strictly increasing there.

Hence ff is neither strictly increasing nor decreasing on (−1,1)(-1, 1)⁠.

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

The one idea this problem is built on

The derivative f′(x)=2x−1f'(x) = 2x - 1 is negative to the left of x=12x = \frac12 and positive to the right, and 12\frac12 lies inside (−1,1)(-1, 1)⁠. So on this interval the graph first goes down and then goes up. A function that does both cannot be increasing or decreasing on the whole interval, and one pair of points for each claim proves it.

Given, to show, and the plan
Given
f(x)=x2−x+1f(x) = x^2 - x + 1⁠, looked at on the open interval (−1,1)(-1, 1)⁠.
To show
ff is not strictly increasing on (−1,1)(-1, 1)⁠, and ff is not decreasing on (−1,1)(-1, 1)⁠. (We prove the stronger facts: ff is not increasing and not decreasing in either the strict or the non-strict sense of Definition 1.)
Plan
(1) Differentiate. (2) Find where f′=0f' = 0⁠. (3) Sign of f′f' on each side. (4) Read off where ff falls and rises (Theorem 1). (5) One pair of points that breaks "increasing". (6) One pair that breaks "decreasing". (7) Conclude.

Basics you need

1Increasing and strictly increasing (Definition 1, Section 6.3)

On an interval I, ff is increasing if x1<x2x_1 \lt x_2 in I always gives f(x1)≤f(x2)f(x_1) \le f(x_2)⁠, and strictly increasing if it always gives f(x1)<f(x2)f(x_1) \lt f(x_2)⁠. Decreasing and strictly decreasing use ≥\ge and >\gt⁠. A strictly increasing function is also increasing, so anything that breaks "increasing" also breaks "strictly increasing". Lesson: increasing and decreasing functions

2Theorem 1 (Section 6.3)

If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b)⁠, then f′(x)≥0f'(x) \ge 0 for each x∈(a,b)x \in (a, b) makes ff increasing on [a,b][a, b]⁠, and f′(x)≤0f'(x) \le 0 makes it decreasing. The book's proof uses the Mean Value Theorem, f(x2)−f(x1)=f′(c)(x2−x1)f(x_2) - f(x_1) = f'(c)(x_2 - x_1)⁠, and so shows the inequality is strict when f′f' is strictly positive (or negative). Lesson: increasing and decreasing functions

3One counterexample disproves "for all"

"Increasing on I" is a claim about every pair x1<x2x_1 \lt x_2 in I. One pair in I with f(x1)>f(x2)f(x_1) \gt f(x_2) is a complete proof that ff is not increasing on I.

4Open intervals

(−1,1)(-1, 1) is the set of xx with −1<x<1-1 \lt x \lt 1⁠; the end points are left out. So the points we use must satisfy these strict inequalities. Basics: interval notation

5Sign of a linear expression

2x−1<02x - 1 \lt 0 exactly when x<12x \lt \frac12⁠, and 2x−1>02x - 1 \gt 0 exactly when x>12x \gt \frac12⁠. Basics: sign of a product

Solution

  1. Differentiate ff

    ff is a polynomial, so it is defined, continuous and differentiable at every real number, in particular at every point of (−1,1)(-1, 1)⁠. By the power rule (ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}⁠), the sum rule, and the fact that a constant has derivative 0,

    f′(x)=2x−1+0=2x−1.f'(x) = 2x - 1 + 0 = 2x - 1.
    The sign of f′f' is what tells us where ff rises and where it falls (Theorem 1). Continuity on every closed subinterval and differentiability inside it are exactly the conditions Theorem 1 needs, and a polynomial has both everywhere.
    Derivative of xnx^n is nxn−1nx^{n-1}⁠; derivative of a constant is 0 (Class XI, Limits and Derivatives).
  2. Find where f′(x)=0f'(x) = 0

    2x−1=0  ⟺  x=12.2x - 1 = 0 \iff x = \tfrac12.

    Since −1<12<1-1 \lt \frac12 \lt 1⁠, this point lies inside (−1,1)(-1, 1)⁠. It splits the interval into two pieces, (−1,12)\left(-1, \frac12\right) and (12,1)\left(\frac12, 1\right)⁠.

    If the only zero of f′f' were outside (−1,1)(-1, 1)⁠, f′f' would keep one sign on the whole interval and ff would be strictly increasing or strictly decreasing there. The whole question turns on the fact that the turning point 12\frac12 is inside.
    Points where f′=0f' = 0 are the only places a continuous f′f' can change sign. Basics: factorising and solving
  3. Sign of f′f' on each piece

    If −1<x<12-1 \lt x \lt \frac12⁠, then 2x<12x \lt 1⁠, so f′(x)=2x−1<0f'(x) = 2x - 1 \lt 0⁠.

    If 12<x<1\frac12 \lt x \lt 1⁠, then 2x>12x \gt 1⁠, so f′(x)=2x−1>0f'(x) = 2x - 1 \gt 0⁠.

    −1 1/2 1 f′(x) = 2x − 1 − + 0 f decreasing increasing
    Sign chart of f′(x)=2x−1f'(x) = 2x - 1 on (−1,1)(-1, 1)⁠, drawn to scale. The open dots at −1-1 and 11 mark the excluded end points.
    To find the sign on a whole piece we use the inequality that defines the piece, not just one test value. A test value (for example f′(0)=−1f'(0) = -1 and f′(0.75)=0.5f'(0.75) = 0.5⁠) is a useful check, but the inequality 2x<12x \lt 1 covers every xx in the piece at once.
    Multiplying x<12x \lt \frac12 by the positive number 2 keeps the direction: 2x<12x \lt 1⁠. Basics: sign of a product
  4. Where ff falls and where it rises

    Take any x1<x2x_1 \lt x_2 in (−1,12]\left(-1, \frac12\right]⁠. On [x1,x2][x_1, x_2]⁠, ff is continuous and differentiable, and f′(x)<0f'(x) \lt 0 at every point strictly between x1x_1 and x2x_2 (all such points are below 12\frac12⁠). By Theorem 1 (b), and the strict form from its proof, f(x1)>f(x2)f(x_1) \gt f(x_2)⁠. So ff is strictly decreasing on (−1,12]\left(-1, \frac12\right].

    In the same way, for x1<x2x_1 \lt x_2 in [12,1)\left[\frac12, 1\right)⁠, f′>0f' \gt 0 between them, so f(x1)<f(x2)f(x_1) \lt f(x_2)⁠: ff is strictly increasing on [12,1)\left[\frac12, 1\right).

    Theorem 1 is stated for a closed interval [a,b][a, b]⁠, so to use it on the open interval (−1,1)(-1, 1) we apply it on the closed interval [x1,x2][x_1, x_2] between any two chosen points. The turning point 12\frac12 can be included in both pieces because Theorem 1 only asks about the sign of f′f' strictly between the two end points, and ff is continuous at 12\frac12⁠.
    Theorem 1 (a), (b), Section 6.3, and the Mean Value Theorem step in its proof. Lesson: increasing and decreasing functions
  5. ff is not increasing (so not strictly increasing)

    Choose x1=−12x_1 = -\frac12 and x2=0x_2 = 0⁠. Both lie in (−1,1)(-1, 1) and x1<x2x_1 \lt x_2⁠. Then

    f(−12)=14+12+1=74,f(0)=0−0+1=1.\begin{aligned} f\left(-\tfrac12\right) &= \tfrac14 + \tfrac12 + 1 = \tfrac74,\\ f(0) &= 0 - 0 + 1 = 1. \end{aligned}

    So f(x1)=74>1=f(x2)f(x_1) = \frac74 \gt 1 = f(x_2)⁠. Strictly increasing needs f(x1)<f(x2)f(x_1) \lt f(x_2)⁠, and even plain "increasing" needs f(x1)≤f(x2)f(x_1) \le f(x_2)⁠; both fail for this pair. Hence ff is not strictly increasing on (−1,1)(-1, 1), and in fact not increasing either.

    We picked both points in the falling piece (−1,12]\left(-1, \frac12\right] from Step 4, where a drop is guaranteed. One pair is enough because "increasing on (−1,1)(-1, 1)" must hold for every pair.
    (−12)2=14\left(-\frac12\right)^2 = \frac14 and −(−12)=+12-\left(-\frac12\right) = +\frac12⁠: watch both signs. Basics: sign of a product
  6. ff is not decreasing (so not strictly decreasing)

    Choose x1=12x_1 = \frac12 and x2=34x_2 = \frac34⁠. Both lie in (−1,1)(-1, 1) and x1<x2x_1 \lt x_2⁠. Then

    f(12)=14−12+1=34=1216,f(34)=916−1216+1616=1316.\begin{aligned} f\left(\tfrac12\right) &= \tfrac14 - \tfrac12 + 1 = \tfrac34 = \tfrac{12}{16},\\ f\left(\tfrac34\right) &= \tfrac{9}{16} - \tfrac{12}{16} + \tfrac{16}{16} = \tfrac{13}{16}. \end{aligned}

    So f(x1)=1216<1316=f(x2)f(x_1) = \frac{12}{16} \lt \frac{13}{16} = f(x_2)⁠. Decreasing needs f(x1)≥f(x2)f(x_1) \ge f(x_2)⁠, which fails. Hence ff is not decreasing on (−1,1)(-1, 1), and so not strictly decreasing either.

    x y −1 −1/2 1/2 1 1 2 3 (−1/2, 7/4) (0, 1) (1/2, 3/4) (3/4, 13/16) f(−1/2) > f(0): falls f(1/2) < f(3/4): rises
    y=x2−x+1y = x^2 - x + 1 on (−1,1)(-1, 1) (the two axes use different scales). Gold: the pair from Step 5, where the graph goes down. Green: the pair from Step 6, where it goes up. The lowest point is (12,34)\left(\frac12, \frac34\right)⁠.
    Now both points are in the rising piece [12,1)\left[\frac12, 1\right)⁠. Writing all three fractions over 16 makes the comparison 12<1312 \lt 13 immediate.
    To compare fractions, put them over a common denominator: 34=1216\frac34 = \frac{12}{16}⁠.
  7. Conclude

    By Step 5, ff is not (strictly) increasing on (−1,1)(-1, 1)⁠; by Step 6, it is not (strictly) decreasing there. So ff is neither strictly increasing nor decreasing on (−1,1)(-1, 1), which is what we had to prove.

    The book's sentence can be read as "neither strictly increasing nor strictly decreasing" or as "neither strictly increasing nor decreasing". Steps 5 and 6 rule out all four properties of Definition 1, so the proof covers every reading.
Result

On (−1,1)(-1, 1)⁠, f(x)=x2−x+1f(x) = x^2 - x + 1 is strictly decreasing on (−1,12]\left(-1, \frac12\right] and strictly increasing on [12,1)\left[\frac12, 1\right)⁠. Therefore it is neither increasing nor decreasing on the whole of (−1,1)(-1, 1)⁠, in the strict or the non-strict sense: f(−12)>f(0)f\left(-\frac12\right) \gt f(0) and f(12)<f(34)f\left(\frac12\right) \lt f\left(\frac34\right)⁠. (The answer key has no entry for this proof question.)

Check it with numbers

Completing the square gives f(x)=(x−12)2+34f(x) = \left(x - \frac12\right)^2 + \frac34⁠, which makes the shape plain: smallest value 34\frac34 at x=12x = \frac12⁠. Values: f(−0.9)=2.71f(-0.9) = 2.71⁠, f(−0.5)=1.75f(-0.5) = 1.75⁠, f(0)=1f(0) = 1⁠, f(0.5)=0.75f(0.5) = 0.75⁠, f(0.75)=0.8125f(0.75) = 0.8125⁠, f(0.9)=0.91f(0.9) = 0.91⁠. The values go down until x=0.5x = 0.5 and up after it. ✓

Common mistakes
  1. Comparing only the two ends. f(−0.9)=2.71>f(0.9)=0.91f(-0.9) = 2.71 \gt f(0.9) = 0.91 might suggest "decreasing", but the definition is about every pair, and the pair 12,34\frac12, \frac34 goes the other way.
  2. Using the end points −1-1 and 11⁠. They are not in the open interval, so f(−1)=3f(-1) = 3 and f(1)=1f(1) = 1 cannot be used as the pair.
  3. Stopping at "f′(12)=0f'(\frac12) = 0". A zero of f′f' alone proves nothing (in Q18, f′f' has a zero but ff is increasing). What matters is that f′f' changes sign there.
  4. Thinking examples are not proofs. To disprove "increasing on I", one explicit pair is a full proof.
What to take away
  1. If f′f' changes sign inside an interval, ff is neither increasing nor decreasing on that interval.
  2. Prove "not increasing" and "not decreasing" with one explicit pair of points each, chosen from the falling and the rising piece.
  3. Breaking the non-strict property (≤\le or ≥\ge⁠) automatically breaks the strict one too.

Every fact used, and where it comes from

FactUsed inSource
Increasing, strictly increasing, decreasing, strictly decreasing on an intervalSteps 4–7Definition 1, Section 6.3 (Lesson: increasing and decreasing functions)
Sign of f′f' on (a,b)(a, b) decides increasing or decreasing on [a,b][a, b]Step 4Theorem 1, Section 6.3
Strict inequality when f′>0f' \gt 0 (or <0\lt 0⁠): f(x2)−f(x1)=f′(c)(x2−x1)f(x_2) - f(x_1) = f'(c)(x_2 - x_1)Step 4Proof of Theorem 1, Section 6.3 (Mean Value Theorem; the book cites it as Theorem 8 of Chapter 5, which this reprint's Chapter 5 does not include)
Derivative of xnx^n and of a constant; sum ruleStep 1Class XI, Limits and Derivatives
Polynomials are continuous and differentiable everywhereSteps 1, 4Section 5.2 (Example 14) and Section 5.3
One counterexample disproves a "for all" statementSteps 5, 6Logic of quantifiers
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 →