Solveeit Logo

Question

Question: If \[f\left( x \right) = \left\\{ \begin{array}{l}x,x \in {\bf{Q}}\\\ - x,x \notin {\bf{Q}}\end{arra...

If f\left( x \right) = \left\\{ \begin{array}{l}x,x \in {\bf{Q}}\\\ - x,x \notin {\bf{Q}}\end{array} \right. , then ff is continuous at-
A.Only at zero
B.Only at 0, 1
C.All real numbers
D.All rational numbers

Explanation

Solution

Here, we will find the point where the given function is continuous. We will consider a rational number to find the function, whether it is continuous at the point. A continuous function is a function where the function does not have any abrupt changes in the interval.

Complete step-by-step answer:
We are given that f\left( x \right) = \left\\{ \begin{array}{l}x,x \in {\bf{Q}}\\\ - x,x \notin {\bf{Q}}\end{array} \right.
Here Q{\bf{Q}} represents the rational numbers.
Let us consider P to be any rational number.
Thus from the given function, we get
f(P)=Pf\left( P \right) = P
Taking the left hand limit xPx \to {P^ - }
L.H.L=limxPf(x)L.H.L = \mathop {\lim }\limits_{x \to {P^ - }} f\left( x \right)
L.H.L=limxP(x)\Rightarrow L.H.L = \mathop {\lim }\limits_{x \to {P^ - }} \left( { - x} \right)
Substituting the limits, we get
L.H.L=(P)\Rightarrow L.H.L = \left( { - P} \right)
Taking the right hand limit xP+x \to {P^ + }
R.H.L=limxP+(x)R.H.L = \mathop {\lim }\limits_{x \to {P^ + }} \left( { - x} \right)
Substituting the limits, we get
R.H.L=(P)\Rightarrow R.H.L = \left( { - P} \right)
So, we have at x=PQx = P \in {\bf{Q}} , both the right hand limits and the left hand limits are equal.
L.H.L=R.H.L=Pf(P)L.H.L = R.H.L = - P \ne f\left( P \right)
So, at x=PQx = P \in {\bf{Q}} , f(P)f\left( P \right) is discontinuous at any point of the rational number.
Now, consider L.H.L=R.H.L=f(P)L.H.L = R.H.L = f\left( P \right)
L.H.L=R.H.L=f(P)\Rightarrow L.H.L = R.H.L = f\left( P \right)
P=P\Rightarrow - P = P
P=0\Rightarrow P = 0
So, at x=0x = 0 , L.H.L=R.H.L=f(P)L.H.L = R.H.L = f\left( P \right) is continuous at the point zero only.
Thus the given function is continuous at P=0P = 0.
Therefore, the function f\left( x \right) = \left\\{ \begin{array}{l}x,x \in {\bf{Q}}\\\ - x,x \notin {\bf{Q}}\end{array} \right. , then ff is continuous at only at zero point.
Thus option (A) is the correct answer.

Note: A continuous function can also be defined as the function where the graph of the function has no unbroken curve. We are considering the limits, by considering the number line, which has a rational number surrounded by the irrational number. Thus every rational number has an irrational number on all its sides. A function is continuous only when we attain a constant at both limits.