Solving Simple Trig Identity w/ Sum-to-Product Identity

  • Thread starter Thread starter pondzo
  • Start date Start date
  • Tags Tags
    Identity Trig
AI Thread Summary
The discussion focuses on deriving the relationship between the expression a*cos(x) + b*sin(x) and c*sin(x + φ), where a and b are arbitrary constants, and c and φ depend on a and b. Participants clarify that c can be expressed as √(a² + b²) and φ as arctan(a/b). The use of the sum-to-product identity is debated, with emphasis on how to transition between the two forms of the equation. Ultimately, the conclusion is reached that the derivation is straightforward, providing insight into its application in simplifying expressions in trigonometry. The discussion highlights the importance of understanding these identities for effective problem-solving in applied mathematics.
pondzo
Messages
168
Reaction score
0

Homework Statement


I have had a brain malfunction and I need help to understand something simple. It would be great if someone could show the process of attaining the end form.

How does; ##a\cos{(x)}+b\sin{(x)} = c\sin{(x+\phi)}## where a,b are arbitrary constants, c results from whatever identity is applied to the original expression (so is somehow related to a and b) and phi is a phase constant.

Homework Equations



sum-to-product identity; ##\sin{(u)}+\sin{(v)} = 2\sin{(\frac{u+v}{2})}\cos{(\frac{u-v}{2})} ##

The Attempt at a Solution


I have tried to use the sum-to-product trig identity by changing the cos into a sin. But as far as i can tell, this identity only applies when a=b=1. Thanks for any help.
 
Last edited:
Physics news on Phys.org
where did the theta come from? usually when ure dealing with trig there are formulas u just need to accept and not dwell too much on. if abc are abitrary then = 1 and u have sinx + cosx = sin(x+theta) not seen this formula ever unless u made a mistake somehwere in writing it.
 
JoelN said:
where did the theta come from? usually when ure dealing with trig there are formulas u just need to accept and not dwell too much on. if abc are abitrary then = 1 and u have sinx + cosx = sin(x+theta) not seen this formula ever unless u made a mistake somehwere in writing it.
My bad, I was unclear in what i wrote. a and b are arbitrary, but c i suspect would depend on a and b.
 
Also, the phi is a phase constant, but since i don't know how to derive one side from the other I am not sure how phi came into the picture.
 
Maybe if i add in the context it would be more clear.
I am Trying to find the Fourier series (but not calculating the Fourier coefficients) of a trapped wave in a pipe closed at both ends.
So What I am having trouble with is the progression from the following line to the next;
##u(x,t)=\sum_{n=1}^\infty [A_n\cos{(n\omega t)}+B_n\sin{(n\omega t)}]sin{(n\lambda x)}##
##=\sum_{n=1}^\infty C_n\sin{(n\omega t+\phi_n)}sin{(n\lambda x)}##
where ##\omega = c\lambda##
 
pondzo said:
How does; ##a\cos{(x)}+b\sin{(x)} = c\sin{(x+\phi)}## where a,b are arbitrary constants, c results from whatever identity is applied to the original expression (so is somehow related to a and b) and phi is a phase constant.
This is equivalent to
$$\sin(x+\phi)=\frac a c\cos x+\frac b c\sin x,$$ but we have
$$\sin(x+\phi)=\sin x\cos\phi+\cos x\sin\phi.$$ So if the formula in the quote above holds, we have
$$\sin x\cos\phi+\cos x\sin\phi=\frac a c\cos x+\frac b c\sin x.$$ Since sin and cos are linearly independent functions, this would imply that if ##a,b,c## are independent of ##x##, we have
$$\frac a c =\sin\phi,\qquad \frac b c =\cos\phi.$$ You called ##a,b,c## "constants". If you meant that they're also independent of ##\phi##, then the claim that you want to prove is false, because if ##c## is independent of ##\phi##, then ##a## isn't.
 
Thanks you for your reply Fredrik.
In the OP I called a and b constants and said that c was dependent on a and b. Also i said phi was a phase constant (By which i meant is also dependent on a and b)
With regards to the original question, i have come to the conclusion (with no proof, but by inspection) that ##c=\sqrt{a^2+b^2}\text{ and }\phi = \arctan{(\frac{a}{b})}##
 
What you want to prove, a cos( x)+ b sin(x)= c sin(x+ \phi), is very nearly the "sum rule", sin(x+ \phi)= sin(\phi)cos(x)+N cos(\phi)sin(x). Are you allowed to use that? If so then \phi must be such that c sin(\phi)= a and c cos(\phi)= b. Then c^2 sin^2(\phi)+ c^2 cos(\phi)= c^2= a^2+ b^2. And, of course, \frac{a sin(\phi)}{b cos(\phi)}= tan(\phi)= \frac{a}{b}.
 
OK, then you can ignore the last two sentences in my previous post, but the rest of what I said still holds. In particular the results ##a=c\sin\phi## and ##b=c\cos\phi##. It's very easy to use these two equalities to prove the two equalities you just mentioned in post #7.

I think it's easier to go from the second line to the first (in post #5), than from the first to the second. You can rewrite ##c\sin(x+\phi)## as
$$c(\sin x\cos\phi+\cos x\sin\phi)$$ and then define ##a=c\sin\phi## and ##b=c\cos\phi##.
 
  • #10
Yes it is indeed very easy, thanks for your guidance. I am now able to understand the progression from the first line to the second line in the post #5.
 
  • #11
HallsofIvy said:
What you want to prove, a cos( x)+ b sin(x)= c sin(x+ \phi), is very nearly the "sum rule", sin(x+ \phi)= sin(\phi)cos(x)+N cos(\phi)sin(x). Are you allowed to use that? If so then \phi must be such that c sin(\phi)= a and c cos(\phi)= b. Then c^2 sin^2(\phi)+ c^2 cos(\phi)= c^2= a^2+ b^2. And, of course, \frac{a sin(\phi)}{b cos(\phi)}= tan(\phi)= \frac{a}{b}.

This is how I ended up proving it. I have been wondering about it for a while now because my lecturer consistently uses it in our applied course so he can half the amount of terms (and typing) needed, but he never bothered showing us how he arrived at the conclusion. Now I see why, its quite trivial and I feel stupid. Lol.
 
Back
Top