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

Exercise 5.1 · Q22: Continuity of cos⁡\cos⁠, cosec⁡\operatorname{cosec}⁠, sec⁡\sec and cot⁡\cot

Exercise 5.1Algebra of continuous functions · Section 5.2.1
The question

22. Discuss the continuity of the cosine, cosecant, secant and cotangent functions.

Exam answer

Let cc be any real number and put x=c+hx = c + h⁠.

lim⁡x→ccos⁡x=lim⁡h→0cos⁡(c+h)=lim⁡h→0(cos⁡ccos⁡h−sin⁡csin⁡h)=cos⁡c⋅1−sin⁡c⋅0=cos⁡c\begin{aligned} \lim_{x\to c}\cos x &= \lim_{h\to0}\cos(c + h) \\ &= \lim_{h\to0}\big(\cos c\cos h \\ &\qquad - \sin c\sin h\big) \\ &= \cos c\cdot1 - \sin c\cdot0 \\ &= \cos c \end{aligned}

So cos⁡x\cos x is continuous for all x∈Rx \in \R⁠. Also sin⁡x\sin x is continuous for all x∈Rx \in \R⁠.

A quotient of continuous functions is continuous wherever the denominator is not zero. Here sin⁡x=0\sin x = 0 only at x=nπx = n\pi⁠, and cos⁡x=0\cos x = 0 only at x=(2n+1)π2x = (2n + 1)\frac{\pi}{2}⁠, n∈Zn \in \Z⁠.

If sin⁡c≠0\sin c \ne 0⁠:

lim⁡x→ccosec⁡x=1sin⁡c=cosec⁡clim⁡x→ccot⁡x=cos⁡csin⁡c=cot⁡c\begin{aligned} \lim_{x\to c}\operatorname{cosec}x &= \frac{1}{\sin c} \\ &= \operatorname{cosec}c \\ \lim_{x\to c}\cot x &= \frac{\cos c}{\sin c} = \cot c \end{aligned}

If cos⁡c≠0\cos c \ne 0⁠:

lim⁡x→csec⁡x=1cos⁡c=sec⁡c\lim_{x\to c}\sec x = \frac{1}{\cos c} = \sec c

∴\therefore Cosine is continuous for all x∈Rx \in \R⁠; cosecant and cotangent are continuous for all x≠nπx \ne n\pi⁠; secant is continuous for all x≠(2n+1)π2x \ne (2n + 1)\dfrac{\pi}{2} (n∈Zn \in \Z⁠). The excluded points are not in their domains.

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

The one idea this problem is built on

Cosine is continuous everywhere, like sine. The other three are quotients: cosec⁡x=1sin⁡x\operatorname{cosec}x=\frac{1}{\sin x}⁠, sec⁡x=1cos⁡x\sec x=\frac{1}{\cos x}⁠, cot⁡x=cos⁡xsin⁡x\cot x=\frac{\cos x}{\sin x}⁠. By Theorem 1 (4), a quotient of continuous functions is continuous at every point where the denominator is not zero. The points where the denominator is zero are exactly the points where the function is not defined at all, so each of these functions is continuous at every point of its domain.

Given, to find, and the plan
Given
cos⁡x\cos x⁠, and cosec⁡x=1sin⁡x\operatorname{cosec}x=\frac{1}{\sin x}⁠, sec⁡x=1cos⁡x\sec x=\frac{1}{\cos x}⁠, cot⁡x=cos⁡xsin⁡x\cot x=\frac{\cos x}{\sin x}⁠.
To find
Where each function is defined and where it is continuous.
Plan
(1) Prove cosine is continuous. (2) Find the zeros of sin⁡\sin and cos⁡\cos⁠. (3) Write down the three domains. (4)–(6) Apply Theorem 1 (4) to each quotient. (7) Explain the excluded points and match the answer key.

Basics you need

1Continuous function

ff is continuous at a point cc of its domain when lim⁡x→cf(x)=f(c)\lim_{x\to c}f(x)=f(c)⁠; ff is a continuous function when this holds at every point of its domain (Definitions 1 and 2, Section 5.2). Points outside the domain are not examined. Basics: what a limit is

