B How Can I Reverse a Trigonometric Identity to Find Original Constants?

PainterGuy
Messages
938
Reaction score
72
TL;DR Summary
I was working on a trigonometric identity and out of curiosity wanted to see how one could go back to the original expression.
Hi,

K₁cos(θt+φ)=K₁cos(θt)cos(φ)-K₁sin(θt)sin(φ)=K₁K₂cos(θt)-K₁K₃sin(θt)

Let's assume φ=30° , K₁=5
5cos(θt+30°) = 5cos(θt)cos(30°)-5sin(θt)sin(30°) = (5)0.866cos(θt)-(5)0.5sin(θt) = 4.33cos(θt)-2.5sin(θt)

If only the final result, 4.33cos(θt)-2.5sin(θt), is given, how do I find the original φ=30° and K₁=5? Or, how do I convert the final result back into 5cos(θt+30°) without knowing any intermediate steps?

Could you please help me with it? Thank you.

Note to self:
sin(A+90°)=sinAcos(90°)+cosAsin90°=cosA therefore cosA=sin(A+90°)
or, cos(A+90°)=cosAcos90°-sinAsin90°=-sinAsin90°
 
Last edited:
Mathematics news on Phys.org
From your derivation you can see that ##4.33 = K_1 \cos(\phi)## and ##-2.5=-K_1 \sin(\phi)##. This is a system with two equations and two unknowns that you can solve for φ and K1. The equations are nonlinear but you can get a result by dividing them (for phi) and by looking at the sum of squares (for K1).
 
  • Like
Likes PainterGuy and berkeman
Thank you.

I hope it's correct. Could you please give it a look?

1588049644174.png


1588049694647.png
 
Looks good, and the result is correct of course.

One caveat: There is a bit of ambiguity. An angle that is larger/smaller by 180 degree and the opposite sign for K1 at the same time lead to the same result, and changing the angle by 360 degree doesn't impact the result either, so you can't notice that. Usually this isn't a problem in applications, but it is something to keep in mind.
 
  • Like
Likes PainterGuy
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top