100% FREE Updated: Apr 2026 Calculus Limits and Continuity

Continuity

Comprehensive study notes on Continuity for CMI BS Hons preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

Continuity

This chapter establishes the rigorous definition and implications of continuity, a foundational concept in calculus critical for understanding differentiability and integrability. Mastery of continuity at a point, across intervals, and for piecewise functions, alongside the Intermediate Value Theorem, is essential for advanced problem-solving and success in CMI examinations.

---

Chapter Contents

|

| Topic |

|---|-------| | 1 | Continuity at a point | | 2 | Interval continuity | | 3 | Continuity of piecewise functions | | 4 | Intermediate value reasoning |

---

We begin with Continuity at a point.

Part 1: Continuity at a point

Continuity at a Point

Overview

Continuity at a point is one of the most important local ideas in calculus. A function is continuous at a point if there is no break, jump, hole, or mismatch there. In exam questions, continuity is often tested through piecewise functions, modulus functions, rational expressions, and parameter finding. The real skill is to compare three things carefully:
  • the left-hand limit
  • the right-hand limit
  • the actual function value
---

Learning Objectives

By the End of This Topic

After studying this topic, you will be able to:

  • Define continuity at a point correctly.

  • Check continuity using left-hand limit, right-hand limit, and function value.

  • Handle continuity questions for piecewise-defined functions.

  • Distinguish between continuity and mere existence of a function value.

  • Solve parameter-based continuity conditions cleanly.

---

Core Definition

📖 Continuity at a point

A function ff is continuous at x=ax=a if

limxaf(x)=f(a)\qquad \lim_{x\to a} f(x) = f(a)

This means all of the following must hold:

  • f(a)f(a) is defined

  • limxaf(x)\lim_{x\to a} f(x) exists

  • limxaf(x)=f(a)\lim_{x\to a} f(x) = f(a)

📐 Left and Right Limit Form

A function ff is continuous at x=ax=a if

limxaf(x)=limxa+f(x)=f(a)\qquad \lim_{x\to a^-} f(x) = \lim_{x\to a^+} f(x) = f(a)

---

Three-Step Test

💡 Fast Continuity Test at x=ax=a

To check continuity at a point:

  • Compute f(a)f(a)

  • Compute limxaf(x)\lim_{x\to a^-} f(x)

  • Compute limxa+f(x)\lim_{x\to a^+} f(x)


Then compare.

If all three agree, the function is continuous at x=ax=a.

---

What Can Go Wrong

⚠️ Ways Continuity Fails

Continuity at a point can fail in several ways:

  • Function not defined at the point

  • Left and right limits are different

This gives a jump-type discontinuity.
  • The limit exists, but it is not equal to f(a)f(a)

This gives a removable-type discontinuity if the point can be fixed by redefining the value.

---

Common Cases

📐 Standard Situations

  • Polynomials are continuous at every real number.

  • Rational functions are continuous wherever the denominator is nonzero.

  • Modulus functions like x|x| are continuous everywhere.

  • Piecewise functions require separate left-right checking at boundary points.

  • Root functions like x\sqrt{x} are continuous wherever they are defined.

---

Piecewise Functions

Most Tested Pattern

Suppose

