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: R \rightarrow R$ is defined by $f(x) = \begin{cases} \frac{2 \sin x-\sin 2 x}{2 x \cos x}, & \text{if } x \neq 0 \\ a, & \text{if } x=0 \end{cases}$,then the value of $a$ so that $f$ is continuous at $x=0$ is

If the function $f: R \rightarrow R$ defined by $f(x) = \begin{cases} \frac{a(1-\cos 2x)}{x^2}, & x < 0 \\ b, & x = 0 \\ \frac{\sqrt{x}}{\sqrt{4+\sqrt{x}}-2}, & x > 0 \end{cases}$ is continuous at $x = 0$,then $a+b=$

If $f(x) = \begin{cases} \frac{8^x-4^x-2^x+1}{x^2}, & \text{if } x > 0 \\ e^x \sin x + x + \lambda \log 4, & \text{if } x \leqslant 0 \end{cases}$ is continuous at $x = 0$,then the value of $1000 e^\lambda = $

If $f(x) = \frac{x^2-10x+25}{x^2-7x+10}$ and $f$ is continuous at $x=5$,then $f(5)$ is equal to

If the function $f(x) = \begin{cases} (1+|\cos x|)^{\frac{\lambda}{|\cos x|}} & , 0 < x < \frac{\pi}{2} \\ \mu & , x = \frac{\pi}{2} \\ e^{\frac{\cot 6x}{\cot 4x}} & , \frac{\pi}{2} < x < \pi \end{cases}$ is continuous at $x = \frac{\pi}{2}$,then $9\lambda + 6 \log_{e} \mu + \mu^6 - e^{6\lambda}$ is equal to

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