Trigonometry/Simplifying a sin(x) + b cos(x)

From testwiki
Jump to navigation Jump to search

Consider the function

f(x)=asin(x)+bcos(x)

We shall show that this is a sinusoidal wave

f(x)=Asin(x+ϕ)

and find that the amplitude is A=a2+b2 and the phase ϕ=arctanba

To make things a little simpler, we shall assume that a and b are both positive numbers. This isn't necessary, and after studying this section you may like to think what would happen if either of a or b is zero or negative.

Geometric Argument

to-do: add diagram.

We'll first use a geometric argument that actually shows a more general result, that:

g(θ)=asin(θ+λ1)+bsin(θ+λ2)

is a sinusoidal wave.

By setting λ1=0 , λ2=90 , it will follow that f(θ)=asin(θ)+bcos(θ) is sinusoidal.

We use the 'unit circle' definition of sine: asin(θ+λ1) is the y coordinate of a line of length a at angle θ+λ1 to the x axis, from O the origin, to a point A.

We now draw a line AB of length b at angle θ+λ2 (where that angle is measured relative to a line parallel to the x axis). The y-coordinate of B is the y-coordinate of A plus the vertical displacement from A to B. In other words its y-coordinate is g(θ).

However, there is another way to look at the y coordinate of point B . The line OB does not change in length as we change θ - all that happens is that the triangle ΔOBA rotates about O. In particular, OB rotates about O.

Hence, the y-coordinate of B is a sinusoidal function (we can see this from the 'unit circle' definition mentioned earlier). The amplitude is the length of OB and the phase is λ1+BOA .

Algebraic Argument

The algebraic argument is essentially an algebraic translation of the insights from the geometric argument. We're also in the special case that λ1=0and OAB=90 . The x's and y's in use in this section are now no longer coordinates. The 'y' is going to play the role of λ1+BOA and the 'x' plays the role of θ .

We define the angle y by tan(y)=ba .

By considering a right-angled triangle with the short sides of length a and b, you should be able to see that

sin(y)=ba2+b2 and cos(y)=aa2+b2 .

Template:ExerciseRobox Check that sin2(x)+cos2(x)=1 as expected. Template:Robox/Close

f(x)=asin(x)+bcos(x)=a2+b2(aa2+b2sin(x)+ba2+b2cos(x))=a2+b2(sin(x)cos(y)+cos(x)sin(y))=a2+b2sin(x+y)=Asin(x+ϕ) ,

which is (drum roll) a sine wave of amplitude A=a2+b2 and phase ϕ=y. Template:ExerciseRobox Check each step in the formula.

  • What trig formulae did we use?

Template:Robox/Close

Template:ExerciseRobox Can you do the full algebraic version for the more general case:

g(θ)=a1sin(θ+λ1)+a2sin(θ+λ2)

using the geometric argument as a hint? It is quite a bit harder because OBC is not a right triangle.

  • What additional trig formulas did you need?

Template:Robox/Close


Template:Trig/NAV

Template:BookCat