Question
Question: If \(f\left( x \right)=x\sin \dfrac{1}{x},x\ne 0\) then the value of the function at \(x=0\) so that...
If f(x)=xsinx1,x=0 then the value of the function at x=0 so that the function is the continuous at x=0 is,
A. 1
B. 0
C. – 1
D. Indeterminate
Solution
Hint: We know that if a function f(x) is continuous at a point x=a, then x→alim(f(x)) must be equal to f(a). So, we will find the limit of the function at x=0. We will use the sandwich theorem to find the limit.
Complete step-by-step answer:
We have been given f(x)=xsinx1,x=0 and asked to find the value of f(x). So, it is continuous at x=0.
We know that if a function f(x) is continuous at x=a, then
x→alimf(x)=f(a)⇒x→0limxsinx1=f(0)
Sandwich theorem is also known as squeeze theorem in which if we have three function say f, g, h and f(x)≤g(x)≤h(x) then at any point x=α. We have f(α)=h(α) then g(k) must be equal to them.
Now, we will use the sandwich theorem to find the above limit. We know that sinx oscillates between ±1, that is,
−1≤sinx≤1
On multiplying both sides by x, then depending upon the sign of x, we get,
If x>0
⇒−x≤xsin(x1)≤x
If x<0
⇒−x≥xsin(x1)≥x
Since,
x→0+limx=x→0+lim(−x)=0x→0−limx=x→0−lim−x=0
According, to sandwich theorem we can say,
x→0limxsin(x1)=0⇒f(0)=0
Therefore, the value of the function at x=0 is equal 0 and the correct option is option B.
Note: Be careful while finding the limit and take care of the sign during the inequality. Also, remember that we have used the sandwich theorem to solve this question, which is the best way to approach this type of questions in exams. It makes it easier to solve such difficult limits in less time. So, students must be familiar with this theorem as it will help in solving fast and scoring marks too.