Hi

Can someone tell me where is my mistake, my solution doesn't agree with the book's answers.

1) Use Gaussian elimination, solve the equation for x and y:

2R2 - R1 -> R1

R1 - R2 -> R2

correct answer is x=2.2 and y=-1.6

P.S

Printable View

- July 22nd 2010, 10:41 PMPaymemoneyGaussian Elimination Method Question?
Hi

Can someone tell me where is my mistake, my solution doesn't agree with the book's answers.

1) Use Gaussian elimination, solve the equation for x and y:

2R2 - R1 -> R1

R1 - R2 -> R2

correct answer is x=2.2 and y=-1.6

P.S - July 23rd 2010, 12:13 AMyeKciM
when u have small sys like this u can :

this one let's say

sum them...

and when u have u can get ... - July 23rd 2010, 12:16 AMPaymemoney
yes, i know you can use that method, but the question asked to use Gaussian Elimination method.

- July 23rd 2010, 12:40 AMyeKciM
Gaussian Elimination method is based on basic transformations of linear equations... (hope u know that.... there's 3 basic transformation)

now... if u look at sys : (sys No 1)

now we assume that and first equation of sys No 1 multiply with and we add it to the second equation and multiply with and we add to the 3rd equation and so on .... we get new sys (No 2) :

and so on...

using same procedure after repetition u get sys

witch is equivalent to sys No 1 ....

if sys have unique solution.... if sys have infinite solutions . But if in any repetition u get coefficients at least one equations are zeros and free member different from zero it means that sys have no solutions....

as for this small sys u have... first one multiply with witch in this case is ... and add to second and u have solution - July 23rd 2010, 01:14 AMAlexisM

2R2 + R1 -> R1

There was a sign error in the array and also in the formula

3R1 - 10R2 -> R2

You need to cancel the y component in R2

Then you just have to divide - July 23rd 2010, 02:32 AMAckbeet
Reply to Paymemoney at post # 3: yeKciM essentially DID use Gaussian elimination - but also back substitution. When doing Gaussian elimination, you have one high-level choice to make: do you go all the way to the identity matrix (in the square matrix case), or do you stop when your matrix is upper triangular, and then do back substitution? Numerical analysis suggests that Gaussian elimination with back substitution is the most efficient exact method known for solving a system of equations.

[EDIT]: The back substitution method also has the advantage in being able to work in more cases, such as when the original matrix is not invertible. In that case, you won't be able to get all the way to the identity matrix, and you'll need to use back substitution to find out the parametric dependence for your infinite solution set (unless, of course, your system is inconsistent, in which case all bets are off.) - July 23rd 2010, 03:20 AMPaymemoney
- July 23rd 2010, 03:31 AMAckbeet
Incidentally, this question really belongs in Linear and Abstract Algebra. Or possibly Pre-Algebra and Algebra.

- July 23rd 2010, 03:39 AMyeKciM
hehehehe.... that isn't Gaussian algorithm because in Gaussian algorithm it's strictly defined how to do elimanation... as I did at #4. That way real sys like when u have thousands of equations.... that is method u'll use... what i did at #2 is just simple elimanation witch can be done like that or express one unknown from one of the equations and put it in another equations... but that u can just use for simple sys like urs...

hence it's ur decision how to eliminate things... and that can be quick way (if u do it right) or... :D:D:D:D

but using Gaussian algorithm u have correct way every time :D - July 23rd 2010, 03:53 AMAckbeet
You did all the same mathematical operations as are required for Gaussian elimination. About the only difference is that you broke out of the matrix notation. There's overlap between elimination and Gaussian elimination.

Incidentally, if you have thousands of equations, you won't use Gaussian elimination, due to round-off error. You'll use some iterative non-exact technique such as Gauss-Seidel or Jacobi iteration, which, believe it or not, will converge to the correct answer faster than if you used Gaussian elimination. It has to do with being a contraction mapping in a Banach space. - July 23rd 2010, 07:27 AMyeKciM
reply to Ackbeet :D

I'm sorry for wrong interpretation, my English's poor... especially when it comes to some "math words", and while translating it to English everything goes to .... :D:D:D:D I hope i'll do better in time :D:D:D

P.S. ur absolutely right (Bow) Thank you, because ur last post i'll be more cautious, when it comes to translation and posting :D - July 23rd 2010, 07:55 AMAckbeet
No problem, mate. Have a good one!