The Harmonic Form R sin(x + α)

Two waves collapse into one.

Two waves that add to one

Take the expression 3 sin x + 4 cos x. It is the sum of two waves: a sine wave of height 3 and a cosine wave of height 4. They do not peak at the same x, since 3 sin x peaks at 90° and 4 cos x peaks at 0°. Added together, they make a single wave of a new height, shifted along the x-axis.

A single sine wave of height R, shifted to the left by α, is R sin(x + α). Expand it with the compound angle formula: R sin(x + α) = R(sin x cos α + cos x sin α) = (R cos α) sin x + (R sin α) cos x.

That has the same shape as a sin x + b cos x: a number times sin x plus a number times cos x. So the question is which R and which α make the two numbers equal to a and b.

0π2π−αR = 4.27a = 4b = 1.5R = 4.27α = 20.6°4 sin x + 1.5 cos x = 4.27 sin(x + 20.6°)

4 sin x + 1.5 cos x = R sin(x + α) with R = √(4² + 1.5²) = 4.27 and α = 20.6°: the legs are the two coefficients, the hypotenuse is the peak, the angle is the shift

Make a = 3 and b = 4 and read R

With a = 4 and b = 1.5, the two plain dashed waves are 4 sin x and 1.5 cos x, and the gold wave is their sum. It is one wave of height R = √(16 + 2.25) = 4.27, shifted left by α = 20.6°. On the right, the triangle with legs a and b has hypotenuse R and angle α. Drag its corner to a = 3 and b = 4: the sum becomes 5 sin(x + 53.1°).

Match the coefficients

For a sin x + b cos x to equal (R cos α) sin x + (R sin α) cos x at every x, the numbers in front of sin x must match, and the numbers in front of cos x must match: a = R cos α and b = R sin α.

To see why they must match, put in two values of x. At x = 0, sin x = 0 and cos x = 1, so the left side is b and the right side is R sin α. At x = 90°, sin x = 1 and cos x = 0, so the left side is a and the right side is R cos α.

Find R and α

Square both equations and add them: a² + b² = R²cos²α + R²sin²α = R²(cos²α + sin²α). The bracket is 1, so a² + b² = R², and R = √(a² + b²), taking R to be positive.

Divide the second equation by the first: R sin α / R cos α = b / a. The R cancels, leaving tan α = b/a.

Both results come from one right triangle. Its legs are a = R cos α and b = R sin α, its hypotenuse is R, and α is the angle between the hypotenuse and the leg a. R is Pythagoras on that triangle, and tan α is the opposite leg over the adjacent one.

435α

For 3 sin x + 4 cos x, the triangle has a horizontal leg of a = 3 and a vertical leg of b = 4. Its hypotenuse is R = √(9 + 16) = 5, and the angle α has tan α = 4/3.

3 sin x + 4 cos x as one wave

Here a = 3 and b = 4. So R = √(3² + 4²) = √25 = 5, and tan α = 4/3. Both R cos α = 3 and R sin α = 4 are positive, so α is acute, and α = tan⁻¹(4/3) = 53.13° to 2 decimal places, which is 0.927 radians. So 3 sin x + 4 cos x = 5 sin(x + 53.13°).

Check by substitution. At x = 0 the left side is 3 × 0 + 4 × 1 = 4, and 5 sin 53.13° = 5 × 0.8 = 4. At x = 0.3 radians the left side is 3 sin 0.3 + 4 cos 0.3 = 4.7079, and 5 sin(0.3 + 0.927) = 4.7079 as well. At x = 1.1 radians both sides are 4.4880.

In the same way √3 sin x + cos x has R = √(3 + 1) = 2 and tan α = 1/√3, so α = 30°, and √3 sin x + cos x = 2 sin(x + 30°). At x = 0 the left side is 1, and 2 sin 30° = 1.

The greatest and least values

A sine is never more than 1 or less than −1, so R sin(x + α) lies between −R and R. The greatest value of 3 sin x + 4 cos x is 5, not 3 + 4 = 7: the two waves never reach their peaks at the same x.

The greatest value comes where the bracket is 90°: x + 53.13° = 90°, so x = 36.87°. Check: 3 sin 36.87° + 4 cos 36.87° = 3 × 0.6 + 4 × 0.8 = 5. The least value, −5, comes where the bracket is 270°, at x = 216.87°.

xy

Over one turn, with one square across for every 90°: the plain curve that starts at 0 is y = 3 sin x, the plain curve that starts at 4 is y = 4 cos x, and the gold curve is their sum, y = 3 sin x + 4 cos x. The gold wave has height 5, with its highest point, the first dot, at 36.87° and its lowest, the second dot, at 216.87°.

A negative coefficient

When a or b is negative, find α from the signs of cos α and sin α, not from the inverse tangent alone. For 3 sin x − 4 cos x, R cos α = 3 and R sin α = −4. R is still 5. The cosine of α is positive and its sine is negative, so α is a negative acute angle: α = −53.13°, and 3 sin x − 4 cos x = 5 sin(x − 53.13°). At x = 0.3 radians both sides are −2.9348.

The same wave as a cosine