2Theorem 1 (4) and Remark (ii)

If ff and gg are continuous at cc and g(c)≠0g(c)\ne0⁠, then fg\frac{f}{g} is continuous at cc⁠. In particular 1g\frac1g is continuous wherever gg is continuous and non-zero. Basics: what a limit is

3Where sine and cosine vanish

sin⁡x=0  ⟺  x=nπ\sin x=0\iff x=n\pi⁠; cos⁡x=0  ⟺  x=(2n+1)π2\cos x=0\iff x=(2n+1)\frac{\pi}{2}⁠; here nn is any integer. Basics: trigonometric identities

4sin⁡h→0\sin h\to0⁠, cos⁡h→1\cos h\to1

As h→0h\to0⁠. The first is stated in Example 17; the second follows from cos⁡h=1−2sin⁡2h2\cos h=1-2\sin^2\frac h2⁠. Basics: what a limit is

Solution

  1. Cosine is continuous at every real number

    cos⁡x\cos x is defined for every real xx⁠. Fix any real cc and put x=c+hx=c+h⁠, so x→cx\to c means h→0h\to0⁠:

    lim⁡x→ccos⁡x=lim⁡h→0(cos⁡ccos⁡h−sin⁡csin⁡h)=cos⁡c⋅1−sin⁡c⋅0=cos⁡c.\begin{aligned} \lim_{x\to c}\cos x&=\lim_{h\to0}\left(\cos c\cos h-\sin c\sin h\right)\\ &=\cos c\cdot1-\sin c\cdot0=\cos c. \end{aligned}

    So cosine is continuous at every real number; it is a continuous function on R\R⁠.

    This is the "similar proof" promised in the Remark after Example 17. The limits cos⁡h→1\cos h\to1 and sin⁡h→0\sin h\to0 (Basic 4) do all the work; cos⁡c\cos c and sin⁡c\sin c are fixed numbers.
    cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A+B)=\cos A\cos B-\sin A\sin B⁠. Basics: trigonometric identities · Example 17
  2. Where sin⁡x=0\sin x=0 and where cos⁡x=0\cos x=0

    On the unit circle, sin⁡x\sin x is the yy-coordinate of the point at angle xx⁠. It is 00 exactly at the two points on the xx-axis, angles 00 and π\pi⁠, plus whole turns:

    sin⁡x=0  ⟺  x=nπ,n∈Z.\sin x=0\iff x=n\pi,\quad n\in\Z.

    cos⁡x\cos x is the xx-coordinate, which is 00 exactly at the points on the yy-axis, angles π2\frac{\pi}{2} and 3π2\frac{3\pi}{2} plus whole turns, that is, the odd multiples of π2\frac{\pi}{2}⁠:

    cos⁡x=0  ⟺  x=(2n+1)π2,n∈Z.\cos x=0\iff x=(2n+1)\tfrac{\pi}{2},\quad n\in\Z.
    These zeros are the only places where a quotient with sin⁡x\sin x or cos⁡x\cos x in the denominator can fail, so we need the complete list, not just the zeros in [0,2π)[0,2\pi)⁠.
    Zeros of sine and cosine (Class XI). Basics: trigonometric identities
  3. The three domains

    A quotient is defined exactly where its denominator is not zero. So, by Step 2:

    FunctionFormulaDomain
    cosecant1sin⁡x\frac{1}{\sin x}all real xx except x=nπx=n\pi
    secant1cos⁡x\frac{1}{\cos x}all real xx except x=(2n+1)π2x=(2n+1)\frac{\pi}{2}
    cotangentcos⁡xsin⁡x\frac{\cos x}{\sin x}all real xx except x=nπx=n\pi

    (nn runs over all integers in each case.)

    Continuity is only discussed at points of the domain, so we must know the domain first. For cotangent, the numerator cos⁡x\cos x is never 00 at the same time as sin⁡x\sin x (since sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1⁠), but that does not matter: sin⁡x=0\sin x=0 alone makes cos⁡xsin⁡x\frac{\cos x}{\sin x} undefined.
  4. Cosecant is continuous at every point of its domain

    Let cc be in the domain, so sin⁡c≠0\sin c\ne0⁠. Sine is continuous at cc (Example 17), so by Theorem 1 (4) (Remark (ii) with λ=1\lambda=1⁠), 1sin⁡x\frac{1}{\sin x} is continuous at cc⁠:

    lim⁡x→ccosec⁡x=1sin⁡c=cosec⁡c.\lim_{x\to c}\operatorname{cosec}x=\frac{1}{\sin c}=\operatorname{cosec}c.
    The condition "g(c)≠0g(c)\ne0" in Theorem 1 (4) is exactly the condition for cc to be in the domain. So the theorem covers every point where the question makes sense.
    Theorem 1 (4) and Remark (ii). Lesson: algebra of continuous functions
  5. Secant is continuous at every point of its domain

    Let cc be in the domain, so cos⁡c≠0\cos c\ne0⁠. Cosine is continuous at cc (Step 1), so by Theorem 1 (4), 1cos⁡x\frac{1}{\cos x} is continuous at cc⁠:

    lim⁡x→csec⁡x=1cos⁡c=sec⁡c.\lim_{x\to c}\sec x=\frac{1}{\cos c}=\sec c.
    Same argument as Step 4 with cosine in the denominator; the excluded points are now the odd multiples of π2\frac{\pi}{2}⁠.
  6. Cotangent is continuous at every point of its domain

    Let cc be in the domain, so sin⁡c≠0\sin c\ne0⁠. Both cos⁡\cos and sin⁡\sin are continuous at cc (Step 1, Example 17), so by Theorem 1 (4):

    lim⁡x→ccot⁡x=cos⁡csin⁡c=cot⁡c.\lim_{x\to c}\cot x=\frac{\cos c}{\sin c}=\cot c.
    This is the same reasoning the textbook uses for tan⁡x=sin⁡xcos⁡x\tan x=\frac{\sin x}{\cos x} in Example 18, with the roles of sine and cosine swapped.
    Compare Example 18 (tangent). Example 18
  7. The excluded points, and how to read the answer key

    At x=nπx=n\pi the cosecant and cotangent are not defined (division by 00⁠), and at x=(2n+1)π2x=(2n+1)\frac{\pi}{2} the secant is not defined. These points are not in the domains, so by Definition 1 there is nothing to test there: there is no value f(c)f(c) to compare with a limit. Moreover, no value could be assigned to repair them, because near such a point the function grows without bound; for example cosec⁡(0.001)≈1000.0002\operatorname{cosec}(0.001)\approx1000.0002 and cosec⁡(−0.001)≈−1000.0002\operatorname{cosec}(-0.001)\approx-1000.0002⁠.

    So, in the sense of Definition 2, cosecant, secant and cotangent are continuous functions: each is continuous at every point of its domain. The answer key's wording "continuous except for x=nπx=n\pi" (and so on) says the same thing: the listed points are exactly the points where the function is not defined.

    The textbook treats 1x\frac1x the same way in Example 9: it is called a continuous function, even though the graph breaks at 00⁠, because 00 is not in its domain. A break in the graph at a point outside the domain is not a discontinuity in this book's sense.
    Definition 2 and Example 9, Section 5.2. Lesson: continuity at a point
−2π −π π 2π −3 −2 −1 1 2 3 x y y = cosec x = 1/sin x y = sin x x = nπ: sin x = 0, cosec x not defined
y=cosec⁡xy=\operatorname{cosec}x (blue) on −2π≤x≤2π-2\pi\le x\le2\pi⁠, cut off at heights ±4\pm4⁠. Each branch is unbroken; the graph breaks only on the dashed lines x=nπx=n\pi⁠, where sin⁡x=0\sin x=0 and cosec⁡x\operatorname{cosec}x is not defined. The graph of sec⁡x\sec x looks the same shifted by π2\frac{\pi}{2}⁠, with breaks at the odd multiples of π2\frac{\pi}{2}⁠.
Result

Cosine is continuous at every real number.

Cosecant and cotangent are continuous at every real x≠nπx\ne n\pi (n∈Zn\in\Z⁠), which is their whole domain; at x=nπx=n\pi they are not defined.

Secant is continuous at every real x≠(2n+1)π2x\ne(2n+1)\frac{\pi}{2} (n∈Zn\in\Z⁠), its whole domain; at those points it is not defined.

So all four are continuous functions on their domains.

(Textbook answer: Cosine function is continuous for all x∈Rx\in\R⁠; cosecant is continuous except for x=nπx=n\pi⁠, n∈Zn\in\Z⁠; secant is continuous except for x=(2n+1)π2x=(2n+1)\frac{\pi}{2}⁠, n∈Zn\in\Z and cotangent function is continuous except for x=nπx=n\pi⁠, n∈Zn\in\Z⁠.)

Check it with numbers

At a point of the domain, c=1c=1⁠: cosec⁡1≈1.1883951\operatorname{cosec}1\approx1.1883951⁠, sec⁡1≈1.8508157\sec1\approx1.8508157⁠, cot⁡1≈0.6420926\cot1\approx0.6420926⁠; the values at 0.9990.999 and 1.0011.001 differ from these by less than 0.0030.003⁠. ✓

Near an excluded point: cosec⁡(±0.001)\operatorname{cosec}(\pm0.001) ≈±1000.0002\approx\pm1000.0002⁠, cot⁡(±0.001)≈±999.9997\cot(\pm0.001)\approx\pm999.9997⁠, and sec⁡(π2−0.001)\sec\left(\frac{\pi}{2}-0.001\right) ≈1000.0002\approx1000.0002⁠. The values blow up, with opposite signs on the two sides, so these points cannot be in any domain on which the function is continuous. ✓

Common mistakes
  1. Calling x=nπx=n\pi "points of discontinuity" of cosecant. In this book continuity and discontinuity are only discussed at points of the domain, and nπn\pi is not in the domain of cosecant.
  2. Mixing up the excluded sets. Cosecant and cotangent fail where sin⁡x=0\sin x=0 (x=nπx=n\pi⁠); secant fails where cos⁡x=0\cos x=0 (x=(2n+1)π2x=(2n+1)\frac{\pi}{2}⁠).
  3. Listing only some zeros. sin⁡x=0\sin x=0 at every integer multiple of π\pi⁠, including negative ones and 00⁠.
  4. Using Theorem 1 (4) without checking g(c)≠0g(c)\ne0⁠. The theorem needs a non-zero denominator at the point.
What to take away
  1. All six trigonometric functions are continuous on their domains: sine and cosine everywhere, the others wherever their denominator is non-zero.
  2. For a quotient, the domain and the set of continuity coincide when numerator and denominator are continuous everywhere.
  3. "Continuous except at x=ax=a" in an answer key often means "aa is not in the domain"; check which reading applies.

Every fact used, and where it comes from

FactUsed inSource
Continuity at a point of the domain; continuous functionSteps 3, 7Definitions 1 and 2, Section 5.2 (Lesson: continuity at a point)
Sine is continuous; lim⁡h→0sin⁡h=0\lim_{h\to0}\sin h=0Steps 1, 4, 6Example 17, Section 5.2.1 (the limit is stated there without proof)
cos⁡h=1−2sin⁡2h2\cos h=1-2\sin^2\frac h2⁠, so cos⁡h→1\cos h\to1Step 1Class XI, Chapter 3 (Trigonometric Functions); see Q21, Step 2
Cosine is continuousSteps 1, 5, 6Remark after Example 17 (proved in Step 1)
Quotient and reciprocal of continuous functionsSteps 4–6Theorem 1 (4) and Remark (ii), Section 5.2.1 (Lesson: algebra of continuous functions)
Zeros of sin⁡\sin and cos⁡\cos⁠; angle-sum formulaSteps 1, 2Class XI, Chapter 3 (Trigonometric Functions)
A function with a point missing from its domain can still be continuousStep 7Example 9 (1x\frac1x⁠) and Example 18 (tan⁡x\tan x⁠), Section 5.2
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 →