Skip to content
NCERT Exemplar · Q19

Q.Show that the function f(x)=∣sin⁡x+cos⁡x∣f(x) = |\sin x + \cos x| is continuous at x=πx = \pi.

Puducherry CbseShort· 3mImportance★★★★★
71% · 199/281 Questions
🔒 Locked · start free trial →

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 →

The key idea is to check the three conditions for continuity at a point: f(π)f(\pi) is defined, lim⁡x→πf(x)\lim_{x \to \pi} f(x) exists, and they are equal. Using the identity sin⁡x+cos⁡x=2sin⁡(x+π/4)\sin x + \cos x = \sqrt{2} \sin(x + \pi/4), we find f(π)=1f(\pi) = 1 and the limit is also 11, so ff is continuous at x=πx = \pi.

Why This Approach Works

Continuity at a point is a local property — it tells us whether the function behaves nicely near that specific xx-value. For f(x)=∣sin⁡x+cos⁡x∣f(x) = |\sin x + \cos x| at x=πx = \pi, 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 π\pi, which could cause a corner or a gap.

The standard test for continuity at x=ax = a is:

  1. f(a)f(a) must be defined.
  2. lim⁡x→af(x)\lim_{x \to a} f(x) must exist (both one-sided limits equal).
  3. The limit must equal f(a)f(a).

We'll apply this step by step.


Step-by-Step Solution

1. Evaluate f(π)f(\pi) directly.

Plug x=πx = \pi into the function:

f(π)=∣sin⁡π+cos⁡π∣=∣0+(−1)∣=∣−1∣=1.f(\pi) = |\sin \pi + \cos \pi| = |0 + (-1)| = |-1| = 1.

So f(π)=1f(\pi) = 1 — condition (1) is satisfied.

2. Simplify the expression inside the absolute value.

A neat trick: sin⁡x+cos⁡x\sin x + \cos x can be written as a single sine wave. Multiply and divide by 2\sqrt{2}:

sin⁡x+cos⁡x=2(12sin⁡x+12cos⁡x)=2sin⁡(x+π4).\sin x + \cos x = \sqrt{2} \left( \frac{1}{\sqrt{2}} \sin x + \frac{1}{\sqrt{2}} \cos x \right) = \sqrt{2} \sin\left(x + \frac{\pi}{4}\right).

This identity holds because sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B\sin(A+B) = \sin A \cos B + \cos A \sin B, and here cos⁡(π/4)=sin⁡(π/4)=1/2\cos(\pi/4) = \sin(\pi/4) = 1/\sqrt{2}.

sin⁡x+cos⁡x=2sin⁡(x+π4)\sin x + \cos x = \sqrt{2} \sin\left(x + \frac{\pi}{4}\right)

So our function becomes:

f(x)=∣2sin⁡(x+π4)∣=2∣sin⁡(x+π4)∣.f(x) = \left| \sqrt{2} \sin\left(x + \frac{\pi}{4}\right) \right| = \sqrt{2} \left| \sin\left(x + \frac{\pi}{4}\right) \right|.

3. Find the limit as x→πx \to \pi.

We need lim⁡x→πf(x)\lim_{x \to \pi} f(x). Since f(x)=2 ∣sin⁡(x+π/4)∣f(x) = \sqrt{2} \, |\sin(x + \pi/4)|, and the absolute value function is continuous everywhere, we can focus on the inner sine function.

At x=πx = \pi, the argument of sine is:

x+π4=π+π4=5π4.x + \frac{\pi}{4} = \pi + \frac{\pi}{4} = \frac{5\pi}{4}.

Now, sin⁡(5π/4)=−22\sin(5\pi/4) = -\frac{\sqrt{2}}{2}. So:

f(π)=2∣−22∣=2⋅22=22=1.f(\pi) = \sqrt{2} \left| -\frac{\sqrt{2}}{2} \right| = \sqrt{2} \cdot \frac{\sqrt{2}}{2} = \frac{2}{2} = 1.

But we need the limit, not just the value. Since sin⁡\sin is continuous everywhere, sin⁡(x+π/4)\sin(x + \pi/4) is continuous, and the absolute value of a continuous function is also continuous. Therefore:

lim⁡x→πf(x)=f(π)=1.\lim_{x \to \pi} f(x) = f(\pi) = 1. …

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.