<br>f(x)=<br>{<br>g(x),x<a<br>h(x),x=a<br>k(x),x>a<br><br>\qquad <br>f(x)= <br>\begin{cases}<br>g(x), & x<a \\ <br>h(x), & x=a \\ <br>k(x), & x>a <br>\end{cases} <br>

To make ff continuous at x=ax=a, we need

limxag(x)=h(a)=limxa+k(x)\qquad \lim_{x\to a^-} g(x) = h(a) = \lim_{x\to a^+} k(x)

This is one of the most common parameter-finding patterns.

---

Removable Discontinuity

📖 Hole-type discontinuity

If

limxaf(x)\qquad \lim_{x\to a} f(x) exists, but either f(a)f(a) is undefined or f(a)f(a) is not equal to that limit,

then the function is not continuous at aa.

But this can often be fixed by redefining f(a)f(a) to be

f(a)=limxaf(x)\qquad f(a)=\lim_{x\to a} f(x)

Example idea: f(x)=x21x1\qquad f(x)=\dfrac{x^2-1}{x-1} for x1x\ne 1 For x1x\ne 1, this simplifies to f(x)=x+1\qquad f(x)=x+1 So limx1f(x)=2\qquad \lim_{x\to 1} f(x)=2 But if f(1)f(1) is not defined, then the function is not continuous at x=1x=1. ---

Jump Discontinuity

📖 Jump-type discontinuity

If

limxaf(x)limxa+f(x)\qquad \lim_{x\to a^-} f(x) \ne \lim_{x\to a^+} f(x)

then the two-sided limit does not exist, so the function is not continuous at x=ax=a.

This usually appears in piecewise functions. ---

Minimal Worked Examples

Example 1 Check continuity of $\qquad f(x)= \begin{cases} x+2, & x<1 \\ 4, & x=1 \\ 2x+1, & x>1 \end{cases} $ at x=1x=1. Left-hand limit: limx1f(x)=1+2=3\qquad \lim_{x\to 1^-} f(x)=1+2=3 Right-hand limit: limx1+f(x)=2(1)+1=3\qquad \lim_{x\to 1^+} f(x)=2(1)+1=3 Function value: f(1)=4\qquad f(1)=4 Since the common limit is 33 but f(1)=4f(1)=4, the function is not continuous at x=1x=1. --- Example 2 Check continuity of x|x| at x=0x=0. Left-hand limit: limx0x=0\qquad \lim_{x\to 0^-}|x|=0 Right-hand limit: limx0+x=0\qquad \lim_{x\to 0^+}|x|=0 Function value: 0=0\qquad |0|=0 So x|x| is continuous at x=0x=0. ---

Algebraic Simplification in Limit-Based Continuity

💡 Simplify Before Substituting

In continuity questions involving rational expressions, factor first.

Example:
x2a2xa=x+afor xa\qquad \dfrac{x^2-a^2}{x-a} = x+a \quad \text{for } x\ne a

So near x=ax=a, the expression behaves like x+ax+a, and the limiting value is

2a\qquad 2a

---

Graph Interpretation

📐 Graph View

A function is continuous at x=ax=a if the graph has no break at that point.

Informally:

    • no gap

    • no jump

    • no mismatch between approaching value and actual value

But remember: the graph idea helps intuition, while the algebraic limit definition gives the proof. ::: ---

Common Mistakes

⚠️ Avoid These Errors
    • ❌ Checking only f(a)f(a) and not the limit
    • ❌ Checking only left-hand limit
    • ❌ Assuming that if f(a)f(a) exists, then the function is continuous
    • ❌ Forgetting to compare the common limit with the actual value
    • ❌ Not checking boundary points of a piecewise function
---

CMI Strategy

💡 How to Solve Continuity-at-a-Point Questions

  • First identify the exact point where continuity is being tested.

  • If the function is piecewise, compute left and right limits separately.

  • If the function is rational, simplify before taking the limit.

  • For parameter questions, equate left limit, right limit, and function value.

  • Keep the three-part definition in mind at every step.

---

Practice Questions

:::question type="MCQ" question="Which of the following is sufficient for a function ff to be continuous at x=ax=a?" options=["f(a)f(a) is defined","The left-hand limit exists","limxaf(x)\lim_{x\to a}f(x) exists and equals f(a)f(a)","limxaf(x)=limxa+f(x)\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)"] answer="C" hint="Continuity requires the limit to match the function value." solution="A function ff is continuous at x=ax=a exactly when limxaf(x)=f(a)\qquad \lim_{x\to a} f(x)=f(a) This automatically includes:
  • existence of f(a)f(a)
  • existence of the limit
  • equality of the two
So the correct option is C\boxed{C}." ::: :::question type="NAT" question="Let $\qquad f(x)= \begin{cases} x^2+1, & x<2 \\ k, & x=2 \\ 3x-1, & x>2 \end{cases} $ Find the value of kk for which ff is continuous at x=2x=2." answer="5" hint="Match the left-hand limit, right-hand limit, and function value." solution="For continuity at x=2x=2, we need limx2f(x)=f(2)=limx2+f(x)\qquad \lim_{x\to 2^-} f(x)=f(2)=\lim_{x\to 2^+} f(x) Left-hand limit: limx2(x2+1)=22+1=5\qquad \lim_{x\to 2^-}(x^2+1)=2^2+1=5 Right-hand limit: limx2+(3x1)=3(2)1=5\qquad \lim_{x\to 2^+}(3x-1)=3(2)-1=5 So the common limit is 55. Therefore we must have k=5\qquad k=5 Hence the answer is 5\boxed{5}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If limxaf(x)\lim_{x\to a} f(x) exists and equals f(a)f(a), then ff is continuous at aa","If f(a)f(a) is defined, then ff is continuous at aa","If limxaf(x)limxa+f(x)\lim_{x\to a^-}f(x)\ne \lim_{x\to a^+}f(x), then ff is not continuous at aa","A rational function is continuous at every point where its denominator is nonzero"] answer="A,C,D" hint="Use the definition and standard continuity facts." solution="1. True. This is exactly the definition of continuity at a point.
  • False. Merely being defined at a point does not guarantee continuity.
  • True. If the left and right limits differ, then the two-sided limit does not exist, so continuity fails.
  • True. Rational functions are continuous wherever the denominator is nonzero.
  • Hence the correct answer is A,C,D\boxed{A,C,D}." ::: :::question type="SUB" question="Examine the continuity at x=1x=1 of the function $\qquad f(x)= \begin{cases} \dfrac{x^2-1}{x-1}, & x\ne 1 \\ 3, & x=1 \end{cases} "answer="Continuousat" answer="Continuous atx=1"hint="Simplifytherationalexpressionfor" hint="Simplify the rational expression forx\ne 1."solution="For." solution="Forx\ne 1$, x21x1=(x1)(x+1)x1=x+1\qquad \dfrac{x^2-1}{x-1}=\dfrac{(x-1)(x+1)}{x-1}=x+1 So limx1x21x1=limx1(x+1)=2\qquad \lim_{x\to 1} \dfrac{x^2-1}{x-1}=\lim_{x\to 1}(x+1)=2 But the function value is given as f(1)=3\qquad f(1)=3 Since limx1f(x)=23=f(1)\qquad \lim_{x\to 1} f(x)=2 \ne 3=f(1), the function is not continuous at x=1x=1. So the correct conclusion is: The function is not continuous at x=1.\qquad \boxed{\text{The function is not continuous at } x=1.}" ::: ---

    Summary

    Key Takeaways for CMI

    • Continuity at x=ax=a means limxaf(x)=f(a)\lim_{x\to a}f(x)=f(a).

    • For piecewise functions, compare left limit, right limit, and actual value.

    • If the two-sided limit exists but differs from the function value, continuity fails.

    • Polynomials are continuous everywhere; rational functions are continuous where defined.

    • Piecewise boundary points are the most important places to test.

    • Continuity is local: it is always about behaviour near one specific point.

    ---

    💡 Next Up

    Proceeding to Interval continuity.

    ---

    Part 2: Interval continuity

    Interval Continuity

    Overview

    Continuity on an interval means a function behaves without breaks, jumps, or missing points throughout that interval. In calculus, this topic is important because many major theorems, such as the Intermediate Value Theorem and Extreme Value Theorem, require continuity on suitable intervals. In CMI-style problems, interval continuity is often tested through piecewise functions, endpoint behaviour, and careful treatment of open and closed intervals. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • Define continuity at a point and continuity on an interval.

    • Distinguish continuity on open, closed, and half-open intervals.

    • Use one-sided limits to test continuity at endpoints.

    • Analyze piecewise functions for interval continuity.

    • Apply continuity ideas to graph behaviour and existence results.

    ---

    Continuity at a Point

    📖 Continuity at x=ax=a

    A function ff is continuous at x=ax=a if all three conditions hold:

    • f(a)f(a) is defined

    • limxaf(x)\lim_{x\to a} f(x) exists

    • limxaf(x)=f(a)\lim_{x\to a} f(x) = f(a)


    So continuity means the value of the function matches the limiting value at that point.

    📐 Equivalent Statement

    A function ff is continuous at x=ax=a if

    limxaf(x)=f(a)\qquad \lim_{x\to a} f(x) = f(a)

    provided both sides make sense.

    ---

    Continuity on an Open Interval

    📖 Continuity on (a,b)(a,b)

    A function is continuous on the open interval (a,b)(a,b) if it is continuous at every point of (a,b)(a,b).

    This means that for every interior point, the usual two-sided limit condition must hold. ---

    Continuity on a Closed Interval

    📖 Continuity on [a,b][a,b]

    A function is continuous on the closed interval [a,b][a,b] if:

    • it is continuous at every point of (a,b)(a,b)

    • it is right-continuous at x=ax=a

    • it is left-continuous at x=bx=b


    That is,

    limxa+f(x)=f(a)\qquad \lim_{x\to a^+} f(x) = f(a)

    and

    limxbf(x)=f(b)\qquad \lim_{x\to b^-} f(x) = f(b)

    Why One-Sided Limits Appear

    At endpoints of a closed interval, values from outside the interval are not relevant.

    So at the left endpoint, only the right-hand limit matters.
    At the right endpoint, only the left-hand limit matters.

    ---

    Continuity on Half-Open Intervals

    📖 Continuity on [a,b)[a,b) and (a,b](a,b]

    For [a,b)[a,b):

      • ff must be right-continuous at aa

      • ff must be continuous at every point of (a,b)(a,b)


    For (a,b](a,b]:
      • ff must be continuous at every point of (a,b)(a,b)

      • ff must be left-continuous at bb

    ---

    One-Sided Continuity

    📐 One-Sided Continuity Conditions
      • Right continuity at x=ax=a:
    limxa+f(x)=f(a)\qquad \lim_{x\to a^+} f(x)=f(a)
      • Left continuity at x=ax=a:
    limxaf(x)=f(a)\qquad \lim_{x\to a^-} f(x)=f(a)
    These are essential for endpoint continuity and piecewise definitions. ---

    Standard Continuous Functions

    📐 Functions Known to Be Continuous on Their Domains

    The following are continuous wherever they are defined:

      • polynomials

      • rational functions on points where denominator is nonzero

      • exponential functions

      • logarithmic functions on their domains

      • trigonometric functions on their domains

      • roots on points where they are defined in real numbers

    Composition Rule

    If gg is continuous at x=ax=a and ff is continuous at g(a)g(a), then fgf\circ g is continuous at aa.

    ---

    Piecewise Functions and Interval Continuity

    💡 How to Check a Piecewise Function

    If a function is piecewise defined, then interval continuity is usually checked by:

    • checking continuity inside each piece

    • checking the joining points separately

    • verifying endpoint continuity if the interval has endpoints

    For a joining point x=cx=c, compare:
    • left-hand limit
    • right-hand limit
    • function value
    If all agree, the function is continuous there. ---

    Minimal Worked Examples

    Example 1 Is the function f(x)=x21x1\qquad f(x)=\dfrac{x^2-1}{x-1} continuous on (1,)(1,\infty)? For x1x\ne1, x21x1=x+1\qquad \dfrac{x^2-1}{x-1}=x+1 Since x=1x=1 is not in the interval (1,)(1,\infty), the function is defined and continuous for every point of that interval. Hence it is continuous on (1,)\boxed{(1,\infty)}. --- Example 2 Check continuity of $\qquad f(x)= \begin{cases} x+1,& x<2 \\ 5,& x=2 \\ 3x-1,& x>2 \end{cases}$ at x=2x=2. Left-hand limit: limx2f(x)=2+1=3\qquad \lim_{x\to2^-}f(x)=2+1=3 Right-hand limit: limx2+f(x)=3(2)1=5\qquad \lim_{x\to2^+}f(x)=3(2)-1=5 Since left and right limits are different, the limit does not exist. Therefore ff is not continuous at x=2\boxed{x=2}. ---

    Continuity and Graph Behaviour

    Graph Interpretation

    A function is continuous on an interval if you can trace its graph along that interval without lifting the pen, while respecting the actual domain.

    This is only an intuition, but it is often a useful first check.

    ---

    Why Interval Continuity Matters

    📐 Key Theorems That Use Interval Continuity

    • Intermediate Value Theorem

    If ff is continuous on [a,b][a,b], then it takes every value between f(a)f(a) and f(b)f(b).

    • Extreme Value Theorem

    If ff is continuous on [a,b][a,b], then it attains a maximum and a minimum on [a,b][a,b].

    These theorems fail easily if continuity on the whole required interval is not present. ---

    Common Patterns in Questions

    📐 Typical Exam Patterns

    • Determine whether a function is continuous on a given interval

    • Find parameter values for continuity of a piecewise function

    • Decide continuity at endpoints of a closed or half-open interval

    • Identify the largest interval on which a function is continuous

    • Use continuity to justify existence of a root or value

    ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ❌ Using a two-sided limit at an endpoint of a closed interval
    ✅ Use one-sided limit at endpoints
      • ❌ Checking only the limit and forgetting whether f(a)f(a) is defined
    ✅ Continuity needs both value and matching limit
      • ❌ Ignoring domain restrictions of rational or root functions
    ✅ First find where the function is defined
      • ❌ Assuming piecewise functions are continuous automatically
    ✅ Check the joining points separately
      • ❌ Saying a function is continuous on an interval containing a point where it is undefined
    ✅ Continuity requires definition at every relevant point
    ---

    CMI Strategy

    💡 How to Solve Interval Continuity Questions

    • First identify the interval type: open, closed, or half-open.

    • Check the natural domain of the function.

    • For interior points, use ordinary continuity.

    • For endpoints, use one-sided continuity.

    • For piecewise functions, inspect every joining point carefully.

    • If a theorem is being used, verify that its continuity hypothesis is satisfied exactly.

    ---

    Practice Questions

    :::question type="MCQ" question="Which of the following is the correct condition for continuity of a function ff on the closed interval [a,b][a,b]?" options=["ff is continuous only on (a,b)(a,b)","ff is continuous on (a,b)(a,b) and limxa+f(x)=f(a),limxbf(x)=f(b)\lim_{x\to a^+}f(x)=f(a),\\ \lim_{x\to b^-}f(x)=f(b)","ff is differentiable on [a,b][a,b]","ff is continuous at aa and bb only"] answer="B" hint="Endpoints of a closed interval require one-sided continuity." solution="For continuity on the closed interval [a,b][a,b], the function must be continuous at every interior point of (a,b)(a,b), right-continuous at aa, and left-continuous at bb. So the correct condition is limxa+f(x)=f(a)\qquad \lim_{x\to a^+}f(x)=f(a) and limxbf(x)=f(b)\qquad \lim_{x\to b^-}f(x)=f(b), along with continuity on (a,b)(a,b). Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Let f(x)=1x3f(x)=\dfrac{1}{x-3}. How many maximal open intervals of continuity does ff have on the real line?" answer="2" hint="Find where the function is undefined." solution="The function f(x)=1x3\qquad f(x)=\dfrac{1}{x-3} is undefined at x=3\qquad x=3. A rational function is continuous wherever it is defined. So ff is continuous on the intervals (,3)\qquad (-\infty,3) and (3,)\qquad (3,\infty). These are the maximal open intervals of continuity. Hence the number of such intervals is 2\boxed{2}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["A polynomial is continuous on all real numbers","A rational function is continuous at every real number","For continuity on [a,b][a,b], one-sided limits at endpoints are sufficient together with continuity on (a,b)(a,b)","If ff is undefined at a point of an interval, then it cannot be continuous on that whole interval"] answer="A,C,D" hint="Think about domain restrictions and endpoint conditions." solution="1. True. Polynomials are continuous everywhere on R\mathbb{R}.
  • False. A rational function can fail to be defined where its denominator is zero.
  • True. This is exactly the definition of continuity on a closed interval.
  • True. Continuity on an interval requires the function to be defined at all relevant points.
  • Hence the correct answer is A,C,D\boxed{A,C,D}." ::: :::question type="SUB" question="Find the value of kk for which the function $\qquad f(x)= \begin{cases} x^2+k, & x<1 \\ 3, & x=1 \\ 2x+1, & x>1 \end{cases}$ is continuous at x=1x=1." answer="k=2k=2" hint="Match left-hand limit, right-hand limit, and function value at x=1x=1." solution="For continuity at x=1x=1, we need limx1f(x)=limx1+f(x)=f(1)\qquad \lim_{x\to1^-}f(x)=\lim_{x\to1^+}f(x)=f(1). Now f(1)=3\qquad f(1)=3 Left-hand limit: limx1(x2+k)=1+k\qquad \lim_{x\to1^-}(x^2+k)=1+k Right-hand limit: limx1+(2x+1)=2(1)+1=3\qquad \lim_{x\to1^+}(2x+1)=2(1)+1=3 So for continuity we need 1+k=3\qquad 1+k=3 Hence k=2\qquad k=2 Therefore the required value is 2\boxed{2}." ::: ---

    Summary

    Key Takeaways for CMI

    • Continuity on an interval depends on the type of interval.

    • On open intervals, check ordinary continuity at every point.

    • On closed intervals, endpoint continuity is one-sided.

    • Piecewise functions must be checked at joining points.

    • Continuity is a key hypothesis for many major theorems in calculus.

    ---

    💡 Next Up

    Proceeding to Continuity of piecewise functions.

    ---

    Part 3: Continuity of piecewise functions

    Continuity of Piecewise Functions

    Overview

    Piecewise functions are functions defined by different formulas on different parts of the domain. The main difficulty is not evaluating them away from the joining point, but checking whether the different pieces fit together smoothly. In CMI-style questions, this topic tests whether you can use left-hand limit, right-hand limit, and function value correctly and without confusion. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • State the definition of continuity at a point.

    • Check continuity of a piecewise function at the joining point.

    • Compute left-hand and right-hand limits correctly.

    • Find unknown constants so that a piecewise function becomes continuous.

    • Distinguish continuity from mere existence of a function value.

    ---

    Core Idea

    📖 Continuity at a Point

    A function ff is continuous at x=ax=a if

    limxaf(x)=f(a)\qquad \lim_{x\to a} f(x) = f(a)

    For this to happen, three things must hold:

    • f(a)f(a) must be defined

    • limxaf(x)\lim_{x\to a} f(x) must exist

    • limxaf(x)=f(a)\lim_{x\to a} f(x) = f(a)

    📖 Continuity for Piecewise Functions

    If a function has different formulas on the left and right of x=ax=a, then continuity at x=ax=a requires

    limxaf(x)=limxa+f(x)=f(a)\qquad \lim_{x\to a^-} f(x) = \lim_{x\to a^+} f(x) = f(a)

    This is the most important test for piecewise continuity.

    ---

    Left-Hand and Right-Hand Limits

    📐 One-Sided Limits

    The left-hand limit at x=ax=a is

    limxaf(x)\qquad \lim_{x\to a^-} f(x)

    The right-hand limit at x=ax=a is

    limxa+f(x)\qquad \lim_{x\to a^+} f(x)

    The two-sided limit exists only if these are equal.

    Main Continuity Test at a Junction

    Suppose

    f(x)=<br>{<br>f1(x),x<a<br>f2(x),x=a<br>f3(x),x>a<br>\qquad f(x)= <br>\begin{cases}<br>f_1(x), & x<a \\ <br>f_2(x), & x=a \\ <br>f_3(x), & x>a <br>\end{cases}

    Then continuity at x=ax=a requires

    limxaf1(x)=f2(a)=limxa+f3(x)\qquad \lim_{x\to a^-} f_1(x) = f_2(a) = \lim_{x\to a^+} f_3(x)

    ---

    Standard Procedure

    💡 How to Check Continuity

    To check continuity of a piecewise function at x=ax=a:

    • Compute the left-hand limit using the formula valid for x<ax<a

    • Compute the right-hand limit using the formula valid for x>ax>a

    • Compute the actual value f(a)f(a)

    • Compare all three


    If all are equal, the function is continuous at x=ax=a.

    ---

    Types of Failure

    ⚠️ How Continuity Can Fail

    A piecewise function may fail to be continuous because:

    • the left-hand and right-hand limits are different

    • the common limit exists but is not equal to f(a)f(a)

    • the function value at the point is not defined


    So do not stop after checking only the two one-sided limits.

    ---

    Minimal Worked Examples

    Example 1 Check continuity at x=1x=1 for $\qquad f(x)= \begin{cases} x+1, & x<1 \\ 2, & x=1 \\ x^2, & x>1 \end{cases}$ Left-hand limit: limx1f(x)=limx1(x+1)=2\qquad \lim_{x\to 1^-} f(x) = \lim_{x\to 1^-}(x+1)=2 Right-hand limit: limx1+f(x)=limx1+(x2)=1\qquad \lim_{x\to 1^+} f(x) = \lim_{x\to 1^+}(x^2)=1 Since 212\ne1, the two-sided limit does not exist. Hence the function is not continuous at x=1x=1. --- Example 2 Find kk such that $\qquad f(x)= \begin{cases} x^2+k, & x<2 \\ 6, & x=2 \\ 3x, & x>2 \end{cases}$ is continuous at x=2x=2. For continuity, we need limx2f(x)=f(2)=limx2+f(x)\qquad \lim_{x\to 2^-} f(x)=f(2)=\lim_{x\to 2^+} f(x) Right-hand side: limx2+3x=6\qquad \lim_{x\to 2^+}3x=6 This matches f(2)=6f(2)=6. Left-hand side: limx2(x2+k)=4+k\qquad \lim_{x\to 2^-}(x^2+k)=4+k For continuity, 4+k=6\qquad 4+k=6 k=2\qquad k=2 So the required value is 2\boxed{2}. ---

    Standard Forms That Appear Often

    📐 Common Piecewise Patterns

    • Polynomial vs polynomial:

    {ax+b,x<cdx+e,xc\qquad \begin{cases} ax+b, & x<c \\ dx+e, & x\ge c \end{cases}

    • Rational vs defined value:

    {x21x1,x1k,x=1\qquad \begin{cases} \dfrac{x^2-1}{x-1}, & x\ne1 \\ k, & x=1 \end{cases}

    • Modulus / greatest integer / sign type functions


    • Functions with unknown constants chosen to force continuity

    ---

    Removable Discontinuity

    📖 Removable Discontinuity

    If

    limxaf(x)\qquad \lim_{x\to a} f(x)

    exists, but either f(a)f(a) is undefined or f(a)f(a) is not equal to that limit, then the discontinuity is removable.

    In such cases, continuity can be restored by redefining f(a)f(a) to be the limit.

    Classic example: $\qquad f(x)= \begin{cases} \dfrac{x^2-1}{x-1}, & x\ne1 \\ k, & x=1 \end{cases}$ For x1x\ne1, x21x1=(x1)(x+1)x1=x+1\qquad \dfrac{x^2-1}{x-1}=\dfrac{(x-1)(x+1)}{x-1}=x+1 So, limx1f(x)=2\qquad \lim_{x\to1} f(x)=2 Thus continuity at x=1x=1 requires k=2\boxed{k=2}. ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ❌ Checking only the left-hand limit
    ✅ Always check both one-sided limits
      • ❌ Checking only the limit and forgetting f(a)f(a)
    ✅ Continuity needs equality with the actual function value too
      • ❌ Using the wrong branch at the junction
    ✅ Carefully note whether the definition uses x<ax<a, xax\le a, x>ax>a, or xax\ge a
      • ❌ Concluding continuity because formulas look simple
    ✅ Continuity at a joining point must be verified explicitly
    ---

    CMI Strategy

    💡 How to Attack These Questions

    • First identify the joining point.

    • Write LHL, RHL, and f(a)f(a) separately.

    • If constants are unknown, convert the continuity condition into equations.

    • Simplify rational expressions before taking limits.

    • Watch out for removable discontinuities disguised as undefined values.

    ---

    Practice Questions

    :::question type="MCQ" question="For the function f(x)={x+2,x<13,x=1x2+1,x>1f(x)=\begin{cases} x+2, & x<1 \\ 3, & x=1 \\ x^2+1, & x>1 \end{cases}, which statement is correct?" options=["The function is continuous at x=1x=1","The left-hand and right-hand limits are equal but not equal to f(1)f(1)","The left-hand and right-hand limits are unequal","The function is undefined at x=1x=1"] answer="B" hint="Compute the left-hand limit, right-hand limit, and value at x=1x=1 separately." solution="Left-hand limit: limx1(x+2)=3\qquad \lim_{x\to1^-}(x+2)=3 Right-hand limit: limx1+(x2+1)=2\qquad \lim_{x\to1^+}(x^2+1)=2 Wait carefully: these are not equal. So the two-sided limit does not exist. Hence the correct statement is that the left-hand and right-hand limits are unequal. Therefore the correct option is C\boxed{C}." ::: :::question type="NAT" question="Find the value of kk so that the function f(x)={x2+k,x<26,x=23x,x>2f(x)=\begin{cases} x^2+k, & x<2 \\ 6, & x=2 \\ 3x, & x>2 \end{cases} is continuous at x=2x=2." answer="2" hint="Match LHL, RHL, and f(2)f(2)." solution="For continuity at x=2x=2, we need limx2f(x)=f(2)=limx2+f(x)\qquad \lim_{x\to2^-}f(x)=f(2)=\lim_{x\to2^+}f(x) Now, f(2)=6\qquad f(2)=6 Right-hand limit: limx2+3x=6\qquad \lim_{x\to2^+}3x=6 Left-hand limit: limx2(x2+k)=4+k\qquad \lim_{x\to2^-}(x^2+k)=4+k For continuity, 4+k=6\qquad 4+k=6 So, k=2\qquad k=2 Therefore the answer is 2\boxed{2}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If limxaf(x)=limxa+f(x)=f(a)\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)=f(a), then ff is continuous at x=ax=a","A function can be continuous at x=ax=a even if f(a)f(a) is not defined","If the left-hand and right-hand limits at x=ax=a are unequal, then ff is not continuous at x=ax=a","For piecewise functions, checking only limxaf(x)\lim_{x\to a}f(x) is always enough"] answer="A,C" hint="Use the definition of continuity carefully." solution="1. True. This is exactly the continuity condition.
  • False. If f(a)f(a) is not defined, continuity at aa is impossible.
  • True. If LHL and RHL are unequal, the two-sided limit does not exist, so continuity fails.
  • False. In piecewise questions, one usually computes one-sided limits separately and must also compare with f(a)f(a).
  • Hence the correct answer is A,C\boxed{A,C}." ::: :::question type="SUB" question="Find the value of kk such that f(x)={x21x1,x1k,x=1f(x)=\begin{cases} \dfrac{x^2-1}{x-1}, & x\ne1 \\ k, & x=1 \end{cases} is continuous at x=1x=1." answer="k=2k=2" hint="Simplify the rational expression for x1x\ne1." solution="For x1x\ne1, x21x1=(x1)(x+1)x1=x+1\qquad \dfrac{x^2-1}{x-1}=\dfrac{(x-1)(x+1)}{x-1}=x+1 So, limx1f(x)=limx1(x+1)=2\qquad \lim_{x\to1}f(x)=\lim_{x\to1}(x+1)=2 For continuity at x=1x=1, we need f(1)=limx1f(x)\qquad f(1)=\lim_{x\to1}f(x) Thus, k=2\qquad k=2 Therefore the required value is 2\boxed{2}." ::: ---

    Summary

    Key Takeaways for CMI

    • Continuity at a point means limit equals function value.

    • For piecewise functions, continuity at the joining point requires LHL = RHL = function value.

    • A common limit is not enough unless it also equals f(a)f(a).

    • Removable discontinuity can often be fixed by choosing the correct value at the point.

    • Most problems reduce to disciplined checking of three things: LHL, RHL, and f(a)f(a).

    ---

    💡 Next Up

    Proceeding to Intermediate value reasoning.

    ---

    Part 4: Intermediate value reasoning

    Intermediate Value Reasoning

    Overview

    Intermediate value reasoning is one of the most important ways to prove that an equation has a real solution without actually solving it. In CMI-style questions, this topic is usually tested through continuity, sign change, and correct use of the Intermediate Value Theorem. The key skill is to show that a continuous function takes two values on opposite sides of a target value, so it must take that target value somewhere in between. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • state and use the Intermediate Value Theorem correctly,

    • prove the existence of a root using continuity and sign change,

    • identify intervals where a continuous function must take a given value,

    • distinguish existence proofs from exact solving,

    • justify interval-based root claims in polynomial and continuous-function problems.

    ---

    Core Idea

    📖 Intermediate Value Reasoning

    If a function is continuous on an interval and its values at two points lie on opposite sides of some number LL, then the function must take the value LL somewhere between those points.

    This is the central idea behind many root-existence arguments.

    ---

    Intermediate Value Theorem

    📐 Intermediate Value Theorem (IVT)

    Let ff be continuous on [a,b][a,b]. If LL lies between f(a)f(a) and f(b)f(b), then there exists some c[a,b]c\in[a,b] such that

    f(c)=L\qquad f(c)=L

    A very important special case is when L=0L=0.

    Root Existence Form

    If ff is continuous on [a,b][a,b] and

    f(a)f(b)<0\qquad f(a)\cdot f(b)<0

    then there exists some c(a,b)c\in(a,b) such that

    f(c)=0\qquad f(c)=0

    This is because opposite signs mean that 00 lies between f(a)f(a) and f(b)f(b).

    ---

    Why This Works So Often for Polynomials

    📐 Polynomials are Continuous

    Every polynomial is continuous for all real numbers.

    So for any polynomial p(x)p(x), if you can find two points aa and bb such that

    p(a)p(b)<0\qquad p(a)\cdot p(b)<0

    then IVT guarantees a real root in (a,b)(a,b).

    This is why many exam questions ask you to test a polynomial at nearby integers. ---

    Standard Method

    💡 How to Use Intermediate Value Reasoning

    • Identify the function.

    • Verify continuity on the interval.

    • Compute function values at suitable endpoints.

    • Show that the target value lies between those endpoint values.

    • Conclude existence using IVT.

    For root-existence questions, the target value is usually 00. ---

    Sign Change Reasoning

    📐 Sign Change Test

    If a continuous function satisfies

    f(a)>0andf(b)<0\qquad f(a)>0 \quad \text{and} \quad f(b)<0

    or

    f(a)<0andf(b)>0\qquad f(a)<0 \quad \text{and} \quad f(b)>0

    then there exists some c(a,b)c\in(a,b) such that

    f(c)=0\qquad f(c)=0

    ⚠️ Very Important

    A sign change gives existence of at least one root, not:

      • the exact value of the root,

      • the number of roots,

      • uniqueness of the root.

    ---

    Root Between Consecutive Integers

    💡 Most Common Exam Pattern

    To show that a polynomial has a real root between nn and n+1n+1:

    • compute p(n)p(n),

    • compute p(n+1)p(n+1),

    • check whether they have opposite signs,

    • conclude by IVT that a root lies in (n,n+1)(n,n+1).

    This is exactly the style used in many short-answer exam problems. ---

    Intermediate Values Other Than Zero

    📐 Not Only for Roots

    If ff is continuous on [a,b][a,b] and

    f(a)<L<f(b)\qquad f(a)<L<f(b)

    or

    f(b)<L<f(a)\qquad f(b)<L<f(a)

    then there exists c(a,b)c\in(a,b) such that

    f(c)=L\qquad f(c)=L

    So IVT is about all intermediate values, not just zero.

    ---

    Minimal Worked Examples

    Example 1 Show that the equation x3x1=0\qquad x^3-x-1=0 has a real root between 11 and 22. Let f(x)=x3x1\qquad f(x)=x^3-x-1 Since ff is a polynomial, it is continuous everywhere. Now, f(1)=111=1\qquad f(1)=1-1-1=-1 f(2)=821=5\qquad f(2)=8-2-1=5 Since f(1)<0<f(2)f(1)<0<f(2), there exists some c(1,2)c\in(1,2) such that f(c)=0\qquad f(c)=0 So the equation has a real root in (1,2)(1,2). --- Example 2 Show that a continuous function with f(2)=3f(2)=3 and f(5)=9f(5)=9 must take the value 66 somewhere in (2,5)(2,5). Since ff is continuous on [2,5][2,5] and 3<6<9\qquad 3<6<9 IVT gives some c(2,5)c\in(2,5) such that f(c)=6\qquad f(c)=6 ---

    What IVT Does Not Say

    ⚠️ Avoid These Errors
      • ❌ IVT does not give the exact root.
      • ❌ IVT does not say the root is rational or integer.
      • ❌ IVT does not guarantee only one root.
      • ❌ IVT cannot be used without continuity on the interval.
    ---

    When IVT Cannot Be Used Directly

    Continuity is Necessary

    If a function is not continuous on the interval, IVT may fail.

    For example, a jump discontinuity can skip values, so taking endpoint values alone is not enough.

    ---

    Common Question Patterns

    📐 Patterns to Recognize

    • prove that a polynomial has a root in an interval,

    • find an integer nn such that a root lies between nn and n+1n+1,

    • justify root existence using theorem name,

    • prove a continuous function attains a specified value,

    • decide whether IVT applies or not.

    ---

    CMI Strategy

    💡 How to Think in Exam Problems

    • If you see a polynomial, continuity is automatic.

    • For root existence, always test simple integers first.

    • Write the theorem justification explicitly.

    • If the question asks for least absolute value of an integer, test around 00 first.

    • Keep the logic crisp: continuity + endpoint values + theorem.

    ---

    Practice Questions

    :::question type="MCQ" question="Which theorem is most directly used to prove that a continuous function with f(a)<0<f(b)f(a)<0<f(b) has a root in (a,b)(a,b)?" options=["Mean Value Theorem","Intermediate Value Theorem","Factor Theorem","Rolle's Theorem"] answer="B" hint="Think about value crossing, not derivative information." solution="The statement that a continuous function taking opposite signs at two points must be zero somewhere in between is a direct application of the Intermediate Value Theorem. Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Find the least non-negative integer nn such that x32x^3-2 has a real root in (n,n+1)(n,n+1)." answer="1" hint="Check the values at consecutive integers." solution="Let f(x)=x32f(x)=x^3-2. This is a polynomial, so it is continuous everywhere. Now, f(0)=2\qquad f(0)=-2 f(1)=1\qquad f(1)=-1 f(2)=6\qquad f(2)=6 There is no sign change on (0,1)(0,1), but f(1)<0<f(2)\qquad f(1)<0<f(2) So by IVT, there is a root in (1,2)(1,2). Hence the least non-negative integer is 1\boxed{1}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["Every polynomial is continuous on R\mathbb{R}","If a continuous function changes sign on an interval, then it has at least one root there","IVT always gives the exact location of the root","A continuous function with f(a)=2f(a)=2 and f(b)=7f(b)=7 must take every value between 22 and 77"] answer="A,B,D" hint="IVT proves existence, not exact position." solution="1. True. Every polynomial is continuous on all real numbers.
  • True. This is the root-existence form of IVT.
  • False. IVT gives existence, not the exact location.
  • True. That is exactly what IVT says.
  • Hence the correct answer is A,B,D\boxed{A,B,D}." ::: :::question type="SUB" question="Show that the equation x5x1=0x^5-x-1=0 has a real root in (1,2)(1,2)." answer="Since the polynomial is continuous and changes sign between 11 and 22, IVT guarantees a root in (1,2)(1,2)" hint="Evaluate the polynomial at x=1x=1 and x=2x=2." solution="Let f(x)=x5x1\qquad f(x)=x^5-x-1 Since ff is a polynomial, it is continuous on [1,2][1,2]. Now, f(1)=111=1\qquad f(1)=1-1-1=-1 and f(2)=3221=29\qquad f(2)=32-2-1=29 Thus f(1)<0<f(2)\qquad f(1)<0<f(2) So by the Intermediate Value Theorem, there exists some c(1,2)c\in(1,2) such that f(c)=0\qquad f(c)=0 Hence the equation has a real root in (1,2)(1,2)." ::: ---

    Summary

    Key Takeaways for CMI

    • IVT is an existence theorem for continuous functions.

    • For polynomials, continuity is automatic.

    • Sign change across an interval guarantees a root.

    • IVT proves existence, not exact value or uniqueness.

    • Testing nearby integers is a standard exam technique.

    • The clean logic is: continuity + endpoint values + theorem.

    ---

    Chapter Summary

    Continuity — Key Points

    Continuity at a Point: A function f(x)f(x) is continuous at x=cx=c if limxcf(x)\lim_{x \to c} f(x) exists, f(c)f(c) exists, and limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c). This implies limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
    Types of Discontinuities: Discontinuities are classified as removable (hole), jump (finite left/right limits, but unequal), or infinite (vertical asymptote).
    Interval Continuity: A function is continuous on an open interval (a,b)(a,b) if it is continuous at every point in the interval. It is continuous on a closed interval [a,b][a,b] if it is continuous on (a,b)(a,b), limxa+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a), and limxbf(x)=f(b)\lim_{x \to b^-} f(x) = f(b).
    Continuity of Standard Functions: Polynomials, rational functions (where the denominator is non-zero), trigonometric functions, exponential functions, and logarithmic functions (on their domains) are continuous.
    Operations on Continuous Functions: Sums, differences, products, quotients (denominator non-zero), and compositions of continuous functions are continuous.
    Intermediate Value Theorem (IVT): If ff is continuous on the closed interval [a,b][a,b] and kk is any number between f(a)f(a) and f(b)f(b) (inclusive), then there exists at least one number cc in [a,b][a,b] such that f(c)=kf(c)=k. This theorem is fundamental for proving the existence of roots or specific function values.

    ---

    Chapter Review Questions

    :::question type="MCQ" question="For what value of aa is the function f(x)f(x) continuous everywhere?

    f(x)={sin(ax)xif x<02x+3if x0f(x) = \begin{cases}\frac{\sin(ax)}{x} & \text{if } x < 0 \\
    2x+3 & \text{if } x \ge 0\end{cases}
    " options=["a=0a=0", "a=1a=1", "a=3a=3", "a=3a=-3"] answer="a=3a=3" hint="For continuity at x=0x=0, the left-hand limit, right-hand limit, and function value must all be equal." solution="For f(x)f(x) to be continuous everywhere, it must be continuous at x=0x=0.
    We need limx0f(x)=limx0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0).

    First, calculate f(0)f(0):
    f(0)=2(0)+3=3f(0) = 2(0) + 3 = 3.

    Next, calculate the right-hand limit:
    limx0+f(x)=limx0+(2x+3)=2(0)+3=3\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (2x+3) = 2(0)+3 = 3.

    Finally, calculate the left-hand limit:
    limx0f(x)=limx0sin(ax)x\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} \frac{\sin(ax)}{x}.
    Using the standard limit limu0sinuu=1\lim_{u \to 0} \frac{\sin u}{u} = 1, we can write:
    limx0sin(ax)x=limx0(asin(ax)ax)=a1=a\lim_{x \to 0^-} \frac{\sin(ax)}{x} = \lim_{x \to 0^-} \left( a \cdot \frac{\sin(ax)}{ax} \right) = a \cdot 1 = a.

    For continuity at x=0x=0, we must have a=3=3a = 3 = 3.
    Therefore, a=3a=3.

    The correct option is a=3a=3."
    :::

    :::question type="NAT" question="Consider the function g(x)=x24x2g(x) = \frac{x^2 - 4}{x-2}. If g(x)g(x) is redefined at x=2x=2 to make it continuous, what value should g(2)g(2) be assigned?" answer="4" hint="Simplify the expression for g(x)g(x) for x2x \neq 2 to find the limit as x2x \to 2." solution="The function g(x)=x24x2g(x) = \frac{x^2 - 4}{x-2} is undefined at x=2x=2.
    For x2x \neq 2, we can simplify the expression:
    g(x)=(x2)(x+2)x2=x+2g(x) = \frac{(x-2)(x+2)}{x-2} = x+2.

    To make g(x)g(x) continuous at x=2x=2, we need to define g(2)g(2) such that g(2)=limx2g(x)g(2) = \lim_{x \to 2} g(x).
    limx2g(x)=limx2(x+2)=2+2=4\lim_{x \to 2} g(x) = \lim_{x \to 2} (x+2) = 2+2 = 4.

    Thus, to make g(x)g(x) continuous, g(2)g(2) should be assigned the value 4."
    :::

    :::question type="MCQ" question="Given a continuous function f(x)f(x) on the interval [1,5][1, 5] such that f(1)=3f(1)=-3 and f(5)=7f(5)=7. Which of the following statements is guaranteed by the Intermediate Value Theorem?" options=["There exists c(1,5)c \in (1, 5) such that f(c)=0f(c)=0.", "There exists c(1,5)c \in (1, 5) such that f(c)=10f(c)=10.", "The function f(x)f(x) is increasing on [1,5][1, 5].", "The function f(x)f(x) has a maximum value of 7 and a minimum value of -3 on [1,5][1, 5]."] answer="There exists c(1,5)c \in (1, 5) such that f(c)=0f(c)=0." hint="The IVT guarantees that a continuous function takes on every value between f(a)f(a) and f(b)f(b)." solution="The Intermediate Value Theorem (IVT) states that if ff is continuous on [a,b][a,b] and kk is any number between f(a)f(a) and f(b)f(b), then there exists at least one c[a,b]c \in [a,b] such that f(c)=kf(c)=k.

    Here, a=1a=1, b=5b=5, f(a)=3f(a)=-3, and f(b)=7f(b)=7.
    The range of values that f(x)f(x) is guaranteed to take on is [3,7][-3, 7].

    * Option 1: There exists c(1,5)c \in (1, 5) such that f(c)=0f(c)=0.
    Since 00 is between 3-3 and 77 (i.e., f(1)<0<f(5)f(1) < 0 < f(5)), the IVT guarantees that there exists at least one c(1,5)c \in (1, 5) such that f(c)=0f(c)=0. This statement is true.

    * Option 2: There exists c(1,5)c \in (1, 5) such that f(c)=10f(c)=10.
    Since 1010 is not between 3-3 and 77, the IVT does not guarantee that f(c)=10f(c)=10 for any c(1,5)c \in (1, 5). (The function might reach 10, but it's not guaranteed).

    * Option 3: The function f(x)f(x) is increasing on [1,5][1, 5].
    The IVT does not imply monotonicity. A continuous function can oscillate while still passing through all intermediate values.

    * Option 4: The function f(x)f(x) has a maximum value of 7 and a minimum value of -3 on [1,5][1, 5].
    While the Extreme Value Theorem (another theorem about continuous functions on closed intervals) guarantees that ff attains a maximum and minimum value, it does not state that these values must be f(1)f(1) and f(5)f(5). For example, f(x)f(x) could go down to 5-5 or up to 1010 at some point within (1,5)(1,5) before returning to f(5)=7f(5)=7. The values f(1)f(1) and f(5)f(5) are just the function values at the endpoints, not necessarily the global extrema.

    Therefore, the only statement guaranteed by the IVT is that there exists c(1,5)c \in (1, 5) such that f(c)=0f(c)=0."
    :::

    ---

    What's Next?

    💡 Continue Your CMI Journey

    Having mastered the concepts of continuity, you have established a crucial foundation for the calculus journey. The next logical progression involves Differentiation. Understanding continuity is indispensable for defining differentiability; a function must be continuous at a point to be differentiable there. Furthermore, the theorems of differential calculus, such as the Mean Value Theorem, rely heavily on the continuity of functions. Your grasp of limits and continuity will be directly applied as you explore rates of change, slopes of tangent lines, and optimization problems.

    🎯 Key Points to Remember

    • Master the core concepts in Continuity before moving to advanced topics
    • Practice with previous year questions to understand exam patterns
    • Review short notes regularly for quick revision before exams

    Related Topics in Calculus

    More Resources

    Why Choose MastersUp?

    🎯

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    📚

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    📊

    Smart Analytics

    Track your progress with subject-wise performance insights

    🔖

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation →

    No credit card required • Free forever for basic features