Solving systems of equations with trig functions

In summary: W9DlTIn summary, the conversation revolved around solving a system of equations involving trigonometric functions. One approach suggested converting to a phase representation, while another suggested using a matrix method iteration scheme. An analytic solution was also discussed, with two potential approaches suggested: using algebra or geometry. The conversation ended with the realization that there is no general solution for this type of problem and that a numerical method would be necessary. Additionally, a poster asked for help solving a similar problem with 5 equations and 5 unknowns, and later mentioned a more complex model with 14 trigonometric equations and unknowns.
  • #1
cytochrome
166
3
I've stumbled upon a system of equations that involves trig functions...

100cos(θ) + 200cos(ω) = 250
100sin(θ) + 200sin(ω) = 0

How do you go about solving a system like this?

It's nonlinear, so linear algebra won't work...
 
Mathematics news on Phys.org
  • #4
I solved the system numerically, but I was wondering if any analytical solution exists.
 
  • #5
Sorry I thought your angles were on the same line.

In this case yes the numerical method is the best method. You are better off using a matrix method iteration scheme and you iterate until you get a change that is small enough from your last iteration.
 
  • #6
An analytic solution is possible. Here are two potential approaches. One uses algebra only. The other uses geometry.

Algebra

We might try simplifying things by getting rid of the trig functions. In this case we can let ##\sin \theta = x## and ##\sin \omega = y##. Then ##\cos \theta = \sqrt{1 - x^2}## and ##\cos \omega = \sqrt{1 - y^2}##. With a little bit of massaging I believe you should get a quartic equation in one variable (or at any rate something like that) and can solve the whole thing.

Geometry

View the equations as components of an equation in vectors:

##100\begin{bmatrix}\cos \theta \\ \sin \theta\end{bmatrix} + 200\begin{bmatrix}\cos \omega \\ \sin \omega\end{bmatrix} = \begin{bmatrix}250 \\ 0 \end{bmatrix}.## Since the two vectors on the left hand side are unit vectors, this is really a geometry problem: you are asked to find the angles of a triangle whose side lengths are 100, 200, and 250 units. (You'll have to do a little work to figure out the signs of θ and ω.) Use your favorite techniques from analytic geometry (Law of Cosines).
 
  • #7
Just isolate 100 cos θ in one equation, and 100 sin θ in the other equation.
Square both equations.
Add the two and, after using sin2+cos2=1, you are left with an equation involving cos ω

Solve for ω. and return to the original to solve for θ.

[I get cos ω = 92500 / 100000 = 0.925]
 
  • #8
cytochrome said:
I've stumbled upon a system of equations that involves trig functions...

100cos(θ) + 200cos(ω) = 250
100sin(θ) + 200sin(ω) = 0

How do you go about solving a system like this?

It's nonlinear, so linear algebra won't work...

cyto, how would I go about solving the general case? Can you explain that to me please? I'd prefer a nice, short, well-written explanation. I mean the case:

[tex]F=a[/tex]
[tex]G=b[/tex]

where F and G are some type of sine and cosine expressions. Well, what I'm getting at is that you really haven't solved this problem until you can. That's all.
 
Last edited:
  • #9
jackmell said:
cyto, how would I go about solving the general case? Can you explain that to me please? I'd prefer a nice, short, well-written explanation. I mean the case:

[tex]F=a[/tex]
[tex]G=b[/tex]

where F and G are some type of sine and cosine expressions. Well, what I'm getting at is that you really haven't solved this problem until you can. That's all.

There is no general solution. Each problem is unique.
 
  • #10
cytochrome said:
I solved the system numerically, but I was wondering if any analytical solution exists.

Hello, jumping in a tad (sic...) late on this post but I'd like to ask what numerical method you would have used to solve this set of equation.

I have derived the equations of equilibrium and geometric compatibility of a statically indeterminate system. I am left with a system of 5 equations and 5 unknown. The equations use trig functions and 3 different unknown angles.
 
  • #11
freddo said:
Hello, jumping in a tad (sic...) late on this post but I'd like to ask what numerical method you would have used to solve this set of equation.

I have derived the equations of equilibrium and geometric compatibility of a statically indeterminate system. I am left with a system of 5 equations and 5 unknown. The equations use trig functions and 3 different unknown angles. I have tried to simplify the system using trig transformations but to no avail. I want to write an app to solve this set of equation. An analytical solution would have been great but I think I'll have to resort to numerical methods.

I later complexified my model a bit and ended up with a set of 14 trig equation with as many unknowns. So that one will definitely require a numerical method.

If some of you would actually like to see the physical model, I'd be happy to post a sketch of it. Maybe someone would have a better way of solving it. Let me know.

Thanks

Read more: https://www.physicsforums.com pp
 

What is a system of equations with trig functions?

A system of equations with trig functions is a set of equations that involve trigonometric functions, such as sine, cosine, and tangent, and their respective variables. These equations can be solved simultaneously to find the values of the variables that satisfy all the equations in the system.

How do you solve a system of equations with trig functions?

To solve a system of equations with trig functions, you can use a variety of methods such as substitution, elimination, or graphing. Generally, you will need to manipulate the equations to isolate one variable and then use trigonometric identities or properties to solve for the remaining variables.

Can a system of equations with trig functions have more than one solution?

Yes, a system of equations with trig functions can have more than one solution. This means that there can be multiple sets of values for the variables that satisfy all the equations in the system. These solutions can be found by solving the equations using the methods mentioned earlier.

What are some real-world applications of solving systems of equations with trig functions?

Solving systems of equations with trig functions is commonly used in fields such as engineering, physics, and astronomy to model and solve real-world problems. For example, it can be used to determine the angles and distances of objects in a triangulation survey or to calculate the position of a satellite in orbit.

What are some tips for solving systems of equations with trig functions?

Some tips for solving systems of equations with trig functions include: identifying which method is most efficient for the given system, using trigonometric identities and properties to simplify the equations, and checking your solutions by substituting them into the original equations. It is also important to carefully manipulate the equations to avoid introducing extraneous solutions.

Similar threads

Replies
9
Views
1K
  • General Math
Replies
5
Views
1K
  • Classical Physics
Replies
7
Views
854
  • General Math
Replies
3
Views
1K
Replies
6
Views
1K
Replies
5
Views
1K
  • STEM Academic Advising
Replies
9
Views
1K
  • General Math
Replies
5
Views
1K
  • General Math
Replies
4
Views
9K
Replies
3
Views
1K
Back
Top