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 . Expand it with the compound angle formula: .
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.
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 , shifted left by . 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 at every x, the numbers in front of sin x must match, and the numbers in front of cos x must match: and .
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 . At x = 90°, sin x = 1 and cos x = 0, so the left side is a and the right side is .
Find R and
Square both equations and add them: . The bracket is 1, so , and , taking R to be positive.
Divide the second equation by the first: . The R cancels, leaving .
Both results come from one right triangle. Its legs are and , its hypotenuse is R, and is the angle between the hypotenuse and the leg a. R is Pythagoras on that triangle, and is the opposite leg over the adjacent one.
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 , and the angle has .
3 sin x + 4 cos x as one wave
Here a = 3 and b = 4. So , and . Both and are positive, so is acute, and 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 has and , so , and . 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 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°.
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 and , not from the inverse tangent alone. For 3 sin x − 4 cos x, and . R is still 5. The cosine of is positive and its sine is negative, so is a negative acute angle: , 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, . Expand it: . Matching with 3 sin x + 4 cos x gives and , so R = 5 again and , which gives .
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 , not 3 + 4 = 7, and not . Square, add, then take the root.
Putting the wrong way up. b goes with , so . With the shift would be 36.87°, which belongs to the cosine form.
Mixing degrees and radians. is 0.927 radians; with x in radians, write 5 sin(x + 0.927).
Taking the greatest value where . The peak is where , 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 shows the peak current is 5 amps, not 7, and 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.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.
Expand Rsin(x + α) = Rsin xcosα + Rcos xsinα and match: Rcosα = 3, Rsinα = 4. 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.
R2 = 32 + 42 = 25, so R = 5: the gold wave is the sum of the other two. 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.
(a) i = 5sin(x + α): the peak current is 5 amps, not 3 + 4 = 7. 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.
tanα = 43, so α = 0.927 radian: the gap between the peak of the sum and the peak of 3sin x. 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.
(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 →