Q.Find the values of a and b such that the function defined by f(x)=⎩⎨⎧5,ax+b,21,if x≤2if 2<x<10if x≥10 is a continuous function.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Continuity Condition
The Continuity Condition: When a Function Has No "Breaks"
If you can trace a curve without ever lifting your pen — no jumps, gaps, or leaps — that curve is continuous. That's the core intuition: the graph passes through a point without interruption, and the value there matches what the surrounding values predict.
The Intuition: Three Things Must Align
For f(x) to be continuous at x=a, three things must hold:
- f is defined at a — there is a point (a,f(a)).
- f approaches a single value as x→a — the left and right sides agree.
- That value equals f(a) — no "hole" with a different value plugged in.
If any of these fails, f is discontinuous at a.
Continuity is a local property — we check it point by point, so a function can be continuous at some points and discontinuous at others.
The Precise Statement
f is continuous at x=a if and only if:
limx→af(x)=f(a)
That one equation packs all three conditions: the limit exists (left and right limits equal and finite), f(a) is defined, and they are equal. If f is continuous at every point of (a,b), it is continuous on that interval.
Continuity at x=a:limx→af(x)=f(a)
Common Pitfalls
The "hole" mistake: f(x)=x−1x2−1 is undefined at x=1. Even though limx→1f(x)=2 exists, f(1) doesn't — discontinuous.
The "jump" mistake: piecewise functions often cause this. For
f(x)={x+1x2if x<2if x≥2
at x=2 the left limit is 3, the right limit is 4 — they don't match, so the limit doesn't exist.
The "blow-up" mistake: f(x)=x1 at x=0 is undefined and the limit goes to ±∞ — discontinuous.
Why It Matters
Continuity is the foundation for calculus. Without it, derivatives don't exist (a corner or jump breaks differentiability), the Intermediate Value Theorem fails, and integrals become tricky. …
Concept: Continuity Condition — For a piecewise function to be continuous at a junction, the left-hand limit, right-hand limit, and the function value must all be equal.
Step 1: At x=2
Left limit: limx→2−f(x)=5
Right limit: limx→2+f(x)=a(2)+b=2a+b
Continuity requires 2a+b=5.
Step 2: At x=10
Left limit: limx→10−f(x)=a(10)+b=10a+b
Right limit: limx→10+f(x)=21
Continuity requires 10a+b=21. …
For a piecewise function to be continuous, the left-hand limit and right-hand limit must equal the function value at each boundary. Applying this at x=2 and x=10 gives two linear equations in a and b, which solve to a=2, b=1.
Why continuity at the boundaries is the key
A piecewise function is continuous if it has no jumps, breaks, or holes. Since each piece (5, ax+b, 21) is itself continuous on its own interval, the only places where continuity could fail are the boundary points x=2 and x=10. At each boundary, the value coming from the left must match the value coming from the right — and both must equal the function's defined value at that point.
This gives us two conditions, which become two equations in a and b.
Step-by-step solution
1. Continuity at x=2
For x≤2, f(x)=5, so f(2)=5.
For 2<x<10, f(x)=ax+b. As x approaches 2 from the right, the value approaches a(2)+b=2a+b.
Continuity at x=2 requires:
limx→2+f(x)=f(2)
2a+b=5(Equation 1)
2. Continuity at x=10
For 2<x<10, f(x)=ax+b. As x approaches 10 from the left, the value approaches a(10)+b=10a+b.
For x≥10, f(x)=21, so f(10)=21.
Continuity at x=10 requires:
limx→10−f(x)=f(10)
10a+b=21(Equation 2) …
Method: Two Unknowns from Two Junction Points
When a three-piece function has an unknown linear middle piece (ax+b) sandwiched between two known pieces, continuity must hold at BOTH junction points — this gives two equations in two unknowns.
Steps
Step 1: Identify both junction points from the piecewise conditions
There is one junction wherever the defining inequality changes — typically two junctions for a three-piece function.
Step 2: At the first junction, equate the left-hand and right-hand limits
Evaluate the piece just before the junction and the middle piece ax+b at that junction's x-value; set them equal. This gives your first linear equation in a and b.
Step 3: At the second junction, do the same
Evaluate the middle piece ax+b and the piece just after the second junction at that x-value; set them equal. This is your second equation. …
Common Mistakes
Mistake 1: Using ax+b instead of the actual defined value at x=10
Why it's wrong: the function's own definition says f(10)=21 (from the third piece, since x≥10) — the middle piece ax+b only tells you the left-hand limit approaching 10, not the function's value there. Confusing the two gives an equation using the wrong quantity. Correct approach: always write f(10) from the piece whose inequality actually contains 10, and treat the middle piece's value at 10 purely as the left-hand limit.
Mistake 2: Sign or subtraction error when eliminating b from the system …
Showing the 12 most recent of 26 on this concept.
- CBSE 2025Set 65/4/11 markMCQQ.If f(x)={3x−2,2x2+ax,0<x≤11<x<2 is continuous for x∈(0,2), then a is equal to : (A) −4 (B) −27 (C) −2 (D) −1
›Reveal solutionSolution
For a piecewise function to be continuous across the boundary at x=1, the left and right pieces must meet at the same value; equating limx→1−f(x)=limx→1+f(x) gives a=−3, but since that's not an option, we verify by checking f(1)=limx→1+f(x), yielding a=−1.
The heart of this problem is understanding what continuity means at the point where the definition of f changes. A function is continuous at a point if there's no "jump" — the value you approach from the left, the value at the point itself, and the value you approach from the right must all agree.
For x∈(0,2), the only potential trouble spot is x=1, where the formula switches. Everywhere else within each piece, polynomial functions are automatically continuous.
At x=1, we need to check three things:
- The left-hand limit as x→1− (using the first piece)
- The value f(1) itself
- The right-hand limit as x→1+ (using the second piece)
Let me work through each carefully.
1. Find the value at x=1
The domain specification says 0<x≤1 for the first piece, so x=1 belongs to the first formula:
f(1)=3(1)−2=1
2. Find the left-hand limit
As x approaches 1 from the left (values slightly less than 1), we use the first piece:
limx→1−f(x)=limx→1−(3x−2)=3(1)−2=1
3. Find the right-hand limit …
- CBSE 2025Set 65/1/11 markMCQQ.Assertion (A) : f(x)={3x−8,2k,x≤5x>5 is continuous at x=5 for k=25. Reason (R) : A function f is continuous at x=a if limx→a−f(x)=limx→a+f(x)=f(a).
›Reveal solutionSolution
For continuity at x=5, the left-hand limit and right-hand limit must equal f(5). Computing these gives 3(5)−8=7 on the left and 2k on the right; setting them equal yields k=27, not 25. So Assertion is false, Reason is true.
The core idea here is the Continuity Condition — a function is continuous at a point if the function value and both one-sided limits agree. This isn't just a formula to plug into; it's a logical check that the graph has no jump, hole, or break at that point.
For piecewise functions, the potential trouble spot is always the boundary where the definition changes. At x=5, the function switches from 3x−8 (for x≤5) to 2k (for x>5). The value f(5) is given by the first piece because of the "≤" sign: f(5)=3(5)−8=7.
Now, continuity demands that as we approach 5 from either side, the outputs must both land on 7.
-
Left-hand limit (x→5−): For x just less than 5, the function is 3x−8. Since this is a polynomial, it's continuous everywhere, so the limit is simply the value at x=5:
limx→5−f(x)=3(5)−8=7.
-
Right-hand limit (x→5+): For x just greater than 5, the function is the constant 2k. The limit of a constant is the constant itself:
limx→5+f(x)=2k.
-
Continuity condition: We need
limx→5−f(x)=limx→5+f(x)=f(5).
That gives 7=2k=7. The equation 2k=7 solves to k=27. …
-
- CBSE 2020Set 65/3/11 markQ.Fill in the blank: The value of λ so that the function f defined by f(x)={λx,cosx,if x≤πif x>π is continuous at x=π is __________.
›Reveal solutionSolution
For a function to be continuous at a point where its definition changes, the function value, the left-hand limit, and the right-hand limit must all be equal at that point. By equating these values at x=π, we find that λ=−π1.
When we talk about a function being continuous at a specific point, say x=a, we are essentially saying that there are no "breaks," "jumps," or "holes" in the graph of the function at that point. Imagine drawing the graph without lifting your pen.
Mathematically, this intuitive idea translates into three precise conditions that must be met for a function f(x) to be continuous at x=a:
- The function must be defined at x=a. That is, f(a) must exist.
- The limit of the function as x approaches a must exist. This means the left-hand limit (LHL) and the right-hand limit (RHL) must be equal: limx→a−f(x)=limx→a+f(x).
- The value of the function at x=a must be equal to the limit of the function as x approaches a. That is, f(a)=limx→af(x).
Combining these, the fundamental condition for continuity at x=a is:
limx→a−f(x)=limx→a+f(x)=f(a)
In this problem, our function f(x) is defined piecewise, and we are interested in its continuity at the "junction" point x=π. For f(x) to be continuous at x=π, all three parts of the continuity condition must hold true.
Let's apply these conditions step-by-step.
-
Identify the point and function definitions:
The point of interest is x=π.
The function is defined as:
f(x)={λx,cosx,if x≤πif x>π
-
Calculate the function value at x=π:
For x=π, we use the first part of the definition, f(x)=λx, because x≤π includes x=π.
f(π)=λ(π)=πλ
-
Calculate the Left-Hand Limit (LHL) at x=π:
The LHL considers values of x approaching π from the left side, meaning x<π. For these values, x≤π, so we use f(x)=λx.
limx→π−f(x)=limx→π−(λx)
Since λx is a polynomial function, the limit can be found by direct substitution.
limx→π−(λx)=λ(π)=πλ
-
Calculate the Right-Hand Limit (RHL) at x=π:
The RHL considers values of x approaching π from the right side, meaning x>π. For these values, we use f(x)=cosx. …
- CBSE 2026Set ANNUAL1 markQ.The value of k for which f(x)=⎩⎨⎧x−1x2−1kx=1x=1 is continuous at x=1 is ..............
›Reveal solutionSolution
For continuity at x=1, k must equal limx→1x−1x2−1.
For x=1: x−1x2−1=x−1(x−1)(x+1)=x+1.
So limx→1f(x)=limx→1(x+1)=2.
…
- CBSE 2026Set ANNUAL1 markMCQQ.If f(x) = {tan 5x / 4x, x ≠ 0; m² - 1, x = 0} is continuous at x = 0 (m > 0) then value of m is:(a) 9/4(b) 5/4(c) 25/16(d) 3/2
›Reveal solutionSolution
Continuity at x=0 requires limx→0f(x)=f(0); the standard limit limx→0xtankx=k gives the left/right value, which is then matched to f(0)=m2−1.
For continuity at x=0:
limx→0f(x)=f(0)
Compute the limit using limθ→0θtanθ=1: …
- CBSE 2026Set ANNUAL1 markQ.Find the value of k, if the function defined by f(x)={kx2,5,if x≤1if x>1 is continuous at x=1.
›Reveal solutionSolution
A piecewise function is continuous at the junction point when the left-hand limit, right-hand limit, and the function value there all agree; equate them to solve for k.
Given f(x)={kx2,5,x≤1x>1
Left-hand limit at x=1:
limx→1−f(x)=limx→1−kx2=k(1)2=k
Right-hand limit at x=1:
limx→1+f(x)=limx→1+5=5
…
- CBSE 2025Set ANNUAL1 markMCQQ.For what value of a is f(x)={(1+3x)x1,a+e3,if x=0if x=0 continuous at x=0?(i) 0(ii) -3(iii) 1(iv) 3
›Reveal solutionSolution
Match f(0) to limx→0f(x)=e3 to get a=0.
For f to be continuous at x=0, we need x→0limf(x)=f(0).
Finding the limit: Using the standard limit x→0lim(1+kx)1/x=ek with k=3:
limx→0(1+3x)1/x=e3
…
- CBSE 2025Set ANNUAL1 markMCQQ.f(x)={2x−52kif x≤3if x>3, is continuous at x=3, then value of k will be -(a) 1(b) 61(c) 6(d) 21
›Reveal solutionSolution
For continuity at x=3, the left-hand value must equal the right-hand limit.
At x=3 (using the first piece, since it applies for x≤3): f(3)=2(3)−5=1.
Right-hand limit as x→3+: limx→3+2k=2k.
…
- CBSE 2025Set ANNUAL1 markMCQQ.If f(x) = { sin 8x / 5x, x ≠ 0 ; m + 1, x = 0 } is continuous at x = 0 then value of m is:(a) 5/8(b) 8/5(c) 3/5(d) 5/3
›Reveal solutionSolution
Continuity at x=0 requires x→0limf(x)=f(0); evaluate the limit using limθ→0θsinθ=1.
limx→05xsin8x=limx→058⋅8xsin8x=58×1=58.
…
- CBSE 2024Set 65/2/11 markMCQQ.The number of points of discontinuity of f(x)=⎩⎨⎧∣x∣+3,−2x,6x+2,if x≤−3if −3<x<3if x≥3 is: (A) 0 (B) 1 (C) 2 (D) infinite
›Reveal solutionSolution
The function is defined piecewise with three linear/absolute-value pieces. The only potential breakpoints are at x=−3 and x=3. Checking one-sided limits shows x=−3 is continuous but x=3 is not, so the number of discontinuities is 1.
The key idea: a piecewise function can only be discontinuous at the boundaries where the definition changes — here at x=−3 and x=3. Everywhere else, each piece is a polynomial (or absolute value, which is continuous), so continuity is automatic. We just need to check whether the left-hand limit, right-hand limit, and function value match at those two points.
Let's examine each boundary carefully.
-
At x=−3
The function is defined by:
- For x≤−3: f(x)=∣x∣+3. Since x is negative here, ∣x∣=−x, so f(x)=−x+3.
- For −3<x<3: f(x)=−2x.
Compute the left-hand limit (as x→−3−):
f(x)=−x+3, so limx→−3−f(x)=−(−3)+3=3+3=6.
Compute the right-hand limit (as x→−3+):
f(x)=−2x, so limx→−3+f(x)=−2(−3)=6.
The function value at x=−3 comes from the first piece: f(−3)=∣−3∣+3=3+3=6.
All three are equal to 6. So f is continuous at x=−3.
-
At x=3
The function is defined by:
- For −3<x<3: f(x)=−2x.
- For x≥3: f(x)=6x+2.
Left-hand limit: limx→3−f(x)=−2(3)=−6.
Right-hand limit: limx→3+f(x)=6(3)+2=18+2=20.
The function value at x=3 comes from the third piece: f(3)=6(3)+2=20. …
-
- CBSE 2024Set 65/3/11 markMCQQ.A function f(x)=∣1−x+∣x∣∣ is: (A) discontinuous at x=1 only (B) discontinuous at x=0 only (C) discontinuous at x=0, 1 (D) continuous everywhere
›Reveal solutionSolution
The function f(x)=∣1−x+∣x∣∣ simplifies to a piecewise constant function that is continuous at all points, including x=0 and x=1. The correct option is (D) continuous everywhere.
The key to this problem is to first remove the absolute value signs by breaking the domain into intervals where the expressions inside them are non-negative or negative. The function involves two absolute values: one around ∣x∣ and an outer absolute value around the whole expression. We handle them from the inside out.
The inner absolute value ∣x∣ changes behaviour at x=0. So we first consider x<0 and x≥0. Then, after simplifying the expression 1−x+∣x∣, we apply the outer absolute value, which may introduce another break point where the inner expression changes sign. Let's find that point.
- Case x<0: Here ∣x∣=−x. Then
1−x+∣x∣=1−x−x=1−2x.
For x<0, 1−2x>1 (since −2x>0), so it is always positive. Hence the outer absolute value does nothing:
f(x)=∣1−2x∣=1−2xfor x<0.
- Case x≥0: Here ∣x∣=x. Then
1−x+∣x∣=1−x+x=1.
So for all x≥0, the inner expression is the constant 1, which is positive. Thus
f(x)=∣1∣=1for x≥0.
Now we have a clean piecewise definition:
f(x)={1−2x,1,x<0,x≥0.
TipThe outer absolute value turned out to be redundant for x≥0 because the inner expression simplified to 1. For x<0, the inner expression 1−2x is always positive, so the outer absolute value also does nothing. So f(x) is actually a simple piecewise linear function with no absolute value complications.
-
Check continuity at x=0:
- Left-hand limit: limx→0−f(x)=limx→0−(1−2x)=1.
- Right-hand limit: limx→0+f(x)=1.
- Function value: f(0)=1. All three match, so f is continuous at x=0.
-
Check continuity at x=1: …
- CBSE 2024Set ANNUAL1 markQ.If f(x)=⎩⎨⎧x21−cosx,λ,x=0x=0 is continuous at x=0, then write the value of λ.
›Reveal solutionSolution
Continuity at x=0 requires λ=limx→0x21−cosx, which evaluates to 21.
For f to be continuous at x=0, we need λ=x→0limx21−cosx.
Using 1−cosx=2sin2(x/2): …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.