EZ Tuitions Logo
EZ Tuitions
Back to Blog

Continuity at a Point: Find k in Piecewise Functions

5 min read• 12/3/2026• By Ananya Sharma, Academic Content Lead, EZ Tuitions• Exam Prep

Class 12 continuity at a point: the left limit, right limit and value test with 3 solved find-k problems, checks, and the errors that cost marks.

Child writing numbers with a red pencil on grid paper
Key facts about this article
TopicExam Prep
FocusMaths
Read time5 min
Words996
Published3 Dec 2026
Best forStudents & parents (exam prep)

The graph of a piecewise function either meets at a joining point or it does not. When a board question asks you to find the constant that makes the function continuous there, one test settles it: the left limit, the right limit and the value of the function must all agree.

This guide follows NCERT Class 12 Maths Part I, Chapter 5 (Continuity and Differentiability), section 5.2, and solves three original find-the-constant problems with checks. Exercise 5.1 (questions 17, 18 and 26 to 29) drills the same pattern.

The one test for continuity at a point

A function f is continuous at x = c when three things hold: f(c) is defined, the limit of f(x) as x approaches c exists, and the two are equal. For a piecewise function the limit exists only when the left-hand limit and the right-hand limit agree, so the working condition is left limit = right limit = f(c).

Each piece is usually a polynomial or another standard function, continuous on its own interval. Trouble can only appear at the joins, so those are the only points to check. At a join, take the left limit from the piece below c, the right limit from the piece above c, and read f(c) from the piece whose condition includes equality.

Problem 1: one constant in a two-piece function

Problem 1. Find k so that f is continuous at x = 2, where f(x) = kx + 5 for x ≤ 2 and f(x) = 4x − 1 for x > 2.

The top piece covers x = 2, so the value is f(2) = 2k + 5 and the left limit is also 2k + 5. The right limit comes from the bottom piece: as x approaches 2 from above, 4x − 1 approaches 7. Continuity needs 2k + 5 = 7, so k = 1.

Check: with k = 1 the top piece is x + 5, and at x = 2 it gives 7, matching the right limit. Both pieces draw into the same point (2, 7), so the graph passes through the join without a break.

Problem 2: two constants linked by one condition

Problem 2. Find the relation between a and b so that f is continuous at x = 1, where f(x) = 2ax − 3 for x < 1 and f(x) = x² + b for x ≥ 1. Then find b when a = 3.

The left limit from the top piece is 2a − 3. The bottom piece covers x = 1, so the value and the right limit are both f(1) = 1 + b. Continuity at x = 1 needs 2a − 3 = 1 + b, that is, 2a − b = 4. Setting a = 3 gives b = 2.

Check: with a = 3 and b = 2, the top piece tends to 3 at x = 1 and the bottom piece gives 3. The equation 2a − b = 4 is a whole family of answers and (3, 2) is one point on it; many board questions ask only for the relation, not a single pair.

Problem 3: a 0 by 0 form at the point

Problem 3. Find k so that f is continuous at x = 2, where f(x) = (x² − 5x + 6)/(x − 2) for x ≠ 2 and f(2) = k.

Direct substitution gives 0/0, so factor the numerator: x² − 5x + 6 = (x − 2)(x − 3). For x ≠ 2 the factor cancels, leaving x − 3 near the join. The limit at 2 is −1, so continuity needs k = −1.

Check: near x = 2 the function follows the line x − 3, whose value at 2 is −1. Setting k = −1 fills the single missing point of an otherwise straight line, which is exactly what a removable discontinuity is.

Where marks are lost

The commonest slip is reading f(c) from the wrong piece: only the piece whose inequality includes equality defines the value. In Problem 1 the top piece gives f(2), not the bottom one. Writing both limits and the value on separate lines keeps this straight.

Two more: matching the two limits but never comparing them with f(c), which fails when the point is defined separately, and cancelling a factor without stating that x ≠ c. Once a function is continuous, the next question is usually its derivative; our implicit differentiation guide picks up there, and the chapter page has the full Class 12 roadmap.

Frequently asked questions

What are the three conditions for continuity at a point?

The value f(c) must be defined, the limit of f(x) as x approaches c must exist, and the two must be equal. If any one of the three fails, the function is discontinuous at x = c.

How do you find k so that a piecewise function is continuous?

Set the left-hand limit equal to the right-hand limit at the join and equal to the value given by the piece that includes the point. Solve that equation for k, then substitute it back to verify the join closes.

Can a function be continuous at a point but not differentiable there?

Yes. The modulus function |x| is continuous at 0 but has no derivative there, because the left-hand and right-hand derivatives disagree. Continuity is necessary for differentiability, but it is not sufficient.

Where is a polynomial function discontinuous?

Nowhere. Every polynomial is continuous on the whole real line, and so are the sine and cosine functions. Discontinuities appear only where a definition changes between pieces or a denominator vanishes.

Method and photo sources

Method checked against NCERT Class 12 Maths Part I, Chapter 5, section 5.2, and the find-the-constant pattern of Exercise 5.1. The constants and coefficients in the three problems are our own numbers.

Photo: a child writing numbers on grid paper on Pexels, under the Pexels licence, cropped to 16:9 and compressed.

Explore related tuition services: maths tuition · home tuition · online tuition