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

Exercise 6.3 · Q28 (MCQ): Least value of 1−x+x21+x+x2\frac{1-x+x^2}{1+x+x^2} is 13\frac{1}{3}

Exercise 6.3Maxima and minima · Section 6.4
The question

28. For all real values of xx⁠, the minimum value of 1−x+x21+x+x2\dfrac{1 - x + x^2}{1 + x + x^2} is

(A) 0
(B) 1
(C) 3
(D) 13\frac{1}{3}

Exam answer

Let f(x)=1−x+x21+x+x2f(x) = \frac{1 - x + x^2}{1 + x + x^2}⁠. Then

f′(x)=2(x−1)(x+1)(1+x+x2)2f'(x) = \frac{2(x - 1)(x + 1)}{(1 + x + x^2)^2}

At x=1x = 1⁠, f′f' changes from negative to positive, and

f(x)−13=2(x−1)23(1+x+x2)≥0f(x) - \frac13 = \frac{2(x - 1)^2}{3(1 + x + x^2)} \ge 0

So the minimum value is f(1)=13f(1) = \frac13⁠.

Answer: (D) 13\dfrac13

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

The one idea this problem is built on

The denominator is never zero, so the function is defined and smooth for every real xx⁠. Its derivative is zero only at x=1x = 1 and x=−1x = -1⁠, giving a valley of height 13\frac{1}{3} and a hill of height 3. A valley is only a local minimum, so we finish by proving f(x)≥13f(x) \ge \frac{1}{3} for every real xx⁠: subtracting 13\frac{1}{3} leaves a perfect square over a positive number.

Given, to find, and the plan
Given
f(x)=1−x+x21+x+x2f(x) = \dfrac{1 - x + x^2}{1 + x + x^2} for all real xx⁠.
To find
The least value of ff on R\mathbf{R}⁠, and which option it is.
Plan
Check the denominator is never zero; differentiate with the quotient rule; find the critical points and classify them with a sign chart (first derivative test); prove the least value for all xx by algebra; examine every option.

Basics you need

1A quadratic with negative discriminant keeps one sign

ax2+bx+cax^2 + bx + c with a>0a > 0 and b2−4ac<0b^2 - 4ac < 0 is positive for every real xx⁠. For example x2+x+1=(x+12)2+34>0x^2 + x + 1 = \left(x + \frac{1}{2}\right)^2 + \frac{3}{4} > 0⁠. Basics: factorising and the discriminant

2Quotient rule

(uv)′=u′v−uv′v2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2} wherever v≠0v \ne 0 (Chapter 5).

3Sign of a product or quotient

A product or quotient is positive when it has an even number of negative factors and negative when it has an odd number. Basics: sign of a product

4First derivative test (Theorem 3, Section 6.4)

If f′f' changes from negative to positive at cc⁠, then cc is a point of local minima; from positive to negative, local maxima. Lesson: first and second derivative tests

