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

If y(x) is a solution of the different equation $\Big(\frac{2+\sin\text{x}}{1+\text{y}}\Big)\frac{\text{dy}}{\text{dx}}=-\cos\text{x}$ and $\text{y}(0)=1,$ then find the value of $\text{y}\Big(\frac{\pi}{2}\Big).$
If $\text{A}=\begin{bmatrix}3 & -2 \\4 & -2 \end{bmatrix},$ find the value of $\lambda$ so that $\text{A}^2=\lambda\text{A}-2\text{I}.$ Hence, find $A^{-1}.$
Evaluate the definite integral in Exercise:
$\int\limits_{1}^{2}\frac{5\text{x}^{2}}{\text{x}^{2}+4\text{x}+3}\text{dx}$
If $\text{A}=\begin{bmatrix}0&0\\4&0\end{bmatrix},$ find $A^{16}$.
Find the vector equations of the following planes in scalar product form $(\vec{\text{r}}\cdot\vec{\text{n}}=\text{d}):$
$\vec{\text{r}}=(1+\text{s}-\text{t})\hat{\text{t}}+(2-\text{s})\hat{\text{j}}+(3-2\text{s}+2\text{t})\hat{\text{k}}$
A test for detection of a particular disease is not fool proof. The test will correctly detect the disease 90% of the time, but will incorrectly detect the disease 1% of the time. For a large population of which an estimated 0.2% have the disease, a person is selected at random, given the test, and told that he has the disease. What are the chances that the person actually have the disease?
Solve the following differential equation :
$\left(y+3 x^2\right) \frac{d x}{d y}=x$
Solve the following differential equations:
$(\text{x}-1)\frac{\text{dy}}{\text{dx}}=2\text{x}^3\text{y}$
If $\text{A}=\begin{bmatrix}2&3\\1&2\end{bmatrix}$ and $\text{I}=\begin{bmatrix}1&0\\0&1\end{bmatrix},$ then find $\lambda,\mu$ so that $\text{A}^2=\lambda\text{A}+\mu\text{I}$
Experiments show that radium disintegrates at a rate proportional to the amount of radium present at the moment. Its half - life is 1590 years. What percentage will disappear in one year?