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

Example 17: The sine function is continuous

ExamplesAlgebra of continuous functions · Section 5.2.1
The question

Discuss the continuity of sine function.

Exam answer

Let f(x)=sin⁡xf(x) = \sin x and let cc be any real number. Put x=c+hx = c + h⁠; then h→0h \to 0 as x→cx \to c⁠. Expanding by the sin⁡(A+B)\sin(A + B) formula,

lim⁡x→cf(x)=lim⁡h→0sin⁡(c+h)=lim⁡h→0[sin⁡ccos⁡h+cos⁡csin⁡h]\begin{aligned} \lim_{x\to c} f(x) &= \lim_{h\to 0}\sin(c + h) \\ &= \lim_{h\to 0}\big[\sin c\cos h \\ &\qquad + \cos c\sin h\big] \end{aligned}

Using lim⁡h→0cos⁡h=1\lim_{h\to 0}\cos h = 1 and lim⁡h→0sin⁡h=0\lim_{h\to 0}\sin h = 0⁠,

lim⁡x→cf(x)=sin⁡c⋅1+cos⁡c⋅0=sin⁡c=f(c)\begin{aligned} \lim_{x\to c} f(x) &= \sin c\cdot 1 + \cos c\cdot 0 \\ &= \sin c = f(c) \end{aligned}

∴ sin⁡x\therefore\ \sin x is continuous at every real number, so the sine function is continuous.

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

The one idea this problem is built on

To study sin⁡x\sin x near a point cc⁠, write the input as x=c+hx = c + h⁠, where hh is a small change. The addition formula splits sin⁡(c+h)\sin(c + h) into sin⁡ccos⁡h+cos⁡csin⁡h\sin c \cos h + \cos c \sin h⁠. Here sin⁡c\sin c and cos⁡c\cos c are fixed numbers, and as h→0h \to 0 we have cos⁡h→1\cos h \to 1 and sin⁡h→0\sin h \to 0⁠. So sin⁡(c+h)→sin⁡c\sin(c + h) \to \sin c⁠: the limit equals the value, at every cc⁠.

Given, to find, and the plan
Given
f(x)=sin⁡xf(x) = \sin x (xx in radians) and the fact lim⁡x→0sin⁡x=0\lim_{x\to 0} \sin x = 0⁠.
To find
Where sin⁡x\sin x is continuous.
Plan
Domain. Establish sin⁡h→0\sin h \to 0 and cos⁡h→1\cos h \to 1 as h→0h \to 0⁠. Fix cc⁠, substitute x=c+hx = c + h⁠, expand with the addition formula, take the limit term by term, compare with f(c)f(c)⁠.

Basics you need

1The addition formula for sine

For all real AA⁠, BB⁠: sin⁡(A+B)=\sin(A + B) = sin⁡Acos⁡B+cos⁡Asin⁡B\sin A \cos B + \cos A \sin B (Class XI, Trigonometric Functions). Basics: trigonometric identities

2Sine and cosine on the unit circle

The point of the unit circle at angle hh (radians) is (cos⁡h,sin⁡h)(\cos h, \sin h)⁠. As hh shrinks to 0, that point slides to (1,0)(1, 0)⁠. Basics: trigonometric identities

3Algebra of limits

Limits of sums are sums of limits, and a constant factor comes outside a limit. Basics: what a limit is

4Changing the variable in a limit

If x=c+hx = c + h⁠, then "x→cx \to c" is the same as "h→0h \to 0", because x−c=hx - c = h⁠. So lim⁡x→cg(x)\lim_{x\to c} g(x) =lim⁡h→0g(c+h)= \lim_{h\to 0} g(c + h)⁠.

