Examine whether $f(x) = \sin |x|$ is a continuous function.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Let $f(x) = \sin |x|$.
This function $f$ is defined for every real number and $f$ can be written as the composition of two functions $f = h \circ g$,where $g(x) = |x|$ and $h(x) = \sin x$.
$[\because (h \circ g)(x) = h(g(x)) = h(|x|) = \sin |x| = f(x)]$
First,we prove that $g(x) = |x|$ and $h(x) = \sin x$ are continuous functions.
$g(x) = |x|$ can be written as:
$g(x) = \begin{cases} -x, & \text{if } x < 0 \\ x, & \text{if } x \ge 0 \end{cases}$
Clearly,$g$ is defined for all real numbers. Let $c$ be a real number.
Case $I$: If $c < 0$,$g(c) = -c$ and $\lim_{x \to c} g(x) = \lim_{x \to c} (-x) = -c$. Thus,$\lim_{x \to c} g(x) = g(c)$. So,$g$ is continuous for $x < 0$.
Case $II$: If $c > 0$,$g(c) = c$ and $\lim_{x \to c} g(x) = \lim_{x \to c} (x) = c$. Thus,$\lim_{x \to c} g(x) = g(c)$. So,$g$ is continuous for $x > 0$.
Case $III$: If $c = 0$,$g(0) = 0$. $\lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} (-x) = 0$ and $\lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} (x) = 0$. Since $\lim_{x \to 0^-} g(x) = \lim_{x \to 0^+} g(x) = g(0)$,$g$ is continuous at $x = 0$.
Thus,$g(x) = |x|$ is continuous everywhere.
Now,$h(x) = \sin x$ is defined for every real number. Let $c$ be a real number. Put $x = c + k$. If $x \to c$,then $k \to 0$.
$\lim_{x \to c} h(x) = \lim_{k \to 0} \sin(c + k) = \lim_{k \to 0} (\sin c \cos k + \cos c \sin k) = \sin c(1) + \cos c(0) = \sin c = h(c)$.
Thus,$h(x) = \sin x$ is continuous everywhere.
Since the composition of two continuous functions is continuous,$f(x) = (h \circ g)(x) = \sin |x|$ is a continuous function.

Explore More

Similar Questions

If $f(x) = \begin{cases} [x] + [-x], & x \neq 2 \\ \lambda, & x = 2 \end{cases}$ is continuous at $x = 2$,then $\lambda = $ (where $[.]$ denotes the greatest integer function).

Suppose $f(x) = \begin{cases} a + bx, & x < 1 \\ 4, & x = 1 \\ b - ax, & x > 1 \end{cases}$ and if $\lim_{x \to 1} f(x) = f(1)$,what are the possible values of $a$ and $b$?

Suppose that $f$ is continuous on $[a, b]$ and that $f(x)$ is an integer for each $x$ in $[a, b]$. Then in $[a, b]$

The function $f(x) = \frac{1 - \sin x + \cos x}{1 + \sin x + \cos x}$ is not defined at $x = \pi$. The value of $f(\pi)$,so that $f(x)$ is continuous at $x = \pi$,is

If $f(x) = \begin{cases} \frac{x-2}{|x-2|}+a & , x<2 \\ a+b & , x=2 \\ \frac{x-2}{|x-2|}+b & , x>2 \end{cases}$ is continuous at $x=2$, then $a+b=$

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo