Q.Find the values of k so that the function f is continuous at the indicated point, where f is defined by f(x)={kx+1,cosx,if x≤πif x>π at x=π
🔒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 f to be continuous at x=π, the left-hand limit, right-hand limit, and f(π) must all be equal.
Step 1: Compute f(π) and the left-hand limit. For x≤π, f(x)=kx+1, so
f(π)=kπ+1 and limx→π−f(x)=kπ+1.
Step 2: Compute the right-hand limit. For x>π, f(x)=cosx, so
limx→π+f(x)=cosπ=−1.
Step 3: Set the two equal for continuity: …
For a piecewise function to be continuous at the junction point, the left-hand limit, right-hand limit, and the function's value there must all be equal. At x=π, this forces kπ+1=cosπ=−1, giving k=−π2.
We are checking continuity at the point where the definition of f changes — x=π. The function is given by two different expressions on either side of this point. For continuity, the function must not "jump" when we cross x=π; the value coming from the left must match the value coming from the right, and both must match what the function actually gives at x=π.
The left-hand piece (x≤π) gives f(x)=kx+1, so at x=π itself, the function is defined as f(π)=kπ+1. The right-hand piece (x>π) gives f(x)=cosx, which does not include x=π — but it tells us what values the function takes as we approach π from the right.
Let’s work through the three conditions for continuity at x=π.
- Find f(π) directly. Since π satisfies x≤π, we use the first piece:
f(π)=kπ+1.
- Compute the left-hand limit as x→π−. For x just less than π, the function is still kx+1. Since kx+1 is a polynomial (continuous everywhere), the limit as x approaches π from the left is simply the value at π:
limx→π−f(x)=limx→π−(kx+1)=kπ+1.
- Compute the right-hand limit as x→π+. For x just greater than π, the function is cosx. The cosine function is continuous everywhere, so the limit as x approaches π from the right is:
limx→π+f(x)=limx→π+cosx=cosπ=−1.
- Set the three equal for continuity. For f to be continuous at x=π, we need: limx→π−f(x)=f(π)=limx→π+f(x). …
Method: Finding an Unknown Constant from the Continuity Condition
This method applies whenever a piecewise function must be continuous at the single point where its rule switches, and one piece contains an unknown constant.
Steps
Step 1: Identify which piece defines the function value at the junction
Look at the inequality signs in the piecewise definition. Whichever piece's inequality includes the junction point itself (a ≤ or ≥, not a strict < or >) is the one that gives f(a) directly.
Step 2: Write the left-hand limit using the piece valid just before the junction
Substitute the junction value into that piece's expression. If the piece is a polynomial or a standard continuous function (like a trigonometric function), the limit as x approaches the junction equals the piece evaluated exactly at the junction.
limx→a−f(x)=(left piece evaluated at a)
Step 3: Write the right-hand limit using the piece valid just after the junction …
Common Mistakes
Mistake 1: Using the wrong piece to evaluate f(π) itself
Why it's wrong: since the condition is x≤π, the point x=π belongs to the first piece (kx+1), not the second. A student who plugs π into cosx to get f(π) is evaluating a formula that isn't even defined at that point. Correct approach: always check which inequality includes the equals sign before deciding which expression gives the function's actual value at the junction.
Mistake 2: Sign error on cosπ …
Showing the 12 most recent of 18 on this concept.
- AP EAPCET 2021Set eng-2021-08-19-FN1 markMCQQ.If the function f(x), defined below is continuous in the interval [0,π], then ____ f(x)=⎩⎨⎧x+a2(sinx),2x(cotx)+b,a(cos2x)−b(sinx),0≤x<4π4π≤x≤2π2π<x≤π (A) a=6π,b=12π (B) a=6−π,b=12π (C) a=6−π,b=12−π (D) a=6π,b=12−π
›Reveal solutionSolution
Matching the piecewise function's values at the two junction points x=π/4 and x=π/2 gives two linear equations in a,b, solved by a=π/6, b=−π/12.
Concept and Intuition
A piecewise function is continuous on an interval exactly when each piece agrees with its neighbor at every junction point. With two junctions here (π/4 and π/2), we get two equations in the two unknowns a,b — a standard "match the boundary values" problem.
Step-by-Step Solution
- At x=π/4: left piece =4π+a2sin4π=4π+a2⋅22=4π+a.
- Middle piece at π/4: 2(4π)cot4π+b=2π(1)+b=2π+b.
- Equate: 4π+a=2π+b⇒a−b=4π. — (i)
- At x=π/2: middle piece =2(2π)cot2π+b=π(0)+b=b.
- Right piece at π/2: acosπ−bsin2π=a(−1)−b(1)=−a−b. …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.If f(x)=⎩⎨⎧3cos2x1−sin3x,α,(π−2x)2β(1−sinx),x<π/2x=π/2x>π/2 is continuous at x=π/2, then αβ= (A) 1 (B) −1 (C) 2 (D) −2
›Reveal solutionSolution
Continuity at x=π/2 forces the left-hand limit, the function value α, and the right-hand limit (in terms of β) to all coincide; algebraic factoring and a small substitution give α=1/2, β=4.
Concept and Intuition
A piecewise function is continuous at a point only if the left-hand limit, the right-hand limit, and the defined value there are all equal. Here we must find both one-sided limits as x→π/2 and set them equal to α (the middle value), which also pins down β.
Step-by-Step Solution
- Left-hand limit (x→π/2−): x→π/2lim3cos2x1−sin3x. Factor: 1−sin3x=(1−sinx)(1+sinx+sin2x) and cos2x=1−sin2x=(1−sinx)(1+sinx).
3(1−sinx)(1+sinx)(1−sinx)(1+sinx+sin2x)=3(1+sinx)1+sinx+sin2x.
At x=π/2, sinx=1: value =3(2)1+1+1=63=21. So α=21.
2. Right-hand limit (x→π/2+): put x=π/2+t, t→0+. Then π−2x=−2t, so (π−2x)2=4t2.
Also sinx=sin(π/2+t)=cost≈1−2t2, so 1−sinx≈2t2. …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.If a function f(x)=⎩⎨⎧∣x∣x−K,∣x∣x+L,5,x>0x<0x=0 is continuous for all real values of x, then L−KL+K= (A) 5 (B) 3 (C) 51 (D) 31
›Reveal solutionSolution
Since x/∣x∣ is just ±1, each piece is actually constant; matching both one-sided limits to f(0)=5 pins down K,L, giving L−KL+K=51.
Concept and Intuition
∣x∣x=1 for x>0 and =−1 for x<0, so despite looking like it depends on x, each branch of f is actually a constant function on its domain. Continuity at x=0 then just requires that constant to equal f(0)=5 from each side.
Step-by-Step Solution
- For x>0: f(x)=∣x∣x−K=1−K (constant).
- limx→0+f(x)=1−K. Continuity requires this =f(0)=5: 1−K=5⇒K=−4.
- For x<0: f(x)=∣x∣x+L=−1+L (constant).
- limx→0−f(x)=L−1. Continuity requires L−1=5⇒L=6. …
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.If f(x)={3ax−2b,ax+b+1,x>1x<1 and x→1limf(x) exists, then the relation between a and b is (A) 3a−2b=1 (B) 2a−3b=1 (C) 2a+3b=1 (D) 2a+3b=−1
›Reveal solutionSolution
Existence of the limit at a piecewise junction forces the two one-sided limits to match, giving 2a−3b=1.
Concept and Intuition
For a piecewise function, limx→cf(x) exists only when the value approached from the left equals the value approached from the right — the two pieces must "meet" at that point (the function value at x=1 itself doesn't matter here since neither branch is defined at x=1, only lim).
Step-by-Step Solution
- Left-hand limit as x→1−: uses the branch ax+b+1 (valid for x<1), giving a(1)+b+1=a+b+1. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.The value of 'k' (k>0), for which the function f(x)=sin(k2x2)log(1+2x2)(ex−1)4, where x=0 and f(0)=8 is continuous, is ______. (A) 1 (B) 4 (C) 2 (D) 3
›Reveal solutionSolution
Replace each factor by its leading small-x equivalent and match the resulting constant to f(0). Answer: k=2.
Concept and Intuition
Near x=0, standard small-angle/small-argument equivalents apply: ex−1∼x, sinθ∼θ, log(1+θ)∼θ. Substituting these turns the limit into a simple ratio of leading powers of x, all of which cancel, leaving a constant in k.
Step-by-Step Solution
- (ex−1)4∼x4 as x→0.
- sin(k2x2)∼k2x2.
- log(1+2x2)∼2x2.
- So f(x)→(k2x2)(2x2)x4=2k2x4x4=2k2. …
- AP EAPCET 2021Set eng-2021-08-20-FN1 markMCQQ.If f(x), defined below, is continuous at x=4, then _______
[!FORMULA] f(x)=⎩⎨⎧∣x−4∣x−4+a,a+b,∣x−4∣x−4+b,x<4x=4x>4
(A) a=0 & b=0 (B) a=1 & b=1 (C) a=−1 & b=1 (D) a=1 & b=−1›Reveal solutionSolution
This tests evaluating the sign function ∣x−4∣x−4 on either side of x=4 and matching one-sided limits to the function's value there. Answer: a=1, b=−1.
Concept and Intuition
The expression ∣x−4∣x−4 is −1 for x<4 and +1 for x>4 — a signum function centered at 4. Continuity at x=4 needs all three (left limit, value, right limit) to agree.
Step-by-Step Solution
- For x<4: ∣x−4∣=4−x, so ∣x−4∣x−4=−(x−4)x−4=−1. Left-hand limit =−1+a.
- At x=4: f(4)=a+b.
- For x>4: ∣x−4∣=x−4, so the ratio is +1. Right-hand limit =1+b.
- Continuity: −1+a=a+b=1+b. …
- AP EAPCET 2021Set eng-2021-08-23-FN1 markMCQQ.If f(x), defined as given below, is continuous on R, then the value of a+b= ______
[!FORMULA] f(x)=⎩⎨⎧sinx,x2+a,bx+3,−3,x≤00<x<11≤x≤3x>3
(A) 0 (B) 2 (C) −2 (D) 3›Reveal solutionSolution
Tests matching piecewise function values at each junction point to enforce continuity, giving two equations for the two unknowns.
Concept and Intuition
A piecewise function is continuous at a junction point exactly when the left-hand and right-hand pieces agree in value there (since each individual piece is already continuous/smooth on its own interval). Checking each junction in turn gives one equation per unknown constant.
Step-by-Step Solution
- At x=0: left piece (x≤0) gives sin(0)=0. Right-approaching piece (0<x<1) gives limx→0+(x2+a)=a. Continuity requires 0=a⇒a=0.
- At x=1: left-approaching piece (0<x<1) gives limx→1−(x2+a)=1+a=1+0=1. The piece at x=1 itself (1≤x≤3) gives b(1)+3=b+3. Continuity requires 1=b+3⇒b=−2. …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.If x→a+limf(x)=p, x→a−limf(x)=m and f(a)=k, then which one of the following is true? (A) When p−k=0 and m−k=0, then f(x) is continuous at x=a (B) When p−k=0 and m−k=0, then f(x) is left continuous at x=a (C) When p−k=0 and m−k=0, then f(x) is right continuous at x=a (D) When p−m=0 and p−k=0, then f(x) is right continuous at x=a
›Reveal solutionSolution
Only option (D) correctly matches its stated hypothesis to its continuity conclusion; (B) and (C) swap "left" and "right", and (A) is simply false.
Concept and Intuition
Right continuity at a is precisely limx→a+f(x)=f(a) (i.e. p=k); left continuity is limx→a−f(x)=f(a) (i.e. m=k). Full continuity needs both plus p=m. Careful bookkeeping of which equality corresponds to which side is the whole content of this question.
Step-by-Step Solution
- (A): p−k=0 means the right-hand limit differs from f(a), so f is NOT right continuous — hence certainly not continuous. (A) is false.
- (B): p−k=0⇒p=k, which is exactly the definition of right continuity, not left. Since (B) claims "left continuous", it is false (regardless of m).
- (C): m−k=0⇒m=k, which is exactly left continuity, not right. (C) claims "right continuous", so it is false. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.If the function f(x)=⎩⎨⎧1+cosx,a−x,x2−b2,x≤00<x≤2x>2 is continuous everywhere, then a2+b2= (A) 4 (B) 8 (C) 6 (D) 12
›Reveal solutionSolution
Match the piecewise definitions at the two junction points x=0 and x=2 to pin down a and b. Answer: a2+b2=8.
Concept and Intuition
A piecewise function is continuous everywhere exactly when it is continuous at each junction between pieces — the left-hand value (from the left-side piece) must equal the right-hand value (from the right-side piece) at each breakpoint. Here there are two breakpoints, x=0 and x=2, giving one equation each for the unknowns a and b.
Step-by-Step Solution
- At x=0: the left piece (x≤0) gives f(0−)=1+cos(0)=1+1=2. The middle piece (0<x≤2), evaluated as x→0+, gives f(0+)=a−0=a.
- Continuity at 0: a=2.
- At x=2: the middle piece gives f(2)=a−2=2−2=0. The right piece (x>2), as x→2+, gives f(2+)=22−b2=4−b2. …
- AP EAPCET 2023Set eng-2023-05-15-FN1 markMCQQ.If f(x)={1+6x−3x2,x+log2(b2+7),x≤1x>1 is continuous at all real x, then b = (A) ±1 (B) 0 (C) ±5 (D) ±2
›Reveal solutionSolution
Both pieces are continuous on their own; matching them at the junction x=1 gives log2(b2+7)=3, so b=±1.
Concept and Intuition
A piecewise function built from continuous pieces (a polynomial and a log-plus-linear expression) is automatically continuous everywhere except possibly at the boundary point where the definition switches — here x=1. So the entire "continuous for all real x" condition reduces to one equation: the value approaching from the left must equal the value approaching from the right (and both must equal f(1), which is given by the x≤1 branch).
Step-by-Step Solution
- For x≤1: f(x)=1+6x−3x2, continuous everywhere (polynomial). f(1)=1+6−3=4.
- For x>1: f(x)=x+log2(b2+7), continuous on its domain (as long as b2+7>0, always true). …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.If a function f(x) defined by f(x)=⎩⎨⎧ax2+bx+c,2x2+4x+1,cx2+bx+a,x≤−1−1<x<1x≥1 is continuous on R, and x→23limf(x)=14, then x→−2limf(x)= (A) 6 (B) −8 (C) 5 (D) 1
›Reveal solutionSolution
Using continuity at the two junction points plus the given limit at x=3/2 pins down all three constants a,b,c; the requested limit then evaluates to −8.
Concept and Intuition
A piecewise function is continuous on R exactly when its pieces agree at every junction point. Each junction gives one linear equation in the unknown coefficients. Combined with the extra numerical condition given (limx→3/2f(x)=14), we get enough equations to solve for a,b,c uniquely.
Step-by-Step Solution
- Continuity at x=−1: a(−1)2+b(−1)+c=2(−1)2+4(−1)+1⇒a−b+c=−1.
- Continuity at x=1: 2(1)2+4(1)+1=c(1)2+b(1)+a⇒a+b+c=7.
- Subtracting: 2b=8⇒b=4; adding relations gives a+c=3.
- Since x=3/2≥1, f(3/2)=c(3/2)2+b(3/2)+a=49c+6+a=14⇒49c+a=8. …
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If the function f(x)=⎩⎨⎧(h(x)+7)2/32h(x)−g(x),47,x=0x=0 is continuous at x=0 and x→0limh(x)=1, then x→0limg(x)= (A) 4 (B) 3 (C) −5 (D) 7
›Reveal solutionSolution
Continuity at x=0 forces the limit of f to equal f(0)=7/4; substituting limh(x)=1 and solving for limg(x) gives −5.
Concept and Intuition
A piecewise function is continuous at a point exactly when the limit of the "elsewhere" formula, as x approaches that point, equals the explicitly-defined value there. Here we're given f(0)=7/4 directly, and told f is continuous at 0 — so we can set the limit of the formula equal to 7/4 and solve for the unknown limit of g.
Step-by-Step Solution
- Continuity at x=0 means x→0lim(h(x)+7)2/32h(x)−g(x)=f(0)=47.
- Let L=x→0limg(x). Using limx→0h(x)=1 (and assuming the limit laws apply, i.e. the denominator's limit is nonzero): limx→0(h(x)+7)2/32h(x)−g(x)=(1+7)2/32(1)−L=82/32−L. …
🎓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.