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

Let the function $f(x) = \begin{cases} \frac{\log_{e}(1+5x) - \log_{e}(1+\alpha x)}{x} & \text{if } x \neq 0 \\ 10 & \text{if } x = 0 \end{cases}$ be continuous at $x = 0$. The value of $\alpha$ is equal to:

Let $f : \mathbb{R} \to \mathbb{R}$ be a function defined as $f(x) = \begin{cases} 5, & \text{if } x \le 1 \\ a + bx, & \text{if } 1 < x < 3 \\ b + 5x, & \text{if } 3 \le x < 5 \\ 30, & \text{if } x \ge 5 \end{cases}$. Then $f$ is

If the function $f(x) = \frac{2x - \sin^{-1}x}{2x + \tan^{-1}x}, (x \neq 0)$ is continuous at each point of its domain,then the value of $f(0)$ is

Examine the continuity of $f$,where $f$ is defined by $f(x) = \begin{cases} \sin x - \cos x, & \text{if } x \neq 0 \\ -1, & \text{if } x = 0 \end{cases}$

$f(x) = \begin{cases} \frac{x-4}{|x-4|} + a, & x < 4 \\ a+b, & x=4 \\ \frac{x-4}{|x-4|} + b, & x > 4 \end{cases}$
If $f(x)$ given above is continuous at $x=4$,then find the values of '$a$' and '$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