Show that the function defined by $\text{f(x)=cos(}{{\text{x}}^{\text{2}}}\text{)}$ is a continuous function.
Show solutionHide solution
Ans: The given function is $\text{f(x)=cos(}{{\text{x}}^{\text{2}}}\text{)}$.
Note that, $\text{f}$ is defined for all real numbers and so $\text{f}$ can be expressed as the composition of two functions as, $\text{f=g}\circ \text{h}$, where $\text{g(x)=cosx}$ and $\text{h(x)=}{{\text{x}}^{\text{2}}}$.
$\text{ }\!\![\!\!\text{ }\therefore \text{(goh)(x)=g(h(x))=g(}{{\text{x}}^{\text{2}}}\text{)=cos(}{{\text{x}}^{\text{2}}}\text{)=f(x) }\!\!]\!\!\text{ }$
Now, it is to be Proven that, the functions $\text{g(x)=cosx}$ and $\text{h(x)=}{{\text{x}}^{\text{2}}}$ are continuous.
Since the function $\text{g}$ is defined for all the real numbers, let 's consider $\text{c}$ be a real number.
Then, $\text{g(c)=cosc}$.
Substitute $\text{x=c+h}$ into the function $\text{g}$.
When, $\text{x}\to \text{c}$, then \[\text{h}\to 0\].
Then we have,
$\begin{align}
& \underset{\text{x}\to \text{c}}{\mathop{\lim }}\,\text{g(x)=}\underset{\text{x}\to \text{c}}{\mathop{\lim }}\,\text{cosx} \\
& =\underset{\text{h}\to 0}{\mathop{\lim }}\,\text{cos}\left( \text{c+h} \right) \\
& =\underset{\text{h}\to 0}{\mathop{\lim }}\,\left[ \text{cosc}\cdot \text{cosh-sinc}\cdot \text{sinh} \right] \\
& =\underset{\text{h}\to 0}{\mathop{\lim }}\,\left( \text{cosc}\cdot \text{cosh} \right)-\underset{\text{h}\to 0}{\mathop{\lim }}\,\left( \text{sinc}\cdot \text{sinh} \right) \\
& \text{=cosc}\cdot \text{cos0}-\text{sinc}\cdot \text{sin0} \\
& \text{=cosc }\!\!\times\!\!\text{ 1}-\text{sinc }\!\!\times\!\!\text{ 0} \\
& \text{=cosc} \\
\end{align}$
Therefore, $\underset{\text{x}\to \text{c}}{\mathop{\lim }}\,\text{g(x)=g(c)}$.
Hence, the function $\text{g(x)=cosx}$ is continuous.
Again, $\text{h(x)=}{{\text{x}}^{\text{2}}}$ is defined for every real point.
So, let consider $\text{k}$ be a real number, then $\text{h(k)=}{{\text{k}}^{\text{2}}}$ and
$\underset{\text{x}\to \text{k}}{\mathop{\lim }}\,\text{h(x)=}\underset{\text{x}\to \text{k}}{\mathop{\lim }}\,{{\text{x}}^{\text{2}}}\text{=}{{\text{k}}^{\text{2}}}$.
Therefore, $\underset{\text{x}\to \text{k}}{\mathop{\lim }}\,\text{h(x)=h(k)}$.
Hence, the function $\text{h}$ is continuous.
Now, remember that for real valued functions $\text{g}$ and $\text{h}$ , such that $\text{(g }\circ \text{ h)}$ is defined at $\text{c}$ , if $\text{g}$ is continuous at $\text{c}$ and $\text{f}$ is continuous at $\text{g(c)}$, then $\text{(f }\circ \text{ h)}$is continuous at $\text{c}$.
Hence, the function $\text{f(x)=(g }\circ \text{ h)(x)=cos(}{{\text{x}}^{2}}\text{)}$ is continuous.