Skip to content
Exercise 5.1 · Q25

Q.Examine the continuity of ff, where ff is defined by f(x)={sin⁡x−cos⁡x,if x≠0−1,if x=0f(x) = \begin{cases} \sin x - \cos x, & \text{if } x \neq 0 \\ -1, & \text{if } x = 0 \end{cases}

Yanam CbseNCERTSubjective· 2mImportance★★★★★
9% · 25/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 function ff is continuous at x=0x=0 because the limit of sin⁡x−cos⁡x\sin x - \cos x as x→0x \to 0 equals −1-1, which matches the defined value f(0)=−1f(0) = -1.

The core idea here is continuity at a point. A function is continuous at x=ax = a if three things hold:

  1. f(a)f(a) is defined.
  2. lim⁡x→af(x)\lim_{x \to a} f(x) exists.
  3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).

For this piecewise function, the only potential trouble spot is x=0x = 0, because that's where the definition changes. Everywhere else, f(x)=sin⁡x−cos⁡xf(x) = \sin x - \cos x is a combination of continuous functions (sine and cosine), so it's automatically continuous. The question is whether the "patch" at x=0x = 0 matches the behavior of the formula around it.

Let's check step by step.

  1. Check f(0)f(0) is defined.

    The problem explicitly gives f(0)=−1f(0) = -1. So condition 1 is satisfied.

  2. Find lim⁡x→0f(x)\lim_{x \to 0} f(x).

    For x≠0x \neq 0, f(x)=sin⁡x−cos⁡xf(x) = \sin x - \cos x. We need the limit of this expression as xx approaches 0.

    Both sin⁡x\sin x and cos⁡x\cos x are continuous everywhere, so we can directly substitute x=0x = 0:

lim⁡x→0(sin⁡x−cos⁡x)=sin⁡0−cos⁡0=0−1=−1.\lim_{x \to 0} (\sin x - \cos x) = \sin 0 - \cos 0 = 0 - 1 = -1.

The limit exists and equals −1-1.

Tip

Since sin⁡x\sin x and cos⁡x\cos x are continuous, you never need to "calculate" the limit from scratch — just plug in x=0x = 0. The only reason we pause is because the function's definition changes at that point, but the formula for x≠0x \neq 0 is perfectly well-behaved. …

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.