Determine if \(f\) defined by \(f(x)=\begin{cases}x^2\ sin \dfrac{1}{x},&\text{ifx\)\ne\(0}\\ 0,&\text{if x= 0}\end{cases}\) is a continuous function?
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine a function is like a machine that gives you a number for every input. This machine behaves very smoothly almost everywhere, like a calm river. Near the tricky spot \( x = 0 \), the machine wobbles wildly, but it gets squeezed tighter and tighter toward zero. Because the wobbling is always trapped between two values that both shrink to zero, the output at \( x = 0 \) is perfectly smooth too. So the machine never jumps or breaks anywhere.
Answer: Yes, \( f \) is a continuous function. It is continuous for all \( x \ne 0 \) as a product of continuous functions, and at \( x = 0 \) the Sandwich Theorem gives \( \lim_{x \to 0} f(x) = 0 = f(0) \). Hence \( f \) is continuous on all of \( \mathbb{R} \).
A function \( f \) is said to be continuous at a point \( x = a \) if \( \lim_{x \to a} f(x) = f(a) \). This means the limit of the function as \( x \) approaches \( a \) exists and equals the actual value of the function at \( a \). Here the function is \( f(x) = x^2 \sin\frac{1}{x} \) for \( x \ne 0 \) and \( f(0) = 0 \). For all \( x \ne 0 \), the function is a product and composition of continuous functions (polynomial \( x^2 \) and \( \sin\frac{1}{x} \)), so continuity is automatic there. The only doubtful point is \( x = 0 \), because \( \sin\frac{1}{x} \) oscillates wildly near \( 0 \). We handle this using the Sandwich (Squeeze) principle, since \( \sin\frac{1}{x} \) always stays between \( -1 \) and \( 1 \).
\( f \) is continuous at \( x = a \) if \( \lim_{x \to a} f(x) = f(a) \). Also, \( -1 \le \sin\theta \le 1 \) for all \( \theta \).
Yes, \( f \) is a continuous function. It is continuous for all \( x \ne 0 \) as a product of continuous functions, and at \( x = 0 \) the Sandwich Theorem gives \( \lim_{x \to 0} f(x) = 0 = f(0) \). Hence \( f \) is continuous on all of \( \mathbb{R} \).
A common mistake is to try to compute \( \lim_{x \to 0} \sin\frac{1}{x} \) directly and claim the limit does not exist, then conclude \( f \) is discontinuous. In fact \( \sin\frac{1}{x} \) alone has no limit at \( 0 \), but multiplying by \( x^2 \) (which tends to \( 0 \)) forces the whole product to \( 0 \) by the Sandwich Theorem. Never ignore the \( x^2 \) factor.
Yes, \( f \) is a continuous function. It is continuous for all \( x \ne 0 \) as a product of continuous functions, and at \( x = 0 \) the Sandwich Theorem gives \( \lim_{x \to 0} f(x) = 0 = f(0) \). Hence \( f \) is continuous on all of \( \mathbb{R} \).
One common mistake: students try to evaluate \( \lim_{x \to 0} \sin\!\left(\frac{1}{x}\right) \) separately and, finding it does not exist, incorrectly conclude that \( \lim_{x \to 0} f(x) \) also does not exist. In reality, the factor \( x^2 \to 0 \) suppresses the oscillation of \( \sin\!\left(\frac{1}{x}\right) \), so the product still tends to \( 0 \); always check whether a vanishing factor can tame a bounded but oscillating one before concluding a limit fails to exist.
Answer: Yes, \( f \) is a continuous function. It is continuous for all \( x \ne 0 \) as a product of continuous functions, and at \( x = 0 \) the Sandwich Theorem gives \( \lim_{x \to 0} f(x) = 0 = f(0) \). Hence \( f \) is continuous on all of \( \mathbb{R} \).
Question: Determine whether the function \( g \) defined by \[ g(x) = \begin{cases} x^3 \cos\dfrac{1}{x} & \text{if } x \ne 0 \\ 0 & \text{if } x = 0 \end{cases} \] is continuous at \( x = 0 \).
Solution: We need to check whether \( \lim_{x \to 0} g(x) = g(0) \). Step 1: Find \( g(0) \). From the definition, \( g(0) = 0 \). Step 2: Find \( \lim_{x \to 0} g(x) \). For \( x \ne 0 \), we have \( g(x) = x^3 \cos\left(\dfrac{1}{x}\right) \). Since cosine is bounded, we know \[ -1 \le \cos\left(\frac{1}{x}\right) \le 1 \] for all \( x \ne 0 \). Multiplying throughout by \( x^3 \) (considering both positive and negative values of \( x \)), we get \[ -|x^3| \le x^3 \cos\left(\frac{1}{x}\right) \le |x^3|. \] Now, as \( x \to 0 \), we have \[ \lim_{x \to 0} |x^3| = 0 \quad \text{and} \quad \lim_{x \to 0} (-|x^3|) = 0. \] By the Squeeze (Sandwich) Theorem, \[ \lim_{x \to 0} x^3 \cos\left(\frac{1}{x}\right) = 0. \] Step 3: Compare the limit with \( g(0) \). We have \( \lim_{x \to 0} g(x) = 0 = g(0) \). Step 4: Conclusion. Since the limit exists and equals the value of the function at \( x = 0 \), the function \( g \) is continuous at \( x = 0 \). For \( x \ne 0 \), \( g(x) \) is a product and composition of continuous functions (polynomial \( x^3 \), cosine, and \( 1/x \)), so it is continuous everywhere else as well. Therefore, \( g \) is continuous on all of \( \mathbb{R} \).
Answer: g is continuous at x = 0, and hence continuous everywhere on \( \mathbb{R} \).
Question: Examine the continuity of the function \( h \) defined by \[ h(x) = \begin{cases} x^2 \cos\dfrac{2}{x} & \text{if } x \ne 0 \\ 0 & \text{if } x = 0 \end{cases} \] at \( x = 0 \). Is \( h \) continuous on all of \( \mathbb{R} \)?
Solution: We check the three conditions for continuity at \( x = 0 \). Condition 1: \( h(0) \) is defined. From the definition, \( h(0) = 0 \). So \( h(0) \) exists. Condition 2: \( \lim_{x \to 0} h(x) \) exists. For \( x \ne 0 \): \( h(x) = x^2 \cos\left(\dfrac{2}{x}\right) \). Since cosine is always bounded between \(-1\) and \(1\), we have \[ -1 \le \cos\left(\frac{2}{x}\right) \le 1 \] for all \( x \ne 0 \). Multiplying by \( x^2 \ge 0 \), we obtain \[ -x^2 \le x^2 \cos\left(\frac{2}{x}\right) \le x^2. \] As \( x \to 0 \): \[ \lim_{x \to 0} (-x^2) = 0 \quad \text{and} \quad \lim_{x \to 0} x^2 = 0. \] By the Squeeze Theorem, \[ \lim_{x \to 0} x^2 \cos\left(\frac{2}{x}\right) = 0. \] So the limit exists and equals \( 0 \). Condition 3: The limit equals the function value. We have \( \lim_{x \to 0} h(x) = 0 = h(0) \). All three conditions are satisfied, so \( h \) is continuous at \( x = 0 \). For \( x \ne 0 \): The expression \( x^2 \cos\left(\dfrac{2}{x}\right) \) is a composition and product of continuous functions (the polynomial \( x^2 \), the function \( \dfrac{2}{x} \) which is continuous for \( x \ne 0 \), and cosine). So \( h \) is continuous for all \( x \ne 0 \). Conclusion: \( h \) is continuous on all of \( \mathbb{R} \).
Answer: h is continuous at x = 0, and hence continuous on all of \( \mathbb{R} \).
Question: Determine whether the function \( g \) defined by \[ g(x) = \begin{cases} x^3 \cos\!\left(\dfrac{1}{x}\right) & \text{if } x \ne 0 \\ 0 & \text{if } x = 0 \end{cases} \] is continuous at \( x = 0 \). Is \( g \) differentiable at \( x = 0 \)? If yes, find \( g'(0) \).
Answer: Yes, \( g \) is continuous on all of \( \mathbb{R} \). Moreover, \( g \) is differentiable at \( x = 0 \) with \( g'(0) = 0 \). (The original question only asked about continuity and concluded \( f \) was continuous; this new question additionally establishes differentiability at \( x = 0 \) with a specific derivative value.)