Graph of y = sin 2x (Compressed sine wave)

· How we calculate · Free, no sign-up

Quick answer

The graph of y = sin 2x is a sine wave between −1 and 1 that repeats every π (twice as often as sin x). Domain: All real numbers (−∞, ∞); range: [−1, 1]. x-intercept: x = kπ/2; y-intercept: y = 0. It is odd (symmetric about the origin).

Functiony = sin 2x
DomainAll real numbers (−∞, ∞)
Range[−1, 1]
x-intercept(s)x = kπ/2
y-intercepty = 0
Derivative2 cos 2x
Graph of y = sin 2x for −2π ≤ x ≤ 2π−2π−3π/2−π−π/20π/2π3π/22π−1.5−1−0.500.511.5
Graph of y = sin 2x for −2π ≤ x ≤ 2π, −1.6 ≤ y ≤ 1.6. Dots mark intercepts.
Zoom, pan and trace y = sin 2x next to y = sin x in the interactive grapher.Open the Graphing Calculator →

What the graph of y = sin 2x looks like

Multiplying x by 2 inside the sine squeezes the graph horizontally by a factor of 2: the wave now completes a full cycle every π instead of every 2π, peaking at π/4 instead of π/2. The height is unchanged — the amplitude is still 1. In general sin(Bx) has period 2π/B.

The double-angle identity sin 2x = 2 sin x cos x gives another way to see the zeros: the product is zero whenever sin x or cos x is, i.e. at every multiple of π/2. The slope at the origin is 2, twice that of sin x.

Key features of y = sin 2x

Key features of y = sin 2x
PropertyValue
Functiony = sin 2x (Compressed sine wave)
FamilyTrigonometric
DomainAll real numbers (−∞, ∞)
Range[−1, 1]
x-intercept(s)x = kπ/2
y-intercepty = 0
SymmetryOdd — symmetric about the origin
AsymptotesNone
Periodπ ≈ 3.1416
Increasing on[−π/4 + kπ, π/4 + kπ]
Decreasing on[π/4 + kπ, 3π/4 + kπ]
Key pointsMaximum 1 at x = π/4 + kπ; minimum −1 at x = 3π/4 + kπ
Derivative f′(x)2 cos 2x
Antiderivative ∫ f(x) dx−½ cos 2x + C

Symmetry: Odd — symmetric about the origin. For example f(2) = −0.7568 while f(−2) = 0.7568, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at x = kπ/2 and the y-axis at y = 0.

Table of values for y = sin 2x

Values of y = sin 2x
xy = sin 2xSlope f′(x)
−π02
−π/20−2
−π/4−10
002
π/60.8661
π/410
π/30.866−1
π/20−2
2π/3−0.866−1
3π/4−10
π02
3π/20−2
2π02

How to sketch y = sin 2x by hand

Plot the points from the table — (−π, 0), (−π/2, 0), (−π/4, −1), (0, 0), (π/6, 0.866), (π/4, 1) — on axes running from about −2π to 2π horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: [−π/4 + kπ, π/4 + kπ]; decreasing: [π/4 + kπ, 3π/4 + kπ].

Derivative, tangent line and area

The derivative of y = sin 2x is 2 cos 2x, 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.9093 and its slope is f′(1) = −0.8323, so the tangent line there is y = −0.8323x + 1.7416.

The signed area under the curve from x = 0 to x = π/2 is 1, found using the antiderivative −½ cos 2x + C.

Related graphs and transformations

Browse all graphs of common functions by family, or open the graphing calculator.

Frequently asked questions

What is the domain and range of y = sin 2x?

Domain: All real numbers (−∞, ∞). Range: [−1, 1].

What are the intercepts of y = sin 2x?

x-intercept(s): x = kπ/2. y-intercept: y = 0.

What is the derivative of y = sin 2x?

f′(x) = 2 cos 2x. At x = 1 the curve is at height 0.9093 and its slope is f′(1) = −0.8323, so the tangent line there is y = −0.8323x + 1.7416.

Is y = sin 2x even, odd or neither?

Odd — symmetric about the origin. For example f(2) = −0.7568 while f(−2) = 0.7568, its negative, so the graph looks the same after a half-turn about the origin.

Does y = sin 2x have asymptotes?

None. The function is periodic with period π ≈ 3.1416.