Deriving the sum of sin and cos formula

In summary, the homework statement asks for the equation of a straight line in polar coordinates that passes through the points (0,0), (h,θ), and (h,0). When solving for ## θ ##, the equation of the line is found to be: \cos(\theta+x) = {a\over \sqrt{a^2+b^2}}\sin(x+\theta) and \sin(\theta+x) = {b\over \sqrt{a^2+b^2}}\cos(x+\theta).
  • #1
Mr Davis 97
1,462
44

Homework Statement


Show that ##a \sin x + b\cos x = c \sin (x + \theta)##, where ##c = \sqrt{a^2 + b^2}## and ## \displaystyle \theta = \arctan (\frac{b}{a})##

Homework Equations

The Attempt at a Solution


We see that ##c \sin (x + \theta) = c \cos \theta (\sin x) + x \sin \theta (\cos x)##. So we compare coefficients. ##a = c \cos \theta## and ##b = c sin \theta##. We can assume that neither ##a## or ##b## are zero, so we find by division that ##c = \sqrt{a^2 + b^2}##. Next, we see that ##a^2 + b^ = c^2 \cos^2 \theta + c^2 \sin^2 \theta = c^2##, so ##c = \pm \sqrt{a^2+b^2}##. So it seems that I am done, since the we can take the positive root. However, what about the negative root? Would that give a valid answer too? Why isn't the negative root the one that is desired by the question?
 
Physics news on Phys.org
  • #2
Mr Davis 97 said:
So we compare coefficients. a=ccosθa=ccos⁡θa = c \cos \theta and b=csinθb=csinθb = c sin \theta. We can assume that neither aaa or bbb are zero, so we find by division that c=√a2+b2c=a2+b2c = \sqrt{a^2 + b^2}.

I think you mean "so we find by division that ##\theta = \arctan(b/a)##.

I can think of two ways why ##c >0 ##

First because the term on LHS is the equation of a straight line in polar coordinates and ##c## corresponds to ##r## in polar. Since ##r## is always +ve and thus so is ##c##.

Second, for given ##a,b > 0## you can always construct a right triangle with ##h = \sqrt{a^2 + b^2}##. (h is hypotenuse).

So we can write ##a\sin x + b\cos x = \sqrt{a^2 + b^2}\left({a\over \sqrt{a^2 + b^2}}\sin x + {b\over \sqrt{a^2 + b^2}}\cos x\right)##

Lets angle between ##h## and ##a## as ##\theta##, So we get ##\cos \theta = {a\over \sqrt{a^2 + b^2}}, \ \ \ \sin \theta = {b\over \sqrt{a^2 + b^2}}## and ##\tan \theta = {b \over a}##

From here we can get,##\theta = \arctan(b/a)##,

And ##\sqrt{a^2 + b^2}\left({a\over \sqrt{a^2 + b^2}}\sin x + {b\over \sqrt{a^2 + b^2}}\cos x\right) = \sqrt{a^2 + b^2}\left(\cos \theta\sin x + \sin \theta\cos x\right) = \sqrt{a^2 + b^2}\sin (\theta + x)##

From here you can see ## c = h = \sqrt{a^2 + b^2}##, and hypotenuses are not negative, Do they ?
 
  • #3
In the determination of the angle ## \theta ##, ## a ## and ## b ## need to retain their sign, and you draw a diagram to find ## \theta ##. If both ## a ## a ## b ## are negative, then ## \theta ## winds up in the third quadrant, instead of the first. There is ambiguity in the expression ## arctan(\frac{b}{a}) ## if you don't preserve the signs of ## b ## and ## a ##. It is important to preserve the signs of ## b ## and ## a ## in this calculation. The ## \theta ## you compute will be different for ## a=1 ## and ## b=1 ## as compared to ## a=-1 ## and ## b=-1 ##. To preserve the signs, you need to use the positive root for ## c ##.
 

1. What is the formula for the sum of sin and cos?

The formula for the sum of sin and cos is sin(x + y) = sin(x)cos(y) + cos(x)sin(y).

2. How is the formula derived?

The formula is derived using the trigonometric identities of sin(x + y) and cos(x + y), as well as the Pythagorean identity for sin and cos.

3. What is the significance of this formula?

This formula is important in solving trigonometric equations and in applications such as physics and engineering where sine and cosine functions are commonly used.

4. Can the formula be extended to more than two angles?

Yes, the formula can be extended to any number of angles using the same pattern. For example, sin(x + y + z) = sin(x)cos(y)cos(z) + cos(x)sin(y)cos(z) + cos(x)cos(y)sin(z) - sin(x)sin(y)sin(z).

5. Can the formula be used to find the sum of sine and cosine of any two angles?

Yes, the formula is valid for any values of x and y, as long as they are within the domain of sine and cosine functions.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
14
Views
282
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
16
Views
4K
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
15
Views
647
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Precalculus Mathematics Homework Help
2
Replies
56
Views
4K
Back
Top