Solveeit Logo

Question

Question: How do you find the graph of \[y=x\cos \left( \dfrac{1}{x} \right)\]?...

How do you find the graph of y=xcos(1x)y=x\cos \left( \dfrac{1}{x} \right)?

Explanation

Solution

In this question, we are going to find the variables like amplitude, period phase shift , and vertical shift for this function ,y. After that we are going to find the various points, by finding the different values of the function at different values of x.

Formula used:
The formula that is used to find the variables is in the form acos(bxc)+da\cos \left( bx-c \right)+d
Amplitude, a=x\left| a \right|=x
For Period, 2πb\Rightarrow \dfrac{2\pi }{\left| b \right|}
Finding the phase shift using the formula cb\dfrac{c}{b}

Complete step by step solution:
In order to find the graph, we firstly use the form acos(bxc)+da\cos \left( bx-c \right)+d,then ,we find the variables that are used to find the amplitude ,period, phase shift and vertical shift.

& a=x \\\ & b=\dfrac{1}{1} \\\ & c=0 \\\ & d=0 \\\ \end{aligned}$$ Finding the amplitude $$\left| a \right|=x$$ Find the period using formula $$\begin{aligned} & \Rightarrow \dfrac{2\pi }{\left| b \right|} \\\ & \Rightarrow \dfrac{2\pi }{\left| \dfrac{1}{1} \right|} \\\ \end{aligned}$$ Solving the equation The absolute value is the distance at which a number is from zero. The distance between 0 and $$\dfrac{1}{1}$$ is$$1$$. Finding the phase shift using the formula $$\dfrac{c}{b}$$ $$\Rightarrow $$ phase shift : $$\dfrac{0}{\dfrac{1}{1}}$$ Cancelling the common factor, $$1$$ Therefore, phase shift: $$\begin{aligned} & \dfrac{0}{1} \\\ & \Rightarrow 0 \\\ \end{aligned}$$ Finding the vertical shift: Vertical shift: $$0$$ So, the properties of the trigonometric function. Amplitude: $$x$$ Period: $$2\pi $$ Phase shift: $$0$$ Vertical shift: $$0$$ Choosing a few points to plot the graph. For the point at $$x=\dfrac{\pi }{2}$$ $$\Rightarrow f\left( \dfrac{\pi }{2} \right)=\dfrac{\pi }{2}\cos \left( \dfrac{1}{\dfrac{\pi }{2}} \right)$$ Solving this, we get, $$f\left( \dfrac{\pi }{2} \right)=1.2630$$ For, $$x=\pi $$ $$\begin{aligned} & \Rightarrow f\left( \pi \right)=\pi \cos \left( \dfrac{1}{\pi } \right) \\\ & \Rightarrow f\left( \pi \right)=2.9835 \\\ \end{aligned}$$ For, $$x=\dfrac{3\pi }{2}$$ $$\begin{aligned} & \Rightarrow f\left( \dfrac{3\pi }{2} \right)=\dfrac{3\pi }{2}\cos \left( \dfrac{1}{\dfrac{3\pi }{2}} \right) \\\ & \Rightarrow f\left( \dfrac{3\pi }{2} \right)=4.6063 \\\ \end{aligned}$$ For, $$x=2\pi $$ $$\begin{aligned} & \Rightarrow f\left( 2\pi \right)=2\pi \cos \left( \dfrac{1}{2\pi } \right) \\\ & \Rightarrow f\left( 2\pi \right)=6.2033 \\\ \end{aligned}$$ For, $$x=\dfrac{5\pi }{2}$$ $$\begin{aligned} & \Rightarrow f\left( \dfrac{5\pi }{2} \right)=\dfrac{5\pi }{2}\cos \left( \dfrac{1}{\dfrac{5\pi }{2}} \right) \\\ & \Rightarrow f\left( \dfrac{5\pi }{2} \right)=7.7903 \\\ \end{aligned}$$ $$x$$| $$f\left( x \right)$$ ---|--- $$\dfrac{\pi }{2}$$| $$1.2630$$ $$\pi $$| $$2.9835$$ $$\dfrac{3\pi }{2}$$| $$4.6063$$ $$2\pi $$| $$6.2033$$ $$\dfrac{5\pi }{2}$$| $$7.7903$$ Graph: ![](https://www.vedantu.com/question-sets/740b088c-f1af-4e5f-80d6-80bd2bc98a1d978393937883736539.png) **Note:** The graph is a straight line with a slope for all the values both for positive x-axis and the negative x-axis. However when x approaches to zero, the discontinuity in the graph occurs. As it can be seen in the graph, there is a kind of kink at the values near zero. This is because the value of cosine becomes undefined near zero.