What the graph of y = x sin x looks like
Multiplying sin x by x makes the wave’s amplitude grow with distance from the origin: the curve wiggles between the envelope lines y = x and y = −x, touching them where sin x = ±1. It still crosses zero at every multiple of π, and at the origin it touches the axis like a parabola, since x sin x ≈ x² for small x.
The product of two odd functions is even, so the graph is a mirror image in the y-axis. The turning points are not at the sine peaks but slightly later, where tan x = −x. The area of the first hump, from 0 to π, is exactly π.
Key features of y = x sin x
| Property | Value |
|---|---|
| Function | y = x sin x (x times sine) |
| Family | Special |
| Domain | All real numbers (−∞, ∞) |
| Range | All real numbers (−∞, ∞) |
| x-intercept(s) | x = kπ (x = 0 is a double root) |
| y-intercept | y = 0 |
| Symmetry | Even — symmetric about the y-axis |
| Asymptotes | None |
| Period | Not periodic |
| Increasing on | [0, 2.029], [4.913, 7.979], … (and mirrored for x < 0) |
| Decreasing on | [2.029, 4.913], … and [−2.029, 0] |
| Key points | Turning points where tan x = −x: x ≈ ±2.029, ±4.913, ±7.979; local minimum (0, 0) |
| Derivative f′(x) | sin x + x cos x |
| Antiderivative ∫ f(x) dx | sin x − x cos x + C |
Symmetry: Even — symmetric about the y-axis. For example f(2) = 1.8186 and f(−2) = 1.8186 are equal, so the left half mirrors the right half. Intercepts: the graph meets the x-axis at x = kπ (x = 0 is a double root) and the y-axis at y = 0.
Table of values for y = x sin x
| x | y = x sin x | Slope f′(x) |
|---|---|---|
| −π | 0 | 3.1416 |
| −π/2 | 1.5708 | −1 |
| −π/4 | 0.5554 | −1.2625 |
| 0 | 0 | 0 |
| π/6 | 0.2618 | 0.9534 |
| π/4 | 0.5554 | 1.2625 |
| π/3 | 0.9069 | 1.3896 |
| π/2 | 1.5708 | 1 |
| 2π/3 | 1.8138 | −0.1812 |
| 3π/4 | 1.6661 | −0.959 |
| π | 0 | −3.1416 |
| 3π/2 | −4.7124 | −1 |
| 2π | 0 | 6.2832 |
How to sketch y = x sin x by hand
Plot the points from the table — (−π, 0), (−π/2, 1.5708), (−π/4, 0.5554), (0, 0), (π/6, 0.2618), (π/4, 0.5554) — on axes running from about −4π to 4π horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: [0, 2.029], [4.913, 7.979], … (and mirrored for x < 0); decreasing: [2.029, 4.913], … and [−2.029, 0].
Derivative, tangent line and area
The derivative of y = x sin x is sin x + x cos x, which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 0.8415 and its slope is f′(1) = 1.3818, so the tangent line there is y = 1.3818x − 0.5403.
The signed area under the curve from x = 0 to x = π is 3.1416, found using the antiderivative sin x − x cos x + C.
Related graphs and transformations
- y = sin x — The wave being scaled
- y = sin(x)/x — Divide by x instead: a damped wave
- y = x — Envelope line
- y = 2 sin x — Constant amplitude 2
- y = x² — Its shape near the origin
Browse all graphs of common functions by family, or open the graphing calculator.