We can write the function \( f(x) = x + |x| \) as a piecewise function by considering the definition of \( |x| \). \[ |x| = \begin{cases} x, & x \geq 0 \\ -x, & x < 0 \end{cases} \]
So, \[ f(x) = \begin{cases} x + x = 2x, & x \geq 0 \\ x + (-x) = 0, & x < 0 \end{cases} \]
The function is composed of two linear pieces, \( y=2x \) and \( y=0 \). Linear functions are continuous everywhere. The only point where continuity might be an issue is at the "join" point, \( x=0 \). To check for continuity at \( x=0 \), we check the left-hand limit, the right-hand limit, and the function value. \[\begin{array}{rl} \bullet & \text{Function value: \( f(0) = 2(0) = 0 \).} \\ \bullet & \text{Left-hand limit (LHL): \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} 0 = 0 \).} \\ \bullet & \text{Right-hand limit (RHL): \( \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} 2x = 2(0) = 0 \).} \\ \end{array}\] Since LHL = RHL = \( f(0) \), the function is continuous at \( x=0 \). Because it is continuous for \( x < 0 \), continuous for \( x > 0 \), and continuous at \( x=0 \), the function is continuous for all real numbers, i.e., \( x \in (-\infty, \infty) \).
The area enclosed between the curve \( y = \sin x, y = \cos x \), \(\text{ for }\) \( 0 \leq x \leq \frac{\pi}{2} \) \(\text{ is:}\)
Let \( f: \mathbb{R} \to \mathbb{R} \) \(\text{ be any function defined as }\) \[ f(x) = \begin{cases} x^\alpha \sin \left( \frac{1}{x^\beta} \right) & \text{for } x \neq 0, \\ 0 & \text{for } x = 0, \end{cases} \] where \( \alpha, \beta \in \mathbb{R} \). Which of the following is true? \( \mathbb{R} \) denotes the set of all real numbers.