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

Example 8: Continuity of f(x)=x3+x2−1f(x)=x^3+x^2-1

ExamplesContinuous functions · Section 5.2
The question

Discuss the continuity of the function ff given by f(x)=x3+x2−1f(x) = x^3 + x^2 - 1⁠.

Exam answer

ff is a polynomial, defined for every real xx⁠. Let cc be any real number.

lim⁡x→cf(x)=lim⁡x→c(x3+x2−1)=c3+c2−1=f(c)\begin{aligned} \lim_{x\to c} f(x) &= \lim_{x\to c}(x^3 + x^2 - 1) \\ &= c^3 + c^2 - 1 = f(c) \end{aligned}

∴ f\therefore\ f is continuous at every real number, so ff is a continuous function.

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

The one idea this problem is built on

A polynomial is built from xx and constants using only addition and multiplication, and limits respect addition and multiplication. So the limit of x3+x2−1x^3 + x^2 - 1 at any point cc is found by putting x=cx = c⁠, which is exactly the value f(c)f(c)⁠. Limit equals value at every cc⁠: the function is continuous everywhere.

Given, to find, and the plan
Given
f(x)=x3+x2−1f(x) = x^3 + x^2 - 1 for every real xx⁠.
To find
The points where ff is continuous, and whether ff is a continuous function.
Plan
Take an arbitrary real cc⁠. Find f(c)f(c)⁠. Compute the left-hand and right-hand limits at cc with the algebra of limits, confirm them by measuring ∣f(x)−f(c)∣|f(x) - f(c)|⁠, and compare (Definition 1).

Basics you need

1Algebra of limits (Class XI)

If lim⁡g=A\lim g = A and lim⁡h=B\lim h = B (at the same point, from the same side), then lim⁡(g+h)=A+B\lim (g + h) = A + B⁠, lim⁡(g−h)=A−B\lim (g - h) = A - B and lim⁡(gh)=AB\lim (gh) = AB⁠. Also lim⁡x→cx=c\lim_{x\to c} x = c and lim⁡x→ck=k\lim_{x\to c} k = k⁠. Basics: what a limit is

2Powers as repeated products

x2=x⋅xx^2 = x\cdot x and x3=x⋅x⋅xx^3 = x\cdot x\cdot x⁠, so the product rule gives lim⁡x→cx2=c2\lim_{x\to c} x^2 = c^2 and lim⁡x→cx3=c3\lim_{x\to c} x^3 = c^3⁠.

3One-sided limits

The limit at cc exists when the left-hand and right-hand limits exist and agree. Basics: left-hand and right-hand limits

4Definitions 1 and 2

Continuous at cc (in the domain): left-hand limit = right-hand limit = f(c)f(c)⁠. Continuous function: continuous at every point of its domain. Lesson: continuity at a point

Solution

  1. Domain, and the value at an arbitrary point

    The polynomial x3+x2−1x^3 + x^2 - 1 can be evaluated at every real number, so the domain is R\R⁠. Let cc be any real number. Then

    f(c)=c3+c2−1.f(c) = c^3 + c^2 - 1.
    "Discuss the continuity" means: find every point where ff is (or is not) continuous. Working at an arbitrary cc handles all real numbers at once.
    Only additions and multiplications are involved, so there is no division by zero or root of a negative number to exclude.
  2. Left-hand and right-hand limits by the algebra of limits

    The same formula is used on both sides of cc⁠. Using Basics 1 and 2, from either side,

    lim⁡x→c±(x3+x2−1)=c3+c2−1.\lim_{x\to c^\pm}(x^3 + x^2 - 1) = c^3 + c^2 - 1.

    In detail: lim⁡x3=c⋅c⋅c=c3\lim x^3 = c\cdot c\cdot c = c^3⁠, lim⁡x2=c⋅c=c2\lim x^2 = c\cdot c = c^2 and lim⁡1=1\lim 1 = 1⁠; then the sum and difference rules combine them.

    Here c±c^\pm is shorthand for "c−c^- and also c+c^+": the computation is identical for the two sides, because the formula does not change at cc⁠. So lim⁡x→cf(x)=c3+c2−1\lim_{x\to c} f(x) = c^3 + c^2 - 1⁠.
    The limit rules hold for one-sided limits as well as for two-sided ones. Basics: one-sided limits
  3. Confirm it: how far is f(x)f(x) from f(c)f(c)⁠?

    Subtract and group the matching powers:

    f(x)−f(c)=(x3−c3)+(x2−c2)=(x−c)(x2+xc+c2)+(x−c)(x+c)=(x−c)(x2+xc+c2+x+c).\begin{aligned} f(x) - f(c) &= (x^3 - c^3) + (x^2 - c^2) \\ &= (x - c)(x^2 + xc + c^2) \\ &\quad + (x - c)(x + c) \\ &= (x - c)(x^2 + xc + c^2 + x + c). \end{aligned}

    When ∣x−c∣<1|x - c| < 1⁠, we have ∣x∣<∣c∣+1|x| < |c| + 1⁠, so the second bracket is at most 3(∣c∣+1)2+2(∣c∣+1)3(|c|+1)^2 + 2(|c|+1) in size: a fixed number, call it MM⁠. Then

    ∣f(x)−f(c)∣≤M ∣x−c∣,|f(x) - f(c)| \le M\,|x - c|,

    which can be made as small as we like by taking xx close enough to cc⁠.

    The algebra of limits gives the answer; this step shows why it is right for this polynomial. The factor x−cx - c shrinks to 0 while the other factor stays bounded, so the product shrinks to 0. That is exactly "f(x)f(x) can be made as close to f(c)f(c) as we like".
    a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2) and a2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b)⁠. The bound uses ∣x2∣,∣xc∣,∣c2∣<(∣c∣+1)2|x^2| , |xc| , |c^2| < (|c|+1)^2 and ∣x∣,∣c∣<∣c∣+1|x| , |c| < |c| + 1⁠. Basics: what a limit is
  4. Compare at cc

    lim⁡x→c−f(x)=lim⁡x→c+f(x)=c3+c2−1=f(c).\lim_{x\to c^-} f(x) = \lim_{x\to c^+} f(x) = c^3 + c^2 - 1 = f(c).

    All three agree, so ff is continuous at cc (Definition 1). Since cc was an arbitrary real number, ff is continuous at every real number, and therefore ff is a continuous function (Definition 2).

    This is the textbook's argument: lim⁡x→cf(x)=f(c)\lim_{x\to c} f(x) = f(c) at every real cc⁠. Because the domain is all of R\R⁠, "continuous at every real number" and "continuous function" mean the same thing here.