Solution

  1. The function is defined for every real xx

    Both the numerator and the denominator are quadratics with discriminant 1−4=−3<01 - 4 = -3 < 0 and leading coefficient 1:

    1+x+x2=(x+12)2+34>0,1−x+x2=(x−12)2+34>0.\begin{aligned} 1 + x + x^2 &= \left(x + \tfrac{1}{2}\right)^2 + \tfrac{3}{4} > 0, \\ 1 - x + x^2 &= \left(x - \tfrac{1}{2}\right)^2 + \tfrac{3}{4} > 0. \end{aligned}

    So f(x)f(x) is defined, positive and differentiable for every real xx⁠.

    The question says "for all real values of xx", which only makes sense if the denominator never vanishes; and the quotient rule needs v≠0v \ne 0⁠. Positivity of the numerator will also settle option (A).
    Completing the square: x2+x=(x+12)2−14x^2 + x = \left(x + \frac{1}{2}\right)^2 - \frac{1}{4} (Basic 1). Basics: the discriminant
  2. Differentiate with the quotient rule

    Take u=1−x+x2u = 1 - x + x^2⁠, u′=2x−1u' = 2x - 1⁠, and v=1+x+x2v = 1 + x + x^2⁠, v′=2x+1v' = 2x + 1⁠. The numerator of f′f' is

    u′v−uv′=(2x−1)(x2+x+1)−(x2−x+1)(2x+1)=(2x3+x2+x−1)−(2x3−x2+x+1)=2x2−2.\begin{aligned} u'v - uv' &= (2x - 1)(x^2 + x + 1) \\ &\quad - (x^2 - x + 1)(2x + 1) \\ &= (2x^3 + x^2 + x - 1) \\ &\quad - (2x^3 - x^2 + x + 1) \\ &= 2x^2 - 2. \end{aligned} f′(x)=2(x2−1)(1+x+x2)2=2(x−1)(x+1)(1+x+x2)2.f'(x) = \frac{2(x^2 - 1)}{(1 + x + x^2)^2} = \frac{2(x - 1)(x + 1)}{(1 + x + x^2)^2}.
    Expanding each product separately before subtracting is the safest way to avoid sign slips: most terms cancel and only 2x2−22x^2 - 2 survives.
    Quotient rule (Basic 2). Expanding, (2x−1)(x2+x+1)(2x - 1)(x^2 + x + 1) gives 2x3+x2+x−12x^3 + x^2 + x - 1⁠, and (x2−x+1)(2x+1)(x^2 - x + 1)(2x + 1) gives 2x3−x2+x+12x^3 - x^2 + x + 1⁠.
  3. Critical points and the sign of f′f'

    The denominator (1+x+x2)2(1 + x + x^2)^2 is positive, so f′(x)=0f'(x) = 0 exactly at x=1x = 1 and x=−1x = -1⁠, and the sign of f′f' is the sign of (x−1)(x+1)(x - 1)(x + 1)⁠:

    Intervalx+1x + 1x−1x - 1f′(x)f'(x)ff
    x<−1x < -1−−+increasing
    −1<x<1-1 < x < 1+−−decreasing
    x>1x > 1+++increasing
    Each factor changes sign only at its own zero, so testing the factors on each interval gives the sign of f′f' everywhere (Basic 3). The table tells us where ff rises and falls.
    Theorem 1, Section 6.3 (positive derivative: increasing; negative: decreasing). Basics: sign of a product
  4. First derivative test

    At x=1x = 1⁠, f′f' changes from negative to positive: x=1x = 1 is a point of local minima, with value

    f(1)=1−1+11+1+1=13.f(1) = \frac{1 - 1 + 1}{1 + 1 + 1} = \frac{1}{3}.

    At x=−1x = -1⁠, f′f' changes from positive to negative: a point of local maxima, with value f(−1)=1+1+11−1+1=3f(-1) = \frac{1 + 1 + 1}{1 - 1 + 1} = 3⁠.

    The sign chart is already done, so the first derivative test is the natural choice and needs no second derivative.
    Theorem 3 (First Derivative Test), Section 6.4. Lesson: first and second derivative tests
  5. 13\frac{1}{3} is the least value for every real xx

    A local minimum on the whole real line need not be the least value, so we prove it directly:

    f(x)−13=3(1−x+x2)−(1+x+x2)3(1+x+x2)=2x2−4x+23(1+x+x2)=2(x−1)23(1+x+x2) ≥ 0.\begin{aligned} f(x) - \frac{1}{3} &= \frac{3(1 - x + x^2) - (1 + x + x^2)}{3(1 + x + x^2)} \\ &= \frac{2x^2 - 4x + 2}{3(1 + x + x^2)} \\ &= \frac{2(x - 1)^2}{3(1 + x + x^2)} \ \ge\ 0. \end{aligned}

    The numerator is a square times 2 and the denominator is positive (Step 1), so f(x)≥13f(x) \ge \frac{1}{3} for every real xx⁠, with equality only at x=1x = 1⁠. Hence the minimum value is 13\frac{1}{3}.

    In the same way, 3−f(x)=2(x+1)21+x+x2≥03 - f(x) = \frac{2(x + 1)^2}{1 + x + x^2} \ge 0⁠, so 3 is the maximum value. Far out, f(x)→1f(x) \to 1 as x→±∞x \to \pm\infty (divide top and bottom by x2x^2⁠).

    The sign chart shows ff increasing on x<−1x < -1⁠, so values there could in principle be smaller than 13\frac{1}{3}⁠; the algebra rules this out for every xx at once. This is the least value over all real xx⁠, as the question asks.
    A square is never negative; dividing by a positive number keeps the sign. Lesson: absolute extrema
  6. Examine every option

    OptionVerdictReason
    (A) 0wrongNumerator and denominator are both positive (Step 1), so f(x)>0f(x) > 0 for every xx⁠: the value 0 is never reached. It is a lower bound, but not the least value.
    (B) 1wrongf(0)=1f(0) = 1 and f(x)→1f(x) \to 1 far out, but f(1)=13<1f(1) = \frac{1}{3} < 1⁠, so 1 is not the minimum.
    (C) 3wrong3 is the maximum value, at x=−1x = -1 (Steps 4 and 5).
    (D) 13\frac{1}{3}correctf(x)≥13f(x) \ge \frac{1}{3} for all real xx⁠, with equality at x=1x = 1 (Step 5).
    −6 −4 −2 2 4 6 1/3 (D) 1 (B) 3 (C) 0 (A) (1, 1/3) least (−1, 3) y x
    The graph of f(x)=1−x+x21+x+x2f(x) = \frac{1 - x + x^2}{1 + x + x^2} (vertical scale stretched). It never goes below the dashed line y=13y = \frac{1}{3} and touches it only at x=1x = 1⁠; it reaches 3 at x=−1x = -1 and approaches 1 far out. The line y=0y = 0 (the xx-axis) is never reached.
    Each wrong option corresponds to a natural slip: confusing a lower bound with a minimum (A), reading off f(0)f(0) or the limit (B), or picking the other critical value (C).
    A minimum value must be attained: it is f(c)f(c) for some cc⁠, and no value of ff is smaller.
