Simultaneous equations

  • Thread starter physior
  • Start date
  • #1
182
1
hello!

I am really wondering what is going on here

let's say we have 3 equations:
with x, y, z to be our unknowns and the rest regular integers

a*x+b*y-c*z=0
d*x-e*y+f*z=0
g*x+h*y+i*z=0

the signs of each integer may be positive or negative

is there a solution to this system of equations or the only solution is x, y, z = 0 ?

thanks!
 

Answers and Replies

  • #2
nasu
Gold Member
3,769
428
It depends on the values of the coefficients.
If the 3 by 3 determinant of the coefficients is zero there are non-trivial solutions. See "homogeneous system of equation" for more details.
 
  • #3
182
1
what you mean "If the 3 by 3 determinant of the coefficients is zero there are non-trivial solutions"?
all the three coefficients are normal integers, either positive or negative
 
  • #4
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
2020 Award
15,650
7,771
what you mean "If the 3 by 3 determinant of the coefficients is zero there are non-trivial solutions"?
all the three coefficients are normal integers, either positive or negative
You may need to learn a little linear algebra to understand solutions to these equations. Basically, if you arrange your integer coefficients into a 3x3 matrix and your variables into a vector (x, y, z), then you have matrix/vector equation.

If the matrix has an inverse, then the only solution is (0, 0, 0).

If, however, the matrix has no inverse, then you will have infinitely many solutions.

PS: A matrix has an inverse iff its determinant is non-zero.
 
  • #5
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,796
1,668
what you mean "If the 3 by 3 determinant of the coefficients is zero there are non-trivial solutions"?
all the three coefficients are normal integers, either positive or negative
Yes, but the determinant of a matrix is a single special quantity, a single number, which is computed from the 9 individual coefficients a - i and their location in the matrix.

See http://en.wikipedia.org/wiki/Determinant

What you are calling coefficients (apparently x, y, and z) from the context of your reply, are actually the unknowns or the variables.
 
  • #6
182
1
no, by coefficients I mean a,b,c,...
 
  • #7
nasu
Gold Member
3,769
428
Then you have 9 coefficients for the system.
The matrix of the coefficients is
a b c
d e f
g h i

The determinant of this matrix tells you if there are other solutions than the trivial (0,0,0).
See the link given above by SteamKing.

The idea is that if the equations are independent there is no simultaneous solution (but zero).
 
Last edited:
  • #8
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
12,796
1,668
no, by coefficients I mean a,b,c,...
The there's nine of them in the three equations listed in the OP.
 

Related Threads on Simultaneous equations

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
21
Views
4K
  • Last Post
Replies
8
Views
3K
  • Last Post
Replies
12
Views
2K
  • Last Post
Replies
4
Views
694
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
5
Views
6K
Top