The same expression can be written as a shifted cosine wave, R cos(x − β). Expand it: R cos(x − β) = (R cos β) cos x + (R sin β) sin x. Matching with 3 sin x + 4 cos x gives R cos β = 4 and R sin β = 3, so R = 5 again and tan β = 3/4, which gives β = 36.87°.

So 3 sin x + 4 cos x = 5 cos(x − 36.87°). A cosine is greatest where its angle is 0, so this form shows the peak directly: at x = 36.87°, the same place as before. At x = 0.3 radians it gives 4.7079 too. A question names the form it wants, and the method is the same for each: expand, match coefficients, then find R and the angle.

The usual mistakes

Adding the coefficients. R is √(3² + 4²) = 5, not 3 + 4 = 7, and not √(3 + 4) = √7. Square, add, then take the root.

Putting tan α the wrong way up. b goes with sin α, so tan α = b/a = 4/3. With 3/4 the shift would be 36.87°, which belongs to the cosine form.

Mixing degrees and radians. α = 53.13° is 0.927 radians; with x in radians, write 5 sin(x + 0.927).

Taking the greatest value where x = α. The peak is where x + α = 90°, at x = 36.87°, not at 53.13°.

Two currents in one wire

In the application below, currents of 3 sin x and 4 cos x amps join in one wire. Writing the total as 5 sin(x + α) shows the peak current is 5 amps, not 7, and α = 0.927 radians is how far the combined wave is shifted.

Worked example: Two Alternating Currents Joining in One Wire

Question Two branches of a circuit carry alternating currents of 3sin x and 4cos x amps, where x is the phase angle in radians. Where the branches join, the current in the wire is i = 3sin x + 4cos x amps. (a) Write i in the form Rsin(x + α), where R > 0 and 0 < α < π2, and state the peak current in the wire. (b) Find α in radians to 3 significant figures, and say how the combined wave is shifted from the wave 5sin x.

  1. 1.Expand the compound angle: Rsin(x + α) = Rsin xcosα + Rcos xsinα. For this to equal 3sin x + 4cos x for every x, the coefficients must match: Rcosα = 3 and Rsinα = 4.

    −5050123456phase angle x (radians)current (amps), i3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4
    −5050123456phase angle x (radians)current (amps), i3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4
    Expand Rsin(x + α) = Rsin xcosα + Rcos xsinα and match: Rcosα = 3, Rsinα = 4.
  2. 2.Square both equations and add: R2(cos2α + sin2α) = 32 + 42 = 25. Since cos2α + sin2α = 1, R2 = 25, and R = 5 because R is positive.

    −5050123456phase angle x (radians)current (amps), i3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5
    −5050123456phase angle x (radians)current (amps), i3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5
    R2 = 32 + 42 = 25, so R = 5: the gold wave is the sum of the other two.
  3. 3.(a) i = 5sin(x + α). A sine is never more than 1, so the peak current is 5 amps, not the 3 + 4 = 7 amps of adding the two peaks.

    −5050123456phase angle x (radians)current (amps), iR3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 amps
    −5050123456phase angle x (radians)current (amps), iR3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 amps
    (a) i = 5sin(x + α): the peak current is 5 amps, not 3 + 4 = 7.
  4. 4.Divide the second equation by the first: tanα = 43. Both cosα and sinα are positive, so α is acute, and α = tan−143 = 0.927 radian to 3 significant figures.

    −5050123456phase angle x (radians)current (amps), iRα3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 ampstan α = 4/3, α = 0.927 rad
    −5050123456phase angle x (radians)current (amps), iRα3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 ampstan α = 4/3, α = 0.927 rad
    tanα = 43, so α = 0.927 radian: the gap between the peak of the sum and the peak of 3sin x.
  5. 5.(b) α = 0.927 radian, about 53.1°. The combined current is the wave 5sin x moved 0.927 to the left, so it reaches each peak 0.927 radian sooner than 3sin x does. Check: at x = 0, i = 4, and 5sin 0.927 = 5 × 0.8 = 4.

    −5050123456phase angle x (radians)current (amps), iRα3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 ampstan α = 4/3, α = 0.927 radthe sum peaks 0.927 rad sooner
    −5050123456phase angle x (radians)current (amps), iRα3 sin x4 cos xthe sumR cos α = 3 and R sin α = 4R2= 32+ 42= 25, so R = 5i = 5 sin(x + α): peak 5 ampstan α = 4/3, α = 0.927 radthe sum peaks 0.927 rad sooner
    (b) α = 0.927 radian, about 53.1°: the combined wave peaks 0.927 sooner.

Answer: (a) i = 5sin(x + α) with tanα = 43, a peak current of 5 amps; (b) α = 0.927 radian, about 53.1°: the wave 5sin x moved 0.927 to the left

Common mistakes

  • Adding the peaks to get 7 amps. The two currents do not peak at the same phase: 3sin x peaks at x = π2 and 4cos x at x = 0, so the combined peak is smaller, √32 + 42 = 5 amps.
  • Writing tanα = 34. The sinα comes with cos x, so Rsinα = 4 and Rcosα = 3; the ratio is 43, and 34 would give a shift of 0.644, the wrong one.

More radians and trigonometric identities problems, worked step by step →

Practice The Harmonic Form R sin(x + α) in the app