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

Example 10: Where x2−4x+6x^2-4x+6 increases and decreases

ExamplesIncreasing and decreasing functions · Section 6.3
The question

Find the intervals in which the function ff given by f(x)=x2−4x+6f(x) = x^2 - 4x + 6 is

(a) increasing     (b) decreasing

Exam answer f′(x)=2x−4=2(x−2)f'(x) = 2x - 4 = 2(x - 2)

f′(x)=0⇒x=2f'(x) = 0 \Rightarrow x = 2⁠. This point divides R\mathbf{R} into (−∞,2)(-\infty, 2) and (2,∞)(2, \infty)⁠.

In (−∞,2)(-\infty, 2)⁠, f′(x)<0f'(x) < 0⁠.

In (2,∞)(2, \infty)⁠, f′(x)>0f'(x) > 0⁠.

(a) ff is increasing in (2,∞)(2, \infty)⁠.

(b) ff is decreasing in (−∞,2)(-\infty, 2)⁠.

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

The one idea this problem is built on

The direction of the graph is the sign of the derivative. f′(x)=2x−4=2(x−2)f'(x) = 2x - 4 = 2(x - 2) is zero only at x=2x = 2⁠, negative to its left and positive to its right. So the point 2 splits the real line into two intervals: on one the function falls, on the other it rises. The graph is a parabola with its lowest point at x=2x = 2⁠.

Given, to find, and the plan
Given
f(x)=x2−4x+6f(x) = x^2 - 4x + 6 for every real xx (a polynomial, so continuous and differentiable everywhere).
To find
(a) the intervals where ff is increasing; (b) the intervals where ff is decreasing.
Plan
Differentiate; solve f′(x)=0f'(x) = 0⁠; make a sign chart of f′f' on the two intervals; conclude with Theorem 1; check by completing the square and by values.

Basics you need

1Definition 1 and Theorem 1 (Section 6.3)

ff is increasing on I if x1<x2x_1 < x_2 in I ⇒f(x1)≤f(x2)\Rightarrow f(x_1) \le f(x_2) (strictly: <<⁠), decreasing if ⇒f(x1)≥f(x2)\Rightarrow f(x_1) \ge f(x_2) (strictly: >>⁠). Theorem 1: if ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b)⁠, then ff is increasing in [a,b][a, b] if f′≥0f' \ge 0 on (a,b)(a, b)⁠, and decreasing if f′≤0f' \le 0 there. Lesson: increasing and decreasing functions

2Sign of a linear factor

x−2x - 2 is negative when x<2x < 2⁠, zero at x=2x = 2⁠, positive when x>2x > 2⁠; multiplying by the positive number 2 does not change the sign. Basics: sign of a product

3Interval notation

(−∞,2)(-\infty, 2) means all x<2x < 2⁠; (2,∞)(2, \infty) means all x>2x > 2⁠; (−∞,2](-\infty, 2] includes 2. Basics: interval notation

