📚 StudyOS CBSE Class 5–12 AI Tutor

Continuity and Differentiability

NCERT Class 12 · Mathematics Based on NCERT Class 12 Mathematics textbook · Free CBSE study kit

Chapter Notes

CONTINUITY AND DIFFERENTIABILITY

Understanding Continuity Through Informal Examples

A function is **continuous** at a point intuitively when its graph can be drawn without lifting the pen from paper. Consider:

**Example of discontinuity:** f(x) = 1 if x ≤ 0, and f(x) = 2 if x > 0. At x = 0, the left limit is 1 and right limit is 2. They don't match, so the function "jumps" — it's discontinuous at x = 0.

**Example of discontinuity at jump:** f(x) = 1/x when x ≠ 0, and f(0) = 2. Although limits exist on both sides (both equal 1), the function value at x = 0 is 2, which doesn't match the limit. Discontinuous at x = 0.

---

Definition of Continuity at a Point

**Definition 1:** A real function f is **continuous at a point c** in its domain if:

**lim[x→c] f(x) = f(c)**

This means three conditions must hold simultaneously:

  • The function is defined at x = c
  • The limit lim[x→c] f(x) exists
  • The limit equals f(c)
  • **Alternative phrasing:** f is continuous at c if:

  • Left hand limit: lim[x→c⁻] f(x) = f(c)
  • Right hand limit: lim[x→c⁺] f(x) = f(c)
  • When f is **not continuous** at c, we call c a **point of discontinuity**.

    ---

    Continuity on an Interval

    **Definition 2:** A function f is **continuous** (on its domain) if it is continuous at **every point** in its domain.

    **Special case for closed intervals [a, b]:** f is continuous on [a, b] if:

  • It is continuous at every interior point c ∈ (a, b)
  • At the left endpoint a: lim[x→a⁺] f(x) = f(a) (right limit only)
  • At the right endpoint b: lim[x→b⁻] f(x) = f(b) (left limit only)
  • Note: If a function's domain is a single point, it is continuous there.

    ---

    Worked Examples on Continuity

    **Example 1: Linear function continuity**

    Check continuity of f(x) = 2x + 3 at x = 1.

  • f(1) = 2(1) + 3 = 5 ✓ (defined)
  • lim[x→1] f(x) = lim[x→1] (2x + 3) = 5 ✓ (limit exists)
  • Since lim[x→1] f(x) = 5 = f(1), **f is continuous at x = 1**
  • **Example 2: Polynomial continuity**

    Show f(x) = x² is continuous at x = 0.

  • f(0) = 0 ✓
  • lim[x→0] x² = 0 ✓
  • Limit equals function value: **continuous at x = 0**
  • **Example 3: Absolute value function**

    Discuss continuity of f(x) = |x| at x = 0.

  • f(0) = 0
  • Left limit: lim[x→0⁻] |x| = lim[x→0⁻] (-x) = 0
  • Right limit: lim[x→0⁺] |x| = lim[x→0⁺] (x) = 0
  • All three match: **f is continuous at x = 0**
  • Since |x| is continuous at x = 0 and at all other points (polynomial behavior away from 0), |x| is a **continuous function** everywhere.

    **Example 4: Function with jump discontinuity**

    Show f(x) = x + 3 when x < 1, f(1) = 0, f(x) = x - 2 when x > 1 is discontinuous at x = 1.

  • f(1) = 0 ✓ (defined)
  • lim[x→1⁻] (x + 3) = 1 + 3 = 4
  • lim[x→1⁺] (x - 2) = 1 - 2 = -1
  • Left and right limits don't match, and neither equals f(1): **discontinuous at x = 1**
  • **Example 5: Constant functions**

    f(x) = k (constant) is continuous everywhere.

  • For any point c: f(c) = k
  • lim[x→c] k = k
  • Continuous at every real number
  • **Example 6: Greatest integer function**

    f(x) = [x] (greatest integer ≤ x) is **discontinuous at every integer**.

    At c = 2 (an integer):

  • lim[x→2⁻] [x] = 1 (e.g., [1.9] = 1)
  • lim[x→2⁺] [x] = 2 (e.g., [2.1] = 2)
  • Left and right limits differ: **discontinuous at every integer**
  • At c = 2.5 (non-integer):

  • For all x near 2.5: [x] = 2
  • lim[x→2.5] [x] = 2 = f(2.5): **continuous at non-integers**
  • ---

    The Concept of Infinity (Important Note)

    When analyzing f(x) = 1/x near x = 0:

    **Right hand limit:**

  • As x → 0⁺ (from right): f(x) increases without bound
  • We write: lim[x→0⁺] (1/x) = +∞
  • **Important:** +∞ is NOT a real number, so the limit **does not exist** (as a real number)
  • **Left hand limit:**

  • As x → 0⁻ (from left): f(x) decreases without bound
  • We write: lim[x→0⁻] (1/x) = -∞
  • Again, -∞ is NOT real, so the limit does not exist
  • This explains why f(x) = 1/x is **discontinuous at x = 0** (and x = 0 is not even in the domain).

    ---

    Key Examples of Continuous and Discontinuous Functions

    **All these are continuous functions:**

  • Constant functions: f(x) = k
  • Polynomial functions: p(x) = a₀ + a₁x + ... + aₙxⁿ
  • Trigonometric functions: sin x, cos x, tan x (where defined)
  • Rational functions: p(x)/q(x) where q(x) ≠ 0
  • Absolute value: f(x) = |x|
  • Modulus function and compositions
  • **Common discontinuous functions:**

  • Greatest integer function at integers
  • Functions with jump discontinuities at specific points
  • Functions with removable discontinuities (limit exists but doesn't equal function value)
  • Functions undefined at certain points (like 1/x at x = 0)
  • ---

    Theorem 1: Algebra of Continuous Functions

    If **f and g are continuous at x = c**, then:

    1. **f + g is continuous at x = c**

    2. **f - g is continuous at x = c**

    3. **f · g is continuous at x = c**

    4. **f/g is continuous at x = c** (provided g(c) ≠ 0)

    **Proof sketch for (f + g):**

  • lim[x→c] (f + g)(x) = lim[x→c] [f(x) + g(x)]
  • = lim[x→c] f(x) + lim[x→c] g(x) (limit algebra)
  • = f(c) + g(c) (by continuity of f, g)
  • = (f + g)(c) ✓
  • **Consequences of Theorem 1:**

  • **Scalar multiple:** If g is continuous, then λg is continuous for any constant λ
  • **Rational functions:** Any rational function p(x)/q(x) is continuous wherever q(x) ≠ 0
  • **Sums/differences of continuous functions are continuous**
  • **Products of continuous functions are continuous**
  • ---

    Theorem 2: Continuity of Composite Functions

    If **g is continuous at c** and **f is continuous at g(c)**, then **f ∘ g is continuous at c**.

    Equivalently: **(f ∘ g)(x) = f(g(x))** is continuous when both component functions are continuous.

    **Example:** f(x) = sin(x²) is continuous.

  • h(x) = x² is continuous everywhere
  • g(x) = sin x is continuous everywhere
  • Composition f(x) = g(h(x)) = sin(x²) is continuous
  • **Example:** f(x) = |1 - x + |x|| is continuous.

  • |x| is continuous
  • 1 - x + |x| is continuous (sum of continuous functions)
  • Outer absolute value is continuous
  • Overall composition is continuous
  • ---

    Key Exam Points

    **Common mistakes to avoid:**

  • **Don't assume** a function is continuous without checking all three conditions: defined at c, limit exists, limit equals f(c)
  • **Infinity is not a real number:** lim = ∞ means limit doesn't exist as a real number
  • **At boundary points of domain:** Use one-sided limits only
  • **For piecewise functions:** Always check the point where the definition changes
  • **What examiners test:**

  • Proving continuity at specific points
  • Finding points of discontinuity
  • Verifying which functions are continuous (polynomial, rational, trigonometric)
  • Using theorems to prove continuity of combinations
  • Understanding the geometric meaning: can graph be drawn without lifting pen?
  • ---

    Important Properties Used in Exams

  • **All polynomial functions are continuous everywhere**
  • **All rational functions p(x)/q(x) are continuous on their domain**
  • **All trigonometric functions are continuous where defined**
  • **Continuous functions: sum, difference, product, composition**
  • **f(x) = |x| is continuous at x = 0 even though derivative doesn't exist there**
  • **[x] (greatest integer) is continuous at non-integer points only**
  • ---

    This completes the continuity portion. The concept of differentiability (next section) builds directly on continuity: **differentiability implies continuity, but continuity does NOT guarantee differentiability.**

    MCQs — 10 Questions with Answers

    Q1. Which of the following functions is continuous at x = 0?

    • A. f(x) = 1 if x ≤ 0, and 2 if x > 0
    • B. f(x) = |x| ✓
    • C. f(x) = 1/x for x ≠ 0, and 0 at x = 0
    • D. f(x) = x + 3 if x ≠ 0, and 5 if x = 0

    Answer: B — For f(x) = |x|, we have f(0) = 0, lim(x→0−) |x| = 0, and lim(x→0+) |x| = 0, so all three values match.

    Q2. A function f(x) = x² + 2x is continuous at x = 1 because:

    • A. f(1) is defined
    • B. The limit lim(x→1) (x² + 2x) exists
    • C. f(1) = 3 and lim(x→1) (x² + 2x) = 3 ✓
    • D. The function is a polynomial

    Answer: C — Continuity requires that the function value equals the limit at that point; here f(1) = 1 + 2 = 3 and the limit also equals 3.

    Q3. The function f(x) = 5 (constant function) is continuous at:

    • A. Only at x = 0
    • B. Only at positive values of x
    • C. At every real number c ✓
    • D. Only at x = 5

    Answer: C — For any point c, f(c) = 5 and lim(x→c) 5 = 5, satisfying the continuity condition at every real number.

    Q4. For the piecewise function f(x) = {x if x ≤ 1, 3 if x > 1}, at which point is there a jump discontinuity?

    • A. x = 0
    • B. x = 1 ✓
    • C. x = 3
    • D. The function is continuous everywhere

    Answer: B — At x = 1, lim(x→1−) f(x) = 1 but lim(x→1+) f(x) = 3, and these left and right limits are unequal, creating a jump.

    Q5. If f(x) = (x³ - 1)/(x - 1) for x ≠ 1 and f(1) = 3, then f is:

    • A. Continuous at x = 1 because f(1) = 3
    • B. Discontinuous at x = 1 because the formula is undefined there
    • C. Continuous at x = 1 because lim(x→1) [(x³ - 1)/(x - 1)] = 3 = f(1) ✓
    • D. Discontinuous at x = 1 because lim(x→1) [(x³ - 1)/(x - 1)] = 2

    Answer: C — Simplifying: (x³ - 1)/(x - 1) = x² + x + 1, so lim(x→1) (x² + x + 1) = 3 = f(1), making it continuous.

    Q6. Which statement about continuity is INCORRECT?

    • A. A function continuous on [a,b] must be continuous at every interior point
    • B. If f(c) is undefined, then f is continuous at c ✓
    • C. All polynomial functions are continuous on ℝ
    • D. If lim(x→c) f(x) exists and equals f(c), then f is continuous at c

    Answer: B — If f(c) is undefined, the function cannot be continuous at c because continuity requires f(c) to be defined and equal the limit.

    Q7. Consider f(x) = |x - 2|. At x = 2, the function is continuous. Which of the following justifies this?

    • A. f(2) = 0 and lim(x→2−) |x - 2| = lim(x→2+) |x - 2| = 0
    • B. The absolute value function is always continuous
    • C. The left and right limits are equal to f(2) = 0
    • D. All of the above ✓

    Answer: D — All three reasons are true: f(2) = 0, both one-sided limits equal 0, and |x - 2| is a standard continuous function type.

    Q8. The function f(x) = (x² - 4)/(x - 2) for x ≠ 2 has a removable discontinuity at x = 2 because:

    • A. f(2) is undefined
    • B. lim(x→2) [(x² - 4)/(x - 2)] = 4 exists but f(2) is undefined ✓
    • C. The left and right limits are unequal at x = 2
    • D. The denominator becomes zero

    Answer: B — The limit lim(x→2) (x + 2) = 4 exists even though f(2) is undefined, making this a removable discontinuity that could be 'fixed' by redefining f(2) = 4.

    Q9. Assertion (A): The function f(x) = x³ + x² - 1 is continuous at x = 0. Reason (R): All polynomial functions are continuous everywhere on ℝ.

    • A. Both (A) and (R) are true, and (R) is the correct reason for (A) ✓
    • B. Both (A) and (R) are true, but (R) is not the correct reason for (A)
    • C. (A) is true but (R) is false
    • D. (A) is false but (R) is true

    Answer: A — Both statements are true: f(0) = -1 and lim(x→0) (x³ + x² - 1) = -1, confirming continuity; and (R) correctly explains why all polynomials are continuous.

    Q10. A function is defined as f(x) = {2x + 1 if x < 1, k if x = 1, x² if x > 1}. For what value of k is f continuous at x = 1?

    • A. k = 1
    • B. k = 2
    • C. k = 3 ✓
    • D. k = 4

    Answer: C — For continuity at x = 1: lim(x→1−) (2x + 1) = 3 and lim(x→1+) x² = 1, but we need left limit = right limit = f(1); actually lim(x→1−) (2x + 1) = 3, so k = 3.

    Flashcards

    Definition of continuity of f at point c

    Function f is continuous at c if lim(x→c) f(x) = f(c), meaning the left limit, right limit, and function value all exist and are equal.

    When is a function called continuous on its domain?

    A function is continuous if it is continuous at every point in its domain.

    What does it mean graphically when a function is continuous?

    The graph can be drawn without lifting the pen from the paper, showing no jumps, breaks, or holes at any point.

    Example: Is f(x) = 2x + 3 continuous at x = 1?

    Yes, because f(1) = 5 and lim(x→1) (2x + 3) = 5, so the limit equals the function value.

    Example: Is f(x) = |x| continuous at x = 0?

    Yes, because f(0) = 0, lim(x→0−) |x| = 0, and lim(x→0+) |x| = 0, so all three are equal.

    What is a point of discontinuity?

    A point c where the function is not continuous, meaning lim(x→c) f(x) ≠ f(c) or the limit does not exist.

    Piecewise function: f(x) = 1 if x ≤ 0, and 2 if x > 0. Is it continuous at x = 0?

    No, because lim(x→0−) f(x) = 1 but lim(x→0+) f(x) = 2, so left and right limits don't match.

    For a function defined on [a,b], what condition ensures continuity at endpoint a?

    The right-hand limit must exist and equal f(a), written as lim(x→a+) f(x) = f(a).

    Is a constant function f(x) = k continuous everywhere?

    Yes, because for any point c, f(c) = k and lim(x→c) k = k, satisfying the continuity condition.

    Is the identity function f(x) = x continuous on all real numbers?

    Yes, because for any point c, f(c) = c and lim(x→c) x = c, so continuity holds at every real number.

    Important Board Questions

    Define continuity of a function at a point c. Give one example of a function that is continuous at x = 0 and one that is discontinuous at x = 0. [2 marks]

    State the three conditions: f(c) defined, limit exists, and limit = f(c). For continuous example use f(x) = |x| or x²; for discontinuous use a piecewise function with unequal one-sided limits at x = 0.

    Examine the continuity of the function f(x) = {(x² - 9)/(x - 3) if x ≠ 3, and 6 if x = 3} at x = 3. Show all working steps and state whether it is continuous or discontinuous, and why. [5 marks]

    Simplify (x² - 9)/(x - 3) to find lim(x→3) f(x); compare this limit with f(3) = 6; continuity requires all three values to match. Check: (x² - 9)/(x - 3) = (x + 3)(x - 3)/(x - 3) = x + 3 for x ≠ 3.

    Prove that the function f(x) = |x| is continuous at every real number. Explain your proof with reference to the definition of continuity and handle the cases x < 0, x = 0, and x > 0 separately. [6 marks]

    Rewrite |x| as a piecewise function: -x if x < 0, x if x ≥ 0. For each region and the boundary point x = 0, show lim(x→c) |x| = |c| = f(c) using polynomial continuity for x ≠ 0 and matching one-sided limits at x = 0. Conclude general continuity.

    Next chapterApplication of Derivatives →

    Practice with interactive flashcards, mind maps, upload your own chapters and get AI study kits instantly

    Try StudyOS Free →