Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Exercise 5.1 · Q11: Points of discontinuity: x3−3x^3 - 3 for x≤2x \le 2⁠, x2+1x^2 + 1 for x>2x > 2

Exercise 5.1Continuity of piecewise functions · Section 5.2
The question

Find all points of discontinuity of ff⁠, where ff is defined by

f(x)={x3−3,if x≤2x2+1,if x>2f(x) = \begin{cases} x^3 - 3, & \text{if } x \le 2 \\ x^2 + 1, & \text{if } x > 2 \end{cases}
Exam answer

For x<2x < 2⁠, f(x)=x3−3f(x) = x^3 - 3⁠, and for x>2x > 2⁠, f(x)=x2+1f(x) = x^2 + 1⁠. Both are polynomials, so ff is continuous at every x≠2x \ne 2⁠.

At x=2x = 2⁠:

LHL=lim⁡h→0f(2−h)=lim⁡h→0((2−h)3−3)=5RHL=lim⁡h→0f(2+h)=lim⁡h→0((2+h)2+1)=5\begin{aligned} \text{LHL} &= \lim_{h\to0} f(2 - h) \\ &= \lim_{h\to0}\bigl((2 - h)^3 - 3\bigr) = 5 \\ \text{RHL} &= \lim_{h\to0} f(2 + h) \\ &= \lim_{h\to0}\bigl((2 + h)^2 + 1\bigr) = 5 \end{aligned}

and f(2)=23−3=5f(2) = 2^3 - 3 = 5⁠. So LHL=RHL=f(2)\text{LHL} = \text{RHL} = f(2)⁠: ff is continuous at x=2x = 2⁠.

Hence ff is continuous at every real number: there is no point of discontinuity.

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

The one idea this problem is built on

Away from x=2x = 2⁠, ff is a single polynomial near each point, and polynomials are continuous. So everything depends on the junction x=2x = 2⁠. There the cubic gives 23−3=52^3 - 3 = 5 and the quadratic gives 22+1=52^2 + 1 = 5⁠: the two very different formulas happen to meet at the same height. Left-hand limit, right-hand limit and f(2)f(2) are all 55⁠, so there is no point of discontinuity.

Given, to find, and the plan
Given
f(x)=x3−3f(x) = x^3 - 3 for x≤2x \le 2 and f(x)=x2+1f(x) = x^2 + 1 for x>2x > 2⁠.
To find
Every point of the domain at which ff is not continuous.
Plan
(1) Domain and junction. (2) Continuity at every c<2c < 2⁠. (3) Continuity at every c>2c > 2⁠. (4) At c=2c = 2⁠: left-hand limit, right-hand limit and f(2)f(2)⁠, each separately. (5) Conclude.

Basics you need

1Reading a piecewise function

The point x=2x = 2 satisfies x≤2x \le 2⁠, so f(2)f(2) uses x3−3x^3 - 3⁠. The formula x2+1x^2 + 1 is used only for xx strictly greater than 22⁠. Basics: piecewise functions

2A limit only looks near the point

If ff equals a polynomial pp on an interval around cc⁠, then lim⁡x→cf(x)=lim⁡x→cp(x)\lim_{x\to c} f(x) = \lim_{x\to c} p(x)⁠. Basics: what a limit is

3Polynomials are continuous

lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c) for every polynomial pp and every real cc (Example 14).

4Left-hand and right-hand limits

x→2−x \to 2^- uses only x<2x < 2⁠; x→2+x \to 2^+ uses only x>2x > 2⁠. Basics: one-sided limits

5Continuity at a point (Definition 1)

At a point cc of the domain: continuous when left-hand limit == right-hand limit =f(c)= f(c)⁠.

