
What is the domain and range of $\cos \left( \dfrac{1}{x} \right)?$
Answer
514.2k+ views
Hint: Domain of a function can be defined as the set of all the valid input values for the function. Range of a function is the set of all the outputs obtained from the function by substituting the values of the domain in it. Using this, we first plot the graph of the function $\cos \left( \dfrac{1}{x} \right).$ The we see the set of values that qualify as its domain. Using this, we check for its range and represent that.
Complete step by step solution:
In order to solve this question, let us first plot the curve for the given function \[\cos \left( \dfrac{1}{x} \right).\] We obtain a graph as shown below.
Let us consider the given function as $f\left( x \right)=\cos \left( \dfrac{1}{x} \right).$ As we can see in the graph, the function is defined for all values of x except at x=0. This can be shown as follows,
$\Rightarrow f\left( 0 \right)=\cos \left( \dfrac{1}{0} \right)=\cos \left( \infty \right)$
We know that $\cos \left( \infty \right)$ does not exist, so the domain of the function $f\left( x \right)$ can be given as $\left( -\infty ,0 \right)\bigcup \left( 0,\infty \right).$
To find out the range of the given function, we need to substitute the limiting values for the given function. We take the limits tending to positive and negative infinity and check its value.
$\Rightarrow \displaystyle \lim_{x \to +\infty }\cos \left( \dfrac{1}{x} \right)=\cos \left( 0 \right)=1$
$\Rightarrow \displaystyle \lim_{x \to -\infty }\cos \left( \dfrac{1}{x} \right)=\cos \left( -0 \right)=1$
We can see that as the x values tend to infinity on both sides, the value of the function is just 1. Also as seen from the graph the maximum output value of the function is $\pm 1.$ Hence, the range of the function $f\left( x \right)=\cos \left( \dfrac{1}{x} \right)$ is given by $\left[ -1,1 \right].$
Hence, the domain and range of the function $\cos \left( \dfrac{1}{x} \right)$ are $\left( -\infty ,0 \right)\bigcup \left( 0,\infty \right)$ and $\left[ -1,1 \right]$ respectively.
Note: We need to know the definition of domain and range and how to calculate them for solving such problems. We need to note that since the input for x=0 is not valid for the given function, the output at x=0 does not exist for the given function.
Complete step by step solution:
In order to solve this question, let us first plot the curve for the given function \[\cos \left( \dfrac{1}{x} \right).\] We obtain a graph as shown below.
Let us consider the given function as $f\left( x \right)=\cos \left( \dfrac{1}{x} \right).$ As we can see in the graph, the function is defined for all values of x except at x=0. This can be shown as follows,
$\Rightarrow f\left( 0 \right)=\cos \left( \dfrac{1}{0} \right)=\cos \left( \infty \right)$
We know that $\cos \left( \infty \right)$ does not exist, so the domain of the function $f\left( x \right)$ can be given as $\left( -\infty ,0 \right)\bigcup \left( 0,\infty \right).$
To find out the range of the given function, we need to substitute the limiting values for the given function. We take the limits tending to positive and negative infinity and check its value.
$\Rightarrow \displaystyle \lim_{x \to +\infty }\cos \left( \dfrac{1}{x} \right)=\cos \left( 0 \right)=1$
$\Rightarrow \displaystyle \lim_{x \to -\infty }\cos \left( \dfrac{1}{x} \right)=\cos \left( -0 \right)=1$
We can see that as the x values tend to infinity on both sides, the value of the function is just 1. Also as seen from the graph the maximum output value of the function is $\pm 1.$ Hence, the range of the function $f\left( x \right)=\cos \left( \dfrac{1}{x} \right)$ is given by $\left[ -1,1 \right].$
Hence, the domain and range of the function $\cos \left( \dfrac{1}{x} \right)$ are $\left( -\infty ,0 \right)\bigcup \left( 0,\infty \right)$ and $\left[ -1,1 \right]$ respectively.
Note: We need to know the definition of domain and range and how to calculate them for solving such problems. We need to note that since the input for x=0 is not valid for the given function, the output at x=0 does not exist for the given function.
Recently Updated Pages
The number of solutions in x in 02pi for which sqrt class 12 maths CBSE

Write any two methods of preparation of phenol Give class 12 chemistry CBSE

Differentiate between action potential and resting class 12 biology CBSE

Two plane mirrors arranged at right angles to each class 12 physics CBSE

Which of the following molecules is are chiral A I class 12 chemistry CBSE

Name different types of neurons and give one function class 12 biology CBSE

Trending doubts
One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

Explain zero factorial class 11 maths CBSE

What is 1s 2s 2p 3s 3p class 11 chemistry CBSE

Discuss the various forms of bacteria class 11 biology CBSE

State the laws of reflection of light

Difference Between Prokaryotic Cells and Eukaryotic Cells

