• Practice
  • About 15 min
  • 5 practice questions

Continuity problems: constants, joins and special functions

Find unknown constants that make a piecewise function continuous, check continuity at the joins, and decide where functions built from [x] and |x| are continuous.

If something looks wrong, please tell us.

Continuity questions in competitive exams usually ask for an unknown constant, or ask where a function built from pieces, the greatest integer function or the modulus function breaks. Each of these reduces to the same check from the foundation course: LHL = RHL = f(a). This lesson is about applying that check quickly and without slips.

One constant, one point

When f is defined by a formula for x ≠ a and a constant k at x = a, find the limit of the formula at a using any method you know, then set k equal to it.

Worked example 1. f(x) = (1 − cos 2x)/x² for x ≠ 0 and f(0) = k, with x in radians. The limit is 2 (since 1 − cos 2x = 2 sin² x), so continuity at 0 needs k = 2.

Two constants, two joins

When a function is made of three pieces with unknowns in the middle piece, each join gives one equation. Solve the two equations together.

Worked example 2. f(x) = 5 for x ≤ 2, f(x) = ax + b for 2 < x < 10, and f(x) = 21 for x ≥ 10. For continuity at 2: LHL = f(2) = 5 and RHL = 2a + b, so 2a + b = 5. At 10: LHL = 10a + b and RHL = f(10) = 21, so 10a + b = 21. Subtracting, 8a = 16, so a = 2 and b = 1. Each piece is a polynomial, so the joins are the only points to check.

At every join: (left formula at a) = (right formula at a) = f(a). One join gives one equation; two unknowns need two joins.

Functions built from [x]

Recall that [x] jumps by 1 at each integer. A combination such as x − [x] (the fractional part of x) or [x] + [−x] may or may not break at an integer, so always compute both sides.

Worked example 3. f(x) = x − [x] at x = 2. LHL: for x just below 2, [x] = 1, so f(x) → 2 − 1 = 1. RHL: for x just above 2, [x] = 2, so f(x) → 0. Also f(2) = 0. Since LHL ≠ RHL, f has a jump discontinuity at 2, and in the same way at every integer. Between integers, f(x) = x − n for a fixed integer n, so it is continuous there.

Worked example 4. f(x) = [x] + [−x] at x = 2. If x is not an integer, [−x] = −[x] − 1, so f(x) = −1. If x is an integer, [−x] = −x = −[x], so f(x) = 0. Near 2 (but not at 2) f(x) = −1, so the limit is −1, while f(2) = 0. The limit exists but disagrees with the value: a removable discontinuity. Such questions test whether you compute the limit and the value separately.

Functions built from |x|

|x| is continuous everywhere, and so are sums, products and compositions of continuous functions with it, such as |x − 1| + |x + 2| or |sin x|. A modulus causes a corner, not a break. Discontinuity comes from a modulus only when it is divided by something that becomes 0, as in |x − 4|/(x − 4).

Traps

  • Checking only the LHL and the value, and forgetting the RHL.
  • Using the wrong piece of the formula at the join itself: the value f(a) comes from the piece whose condition includes x = a.
  • Assuming [x] + [−x] is always 0; it is −1 at every non-integer.
  • Calling |x| discontinuous at 0 because of its corner.

Key takeaways: continuity questions reduce to LHL = RHL = f(a). For unknown constants, write one equation per join. For [x]-type functions, work out both sides and the value separately at each integer. A modulus alone never breaks continuity.

Check your understanding

  1. 1. Let f(x) = (sin 3x)/x for x ≠ 0 and f(0) = k, with x in radians. For which k is f continuous at 0?

    1. 1
    2. 1/3
    3. 0
    4. 3
    Show answer

    Answer: D. (sin 3x)/x = 3 × (sin 3x)/(3x) → 3, so k = 3.

  2. 2. Let f(x) = ax + 1 for x ≤ 3 and f(x) = bx + 3 for x > 3. Which condition makes f continuous at x = 3?

    1. a − b = 2/3
    2. a = b
    3. a + b = 2/3
    4. 3a + 3b = 2
    Show answer

    Answer: A. LHL = f(3) = 3a + 1 and RHL = 3b + 3. Setting them equal: 3a − 3b = 2, so a − b = 2/3.

  3. 3. With [x] the greatest integer function, what is lim(x→3⁻) (x − [x])?

    1. 1
    2. 0
    3. 2
    4. 3
    Show answer

    Answer: A. For x just below 3, [x] = 2, so x − [x] → 3 − 2 = 1.

  4. 4. Let f(x) = 2 for x ≤ 1, f(x) = ax + b for 1 < x < 3, and f(x) = 8 for x ≥ 3. For which a and b is f continuous everywhere?

    1. a = 2, b = 0
    2. a = 3, b = −1
    3. a = −1, b = 3
    4. a = 3, b = 1
    Show answer

    Answer: B. At 1: a + b = 2. At 3: 3a + b = 8. Subtracting gives 2a = 6, so a = 3 and b = −1.

  5. 5. With [x] the greatest integer function, what is lim(x→2) ([x] + [−x])?

    1. −1
    2. 0
    3. 1
    4. The limit does not exist
    Show answer

    Answer: A. At x = 1.99: 1 + (−2) = −1. At x = 2.01: 2 + (−3) = −1. Both sides give −1, so the limit is −1 (although the value at 2 is 0).

Privacy · Terms · Refunds · Delivery