Using Linear Algebra to solve systems of non-linear equations

Click For Summary

Discussion Overview

The discussion revolves around the use of linear algebra to solve systems of non-linear equations, specifically focusing on transforming non-linear equations into linear forms for easier resolution. Participants explore the implications of this approach, its limitations, and the types of equations that can be addressed.

Discussion Character

  • Debate/contested
  • Mathematical reasoning
  • Conceptual clarification

Main Points Raised

  • Some participants propose that non-linear equations can be transformed into linear equations using substitutions, allowing for solutions via linear algebra.
  • Others argue that while linear algebra can solve for coefficients in linear equations, it does not directly solve for the original variables in non-linear equations.
  • One participant presents specific polynomial examples to challenge the applicability of linear algebra in solving for the original variables.
  • Another participant suggests that reducing complex systems of equations to simpler forms can facilitate finding solutions, particularly for transcendental equations.
  • There is a discussion about the limitations of the proposed method, noting that not all non-linear equations fit the assumed form for transformation.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of using linear algebra for solving non-linear equations. While some see potential in the method, others highlight significant limitations and question its applicability to more complex forms of non-linear equations. No consensus is reached on the overall validity of the approach.

Contextual Notes

Participants note that the discussion is limited to specific forms of non-linear equations and that the proposed transformations may not apply universally to all non-linear systems. The complexity of general non-linear equations is acknowledged as a significant factor in the discussion.

Who May Find This Useful

This discussion may be of interest to those studying algebra, particularly in the context of solving non-linear equations, as well as individuals exploring numerical methods for approximating solutions in mathematical modeling.

Edwin
Messages
159
Reaction score
0
I did some number crunching and found the following:

Given n equations in n unknowns:

a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f

If there is a solution to these equations, you can use substitution to transform these equations into a set of linear equations and solve using linear algebra.

Let f(x) = u and g(y) = v

Then

a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f

which becomes

a*u + b*v = c
d*u + e*v = f

Which can be solved for u and v using linear algebra.

x and y can then be solved for by solving the corresponding equations

u = f(x), and v = g(y) thus making it possible to solve systems of non-linear equations of the form above using linear algebra.

Any thoughts?

Edwin G. Schasteen
 
Physics news on Phys.org
You aren't using Linear Algebra to solve for x and y.

Linear Algebra can solve for a,b,d, and e if a solution exists. It doesn't do anything regarding x and y.

You can not solve u and v through that at all.

Let f(x) = x^10 + x^9 + x + 1 = u, and g(y) = y^11 + y^10 + y + 1 = v.

According to you, we can solve for u and v.

a*u + b*v = c
d*u + e*v = f

...then for x and y.

Using my simple polynomials, solve for x and y, which you said you can do. To make it easier, let a=1, b=0, and c=0.

a*u + b*v = c
u + 0 = 0
f(x) = 0
x^10 + x^9 + x + 1 = 0

Hmmm... this isn't helping much.

How does Linear Algebra solve that?
 
Last edited:
Edwin said:
I did some number crunching and found the following:
Given n equations in n unknowns:
a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f
If there is a solution to these equations, you can use substitution to transform these equations into a set of linear equations and solve using linear algebra.
Let f(x) = u and g(y) = v
Then
a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f
which becomes
a*u + b*v = c
d*u + e*v = f
Which can be solved for u and v using linear algebra.
x and y can then be solved for by solving the corresponding equations
u = f(x), and v = g(y) thus making it possible to solve systems of non-linear equations of the form above using linear algebra.
Any thoughts?
Edwin G. Schasteen

What you are saying is certainly true but I don't see anything new. If I had, for example, the two equations
x2+ y2= 1 and
x2- y2= 1 then I would add the two equations to get 2x2= 2 so x= 1 or -1. Putting that back into either equation I would have 1+ y2= 1 or 1- y2= 1 both of which give y2= 0 or y= 0. The two solutions to the system of equations are x= 1, y= 0 and x= -1, y= 0.

Of course, you are assuming that you have n LINEAR equations in n functions of single variables. Most "non-linear" equations are more complicated than that: for example x2- 2xy+ y2= 1 and x2+ ey= 1 or sin(x)+ cos(x)= 1.
 
Maybe I misread your question.

Is u and v constants?
 
Linear Algebra can solve for a,b,d, and e if a solution exists. It doesn't do anything regarding x and y.

You can not solve u and v through that at all.
Let me try explaining it a different way:

Suppose the system of equations

au + bv = c
du + ev = f

has a unique solution (u,v) = (m,n). (As is typical with 2 equations and 2 unknowns)


Then, if you were asked to solve the system of equations

a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f

for x and y.

The previous work allows you to immediately reduce this problem to solving

f(x) = m
g(y) = n
 
Hurkyl said:
Let me try explaining it a different way:
Suppose the system of equations
au + bv = c
du + ev = f
has a unique solution (u,v) = (m,n). (As is typical with 2 equations and 2 unknowns)
Then, if you were asked to solve the system of equations
a*f(x) + b*g(y) = c
d*f(x) + e*g(y) = f
for x and y.
The previous work allows you to immediately reduce this problem to solving
f(x) = m
g(y) = n

Yes, but that doesn't really help at all.
 
Really? I think solving

x^10 + x^9 + x + 1 = 7
y^11 + y^10 + y + 1 = 3

looks much much easier than trying to solve

5y^11 + 3x^10 + 5y^10 + 3x^9 + 3x + 5y + 8 = 36
y^11 - x^10 + y^10 - x^9 - x + y = -4

Don't you?


And how else were you planning on solving the equation

cos t + 3 sin s = 2
4 cos t - 2 sin s = -1

?
 
Thanks for your input guys!


Hurkyl, I hadn't thought of using this to solve systems of transcendental equations. That's an interesting thought!

Your thoughts regarding simplification of the systems of algebraic equations of the same form into more managable equations of a single variable were exactly what I was aiming at. Given a system of non-linear equations of the form below, you can reduce the equations to a system of non-linear equations of a single variable for each of the variables just as you've shown below. One can then use any variety of numerical methods to approximate sollutions to the given equations.

What do you think?

Inquisitively,

Edwin
 
It's what I would expect to be taught in any intermediate algebra course.
The crucial point is that "non-linear equations of the form below" are not general non-linear equations. Your form is restricted to "linear equations of non-linear functions of a single variable". Obviously one can use linear equation methods to reduce to separate non-linear equations.
 
  • #10
That's correct.

Best Regards,

Edwin
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K