Solve 2*C*sin(W)+P*cos(N*W)=P for W

  • Context: Undergrad 
  • Thread starter Thread starter SSGD
  • Start date Start date
  • Tags Tags
    Trig functions
Click For Summary
SUMMARY

The equation 2*C*sin(W) - P*cos(N*W) = P does not have a general closed-form solution for W, particularly for larger integer values of N. Special cases such as N=1, N=2, and N=3 may yield exact solutions, while higher values lead to complex polynomial equations. The discussion emphasizes the use of Taylor series for approximating solutions and numerical methods for achieving arbitrary precision. The challenge lies in balancing the accuracy of approximations with the complexity of calculations required for larger N values.

PREREQUISITES
  • Understanding of trigonometric identities and equations
  • Familiarity with complex exponentials and polynomial equations
  • Knowledge of Taylor series and numerical approximation methods
  • Basic skills in solving equations involving constants and variables
NEXT STEPS
  • Research "Taylor series for trigonometric functions" for approximation techniques
  • Explore "numerical methods for solving nonlinear equations" for practical solutions
  • Study "polynomial equations of degree higher than four" for understanding limitations
  • Investigate "special cases in trigonometric equations" for specific N values
USEFUL FOR

Mathematicians, engineers, and anyone involved in solving complex trigonometric equations or requiring numerical solutions for polynomial expressions.

SSGD
Messages
49
Reaction score
4
Is there a way to solve for W in the below equation. There has to be multiple solution for W, but I am at a loss as to how to solve this.

2*C*sin(W)+P*cos(N*W)=P or 2*C/P*sin(W)+cos(N*W)=1

C and P are constants
N is an integer
 
Physics news on Phys.org
Not in a closed form for general N. There are special cases where a solution is possible, e.g. N=1.

I would expect N=2 and maybe N=3 and N=4 to have exact solutions as well, but not larger N. Careful: I didn't check those cases in detail.

You can write sine and cosine as sum of two complex exponentials, and convert your expression to a polynomial (with powers of eiW). Those polynomial equations have proper, general exact solutions only up to 4th order.
 
Made an error... change the sign before the P from + to -

2*C*sin(W)-P*cos(N*W)=P or 2*C/P*sin(W)-cos(N*W)=1
 
That doesn't matter. C and P can be arbitrary constants anyway.
 
Would there be a way to approximate a solution if we assume W is positive and near zero but always greater than zero.

Because I can't solve it for all the solutions. Would there be a way to find the smallest positive solution.
 
Taylor series might work well. You can always find solutions to arbitrary precision with numerical methods. It depends on your problem then. Do you prefer an approximation that is not so good, but can be written down as formula, or an approximation that is much better, but needs dedicated calculation in each case?
 
  • Like
Likes   Reactions: SSGD
Yeah I just did both. Taylor Series gives me a number, but I was hoping to get several decimals of accuracy. But, the number of terms I will need is going to be... I think... Large.

The numerical solution gives the right askers, but It always wants to go to the Trivial Solution "0". With the constraints it worked.

Thanks for the help on this. I didn't think there was a way to get an general analytic solution. I would need to solve it for N's in the range of 20 to 100. So we are talking about some really large polynomials.

Again that's for the help.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
979
  • · Replies 11 ·
Replies
11
Views
4K