Solveeit Logo

Question

Question: How do you graph \(y = x\sin \left( {\dfrac{1}{x}} \right)\)?...

How do you graph y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right)?

Explanation

Solution

This problem deals with plotting the graph of xx and sin1x\sin \dfrac{1}{x} together. The line y=xy = x is similar to the straight line y=mxy = mx, where the slope of the line is 1, and it passes through the origin as it has no intercept, also when considered to plot the graph on the negative side of the x-axis, then the line becomes y=xy = - x, here the slope of the line becomes negative which is equal to -1. We know that graph of sinx\sin x, we are going to combine these graphs.

Complete step-by-step solution:
As we know that the graph of sin(x) limits between -1 and 1, which is mathematically expressed below:
sinx[1,1]\Rightarrow \sin x \in \left[ { - 1,1} \right]
Now we have to find the graph of sin1x\sin \dfrac{1}{x}, here the function of sine changed, but the trigonometric function didn’t change, so the graph of sin1x\sin \dfrac{1}{x} also limits between -1 and 1.
But before sin1x\sin \dfrac{1}{x}, there is xx in front of sin1x\sin \dfrac{1}{x}.
Here the xx prior to sin1x\sin \dfrac{1}{x} behaves as a scaling factor. As xx grows large, the amplitude of the oscillation of the sine function also grows. Similarly, as xx approaches zero, the amplitude shrinks.
Now looking at sin1x\sin \dfrac{1}{x}, we observe that as xx approaches zero, 1x\dfrac{1}{x} approaches \infty . Which means that as x0x \to 0, the sine function cycles through periods of 2π2\pi more and more rapidly.
Similarly, as 1x0\dfrac{1}{x} \to 0, here x±x \to \pm \infty , meaning that it will take greater and greater changes in xx to go through a full period of 2π2\pi .
After x>1π\left| x \right| > \dfrac{1}{\pi } there will be no further oscillations, as we will have 1x(0,π)\left| {\dfrac{1}{x}} \right| \in \left( {0,\pi } \right).
The resulting graph will have oscillations which grow in amplitude and are stretched further apart as xx is further from zero, soon ceasing to oscillate at all, and which have smaller amplitudes and wilder oscillations closer to zero.
The graph of y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) is given below:

Note: Here we know that y=xy = x passes through origin with positive slope and y=xy = - x also passes through the origin but with negative slope, and the graph y=sin1xy = \sin \dfrac{1}{x}, starts from zero, where is oscillates between 1 and -1, but here as xx and sin1x\sin \dfrac{1}{x} come together, so the graph oscillates between the lines y=xy = x and y=xy = - x