y=xsinxy = x \sin x

Graph of the Function y=xsinxy = x \sin x

y=xsinxy = x \sin x is the product of the linear function xx and the sine sinx\sin x. It draws a distinctive graph that oscillates with a swing that keeps growing.

Domain and symmetry

The domain is all real numbers. Both xx and sinx\sin x are odd, so their product is even.

(x)sin(x)=(x)(sinx)=xsinx(-x)\sin(-x) = (-x)(-\sin x) = x \sin x

The graph is therefore symmetric about the yy-axis.

The envelope

Since 1sinx1-1 \leq \sin x \leq 1, we have xsinxx|x \sin x| \leq |x|, so the graph is caught between the two lines y=xy = x and y=xy = -x. Those lines are its envelope.

The curve touches the envelope at x=π2+nπx = \dfrac{\pi}{2} + n\pi, where sinx=1|\sin x| = 1, and its swing grows in proportion to x|x|. Unlike an ordinary trigonometric function it has no fixed amplitude.

Zeros

The value is 00 where x=0x = 0 or sinx=0\sin x = 0, that is at x=nπx = n\pi. At x=0x = 0 the zeros of xx and of sinx\sin x coincide, so that root is a double one.

Near the origin

Near the origin sinxx\sin x \approx x, so the following holds.

xsinxx2x \sin x \approx x^2

The curve meets the xx-axis from above like a parabola, so the origin is a local minimum of 00, and nearby the function stays y0y \geq 0.

Monotonicity

The product rule gives the derivative.

ddx(xsinx)=sinx+xcosx\frac{d}{dx}(x \sin x) = \sin x + x \cos x

Its zeros locate the local maxima and minima. For large xx the term xcosxx\cos x dominates, so those extrema drift toward the points where cosx=0\cos x = 0, which are exactly where the curve touches the envelope.

Notable values

xxyyPosition
0000local minimum
π2\dfrac{\pi}{2}π21.571\dfrac{\pi}{2} \approx 1.571touches the envelope y=xy = x
π\pi00zero
3π2\dfrac{3\pi}{2}3π24.712-\dfrac{3\pi}{2} \approx -4.712touches the envelope y=xy = -x
2π2\pi00zero

Range and limits

Because the swing grows without bound, yy takes arbitrarily large positive and negative values, so the range is all real numbers. As x±x \to \pm\infty it does not converge but keeps oscillating ever more widely.

Applications

The form xsinxx \sin x appears when the amplitude of a resonating system grows with time, and in the analysis of beats and amplitude modulation. When a driving frequency matches a system's natural frequency, the amplitude of the response grows in proportion to time1.

  1. Resonance, Wikipedia