
If \[f:R \to R\] is given by $f\left( x \right)=\left\{ \begin{matrix}
1,\text{ if }x\text{ is rational} \\
0,\text{ if }x\text{ is irrational} \\
\end{matrix} \right.$, Then \[\left( {fof} \right)\left( {\sqrt 5 } \right) = \]
(A) \[1\]
(B) \[ - 1\]
(C) \[\sqrt 3 \]
(D) \[0\]
Answer
489.3k+ views
Hint: We have to find the value of \[\left( {fof} \right)\left( {\sqrt 5 } \right)\] To solve this problem, we should know that \[\left( {fof} \right)\left( x \right) = f\left( {f\left( x \right)} \right)\] Thus it means that we can put the value of \[f\left( x \right)\] inside the input of \[f\left( x \right)\] to find the required value. So according to our question \[\left( {fof} \right)\left( {\sqrt 5 } \right) = f\left( {f\left( {\sqrt 5 } \right)} \right)\] Now first we will consider \[x = \sqrt 5 \] and find the value of \[f\left( {\sqrt 5 } \right)\] which will be equal to \[0\] according to the given condition. Then we will consider \[x = 0\] and find the value of \[f\left( 0 \right)\] and hence we will get our required answer.
Complete answer:
It is given that,
\[f:R \to R\] given by $ f\left( x \right)=\left\{ \begin{matrix}
1,\text{ if }x\text{ is rational} \\
0,\text{ if }x\text{ is irrational} \\
\end{matrix} \right.$
This statement means that \[f\] is a function from real numbers to real numbers defined as the value of \[f\left( x \right)\] is \[1\] if \[x\] is a rational number and the value of \[f\left( x \right)\] is \[0\] if \[x\] is an irrational number.
And we are asked to find the value of \[\left( {fof} \right)\left( {\sqrt 5 } \right)\] .
Now, let us consider \[x = \sqrt 5 \]
So, \[f\left( x \right) = f\left( {\sqrt 5 } \right) = 0{\text{ }} - - - \left( a \right)\]
(Because \[\sqrt 5 \] is an irrational number.)
Now, we know that
\[\left( {fof} \right)\left( x \right) = f\left( {f\left( x \right)} \right)\]
\[\therefore \left( {fof} \right)\left( {\sqrt 5 } \right) = f\left( {f\left( {\sqrt 5 } \right)} \right){\text{ }} - - - \left( 1 \right)\]
Now substitute the value of \[f\left( {\sqrt 5 } \right)\] from \[\left( a \right)\] in equation \[\left( 1 \right)\] we get
\[\left( {fof} \right)\left( {\sqrt 5 } \right) = f\left( 0 \right){\text{ }} - - - \left( 2 \right)\]
Now, let us consider \[x = 0\]
So, \[f\left( x \right) = f\left( 0 \right) = 1{\text{ }} - - - \left( b \right)\]
(Because \[0\] is a rational number.)
Now substitute the value of \[f\left( 0 \right)\] from \[\left( b \right)\] in equation \[\left( 2 \right)\] we get
\[\left( {fof} \right)\left( {\sqrt 5 } \right) = 1\]
which is the required result.
Hence, the value of \[\left( {fof} \right)\left( {\sqrt 5 } \right)\] is \[1\]
Hence, option \[\left( A \right)\] is correct.
Note:
The given function \[f\left( x \right)\] is known as Dirichlet’s function and it is discontinuous for every value of \[x\] because between every two rational numbers there will be irrational numbers and vice versa. There will be no point of continuity.
Also, it is important to note that the composition of a function is only defined if the range of the first is contained in the domain of the second function. And the order in the composition of a function is important because sometimes two functions \[f\left( x \right)\] and \[g\left( x \right)\] are given and the value of \[\left( {fog} \right)\left( x \right)\] is not same as \[\left( {gof} \right)\left( x \right)\] .
Complete answer:
It is given that,
\[f:R \to R\] given by $ f\left( x \right)=\left\{ \begin{matrix}
1,\text{ if }x\text{ is rational} \\
0,\text{ if }x\text{ is irrational} \\
\end{matrix} \right.$
This statement means that \[f\] is a function from real numbers to real numbers defined as the value of \[f\left( x \right)\] is \[1\] if \[x\] is a rational number and the value of \[f\left( x \right)\] is \[0\] if \[x\] is an irrational number.
And we are asked to find the value of \[\left( {fof} \right)\left( {\sqrt 5 } \right)\] .
Now, let us consider \[x = \sqrt 5 \]
So, \[f\left( x \right) = f\left( {\sqrt 5 } \right) = 0{\text{ }} - - - \left( a \right)\]
(Because \[\sqrt 5 \] is an irrational number.)
Now, we know that
\[\left( {fof} \right)\left( x \right) = f\left( {f\left( x \right)} \right)\]
\[\therefore \left( {fof} \right)\left( {\sqrt 5 } \right) = f\left( {f\left( {\sqrt 5 } \right)} \right){\text{ }} - - - \left( 1 \right)\]
Now substitute the value of \[f\left( {\sqrt 5 } \right)\] from \[\left( a \right)\] in equation \[\left( 1 \right)\] we get
\[\left( {fof} \right)\left( {\sqrt 5 } \right) = f\left( 0 \right){\text{ }} - - - \left( 2 \right)\]
Now, let us consider \[x = 0\]
So, \[f\left( x \right) = f\left( 0 \right) = 1{\text{ }} - - - \left( b \right)\]
(Because \[0\] is a rational number.)
Now substitute the value of \[f\left( 0 \right)\] from \[\left( b \right)\] in equation \[\left( 2 \right)\] we get
\[\left( {fof} \right)\left( {\sqrt 5 } \right) = 1\]
which is the required result.
Hence, the value of \[\left( {fof} \right)\left( {\sqrt 5 } \right)\] is \[1\]
Hence, option \[\left( A \right)\] is correct.
Note:
The given function \[f\left( x \right)\] is known as Dirichlet’s function and it is discontinuous for every value of \[x\] because between every two rational numbers there will be irrational numbers and vice versa. There will be no point of continuity.
Also, it is important to note that the composition of a function is only defined if the range of the first is contained in the domain of the second function. And the order in the composition of a function is important because sometimes two functions \[f\left( x \right)\] and \[g\left( x \right)\] are given and the value of \[\left( {fog} \right)\left( x \right)\] is not same as \[\left( {gof} \right)\left( x \right)\] .
Recently Updated Pages
Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

What are the major means of transport Explain each class 12 social science CBSE

Draw a labelled sketch of the human eye class 12 physics CBSE

Why cannot DNA pass through cell membranes class 12 biology CBSE

Differentiate between insitu conservation and exsitu class 12 biology CBSE

Draw a neat and well labeled diagram of TS of ovary class 12 biology CBSE

