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

Thank you for your help.In summary, the conversation discusses a trigonometric identity involving arbitrary constants and a phase constant. The identity is used to find the Fourier series of a trapped wave in a closed pipe. The formula for the identity is a cos(x) + b sin(x) = c sin(x + phi), where c is dependent on a and b, and phi is a phase constant that is also dependent on a and b. The conversation concludes by showing that c = sqrt(a^2 + b^2) and phi = arctan(a/b).
  • #1
pondzo
169
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
  • #2
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.
 
  • #3
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.
 
  • #4
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.
 
  • #5
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##
 
  • #6
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.
 
  • #7
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})}##
 
  • #8
What you want to prove, [itex]a cos( x)+ b sin(x)= c sin(x+ \phi)[/itex], is very nearly the "sum rule", [itex]sin(x+ \phi)= sin(\phi)cos(x)+N cos(\phi)sin(x)[/itex]. Are you allowed to use that? If so then [itex]\phi[/itex] must be such that [itex]c sin(\phi)= a[/itex] and [itex]c cos(\phi)= b[/itex]. Then [tex]c^2 sin^2(\phi)+ c^2 cos(\phi)= c^2= a^2+ b^2[/tex]. And, of course, [itex]\frac{a sin(\phi)}{b cos(\phi)}= tan(\phi)= \frac{a}{b}[/itex].
 
  • #9
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, [itex]a cos( x)+ b sin(x)= c sin(x+ \phi)[/itex], is very nearly the "sum rule", [itex]sin(x+ \phi)= sin(\phi)cos(x)+N cos(\phi)sin(x)[/itex]. Are you allowed to use that? If so then [itex]\phi[/itex] must be such that [itex]c sin(\phi)= a[/itex] and [itex]c cos(\phi)= b[/itex]. Then [tex]c^2 sin^2(\phi)+ c^2 cos(\phi)= c^2= a^2+ b^2[/tex]. And, of course, [itex]\frac{a sin(\phi)}{b cos(\phi)}= tan(\phi)= \frac{a}{b}[/itex].

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.
 

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

1. What is a simple trig identity?

A simple trig identity is an equation that relates different trigonometric functions of the same angle. It is based on the fundamental identities of sine, cosine, and tangent.

2. What is a sum-to-product identity?

A sum-to-product identity is a trigonometric identity that allows us to rewrite a sum or difference of trigonometric functions as a product of those functions. It is based on the trigonometric addition and subtraction formulas.

3. How do you solve a simple trig identity using the sum-to-product identity?

To solve a simple trig identity using the sum-to-product identity, you first need to identify the trigonometric functions involved in the equation. Then, use the appropriate sum-to-product identity to rewrite the equation in terms of a product of trigonometric functions. Finally, simplify the equation using algebraic techniques to arrive at the solution.

4. Can you provide an example of solving a simple trig identity using the sum-to-product identity?

Yes, for example, let's solve the identity cos(x) + sin(x) = 1. We can rewrite this as cos(x) + sin(x) = cos(0)sin(x) + sin(0)cos(x) using the sum-to-product identity cos(A+B) = cos(A)cos(B) - sin(A)sin(B). Simplifying further, we get cos(x) + sin(x) = cos(x)sin(0) + sin(x)cos(0). Since sin(0) = 0 and cos(0) = 1, we get cos(x) + sin(x) = cos(x) + sin(x), which is a true statement. Therefore, the solution is verified.

5. Are there any tips for solving simple trig identities using the sum-to-product identity?

Yes, it is important to carefully identify the trigonometric functions involved in the identity and choose the appropriate sum-to-product identity to rewrite the equation. Also, it is helpful to have a good understanding of the fundamental identities and trigonometric formulas. Practicing many examples can also improve proficiency in solving simple trig identities using the sum-to-product identity.

Back
Top