Solution

  1. Domain and junction

    Each real xx satisfies exactly one of x≤2x \le 2 and x>2x > 2⁠, and both formulas are polynomials, defined everywhere. So the domain of ff is R\R⁠, and the only junction is x=2x = 2⁠.

    Continuity is examined at points of the domain, and the junction is the one place where the definition of ff switches formula, so it needs its own test.
    The conditions split the line into (−∞,2](-\infty, 2] and (2,∞)(2, \infty)⁠. Basics: piecewise functions
  2. Every point c<2c < 2

    Let c<2c < 2⁠, so f(c)=c3−3f(c) = c^3 - 3⁠. Every xx within distance 2−c2 - c of cc is also less than 22⁠, so there f(x)=x3−3f(x) = x^3 - 3⁠. Hence

    lim⁡x→cf(x)=lim⁡x→c(x3−3)=c3−3=f(c),\lim_{x\to c} f(x) = \lim_{x\to c} (x^3 - 3) = c^3 - 3 = f(c),

    and ff is continuous at every c<2c < 2⁠.

    Near a point strictly inside the left region, only the cubic formula is ever used, so ff behaves exactly like the polynomial x3−3x^3 - 3 there. The limit only looks near cc⁠, so it is the polynomial's limit, which is its value.
    x3−3x^3 - 3 is a polynomial, continuous by Example 14. Lesson: continuity at a point
  3. Every point c>2c > 2

    Let c>2c > 2⁠, so f(c)=c2+1f(c) = c^2 + 1⁠. Every xx within distance c−2c - 2 of cc is also greater than 22⁠, so there f(x)=x2+1f(x) = x^2 + 1⁠. Hence

    lim⁡x→cf(x)=lim⁡x→c(x2+1)=c2+1=f(c),\lim_{x\to c} f(x) = \lim_{x\to c} (x^2 + 1) = c^2 + 1 = f(c),

    and ff is continuous at every c>2c > 2⁠.

    The same argument on the right of the junction, with the quadratic formula.
    x2+1x^2 + 1 is a polynomial, continuous everywhere.
  4. Test the junction x=2x = 2

    Value. 2≤22 \le 2⁠, so f(2)=23−3=8−3=5f(2) = 2^3 - 3 = 8 - 3 = 5⁠.

    Left-hand limit. For x<2x < 2⁠, f(x)=x3−3f(x) = x^3 - 3⁠:

    lim⁡x→2−f(x)=lim⁡x→2−(x3−3)=8−3=5.\lim_{x\to 2^-} f(x) = \lim_{x\to 2^-} (x^3 - 3) = 8 - 3 = 5.

    Right-hand limit. For x>2x > 2⁠, f(x)=x2+1f(x) = x^2 + 1⁠:

    lim⁡x→2+f(x)=lim⁡x→2+(x2+1)=4+1=5.\lim_{x\to 2^+} f(x) = \lim_{x\to 2^+} (x^2 + 1) = 4 + 1 = 5.

    Compare. Left-hand limit =5= 5⁠, right-hand limit =5= 5⁠, f(2)=5f(2) = 5⁠. All equal, so ff is continuous at x=2x = 2.

    Each one-sided limit is a limit of a polynomial, so it is found by substituting x=2x = 2 into the formula that is in force on that side. The cubic and the quadratic are very different formulas, but at x=2x = 2 both give 55⁠, and that agreement of values (together with f(2)=5f(2) = 5⁠) is all that continuity at the junction requires.
    One-sided limits: compute each with the formula valid on that side only. Basics: one-sided limits
  5. Conclude

    Steps 2, 3 and 4 cover every real number: c<2c < 2⁠, c>2c > 2 and c=2c = 2⁠. At each, ff is continuous. So ff has no point of discontinuity.

    As in Question 10, the graph has a corner at the junction (the cubic arrives with slope 3⋅22=123 \cdot 2^2 = 12⁠, the parabola leaves with slope 2⋅2=42 \cdot 2 = 4⁠), but no break. Corners concern differentiability (Section 5.3), not continuity.
x y −1 1 2 3 −4 −2 2 4 6 8 10 O (2, 5) x³ − 3, x ≤ 2 x² + 1, x > 2
Blue: y=x3−3y = x^3 - 3 for x≤2x \le 2⁠, ending at the filled point (2,5)(2, 5)⁠. Gold: y=x2+1y = x^2 + 1 for x>2x > 2⁠, starting from the same point. No gap. Horizontal scale: 1 unit = 80 px; vertical: 1 unit = 18 px.
Result

Both pieces are polynomials, so ff is continuous at every x≠2x \ne 2⁠. At x=2x = 2⁠: left-hand limit 55⁠, right-hand limit 55⁠, f(2)=5f(2) = 5⁠. ff is continuous everywhere: there is no point of discontinuity. (Textbook answer: "No point of discontinuity".)

Check it with numbers

f(1.999)=1.9993−3f(1.999) = 1.999^3 - 3 =7.988005999−3= 7.988005999 - 3 =4.988005999= 4.988005999⁠. f(2.001)=2.0012+1f(2.001) = 2.001^2 + 1 =4.004001+1=5.004001= 4.004001 + 1 = 5.004001⁠. f(2)=5f(2) = 5⁠. Both neighbours are within about 0.0120.012 of 55⁠, and halving the distance to 22 roughly halves the gap (f(1.9995)≈4.994f(1.9995) \approx 4.994⁠, f(2.0005)≈5.002f(2.0005) \approx 5.002⁠). ✓

Common mistakes
  1. Using x2+1x^2 + 1 for f(2)f(2)⁠. The condition for the second formula is x>2x > 2⁠, strict, so f(2)f(2) comes from x3−3x^3 - 3⁠. (Both give 5 here, but the reason must be right.)
  2. Arithmetic slips. 23−3=52^3 - 3 = 5⁠, not 33⁠; 22+1=52^2 + 1 = 5⁠.
  3. Thinking different formulas mean a break. A change of formula is only a candidate for a break; the one-sided limits decide.
What to take away
  1. Polynomial pieces are continuous inside their own regions; test only the junctions.
  2. At a junction, substitute into each side's formula for the one-sided limits, and into the correct formula for the value.
  3. Equal one-sided limits that also equal the value mean continuity, even if the formulas look nothing alike.

Every fact used, and where it comes from

FactUsed inSource
Every polynomial is continuousSteps 2–4Example 14, Section 5.2 (Lesson: continuity at a point)
A limit at cc depends only on values near ccSteps 2, 3Class XI, Limits and Derivatives; used in Example 10, Section 5.2
Left-hand and right-hand limitsStep 4Class XI, Limits and Derivatives; recalled in Section 5.2
Continuity at cc⁠: left-hand limit == right-hand limit =f(c)= f(c)Steps 4, 5Definition 1, Section 5.2
Slopes 3x23x^2 and 2x2x (corner remark only)Step 5Class XI derivatives of xnx^n⁠; Section 5.3
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 →