Q.Show that the function f(x)=∣sinx+cosx∣ is 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 …
Concept: Continuity At A Point — A function f is continuous at x=a if limx→af(x)=f(a).
-
Evaluate f(π):
f(π)=∣sinπ+cosπ∣=∣0+(−1)∣=1.
-
Find the left-hand and right-hand limits. Since ∣⋅∣ and sinx+cosx are continuous everywhere, the composition is continuous at π — but we verify directly:
limx→π(sinx+cosx)=sinπ+cosπ=−1, so
limx→π∣sinx+cosx∣=∣−1∣=1. …
The key idea is to check the three conditions for continuity at a point: f(π) is defined, limx→πf(x) exists, and they are equal. Using the identity sinx+cosx=2sin(x+π/4), we find f(π)=1 and the limit is also 1, so f is continuous at x=π.
Why This Approach Works
Continuity at a point is a local property — it tells us whether the function behaves nicely near that specific x-value. For f(x)=∣sinx+cosx∣ at x=π, the absolute value makes the function non-negative, but it doesn't introduce any jumps or breaks by itself. The real question is whether the expression inside the absolute value changes sign abruptly at π, which could cause a corner or a gap.
The standard test for continuity at x=a is:
- f(a) must be defined.
- limx→af(x) must exist (both one-sided limits equal).
- The limit must equal f(a).
We'll apply this step by step.
Step-by-Step Solution
1. Evaluate f(π) directly.
Plug x=π into the function:
f(π)=∣sinπ+cosπ∣=∣0+(−1)∣=∣−1∣=1.
So f(π)=1 — condition (1) is satisfied.
2. Simplify the expression inside the absolute value.
A neat trick: sinx+cosx can be written as a single sine wave. Multiply and divide by 2:
sinx+cosx=2(21sinx+21cosx)=2sin(x+4π).
This identity holds because sin(A+B)=sinAcosB+cosAsinB, and here cos(π/4)=sin(π/4)=1/2.
sinx+cosx=2sin(x+4π)
So our function becomes:
f(x)=2sin(x+4π)=2sin(x+4π).
3. Find the limit as x→π.
We need limx→πf(x). Since f(x)=2∣sin(x+π/4)∣, and the absolute value function is continuous everywhere, we can focus on the inner sine function.
At x=π, the argument of sine is:
x+4π=π+4π=45π.
Now, sin(5π/4)=−22. So:
f(π)=2−22=2⋅22=22=1.
But we need the limit, not just the value. Since sin is continuous everywhere, sin(x+π/4) is continuous, and the absolute value of a continuous function is also continuous. Therefore:
limx→πf(x)=f(π)=1. …
Method: Proving Continuity of an Absolute-Value-of-a-Trig-Expression at a Point
This method applies to functions of the form f(x)=∣g(x)∣, where g is built from standard continuous pieces (sine, cosine, sums), and you must confirm continuity at a specific point.
Steps
Step 1: Evaluate the function directly at the given point
Substitute the point into the original expression, applying the absolute value last, to get f(a).
Step 2: Use the composition-of-continuous-functions idea
Since sinx, cosx, their sum, and the absolute value function are all continuous everywhere, ∣g(x)∣ is continuous wherever g(x) itself is — which, for a combination of sine and cosine, is every real number. This alone certifies continuity without further limit computation.
Step 3: Verify explicitly by computing the two one-sided limits
Even though Step 2 already guarantees the result, an exam answer should still confirm it directly:
limx→a−f(x)=limx→a+f(x)=f(a) …
Common Mistakes
Mistake 1: Assuming the absolute value automatically threatens continuity
Why it's wrong: some students treat ∣g(x)∣ as inherently risky and hunt for a "break" near the point, even when g(x) never touches zero there — but the absolute value of any continuous function is itself continuous everywhere, so there is nothing extra to prove beyond confirming g is continuous. Correct approach: recall that ∣⋅∣ is a continuous function, so a composition with a continuous g is continuous by the composition rule — no special-casing is needed unless g(a)=0.
Mistake 2: Sign or evaluation errors substituting standard angle values …
Showing the 12 most recent of 32 on this concept.
- 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 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 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 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 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 2024Set eng-2024-05-20-AN1 markMCQQ.The values of a and b for which the function f(x)=⎩⎨⎧1+∣sinx∣a/∣sinx∣,b,etan2x/tan3x,6−π<x<0x=00<x<6π is continuous at x=0 are (A) a=1,b=32 (B) a=32,b=e2/3 (C) a=32,b=23 (D) a=−1,b=e2/3
›Reveal solutionSolution
Both one-sided limits must equal b; the right side gives e2/3 directly, and the left side (a (1+u)1/u→e-type limit) matches it when a=2/3 — (B).
Concept and Intuition
Continuity at x=0 requires x→0−limf(x)=f(0)=x→0+limf(x). The right branch is a standard eratio of small angles limit, and the left branch is the classical exponential limit (1+u)1/u→e as u→0, raised to a power a.
Step-by-Step Solution
- Right-hand limit: as x→0+, tan2x≈2x and tan3x≈3x, so tan3xtan2x→32. Hence x→0+limetan2x/tan3x=e2/3.
- Left-hand limit: let u=∣sinx∣→0+ as x→0−. The left branch is (1+u)a/u=[(1+u)1/u]a. Since (1+u)1/u→e, this tends to ea.
- For continuity: left limit = right limit =f(0)=b, i.e. ea=e2/3=b. …
- 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 2025Set eng-2025-05-27-FN1 markMCQQ.If the function f defined by f(x)=⎩⎨⎧x21−cos4x,a,16+x−4x,x<0x=0x>0 is continuous at x=0, then a= (A) 1 (B) 2 (C) 4 (D) 8
›Reveal solutionSolution
Continuity at x=0 requires the left limit, the right limit, and f(0)=a to all agree; both one-sided limits work out to 8. Answer: a=8.
Concept and Intuition
For a piecewise function to be continuous at a junction point, the value defined there (a) must equal both the limit approaching from the left and the limit approaching from the right. Each side here needs a standard trick: the trig side uses the double-angle identity 1−cosθ=2sin2(θ/2), and the surd side needs rationalisation to remove the − indeterminate form.
Step-by-Step Solution
- Left-hand limit (x→0−): 1−cos4x=2sin2(2x), so
limx→0−x21−cos4x=limx→0−x22sin2(2x)=2limx→0(2xsin2x)2⋅4=2⋅1⋅4=8.
- Right-hand limit (x→0+): rationalise 16+x−4x by multiplying top and bottom by 16+x+4: (16+x)−16x(16+x+4)=xx(16+x+4)=16+x+4. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.If a function f(x)=⎩⎨⎧xtan((α+1)x)+tan2xβx3sin3x−tan3xif x>0at x=0if x<0 is continuous at x=0 then ∣α∣+∣β∣= (A) 60 (B) 30 (C) 15 (D) 45
›Reveal solutionSolution
Continuity at x=0 forces both one-sided limits to equal β=f(0); compute each limit via small-angle expansions and solve for α,β.
Concept and Intuition
For a piecewise function to be continuous at a point, the left-hand limit, the right-hand limit, and the function's value there must all agree. Here both one-sided limits are 0/0-type indeterminate forms requiring standard small-x expansions of tan and sin.
Step-by-Step Solution
- Right-hand limit (x→0+): using limx→0tan(kx)/x=k, limx→0+xtan((α+1)x)+tan2x=(α+1)+2=α+3. This must equal β: β=α+3.
- Left-hand limit (x→0−): expand sin3x≈3x−6(3x)3=3x−4.5x3 and tan3x≈3x+3(3x)3=3x+9x3.
- sin3x−tan3x≈(3x−4.5x3)−(3x+9x3)=−13.5x3=−227x3.
- So limx→0−x3sin3x−tan3x=−227. This must also equal β: β=−227. …
- 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 2024Set eng-2024-05-22-FN1 markMCQQ.Let f(x)=⎩⎨⎧0,2−x,2,21−x,2−3,x=0for 0<x<1for x=1for 1<x<2for x≥2 then which of the following is true (A) f is right continuous at x=0 (B) f is left continuous at x=1 (C) f is right continuous at x=1 (D) f is continuous at x=2
›Reveal solutionSolution
Compute the left-hand limit, right-hand limit, and function value at each candidate point and compare; only at x=2 do all three coincide.
Concept and Intuition
A function is continuous at a point if the left-hand limit, right-hand limit, and the function's value there all agree. "Right continuous" only needs the right-hand limit to equal the function value; "left continuous" only needs the left-hand limit to match.
Step-by-Step Solution
- At x=0: f(0)=0. Right-hand limit: limx→0+(2−x)=2. Since 2=0, f is not right continuous at 0 — (A) is false.
- At x=1: f(1)=2. Left-hand limit: limx→1−(2−x)=1. Since 1=2, not left continuous — (B) is false. Right-hand limit: limx→1+(21−x)=−21. Since −21=2, not right continuous either — (C) is false. …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.If a function f defined by f(x)=⎩⎨⎧x21−cos4x,a,16+x−4x,x<0x=0x>0 is continuous at x=0, then a= (A) 8 (B) 4 (C) 3 (D) 2
›Reveal solutionSolution
Both one-sided limits at x=0 evaluate to 8 (via 1−cosθ=2sin2(θ/2) on the left, and rationalizing on the right), so a=8.
Concept and Intuition
For f to be continuous at 0, the left-hand limit, right-hand limit, and f(0)=a must all agree. The left piece is a classic 0/0 trig limit solved via the half-angle identity for 1−cosθ; the right piece is a classic surd limit solved by rationalizing the denominator.
Step-by-Step Solution
- Left limit: 1−cos4x=2sin2(2x), so x21−cos4x=x22sin2(2x)=8(2xsin2x)2.
- As x→0−, 2xsin2x→1, so this limit →8(1)2=8.
- Right limit: let t=x (so t→0+ as x→0+): 16+x−4x=16+t−4t.
- Rationalize: multiply by 16+t+416+t+4: (16+t)−16t(16+t+4)=tt(16+t+4)=16+t+4. …
🎓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.