Q.Is the function defined by f(x)=x2−sinx+5 continuous 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 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 …
The key idea is continuity at a point: a function f is continuous at x=a if limx→af(x)=f(a).
-
Compute f(π):
f(π)=π2−sinπ+5=π2−0+5=π2+5.
-
Find limx→πf(x). Since x2, sinx, and the constant 5 are all continuous everywhere, their combination is continuous. So the limit equals the function value: …
A function is continuous at a point if its limit exists and equals the function’s value there. For f(x)=x2−sinx+5 at x=π, both the limit and f(π) equal π2+5, so the function is continuous at x=π.
The idea of continuity at a point is simple: as you walk along the graph and approach that point from either side, the function’s output should settle down to exactly the value it has at that point — no jumps, no holes, no wild oscillations. For a function built from familiar pieces like polynomials and trigonometric functions, the usual path is to check three things: the function is defined at the point, the limit exists there, and the two match.
Here, f(x)=x2−sinx+5 is a combination of a polynomial (x2+5) and a sine term (−sinx). Both are continuous everywhere on R, so their sum is also continuous everywhere. That already tells us the answer, but let’s verify it step by step — exam questions often expect you to show the reasoning explicitly.
- Check that f(π) is defined. Plug x=π directly into the formula:
f(π)=π2−sinπ+5.
Since sinπ=0, this simplifies to π2+5. The function is clearly defined — no division by zero or other trouble.
- Find the limit as x→π. Because x2, sinx, and the constant 5 are all continuous at π, we can evaluate the limit by direct substitution:
limx→πf(x)=limx→π(x2−sinx+5)=π2−sinπ+5=π2+5.
No need for left- and right-hand limits separately — the function is well-behaved enough that the two-sided limit exists and equals this value. …
Method: Checking Continuity by Direct Substitution (Algebra of Continuous Functions)
Use this for any function built purely from standard continuous building blocks — polynomials, sinx, cosx, exponentials, etc., combined by addition, subtraction, multiplication — evaluated at a single ordinary point (not a piecewise boundary).
Steps
Step 1: Confirm the function has no piecewise break or undefined operation at the given point
If f is a sum/difference/product of functions that are each individually continuous everywhere (polynomials, sinx, cosx), and there's no division that could vanish, there is no reason to expect a discontinuity.
Step 2: Invoke the algebra-of-continuous-functions theorem …
Common Mistakes
Mistake 1: Assuming a trig function might break continuity just because it evaluates to zero at that point
Why it's wrong: sinπ=0 can look like a "special" or risky value, tempting a student to suspect a hidden discontinuity, but zero is a perfectly ordinary output — sinx has no breaks or restricted domain anywhere on R. Correct approach: recognize that only situations like division by a vanishing denominator threaten continuity; a trig function simply equaling zero is not one of them.
Mistake 2: Re-deriving the limit using left- and right-hand limits separately when it isn't necessary …
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.If f(x)=log(1+π2−4πx+4x2)(1−sinx) is continuous at x=π/2, then f(π/2)= (A) 41 (B) 81 (C) 161 (D) 321
›Reveal solutionSolution
Recognising 1+π2−4πx+4x2 as 1+(2x−π)2 turns this into a small-angle limit; the continuity value is 1/8.
Concept and Intuition
For f to be continuous at x=π/2, f(π/2) must equal limx→π/2f(x). The denominator's quadratic in x is a perfect "sum-of-squares" shift once you notice π2−4πx+4x2=(2x−π)2, turning this into a standard small-t limit using 1−cost≈t2/2 and log(1+u)≈u.
Step-by-Step Solution
- Rewrite the denominator: 1+π2−4πx+4x2=1+(2x−π)2.
- Let t=x−π/2, so x→π/2⟺t→0, and 2x−π=2t.
- Numerator: 1−sinx=1−sin(π/2+t)=1−cost. For small t, 1−cost≈2t2.
- Denominator: log(1+(2t)2)=log(1+4t2)≈4t2 for small t (since log(1+u)≈u). …
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.The function f(x)=⎩⎨⎧5−x2,5−x,x<3x≥3 is (A) left discontinuous at x=3 (B) left continuous at x=3 (C) right discontinuous at x=5 (D) discontinuous at x=5
›Reveal solutionSolution
Checking the one-sided limits at the junction x=3 shows the function jumps from 1 to 2 on approach from the left, i.e. it is left-discontinuous (but right-continuous) at x=3; there is nothing special happening at x=5.
Concept and Intuition
A piecewise function can fail to be continuous from only one side at a junction point if the junction point itself is included in one branch. Here x=3 is the boundary, and it belongs to the 5−x branch (since that branch is defined for x≥3), so we must check whether the other branch's limit (from the left) agrees with the actual function value.
Step-by-Step Solution
- Function value at x=3: since x≥3 uses f(x)=5−x, f(3)=5−3=2.
- Left-hand limit as x→3−: uses f(x)=5−x2, so limx→3−5−x2=5−32=1.
- Since LHL =1=f(3)=2, the function is discontinuous when approached from the left — i.e. left discontinuous at x=3.
- Right-hand limit as x→3+: still 5−x→2=f(3), so it is right-continuous at x=3 — this rules out "left continuous" (option B, false). …
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.Which one of the following function is discontinuous at x=1? (A) f(x)=sin2x+tan2x+cos2x−sec2x (B) f(x)=1+2sinx1 (C) f(x)=⎩⎨⎧∣x−1∣+2(x−1)2x−1,1,x=1x=1 (D) f(x)=ex+5
›Reveal solutionSolution
Options (A), (B), (D) simplify to functions that are continuous everywhere; option (C)'s one-sided limits at x=1 disagree (+1 from the right, −1 from the left), so it alone is discontinuous at x=1.
Concept and Intuition
For piecewise/rational-looking expressions, check whether the identity sin2x+cos2x=1 and sec2x−tan2x=1 collapse them to constants (continuous), whether a denominator can vanish, and — for absolute-value expressions — whether the left and right limits genuinely agree.
Step-by-Step Solution
- (A) f(x)=sin2x+tan2x+cos2x−sec2x=(sin2x+cos2x)−(sec2x−tan2x)=1−1=0 for all x where tan,sec are defined; at x=1 (radian) cos1=0, so it's fine and continuous (≡0 near x=1).
- (B) f(x)=1+2sinx1: since 2sinx>0 always, the denominator never vanishes (≥1+2−1=1.5); continuous everywhere, including x=1.
- (C) For x=1, let t=x−1: f=∣t∣+2t2t.
- As t→0+ (x→1+): ∣t∣=t, so f=t+2t2t=1+2t1→1.
- As t→0− (x→1−): ∣t∣=−t, so f=−t+2t2t=−1+2t1→−1. …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If f(x)=⎩⎨⎧(π−x)22+cosx−1,k,x=πx=π is continuous at x=π, then k= (A) 1 (B) 21 (C) 2 (D) 41
›Reveal solutionSolution
Continuity at x=π requires k to equal the limit of the given expression as x→π; using a small-angle substitution, that limit is 41.
Concept and Intuition
For f to be continuous at x=π, we need k=x→πlim(π−x)22+cosx−1. Substituting x=π−h (so h→0 as x→π) converts the trig limit into a small-h approximation problem, where standard expansions (cosh≈1−h2/2, 1+t≈1+t/2) make the limit easy to evaluate.
Step-by-Step Solution
- Let x=π−h, so as x→π, h→0, and π−x=h.
- cosx=cos(π−h)=−cosh.
- So 2+cosx=2−cosh. Using cosh≈1−2h2 for small h: 2−cosh≈2−1+2h2=1+2h2.
- 2+cosx≈1+2h2≈1+4h2 (using 1+t≈1+t/2 with t=h2/2).
- So 2+cosx−1≈4h2.
- The denominator is (π−x)2=h2. …
- AP EAPCET 2023Set eng-2023-05-15-FN1 markMCQQ.If f:R→R defined by f(x)=⎩⎨⎧xsinx−sin2x,x3/2x2+x−x,x<0x>0 is continuous on R, then f(0)= (A) 1/2 (B) 3/2 (C) 1 (D) −1
›Reveal solutionSolution
This tests continuity of a piecewise function at the junction point using standard small-x approximations; both one-sided limits equal 1/2.
Concept and Intuition
A piecewise function is continuous at a boundary point only if the left-hand limit, right-hand limit, and the defined value at that point all agree. Here f(0) isn't given directly by either branch (both blow up as 0/0), so we must compute the limits from each side and set f(0) equal to their common value.
Step-by-Step Solution
- Left-hand limit (x→0−):
limx→0−xsinx−sin(x/2)
Use the small-angle expansion sint=t−6t3+⋯:
sinx−sin2x=(x−6x3)−(2x−48x3)+⋯=2x+O(x3)
Dividing by x: the limit is 21.
- Right-hand limit (x→0+):
limx→0+x3/2x2+x−x=limx→0+x3/2x(x+1−1)=limx→0+xx+1−1
Using 1+x≈1+2x−8x2+⋯:
xx+1−1≈xx/2=21 …
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.If f(x)=⎩⎨⎧x+1π−cos−1x,λπ1,x=−1x=−1 is right continuous at x=−1, then λ= (A) 1 (B) π (C) 2π (D) 2
›Reveal solutionSolution
Expanding cos−1(−1+h) near h=0+ and simplifying the resulting 0/0 form gives the right-hand limit 1/2π; matching this to f(−1)=1/λπ gives λ=2.
Concept and Intuition
Right continuity at x=−1 requires limx→−1+f(x)=f(−1). As x→−1+, both π−cos−1x→0 and x+1→0, so we need a careful local expansion of cos−1x near x=−1.
Step-by-Step Solution
- Let x=−1+h, h→0+. Write cos−1(−1+h)=π−θ where θ→0+. Then cos(π−θ)=−cosθ=−1+h⇒cosθ=1−h.
- For small θ: cosθ≈1−θ2/2, so 1−θ2/2≈1−h⇒θ≈2h.
- So cos−1x≈π−2h, and cos−1x≈π1−2h/π≈π(1−2π2h)=π−2π2h.
- So π−cos−1x≈2π2h. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.If f(x) defined by f(x)=⎩⎨⎧4x−π1−tanx,k,x=4π,x∈[0,2π]x=4π is continuous in [0,2π], then k= (A) −1 (B) −21 (C) 21 (D) 1
›Reveal solutionSolution
Substituting x=π/4+h and using the tangent subtraction identity, the limit of
4x−π1−tanx as x→π/4 works out to −21, which is the required
value of k.
Concept and Intuition
For continuity at x=π/4, we need k=limx→π/4f(x). Since the expression is 0/0
at x=π/4, shifting variables via x=π/4+h (so h→0) turns tanx into
tan(π/4+h), which has a clean expansion using the tangent-addition formula.
Step-by-Step Solution
- Let x=4π+h, so h→0 as x→π/4.
- tan(4π+h)=1−tanh1+tanh.
- 1−tanx=1−1−tanh1+tanh=1−tanh(1−tanh)−(1+tanh)=1−tanh−2tanh
- 4x−π=4(4π+h)−π=4h.
- So
f(x)=4h(1−tanh)−2tanh
- As h→0, tanh∼h, so …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.If f(x)=x2cos4x−1, x=0 and f(0)=2 is a real valued function, then (A) x→0limf(x) does not exist (B) x→0limf(x)=1 (C) f is not continuous at x = 0 (D) f is continuous at x = 0
›Reveal solutionSolution
This tests factoring cos4x−1 and using the standard limit xsinx→1; the limit exists and equals −2, but f(0)=2, so f fails continuity at 0.
Concept and Intuition
cos4x−1 factors as a difference of squares twice: cos4x−1=(cos2x−1)(cos2x+1)=−sin2x(cos2x+1). This lets us isolate the familiar (xsinx)2→1 building block.
Step-by-Step Solution
- cos4x−1=(cos2x−1)(cos2x+1)=−sin2x(cos2x+1).
- f(x)=x2−sin2x(cos2x+1)=−(xsinx)2(cos2x+1).
- As x→0: (xsinx)2→1 and cos2x+1→2.
- So x→0limf(x)=−1×2=−2 — this limit exists (rules out (A)) and is not 1 (rules out (B)). …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.If f(x)=⎩⎨⎧(2+5x22+3x2)x28+3,k,for x=0for x=0 is a continuous function at x=0, then k= (A) e−2 (B) e−4 (C) e−8 (D) e−16
›Reveal solutionSolution
This tests the standard 1∞ exponential limit technique. Taking logs and expanding to first order in x2 gives k=e−8.
Concept and Intuition
Expressions of the form (base →1)power→∞ are evaluated by writing L=elim(power)⋅log(base) and expanding log(1+u)≈u for the small quantity u= base−1. The constant added to the exponent (here +3) never survives, since it multiplies a term that itself →0.
Step-by-Step Solution
- For continuity at x=0: k=limx→0(2+5x22+3x2)8/x2+3.
- Let L denote this limit. Then logL=limx→0(x28+3)log(2+5x22+3x2).
- Write the base as 1+u where u=2+5x22+3x2−1=2+5x2−2x2≈−x2 for small x (to leading order).
- log(1+u)≈u≈−x2 for small x. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.If a real valued function f(x)=⎩⎨⎧(1+sinx)cosecx,a,ae2/x+be3/xe2/x+e3/x,−π/2<x<0x=00<x<π/2 is continuous at x = 0, then ab= (A) e (B) e2 (C) 1 (D) −1
›Reveal solutionSolution
The left-hand limit is the classical 1∞ form giving e, fixing a=e;
the right-hand limit needs dividing by the dominant exponential to fix b.
Continuity forces both, and ab=1.
Concept and Intuition
A piecewise function is continuous at a point only if the left-hand limit,
right-hand limit, and the function's value there all agree. Here the left
piece is a 1∞ indeterminate form (standard trick: exponentiate and use
log(1+u)∼u), and the right piece is a ratio of two exponentials growing at
different rates as x→0+ (since 1/x→+∞), so the faster-growing
exponential e3/x dominates and everything else becomes negligible after
dividing through by it.
Step-by-Step Solution
- Left limit: L=limx→0−(1+sinx)cosecx. Take logs: logL=limcosecx⋅log(1+sinx)=limsinxsinx(1+O(sinx))→1. So L=e. Continuity requires f(0)=a=L=e.
- Right limit: R=limx→0+ae2/x+be3/xe2/x+e3/x. Divide numerator and denominator by e3/x: R=limx→0+ae−1/x+be−1/x+1. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.If f(x)=⎩⎨⎧sin2x(eax−1)log(1+x),2,tan2xcos4x−cosbx,if x>0if x=0if x<0 is continuous at x=0 then b2−a2= (A) 4 (B) 5 (C) 3 (D) 7
›Reveal solutionSolution
Continuity at x=0 forces both one-sided limits to equal f(0)=2; solving gives a=2, b2=20, so b2−a2=4.
Concept and Intuition
For f to be continuous at 0, we need x→0+limf(x)=x→0−limf(x)=f(0)=2. Each one-sided piece is a 0/0 form that resolves using the standard small-angle equivalences et−1∼t, log(1+t)∼t, sint∼t, tant∼t, and cost≈1−2t2.
Step-by-Step Solution
- Right-hand limit (x→0+): using eax−1∼ax, log(1+x)∼x, sin2x∼x2,
limx→0+sin2x(eax−1)log(1+x)=limx→0+x2(ax)(x)=a.
Setting this equal to f(0)=2: a=2.
2. Left-hand limit (x→0−): expand cos4x≈1−2(4x)2=1−8x2 and cos(bx)≈1−2b2x2, and tan2x∼x2:
cos4x−cos(bx)≈(1−8x2)−(1−2b2x2)=x2(2b2−8). …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.If a real valued function f(x)=⎩⎨⎧x+3x2+(a+3)x+(a+1),−25,x=−3x=−3 is continuous at x=−3, then x→alim(x2+x+1)= (A) 47 (B) 25 (C) 74 (D) 52
›Reveal solutionSolution
This tests continuity of a rational function with a removable-type discontinuity: matching the limit to the given value pins down the parameter a, then the asked limit is a trivial polynomial evaluation. Answer: 47.
Concept and Intuition
A piecewise function is continuous at a point if the limit of the "elsewhere" formula, as x approaches that point, equals the value assigned at that point. Here the formula is a rational function whose denominator vanishes at x=−3; for the limit to exist (and be finite, matching −25), the numerator must also vanish there, so that (x+3) cancels — this is the standard "00 removable singularity" idea.
Step-by-Step Solution
- Continuity at x=−3 requires x→−3limx+3x2+(a+3)x+(a+1)=−25.
- Since the denominator →0, the numerator must vanish at x=−3 (else the limit is ±∞, not finite):
(−3)2+(a+3)(−3)+(a+1)=9−3a−9+a+1=1−2a=0⟹a=21.
- Check: with a=21, numerator =x2+27x+23. Factor out (x+3): x2+27x+23=(x+3)(x+21) (verify: (x+3)(x+21)=x2+21x+3x+23=x2+27x+23 ✓).
- So x→−3limx+3(x+3)(x+21)=−3+21=−25, matching the given value — confirming a=21. …
🎓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.