Q.Find the values of a and b such that the function f defined by f(x)=⎩⎨⎧∣x−4∣x−4+a,a+b,∣x−4∣x−4+b,x<4x=4x>4 is a continuous function at x=4.
🔒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 At A Point
Continuity at a Point
Imagine drawing the graph of a function and putting your pen down at x=a. If the function is continuous there, you can draw straight through that point without lifting your pen — no jump, no hole, no break. That is the intuition; here is the precision.
The Three-Condition Test
For f(x) to be continuous at x=a, all three must hold. If even one fails, f is discontinuous there.
Continuity at x=a requires:
- f(a) is defined,
- x→alimf(x) exists (left- and right-hand limits are equal),
- x→alimf(x)=f(a).
Condition 1 says a is in the domain — the pen must have somewhere to land. Condition 2 says the curve approaches a single value from both sides — no jump. Condition 3 says that common approach value actually matches the function's value at a — no misplaced point.
Why All Three Are Needed
f(x)=x−1x2−1 has limx→1f(x)=2, yet f(1) is undefined (zero denominator). Condition 1 fails, leaving a hole at (1,2).
A piecewise function shows the opposite can be fine:
f(x)=⎩⎨⎧x+13x+1x<2x=2x>2
Here f(2)=3, both one-sided limits equal 3, and they match f(2) — so all three hold and f is continuous at x=2.
Common Pitfalls
"Limit exists" does not mean "continuous." The hole example has a limit but no continuity — the limit must equal the function value.
"Defined everywhere" does not mean "continuous." A piecewise function can have a value at every point and still jump. Always check the one-sided limits.
A Quick Check …
Concept: Continuity at a point — set LHL = RHL =f(4).
The expression ∣x−4∣x−4 is the sign of (x−4): it equals −1 for x<4 and +1 for x>4.
Left-hand limit (x<4): ∣x−4∣x−4=−1, so limx→4−f(x)=−1+a=a−1.
Right-hand limit (x>4): ∣x−4∣x−4=1, so limx→4+f(x)=1+b=b+1. …
Using ∣x−4∣x−4=−1 for x<4 and +1 for x>4, the continuity conditions a−1=a+b=b+1 give a=1 and b=−1.
The idea
f is continuous at x=4 exactly when the left-hand limit, the right-hand limit, and f(4) are all equal. The only awkward piece is ∣x−4∣x−4, which is just the sign of x−4.
Step-by-step
1. Left-hand limit. For x<4, ∣x−4∣=−(x−4), so
∣x−4∣x−4=−(x−4)x−4=−1,limx→4−f(x)=a−1.
2. Right-hand limit. For x>4, ∣x−4∣=x−4, so
∣x−4∣x−4=1,limx→4+f(x)=b+1.
3. Value at the point. f(4)=a+b.
4. Impose continuity. All three must agree: …
Method: Solving for Two Unknowns Using a Sign-Function Piece
This method applies to piecewise functions built from an expression like ∣x−a∣x−a — which is really just the algebraic sign of (x−a) — combined with two unknown constants, where continuity at a must pin down both constants.
Steps
Step 1: Reduce the sign-pattern expression to ±1
Recognise that ∣x−a∣x−a equals −1 for every x<a and +1 for every x>a, regardless of exactly how close x is to a. This turns each branch into a simple constant plus the unknown.
Step 2: Write the three continuity quantities in terms of the unknowns
limx→a−f(x),limx→a+f(x),f(a) …
Common Mistakes
Mistake 1: Getting the sign of ∣x−a∣x−a backwards on one side
Why it's wrong: it's easy to mix up which side gives −1 and which gives +1, especially when the point isn't 0 — this flips the sign of one continuity equation and produces the wrong values for both constants. Correct approach: explicitly substitute x<a and x>a into ∣x−a∣ separately and simplify before assigning ±1.
Mistake 2: Treating "all three quantities equal" as only one equation …
- KEAM 2026Set eng-2026-04224 marksMCQQ.Let f(x)={ax+3a4xx<1x≥1. If limx→1f(x) exists, then the possible values of a are (A) −1,−4 (B) 1,−4 (C) 4,−4 (D) 4,−1 (E) 1,4
›Reveal solutionSolution
Match the left- and right-hand values at x=1.
Left limit (x<1): a(1)+3=a+3. Right limit (x≥1): a4(1)=a4. …
- KEAM 2025Set eng-2025-04234 marksMCQQ.Let f(x)=⎩⎨⎧xtanαx+(β+1)tanx,5,for x=0for x=0 be continuous at x=0. Then the value of α+β is equal to (A) 2 (B) 3 (C) 4 (D) 5 (E) 6
›Reveal solutionSolution
α+β=4.
Concept and Intuition
Continuity at 0 means the limit of f equals f(0)=5. Use tan(kx)/x→k.
Step-by-Step Solution
- limx→0xtan(αx)+(β+1)tanx=α+(β+1).
- Set equal to 5: α+β+1=5.
- α+β=4.
Common Mistakes …
- KEAM 2025Set eng-2025-04284 marksMCQQ.The set of all points where the function f(x)=x2−4x, x∈R, is discontinuous, is (A) {0,2} (B) {0,4} (C) {0,−2,2} (D) {2,4} (E) {−2,2}
›Reveal solutionSolution
A rational function is discontinuous only where its denominator vanishes: x2−4=0⇒x=±2.
The function
f(x)=x2−4x
is a ratio of polynomials, hence continuous everywhere its denominator is non-zero.
The denominator vanishes when
x2−4=0⇒x=2 or x=−2. …
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.Let f(x)=⎩⎨⎧x+2,4x−1,x2+5,for x<1for 1≤x≤3for x>3. Then (A) f(x) is not continuous at x=−1 (B) f(x) is continuous at x=1 (C) f(x) is continuous at x=3 (D) f(x) is not continuous at x=5 (E) f(x) is not continuous at x=2
›Reveal solutionSolution
f is continuous at x=1.
Concept and Intuition
Check continuity only at the junction points x=1 and x=3; each piece is polynomial (continuous) elsewhere, so the interior points named in wrong options are trivially continuous.
Step-by-Step Solution
- At x=1: left piece x+2→3, right piece 4x−1=3, value =3. Matched ⇒ continuous.
- At x=3: piece 4x−1=11, right piece x2+5=14. Mismatch ⇒ discontinuous (so (C) is false). …
- KEAM 2023Set eng-2023-P2-B24 marksMCQQ.Let f:R→R be defined by f(x)=⎩⎨⎧3exx2+3x+3x2−3x−3if x<0if 0≤x<1if x≥1 (A) f is continuous on R (B) f is not continuous on R (C) f is continuous on R∖{0} (D) f is continuous on R∖{1} (E) f is not continuous on R∖{0,1}
›Reveal solutionSolution
f is continuous at x = 0 (both sides give 3) but jumps at x = 1 (left 7, right -5), so f is continuous everywhere except x = 1, i.e. on R \ {1}.
Concept and Intuition
Check the two join points of the piecewise definition; continuity holds where the one-sided limits and the value agree.
Step-by-Step Solution
- At x = 0: left limit 3e^0 = 3; right value 0 + 0 + 3 = 3. Equal, so continuous at 0.
- At x = 1: left limit 1 + 3 + 3 = 7; right value 1 - 3 - 3 = -5. Not equal, so discontinuous at 1. …
- KEAM 2026Set eng-2026-04174 marksMCQQ.Let f(x)=⎩⎨⎧αx21−sec2(αx),−3,for x=0for x=0 be continuous at x=0. Then the value of α is equal to (A) −3 (B) 3 (C) 1 (D) −1 (E) 9
›Reveal solutionSolution
Continuity requires limx→0f(x)=f(0)=−3.
1−sec2(αx)=−tan2(αx). As x→0, tan(αx)≈αx, so …
- KEAM 2026Set eng-2026-04204 marksMCQQ.Consider the function f(x)=xe−x2. Which one of the following is not true? (A) f(x) is continuous at x=1 (B) f(x) is continuous at x=−1 (C) f(x) is continuous at x=2 (D) f(x) is continuous at x=−2 (E) f(x) is continuous at x=0
›Reveal solutionSolution
The function is continuous everywhere it is defined; it fails only at x=0, so the false claim is (E).
f(x)=xe−2/x is a product/composition of continuous functions for all x=0, so it is continuous at x=1,−1,2,−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.