x y O −1 1 −3 −2 1 2 3 (1, 1) y = x³ + x² − 1 x → 1 from the left x → 1 from the right the value f(1) = 1
The cubic y=x3+x2−1y = x^3 + x^2 - 1 (horizontal unit 92 px, vertical unit 40 px): an unbroken curve. At the sample point c=1c = 1 the curve arrives at height f(1)=1f(1) = 1 from both sides, and the same happens at every other cc⁠.
Result

For every real cc⁠, lim⁡x→cf(x)=c3+c2−1\lim_{x\to c} f(x) = c^3 + c^2 - 1⁠, which is f(c)f(c)⁠. So f(x)=x3+x2−1f(x) = x^3 + x^2 - 1 is continuous at every real number; it is a continuous function. This agrees with the textbook.

Check it with numbers

At c=1c = 1⁠, f(1)=1+1−1=1f(1) = 1 + 1 - 1 = 1⁠. Nearby values:

xxf(x)f(x)side of 1
0.90.90.5390.539left
0.990.990.9503990.950399left
0.9990.9990.9950039990.995003999left
1.0011.0011.0050040011.005004001right
1.011.011.0504011.050401right
1.11.11.5411.541right

At distance 0.0010.001 from 1, f(x)f(x) is about 0.0050.005 from 1. That matches Step 3: the second bracket at x=c=1x = c = 1 is 1+1+1+1+1=51 + 1 + 1 + 1 + 1 = 5⁠, so f(x)−f(1)≈5(x−1)f(x) - f(1) \approx 5(x - 1) near 1.

Common mistakes
  1. Checking a handful of points. The question is about every real number, so argue at an arbitrary cc⁠.
  2. Treating "put x=cx = c" as the definition of a limit. It is a consequence of the limit rules for polynomials; it fails for functions like the one in Example 4.
  3. Dropping the constant. lim⁡x→c(−1)=−1\lim_{x\to c}(-1) = -1⁠, so f(c)f(c) ends in −1-1⁠, not 0.
What to take away
  1. For a polynomial, the limit at any cc equals the value at cc⁠, so every polynomial is continuous on R\R⁠. The general proof is Example 14, using Theorem 1 of Section 5.2.1.
  2. The factor x−cx - c appears in p(x)−p(c)p(x) - p(c) for every polynomial pp⁠; it is what forces p(x)p(x) close to p(c)p(c)⁠.

Every fact used, and where it comes from

FactUsed inSource
Limits of sums, differences and products; lim⁡x=c\lim x = c⁠, lim⁡k=k\lim k = kStep 2Algebra of limits, Class XI (Limits and Derivatives) (Basics: limits)
a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a-b)(a^2+ab+b^2)⁠; a2−b2=(a−b)(a+b)a^2 - b^2 = (a-b)(a+b)Step 3Algebraic identities
∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b|⁠; ∣ab∣=∣a∣∣b∣|ab| = |a||b|Step 3Properties of absolute value
Continuous at cc iff LHL = RHL = f(c)f(c)Step 4Definition 1, Section 5.2 (Lesson: continuity at a point)
Continuous functionStep 4Definition 2, Section 5.2
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 →