For example, we want to solve a set of simultaneous equations as follows using Gauss Elimination method.

The first step of Gauss Elimination method is to divide equation (1) with a coefficient of x

_{1}which is 5. This is fine to do that. But imagine if the equation (3) and (1) are swapped as follows, we will encounter with "division by zero" problem.

Actually we will have problem if the value in diagonal term of matrix [A] is zero or has very small value. So we can avoid this problem by swapping equations to get the highest absolute value of coefficient of x in diagonal term.

In the next post, let's have a look the excel program to solve system of equations using Gauss Elimination method.

## No comments:

Post a Comment