How do you solve systems of equations in complex physics problems?

In summary, systems of equations are essential in solving complex physics problems and there are no set rules or steps for solving them. It often requires a combination of experience, trial and error, and templates of similar solutions. Nonlinear systems of equations are typically solved numerically and the number of equations needed to find a solution is equal to the number of variables. Systems of equations cannot always be solved by substitution, and there is no exact rule relating the number of unknowns to the number of equations. The use of linear approximations is common because nonlinear systems can be messy and difficult to solve. In chemistry, nonlinear systems of equations are often encountered in calculating chemical equilibrium.
  • #1
Fascheue
It seems like systems of equation are part of almost every complex physics problem. What exactly are the rules or steps for solving such equations?

I know how to solve a basic linear system of equations with two variables, but how do solve more complicated systems like non-linear systems of equations with more than two variables? How do you know if you have enough equations to find a solution? I feel like I didn’t spend enough time in math on these sorts of things for the sorts of problems given in physics.
 
Mathematics news on Phys.org
  • #2
This is done on a case by case level and not answerable in this generality, except by some common remarks. In the end it is mostly a mixture of experience, try and error or templates of similar solutions. Systems of non linear equations are often only numerically solvable. There is an entire mathematical branch (numerical analysis) that deals with it. Also it depends on what you want to achieve: sometimes linear approximations will do.
 
  • Like
Likes Fascheue
  • #3
Any particular situation could be characterized using suitable systems of equations which may be non-linear. Mixture or blend problems might have a small number of linear equations with one involving a ratio. You would need a number of equations equal to the number of variables which you need solutions.
 
  • Like
Likes Fascheue
  • #4
fresh_42 said:
This is done on a case by case level and not answerable in this generality, except by some common remarks. In the end it is mostly a mixture of experience, try and error or templates of similar solutions. Systems of non linear equations are often only numerically solvable. There is an entire mathematical branch (numerical analysis) that deals with it. Also it depends on what you want to achieve: sometimes linear approximations will do.
Can systems of equations always be solved by substitution? And isn’t there some rule relating the number of unknowns to the number of equations?
 
  • #5
Fascheue said:
Can systems of equations always be solved by substitution?
No, because one cannot always solve equations uniquely. ##x^2=1## has two solutions, and ##\sin x = 0.5## even infinitely many. Which one would you choose for a substitution? And what if the equation is ##x^2+y^3+z^4=5##?
And isn’t there some rule relating the number of unknowns to the number of equations?
Not really. It comes from the substitution idea: ##n## equations with ##n## variables ##x_1,\ldots ,x_n## then write the equations as ##x_i = \ldots ## and substitute them into the last, solve for ##x_n## and go backwards to get the other values. But as said above, this isn't always possible. Also some functions cannot be inverted to a closed form, e.g. ##y=xe^x## cannot be written as ##x=\ldots ## Therefore this is more a rule of thumb: "Every equation decreases the degrees of freedom by one" than an exact theorem. Even in the case of linear equations you can have situations like ##y=2x## and ##4x-2y=0## which are formally two but effectively only one equation. And with more variables and equations, this situation is far less obvious than in my simple example.

Depending on the kind of equations and the task, there are sometimes theorems which can be used to find a solution. But often it can only be done by numerical algorithms. However, this adds a couple of more questions: how stable is a solution, i.e. if we use numbers, then we have to cut them at a certain point, ##\sqrt{2}## becomes ##1.4142##, ##\pi## becomes ##3.1416##, which aren't exact anymore. So what happens to the solution if we round differently? As I said, this is an entire mathematical branch. There is a famous theorem about differential equations, which states under which circumstances a solution exists and is unique. Unfortunately it doesn't tell how to find it. So as soon as linearity is left, things start to become complicated. That's one reason we often use linear approximations, because they are easy to handle. At least basically.
 
Last edited:
  • Like
Likes FactChecker and Fascheue
  • #6
This is a good question. When you look into this, you will realize how much you have been spoiled by the beautiful math of the linear equations. Anything else can be a mess. That is why so often the first step of math, engineering, and physics is to try to linearize a problem.
 
  • #7
One example where nonlinear systems of equations appear is the chemical equilibrium calculation for multistep reactions. For instance, you add ammonia (NH3) to a copper sulfate solution of known concentration and the copper ions complexate stepwise with some number of ammonia molecules, forming [CuNH3]2+, [Cu(NH3)2]2+, [Cu(NH3)3]2+ and [Cu(NH3)4]2+ species. If you try to calculate the relative amounts of these species at chemical equilibrium, you end up with a nonlinear system that has to be solved iteratively or with some approximations.
 
  • Like
Likes symbolipoint

Related to How do you solve systems of equations in complex physics problems?

1. How do you solve a system of equations?

There are several methods for solving a system of equations, including substitution, elimination, and graphing. The most common method is substitution, where you solve for one variable in one equation and substitute it into the other equation. You then solve for the remaining variable.

2. What is the difference between a consistent and an inconsistent system of equations?

A consistent system of equations has at least one solution that satisfies all of the equations in the system. An inconsistent system of equations has no solution that satisfies all of the equations. This means that the lines or planes represented by the equations do not intersect.

3. Can a system of equations have more than one solution?

Yes, a system of equations can have more than one solution, as long as the equations are not multiples of each other. This means that the lines or planes represented by the equations intersect at more than one point.

4. What is the purpose of solving a system of equations?

The purpose of solving a system of equations is to find the values of the variables that satisfy all of the equations in the system. This can be useful in many real-world situations, such as finding the price of two different items or determining the coordinates of the intersection point of two roads.

5. Can a system of equations with three variables be solved?

Yes, a system of equations with three variables can be solved, but it requires more equations than variables. This means that you need at least three equations to solve for three variables. The most common method for solving these types of systems is elimination, where you eliminate one variable at a time until you are left with a system of two equations and two variables, which can then be solved using substitution or other methods.

Similar threads

  • General Math
Replies
7
Views
907
Replies
9
Views
1K
Replies
29
Views
2K
Replies
5
Views
1K
Replies
13
Views
1K
Replies
3
Views
827
  • General Math
Replies
11
Views
1K
Replies
1
Views
764
  • General Math
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
786
Back
Top