Solution

  1. The domain is all of R\R

    sin⁡x\sin x is defined for every real number xx (every real number is an angle in radians). So we must show continuity at every real cc⁠. Fix an arbitrary real number cc⁠.

    Definition 2 asks for continuity at every point of the domain. Since nothing is excluded, the argument must work for a general cc⁠.
  2. The two small-angle facts

    The book uses the fact

    lim⁡h→0sin⁡h=0.\lim_{h\to 0} \sin h = 0.

    The last line of its working also needs cos⁡h→1\cos h \to 1⁠. This follows from the first fact through the identity 1−cos⁡h=2sin⁡2h21 - \cos h = 2\sin^2 \frac{h}{2}⁠, that is cos⁡h=1−2sin⁡2h2\cos h = 1 - 2\sin^2 \frac{h}{2}⁠. Put t=h2t = \frac{h}{2}⁠: as h→0h \to 0⁠, also t→0t \to 0⁠, so sin⁡h2=sin⁡t→0\sin \frac{h}{2} = \sin t \to 0 by the book's fact. Then, by the product and difference rules of limits,

    lim⁡h→0cos⁡h=1−2⋅0⋅0=1.\begin{aligned} \lim_{h\to 0} \cos h &= 1 - 2 \cdot 0 \cdot 0 \\ &= 1. \end{aligned}
    O 1 (1, 0) h = 1.0 h = 0.5 h = 0.2 dashed height = sin h, its foot at x = cos h; both settle (to 0 and to 1) as h shrinks
    The unit circle with the points (cos⁡h,sin⁡h)(\cos h, \sin h) for h=1h = 1⁠, 0.50.5 and 0.20.2 radians. The dashed heights are sin⁡h\sin h and shrink to 0; the feet of the dashes are at cos⁡h\cos h and move to 1. Both reach the rose point (1,0)(1, 0) as h→0h \to 0⁠.
    The book says lim⁡sin⁡x=0\lim \sin x = 0 "is intuitively clear from the graph". The circle shows it too: a small angle gives a point very close to (1,0)(1, 0)⁠, with tiny height sin⁡h\sin h and horizontal position cos⁡h\cos h close to 1. Both facts are needed, because the expansion in Step 4 contains both sin⁡h\sin h and cos⁡h\cos h⁠.
    1−cos⁡h=2sin⁡2h21 - \cos h = 2\sin^2\frac{h}{2} is the double-angle formula cos⁡2θ=1−2sin⁡2θ\cos 2\theta = 1 - 2\sin^2\theta with θ=h2\theta = \frac{h}{2}⁠. Going deeper: for 0<∣h∣<π20 < |h| < \frac{\pi}{2} the height ∣sin⁡h∣|\sin h| is shorter than the arc length ∣h∣|h|⁠, so ∣sin⁡h∣<∣h∣|\sin h| < |h|⁠, and the sandwich theorem (Class XI, Limits and Derivatives; not proved in this book) then squeezes sin⁡h\sin h to 0. Basics: trigonometric identities
  3. Substitute x=c+hx = c + h

    Put x=c+hx = c + h⁠. As x→cx \to c⁠, h=x−c→0h = x - c \to 0⁠, so

    lim⁡x→csin⁡x=lim⁡h→0sin⁡(c+h).\lim_{x\to c} \sin x = \lim_{h\to 0} \sin(c + h).
    This rewrites "xx close to cc" as "cc plus a small hh". The advantage is that the addition formula can now separate the fixed part cc from the small part hh⁠.
  4. Expand with the addition formula

    With A=cA = c and B=hB = h⁠:

    sin⁡(c+h)=sin⁡ccos⁡h+cos⁡csin⁡h.\sin(c + h) = \sin c \cos h + \cos c \sin h.
    Now each term is a constant (sin⁡c\sin c or cos⁡c\cos c⁠, which do not change as hh varies, because cc is fixed) times a function of hh whose limit we know from Step 2.
  5. Take the limit term by term

    lim⁡h→0sin⁡(c+h)=lim⁡h→0[sin⁡ccos⁡h]+lim⁡h→0[cos⁡csin⁡h]=sin⁡c⋅1+cos⁡c⋅0=sin⁡c=f(c).\begin{aligned} \lim_{h\to 0} \sin(c + h) &= \lim_{h\to 0} [\sin c \cos h] \\ &\quad + \lim_{h\to 0} [\cos c \sin h] \\ &= \sin c \cdot 1 + \cos c \cdot 0 \\ &= \sin c = f(c). \end{aligned}
    The sum rule splits the limit into two limits, each of which exists by Step 2. In each, the constant factor comes outside: sin⁡c⋅lim⁡cos⁡h=sin⁡c⋅1\sin c \cdot \lim \cos h = \sin c \cdot 1 and cos⁡c⋅lim⁡sin⁡h=cos⁡c⋅0\cos c \cdot \lim \sin h = \cos c \cdot 0⁠.
  6. Conclude

    Steps 3 and 5 give lim⁡x→csin⁡x=sin⁡c=f(c)\lim_{x\to c} \sin x = \sin c = f(c)⁠. By Definition 1, sin⁡x\sin x is continuous at cc⁠; since cc was any real number, the sine function is continuous at every real number, so it is a continuous function.

    This matches the book's conclusion "ff is a continuous function", now with the role of cos⁡h→1\cos h \to 1 made explicit.
  7. The cosine function (the book's Remark)

    The book remarks that a similar proof works for cosine. Using cos⁡(c+h)=\cos(c + h) = cos⁡ccos⁡h−sin⁡csin⁡h\cos c \cos h - \sin c \sin h⁠:

    lim⁡h→0cos⁡(c+h)=cos⁡c⋅1−sin⁡c⋅0=cos⁡c.\begin{aligned} \lim_{h\to 0} \cos(c + h) &= \cos c \cdot 1 - \sin c \cdot 0 \\ &= \cos c. \end{aligned}

    So cos⁡x\cos x is also continuous at every real number.

    Exactly the same three moves: substitute x=c+hx = c + h⁠, expand with an addition formula, and use cos⁡h→1\cos h \to 1⁠, sin⁡h→0\sin h \to 0⁠. Example 18 needs this result for tan⁡x\tan x⁠.
    cos⁡(A+B)=\cos(A + B) = cos⁡Acos⁡B−sin⁡Asin⁡B\cos A \cos B - \sin A \sin B⁠. Basics: trigonometric identities
Result

For every real number cc⁠, lim⁡x→csin⁡x=sin⁡c\lim_{x\to c} \sin x = \sin c⁠. So the sine function is continuous at every real number; similarly the cosine function is continuous everywhere. This agrees with the textbook's solution and its Remark.

Check it with numbers

At c=1c = 1⁠: sin⁡1≈0.841471\sin 1 \approx 0.841471⁠. With h=±0.001h = \pm 0.001⁠: sin⁡1.001≈0.842011\sin 1.001 \approx 0.842011 and sin⁡0.999≈0.840930\sin 0.999 \approx 0.840930⁠, each within 0.000550.00055 of sin⁡1\sin 1⁠. The small-angle facts: sin⁡0.001≈0.0010000\sin 0.001 \approx 0.0010000 (close to 0) and cos⁡0.001≈0.9999995\cos 0.001 \approx 0.9999995 (close to 1). And sin⁡1cos⁡0.001+cos⁡1sin⁡0.001\sin 1 \cos 0.001 + \cos 1 \sin 0.001 ≈0.842011\approx 0.842011⁠, matching sin⁡1.001\sin 1.001⁠.

Common mistakes
  1. Forgetting cos⁡h→1\cos h \to 1⁠. The book states only sin⁡h→0\sin h \to 0⁠, but the first term sin⁡ccos⁡h\sin c \cos h needs cos⁡h→1\cos h \to 1⁠; without it the argument has a gap.
  2. Treating sin⁡c\sin c as varying. cc is fixed, so sin⁡c\sin c and cos⁡c\cos c are constants; only hh changes.
  3. Assuming the answer. Writing lim⁡h→0sin⁡(c+h)=sin⁡(c+0)\lim_{h\to 0}\sin(c + h) = \sin(c + 0) straight away uses the continuity of sine, which is what we are proving. The addition formula is what avoids this circle.
What to take away
  1. The substitution x=c+hx = c + h plus an addition formula is the standard way to prove continuity (and later differentiability) of trigonometric functions.
  2. Sine and cosine are continuous at every real number.
  3. With Theorem 1 this gives continuity of tan⁡x\tan x (Example 18), and with Theorem 2 of sin⁡(x2)\sin(x^2) (Example 19).

Every fact used, and where it comes from

FactUsed inSource
lim⁡h→0sin⁡h=0\lim_{h\to 0} \sin h = 0Steps 2, 5, 7Stated in Example 17, Section 5.2.1 (from the graph)
1−cos⁡h=2sin⁡2h21 - \cos h = 2\sin^2\frac{h}{2}⁠, so cos⁡h→1\cos h \to 1Steps 2, 5, 7Double-angle formula, Class XI, Trigonometric Functions (Basics: trigonometric identities)
sin⁡(A+B)\sin(A + B) and cos⁡(A+B)\cos(A + B) formulasSteps 4, 7Class XI, Trigonometric Functions
Sum, difference, product and constant-multiple rules of limits; change of variable t=h2t = \frac{h}{2}Steps 2, 5Algebra of limits, Class XI (Basics: limits)
Continuity at a point; continuous functionStep 6Definitions 1 and 2, Section 5.2 (Lesson: continuity at a point)
Cosine is continuousStep 7Remark after Example 17, Section 5.2.1
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 →