Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Exercise 5.1 · Q23: sin⁡xx\frac{\sin x}{x} for x<0x\lt0⁠, x+1x+1 for x≥0x\ge0⁠: any breaks?

Exercise 5.1Continuity at a point · Section 5.2
The question

23. Find all points of discontinuity of ff⁠, where

f(x)={sin⁡xx,if x<0x+1,if x≥0f(x)=\begin{cases} \dfrac{\sin x}{x}, & \text{if } x\lt 0\\[2mm] x+1, & \text{if } x\ge 0\end{cases}
Exam answer

For x<0x < 0⁠, f(x)=sin⁡xxf(x) = \frac{\sin x}{x} is a quotient of continuous functions with non-zero denominator, so ff is continuous.

For x>0x > 0⁠, f(x)=x+1f(x) = x + 1 is a polynomial, so ff is continuous.

At x=0x = 0⁠: f(0)=0+1=1f(0) = 0 + 1 = 1⁠.

LHL=lim⁡h→0f(0−h)=lim⁡h→0sin⁡(−h)−h=lim⁡h→0sin⁡hh=1RHL=lim⁡h→0f(0+h)=lim⁡h→0(h+1)=1\begin{aligned} \text{LHL} &= \lim_{h\to0}f(0 - h) \\ &= \lim_{h\to0}\frac{\sin(-h)}{-h} \\ &= \lim_{h\to0}\frac{\sin h}{h} = 1 \\ \text{RHL} &= \lim_{h\to0}f(0 + h) \\ &= \lim_{h\to0}(h + 1) = 1 \end{aligned}

LHL=RHL=f(0)\text{LHL} = \text{RHL} = f(0)⁠, so ff is continuous at x=0x = 0⁠.

∴ f\therefore\ f is continuous at every real number: there is no point of discontinuity.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The left rule sin⁡xx\frac{\sin x}{x} looks dangerous at 00⁠, but it is never used at 00: it applies only for x<0x\lt0⁠, where x≠0x\ne0⁠. At the junction we need its left-hand limit, and that is the famous limit lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1⁠. The right rule x+1x+1 also gives 11 at 00⁠. Both sides meet at height 11⁠, which is exactly f(0)f(0)⁠, so there is no break anywhere.

Given, to find, and the plan
Given
The two-piece function ff above.
To find
Every real number at which ff is not continuous.
Plan
(1) Find the domain and split it into x<0x\lt0⁠, x>0x\gt0 and the junction x=0x=0⁠. (2) Continuity for c<0c\lt0⁠. (3) Continuity for c>0c\gt0⁠. (4)–(6) At 00⁠: the value, the left-hand limit and the right-hand limit, each separately. (7) Compare and conclude.

Basics you need

1Continuity at a point

At a point cc of the domain: left-hand limit, right-hand limit and f(c)f(c) all exist and are equal (Definition 1, Section 5.2). Basics: left-hand and right-hand limits

2Quotients of continuous functions

fg\frac{f}{g} is continuous at cc if ff⁠, gg are and g(c)≠0g(c)\ne0 (Theorem 1 (4)). Sine is continuous (Example 17) and so is xx (Example 6). Basics: what a limit is

3The standard limit

lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1 (Class XI, Chapter 12). It comes from the inequality cos⁡x<sin⁡xx<1\cos x\lt\frac{\sin x}{x}\lt1 for 0<∣x∣<π20\lt|x|\lt\frac{\pi}{2}⁠, whose two outer sides both tend to 11⁠, by the sandwich theorem (also Class XI, Chapter 12; neither is proved in this chapter). Basics: trigonometric identities

4Reading a piecewise rule

00 satisfies "x≥0x\ge0", so f(0)=0+1f(0)=0+1⁠. Points just left of 00 use sin⁡xx\frac{\sin x}{x}⁠. Basics: piecewise functions

Solution

  1. The domain, split into three parts

    For x<0x\lt0 the rule sin⁡xx\frac{\sin x}{x} is defined because x≠0x\ne0⁠. For x≥0x\ge0 the rule x+1x+1 is defined. So ff is defined at every real number. We examine three kinds of point: c<0c\lt0⁠, c>0c\gt0⁠, and the junction c=0c=0⁠.

    "Find all points of discontinuity" asks about every point of the domain, here all of R\R⁠. The interiors of the two pieces are handled by known theorems; the junction needs a direct check.
    Splitting the real line at the junction, as in Examples 10 and 13. Basics: piecewise functions
  2. Every c<0c\lt0 is a point of continuity

    Fix c<0c\lt0⁠. Every xx in the open interval (−∞,0)(-\infty,0)⁠, which contains cc⁠, has f(x)=sin⁡xxf(x)=\frac{\sin x}{x}⁠. On that interval sin⁡x\sin x and xx are continuous and the denominator is never 00⁠, so by Theorem 1 (4)

    lim⁡x→cf(x)=lim⁡x→csin⁡xx=sin⁡cc=f(c).\lim_{x\to c}f(x)=\lim_{x\to c}\frac{\sin x}{x}=\frac{\sin c}{c}=f(c).
    The limit at cc only uses xx close to cc⁠, and those xx are all negative, so only the first rule is involved. The condition c≠0c\ne0 of Theorem 1 (4) holds because c<0c\lt0⁠.
    Theorem 1 (4); sine continuous (Example 17); identity continuous (Example 6). Lesson: algebra of continuous functions
  3. Every c>0c\gt0 is a point of continuity

    Fix c>0c\gt0⁠. On the open interval (0,∞)(0,\infty) around cc⁠, f(x)=x+1f(x)=x+1⁠, a polynomial. So

    lim⁡x→cf(x)=c+1=f(c).\lim_{x\to c}f(x)=c+1=f(c).
    Polynomials are continuous everywhere (Example 14), and near c>0c\gt0 the function coincides with one.
  4. At the junction: the value f(0)f(0)

    00 satisfies "x≥0x\ge0", so the second rule applies:

    f(0)=0+1=1.f(0)=0+1=1.
    The expression sin⁡00\frac{\sin 0}{0} is meaningless, but it never arises: the definition of ff sends 00 to the rule x+1x+1⁠.
  5. At the junction: the left-hand limit

    For x<0x\lt0⁠, f(x)=sin⁡xxf(x)=\frac{\sin x}{x}⁠, so

    lim⁡x→0−f(x)=lim⁡x→0−sin⁡xx.\lim_{x\to0^-}f(x)=\lim_{x\to0^-}\frac{\sin x}{x}.

    Write x=−tx=-t with t>0t\gt0⁠, t→0t\to0⁠. Since sin⁡(−t)=−sin⁡t\sin(-t)=-\sin t⁠,

    sin⁡xx=−sin⁡t−t=sin⁡tt ⟶ 1.\frac{\sin x}{x}=\frac{-\sin t}{-t}=\frac{\sin t}{t}\ \longrightarrow\ 1.

    So lim⁡x→0−f(x)=1\lim_{x\to0^-}f(x)=1⁠.

    The standard limit (Basic 3) holds as x→0x\to0 from either side; the substitution shows explicitly that the left side gives the same values as the right side, because sin⁡xx\frac{\sin x}{x} is an even function. A table makes it concrete: at x=−0.1, −0.01, −0.001x=-0.1,\,-0.01,\,-0.001 the values are 0.99833420.9983342⁠, 0.99998330.9999833⁠, 0.99999980.9999998⁠.
    lim⁡t→0sin⁡tt=1\lim_{t\to0}\frac{\sin t}{t}=1⁠, Class XI, Chapter 12. Basics: what a limit is
  6. At the junction: the right-hand limit

    For x>0x\gt0⁠, f(x)=x+1f(x)=x+1⁠. With x=hx=h⁠, h>0h\gt0⁠, h→0h\to0⁠:

    lim⁡x→0+f(x)=lim⁡h→0 (h+1)=1.\lim_{x\to0^+}f(x)=\lim_{h\to0}\,(h+1)=1.
  7. Compare and conclude

    From Steps 4 to 6:

    lim⁡x→0−f(x)=1,f(0)=1,lim⁡x→0+f(x)=1.\begin{aligned} \lim_{x\to0^-}f(x)&=1,\\ f(0)&=1,\\ \lim_{x\to0^+}f(x)&=1. \end{aligned}

    All three are equal, so ff is continuous at 00⁠. Together with Steps 2 and 3, ff is continuous at every real number, and ff has no point of discontinuity.

    Every point of the domain falls into exactly one of the three cases, and in each case Definition 1 is satisfied. So the set of points of discontinuity is empty.
    Continuity at a junction. Lesson: continuity at a point
−8 −6 −4 −2 2 2 3 x y (0, 1) sin x / x, used for x < 0 (rises towards 1) x + 1, used for x ≥ 0 f(0) = 0 + 1 = 1
For x<0x\lt0 the blue curve sin⁡xx\frac{\sin x}{x} wiggles with shrinking size and climbs towards height 11 as x→0−x\to0^-⁠. For x≥0x\ge0 the gold line x+1x+1 starts at the filled point (0,1)(0,1)⁠. The two pieces meet with no gap, so the graph can be drawn without lifting the pen.
Result

ff is continuous at every c<0c\lt0⁠, at every c>0c\gt0⁠, and at 00 (where the left-hand limit, the right-hand limit and f(0)f(0) all equal 11⁠). So ff has no point of discontinuity.

(Textbook answer: There is no point of discontinuity.)

Check it with numbers

Left of 00⁠: f(−0.1)≈0.9983342f(-0.1)\approx0.9983342⁠, f(−0.01)≈0.9999833f(-0.01)\approx0.9999833⁠, f(−0.001)≈0.9999998f(-0.001)\approx0.9999998⁠, getting closer to 11⁠. ✓

Right of 00⁠: f(0.001)=1.001f(0.001)=1.001⁠, f(0.01)=1.01f(0.01)=1.01⁠. ✓ And f(0)=1f(0)=1⁠. ✓

Away from 00⁠: f(−π)=sin⁡(−π)−π=0f(-\pi)=\frac{\sin(-\pi)}{-\pi}=0⁠, and f(−3.14)≈0.000507f(-3.14)\approx0.000507⁠, f(−3.15)≈−0.002669f(-3.15)\approx-0.002669⁠: small values on both sides of 00⁠, as continuity at −π-\pi requires. ✓

Common mistakes
  1. Saying ff is undefined at 00 because of sin⁡00\frac{\sin 0}{0}⁠. The rule sin⁡xx\frac{\sin x}{x} is only for x<0x\lt0⁠; f(0)f(0) comes from x+1x+1⁠.
  2. Taking lim⁡sin⁡xx=0\lim\frac{\sin x}{x}=0 because "sin⁡0=0\sin0=0". Both numerator and denominator tend to 00⁠; the ratio tends to 11⁠.
  3. Forgetting the interior points. "All points of discontinuity" includes checking every c<0c\lt0 and c>0c\gt0⁠, not just the junction.
  4. Using degrees. lim⁡sin⁡xx=1\lim\frac{\sin x}{x}=1 holds with xx in radians only.
What to take away
  1. A formula that would break at the junction may still be fine if the junction is assigned to the other rule; what matters at the junction is its one-sided limit.
  2. lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1 (radians) is the key fact whenever sin⁡xx\frac{\sin x}{x} meets x=0x=0⁠.
  3. For "find all points of discontinuity": interiors by theorems, junctions by the three-number test.

Every fact used, and where it comes from

FactUsed inSource
Continuity at a point; one-sided limitsSteps 2–7Definition 1, Section 5.2 (Lesson: continuity at a point)
Quotient of continuous functionsStep 2Theorem 1 (4), Section 5.2.1 (Lesson: algebra of continuous functions)
Sine, identity and polynomials are continuousSteps 2, 3Examples 17, 6 and 14, Section 5.2
lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1Step 5Class XI, Chapter 12 (Limits and Derivatives)
sin⁡(−t)=−sin⁡t\sin(-t)=-\sin tStep 5Class XI, Chapter 3 (Trigonometric Functions)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →