Question
Show that the function defined by f(x) = | cos x | is a continuous function.

Answer

It is given function is $\text{f(x)} = |\cos\text{x}|$
The given function f is defined for real number and f can be written as the composition of two functions, as
f = goh, where, $\text{g(x}) =| \text{x}|\ \text {and}\ \text{h(x)} = \cos\text{x}$ 
First we have to prove that $\text{g(x}) =| \text{x}|\ \text {and}\ \text{h(x)} = \cos\text{x}$ are continuous functions.
g(x) = lxl can be written as
$\text{g(x)}=\begin{cases}-\text{x},&\text{if}\ \text{x}<{0}\\\text{x},& \text{if}\ \text{x}\geq0\end{cases}$
Now, g is defined for all real number.
Let k be a real number.
Case I: If k < 0,
Then g(k) = -k
And $^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\text{g(x)} = ^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}(-\text{x}) = -\text{k}$
Thus $^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\text{g(x)} =\text{g(k)}$
Therefore, g is continuous at all points x, i.e. x  > 0
Case II: If k > 0,
Then g(k) = k and
$^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\text{g(x)} =\text{g(k)}$
Therefore, g is continuous at all points x, i.e. x  < 0
Case III: If k = 0,
Then, g(k) = g(0) = 0
$^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{-}}\text{g(x)} = ^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{-}}(-\text{x}) = 0$
$^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{+}}\text{g(x)} = ^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{+}}(\text{x}) = 0$
$\therefore^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{-}}\text{g(x)} = ^{\ \ \text{lim}}_{\text{x}\rightarrow\text{0}^{+}}\text g({\text x}) =\text{g}( 0)$
Therefore, g is continuous at x = 0
From the above 3 cases, we get that g is continuous at all points.
h(x) = cosx
We know that h is defined for every real number.
Let k be a real number.
Now, put x = k + h
If x → k, then h → 0
$^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\text{h(x)} =^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\cos\text{x}$
$ = ^{\ \ \text{lim}}_{\text{h}\rightarrow\text{0}}\cos(\text{k}+\text{h})$
$ = ^{\ \ \text{lim}}_{\text{h}\rightarrow\text{0}}[\cos\text{k}.\cos\text{h} - \sin\text{k}.\sin\text{h}]$
$ = ^{\ \ \text{lim}}_{\text{h}\rightarrow\text{0}}\cos\text{k}\cos\text{h} - ^{\ \ \text{lim}}_{\text{h}\rightarrow\text{0}}\sin\text{k}\sin\text{h}$
$= \cos \text{k}\cos0 - \sin\text{k}\sin0$
$= \cos \text{k} \times 1 - \sin \times\ 0$
$=\cos \text{k}$
$\therefore\ ^{\ \ \text{lim}}_{\text{x}\rightarrow\text{k}}\text{h(x)} =\text{h(k)}$
Thus, h(x) = cos x is continuous function.
We know that for real valued functions g and h, such that (goh) is defined at k, if g is continuous at k and if f is continuous at g(k),
Then (fog) is continuous at k.
Therefore,$\text{ f(x)} = \text{(gof)(x)} = \text{g(h(x))} = \text{g}(\cos \text{x)}= |\cos\text{x}|$ is a continuous function.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Using properties of determinants, prove the following: $ \begin{bmatrix} \text{ x}&\text{x + y }&\text{x} + 2\text{y}\\ \text{x} + 2\text{y} & \text{x}& \text{x + y }\\\text{x + y}&\text{x} + 2\text{y}& \text{x} \end{bmatrix} = 9\text{y}^{2}(\text{x} + \text{y}). $
A bag contains 10 balls, each marked with one of the digits from 0 to 9. If four balls are drawn successively with replacement from the bag, what is the probability that none is marked with the digit 0?
Maximise Z = 3x + 5y
such that $\text{x}+3\text{y}\geq3,\ \text{x}+\text{y}\geq2,\ \text{x},\ \text{y}\geq0.$
Find the equation of the plane determined by the points A (3, –1, 2), B (5, 2, 4) and C (–1, –1, 6). Also find the distance of the point P (6, 5, 9) from the plane.
A and B are two events such that $\text{P}(\text{A})=\frac{1}{2},\text{P}(\text{B})=\frac{1}{3}$ and $\text{P}(\text{A}\cap\text{B})=\frac{1}{4}.$ Find:
  1. $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)$
  2. $\text{P}\Big(\frac{\text{B}}{\text{A}}\Big)$
  3. $\text{P}\Big(\frac{\text{A}'}{\text{B}}\Big)$
  4. $\text{P}\Big(\frac{\text{A}'}{\text{B}'}\Big)$
Evaluate the following:
$\int\limits^{\frac{\pi}{2}}_0\frac{\tan\text{x dx}}{1+\text{m}^2\tan^2\text{x}}\text{dx}$
Let A = {a, b, c}, B = {u, v, w} and let f and g be two functions from A to B and from B to A, respectively, defined as:
f = {(a, v), (b, u), (c, w)}, g = {(u, b), (v, a), (w, c)}.
Show that f and g both are bijections and find fog and gof.
Solve the following systems of homogeneous linear equations by matrix method:
x + y - z = 0
x - 2y + z = 0
3x + 6y - 5z = 0
Maximize $Z =3 x+2 y$ subject to constraints\[\begin{array}{l}5 x+2 y \leq 10 \\3 x+5 y \leq 15 \\x \geq 0, y \geq 0\end{array}\]using graphical method.