Result

For all real xx⁠, 1−x+x21+x+x2≥13\frac{1 - x + x^2}{1 + x + x^2} \ge \frac{1}{3}⁠, with equality at x=1x = 1⁠. The minimum value is 13\frac{1}{3}⁠: the answer is (D).

(Textbook answer: D. Agrees.)

Check it with numbers
xx−3−100.51210
f(x)f(x)1.8571310.42860.33330.42860.8198

The smallest value in the table is f(1)=13≈0.3333f(1) = \frac{1}{3} \approx 0.3333⁠, and f(−3)=137f(-3) = \frac{13}{7} confirms that the values to the left of −1-1 stay well above 13\frac{1}{3}⁠.

Common mistakes
  1. Sign slips in the quotient rule. It is u′v−uv′u'v - uv'⁠, in that order; expand both products fully before subtracting.
  2. Choosing 3. x=−1x = -1 is also a critical point, but it is where the function is largest.
  3. Treating a local minimum as the least value. On the whole real line this needs an extra argument, such as f(x)−13=2(x−1)23(1+x+x2)f(x) - \frac{1}{3} = \frac{2(x - 1)^2}{3(1 + x + x^2)}⁠.
  4. Choosing 0 because ff is positive. "Always positive" means 0 is a lower bound, not that 0 is a value of ff⁠.
What to take away
  1. Before differentiating a quotient, check where the denominator is zero; here it never is.
  2. To confirm a least value mm over all real xx⁠, simplify f(x)−mf(x) - m and show it is never negative.
  3. A minimum value must be reached by the function; bounds and limits are not enough.

Every fact used, and where it comes from

FactUsed inSource
Quadratic with negative discriminant and positive leading coefficient is positiveStep 1Algebra (Basics: discriminant)
Quotient ruleStep 2Chapter 5, algebra of derivatives
Sign of the derivative and increasing/decreasingStep 3Theorem 1, Section 6.3
First Derivative TestStep 4Theorem 3, Section 6.4 (Lesson: tests)
A square is never negativeStep 5Algebra
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 →