Solving a 3x3 system with Gaussian elimination

  • Thread starter Thread starter Squall
  • Start date Start date
  • Tags Tags
    Elimination
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
Squall
Messages
53
Reaction score
0

Homework Statement


x+2y+6z=4
-3x+2y-z=-4
4x+2z=16


Homework Equations


I am having trouble solving this equation since i was absent for notes
I would appreciate an attempt to explain the process to me.


The Attempt at a Solution



I know the basics but if some one could show me step by step mabey i will get it.
 
Physics news on Phys.org
I think i got it now but if you got tips please share
 
If we're not doing this using Matrix algebra, then we usually want to try and reduce our system to one of fewer variables. This is most easily done by expressing one variable in terms of others and then substituting.

You'll notice that your third line has only two variables in it, making it an excellent candidate for substitution since there is a one-to-one linear dependency between the two variables. We can isolate a single variable (say z) giving

z=8-2x

then substitute this into the first and second equations. After doing this, we will have reduced our system to one of two variable, and two equations. From here we can either repeat the process above to get a solution in terms of a single variable, or other similar method of solving 2x2 systems.