Solution

  1. Differentiate and find where f′(x)=0f'(x) = 0

    f′(x)=2x−4=2(x−2).f'(x) = 2x-4 = 2(x - 2) .

    So f′(x)=0f'(x) = 0 exactly when x=2x = 2⁠.

    The sign of f′f' decides where ff rises or falls, and the factor form 2(x−2)2(x - 2) shows that the sign can switch only at the zero x=2x = 2⁠. This point divides the real line into the two disjoint intervals (−∞,2)(-\infty, 2) and (2,∞)(2, \infty)⁠; Step 2 shows that f′f' keeps one sign on each.
    Power rule: ddx(x2)=2x\frac{d}{dx}(x^2) = 2x⁠, ddx(4x)=4\frac{d}{dx}(4x) = 4⁠, ddx(6)=0\frac{d}{dx}(6) = 0 (Section 5.3).
  2. Sign chart of f′f'

    Intervalx−2x - 2f′(x)=2(x−2)f'(x) = 2(x-2)Test value
    (−∞,2)(-\infty,2)−-−-f′(0)=−4f'(0) = -4
    (2,∞)(2,\infty)++++f′(3)=2f'(3) = 2
    −∞ +∞ 2 x − 2 − + f′(x) = 2(x − 2) − + test value f′(0) = −4 f′(3) = 2 f(x) decreasing increasing 0
    Sign chart (not to scale). The dashed line is at x=2x = 2⁠, where f′(x)=0f'(x) = 0⁠; left of it f′f' is negative, right of it positive.
    For x<2x < 2 the factor x−2x - 2 is negative, so f′(x)=2(x−2)<0f'(x) = 2(x - 2) < 0 at every point of (−∞,2)(-\infty, 2)⁠, not just at the test value. For x>2x > 2 it is positive. The test values confirm each row with an actual number.
  3. Conclude with Theorem 1

    On (−∞,2)(-\infty, 2)⁠. For any x1<x2x_1 < x_2 in this interval, ff is continuous on [x1,x2][x_1, x_2]⁠, differentiable on (x1,x2)(x_1, x_2)⁠, and f′<0f' < 0 there. By Theorem 1(b), f(x1)≥f(x2)f(x_1) \ge f(x_2)⁠; the Mean Value Theorem argument of the book's proof even gives f(x1)>f(x2)f(x_1) > f(x_2)⁠. So ff is decreasing on (−∞,2)(-\infty, 2).

    On (2,∞)(2, \infty)⁠. In the same way f′>0f' > 0 there, so by Theorem 1(a) ff is increasing on (2,∞)(2, \infty), in fact strictly.

    This is the book's answer, with the open intervals on which f′f' is strictly negative or positive. Theorem 1 is applied between any two points of each interval, exactly as in Example 9.
  4. The point x=2x = 2 can be included

    Completing the square gives the whole picture:

    f(x)=x2−4x+4+2=(x−2)2+2.f(x) = x^2 - 4x + 4 + 2 = (x-2)^2 + 2 .

    For any real a<ba < b⁠,

    f(b)−f(a)=(b−a)(a+b−4).f(b) - f(a) = (b - a)(a + b - 4) .

    If a<b≤2a < b \le 2 then a+b<4a + b < 4⁠, so f(b)<f(a)f(b) < f(a)⁠; if 2≤a<b2 \le a < b then a+b>4a + b > 4⁠, so f(b)>f(a)f(b) > f(a)⁠. Hence ff is strictly decreasing on (−∞,2](-\infty, 2] and strictly increasing on [2,∞)[2, \infty)⁠.

    x y 1 2 3 4 2 4 6 8 (2, 2) y = x² − 4x + 6 = (x − 2)² + 2 rose: falling on (−∞, 2) green: rising on (2, ∞) lowest point (2, 2), where f′(2) = 0
    The graph of y=x2−4x+6y = x^2 - 4x + 6 (not to scale: the yy unit is drawn shorter than the xx unit). It falls until its lowest point (2,2)(2, 2) and rises after it.
    The graph has a horizontal tangent at x=2x = 2 but no break, so 2 can be added to either interval: ff is continuous there. The book's open intervals are correct; the closed ones say slightly more. What we may not do is say ff is increasing on all of R\mathbf{R}⁠: 0<20 < 2 but f(0)=6>2=f(2)f(0) = 6 > 2 = f(2)⁠.
    b2−a2=(b−a)(b+a)b^2 - a^2 = (b - a)(b + a)⁠, so f(b)−f(a)f(b) - f(a) =(b2−a2)−4(b−a)= (b^2 - a^2) - 4(b - a) =(b−a)(a+b−4)= (b - a)(a + b - 4)⁠.
Result

f′(x)=2x−4f'(x) = 2x - 4⁠, which is zero only at x=2x = 2⁠.

(a) ff is increasing on (2,∞)(2, \infty). (b) ff is decreasing on (−∞,2)(-\infty, 2).

Both are strict, and the point 2 may be included: strictly decreasing on (−∞,2](-\infty, 2]⁠, strictly increasing on [2,∞)[2, \infty)⁠. This agrees with the book's solution.

Check it with numbers
xx0011223344
f(x)f(x)63236

Down from 6 to 2 as xx goes from 0 to 2, then up from 2 to 6 as xx goes from 2 to 4: exactly the sign chart. The symmetry about x=2x = 2 comes from f(x)=(x−2)2+2f(x) = (x - 2)^2 + 2⁠.

Common mistakes
  1. Stopping at f′(x)=0f'(x) = 0⁠. x=2x = 2 is only the boundary; the answer is the sign of f′f' on each side.
  2. Swapping the answers. Negative f′f' means decreasing. Check with values: f(0)=6>f(1)=3f(0) = 6 > f(1) = 3⁠, so ff falls left of 2.
  3. Calling ff increasing on R\mathbf{R} because the parabola "opens upward". Opening upward means it falls and then rises.
What to take away
  1. Recipe: differentiate, find where f′=0f' = 0⁠, sign chart, then ++ means increasing and −- means decreasing.
  2. For an upward parabola ax2+bx+cax^2 + bx + c (a>0a > 0⁠), the turning point is at x=−b2ax = -\frac{b}{2a}⁠: decreasing before it, increasing after it.
  3. A boundary point where ff is continuous may be added to the intervals.

Every fact used, and where it comes from

FactUsed inSource
Power rule; derivative of a constant is 0Step 1Table 5.3 and the algebra of derivatives, Section 5.3
Sign of the linear factor x−2x - 2Step 2Basics: sign of a product
Interval notationSteps 2, 3, 4Basics: interval notation
Sign of f′f' decides increasing or decreasingStep 3Theorem 1 (a), (b), Section 6.3 (Lesson)
Increasing, decreasing, strict versionsSteps 3, 4Definition 1, Section 6.3
Mean Value Theorem (for strictness)Step 3Used without proof in the book's proof of Theorem 1, which cites it as "Theorem 8 in Chapter 5"; this reprint's Chapter 5 does not contain it (a stale reference). Step 4 proves strictness without it.
Completing the square; b2−a2=(b−a)(b+a)b^2 - a^2 = (b-a)(b+a)Step 4Basics: factorising and the discriminant
Table of valuesCheckArithmetic, recomputed in the site's verification script
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 →