0% found this document useful (0 votes)
136 views4 pages

Lab#2 - Gaussian Elimination Method

The document describes using Gaussian elimination to solve a system of 4 linear equations with 4 unknowns (w, x, y, z). It provides the coefficient matrix A and constant vector b, and shows the row reduction steps to put the matrix in upper triangular form. The reduced matrix is then back substituted to solve for the unknowns w = -1, x = 0, y = 1, z = 2.

Uploaded by

Mylene Capulong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
136 views4 pages

Lab#2 - Gaussian Elimination Method

The document describes using Gaussian elimination to solve a system of 4 linear equations with 4 unknowns (w, x, y, z). It provides the coefficient matrix A and constant vector b, and shows the row reduction steps to put the matrix in upper triangular form. The reduced matrix is then back substituted to solve for the unknowns w = -1, x = 0, y = 1, z = 2.

Uploaded by

Mylene Capulong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 4

GAUSSIAN ELIMINATION METHOD

Equation
2 w 4 x -5 y 7 z |
1 w -1 x 1 y 0 z |
2 w 0 x 3 y -4 z |
-1 w -1 x 2 y 1 z |

Let: x1=w, x2=x, x3=y, x4=z

2 4 -5 7 w 7
 1    
-1 1 0  x   0 
 =
 2 0 3 -4  y   -7 
 -1 -1 2 1   z   5 

A | b 
2 4 -5 7 |  7
1 -1 1 0 |
  0
2 0 3 -4 |  -7
-1 -1 2 1 |  5

A/b

R2→R2xA11-R1xA21
R3→R3xA11-R1xA31
R4→R4xA11-R1xA41
2 4 -5 7 | 7
0 -6 7 -7 | -7
0 -8 16 -22 | -28
0 2 -1 9 | 17

R3→R3xA22-R2xA32
R4→R4xA22-R2xA42

2 4 -5 7 | 7
0 -6 7 -7 | -7
0 0 -40 76 | 112
0 0 -8 -40 | -88

R4→R4xA33-R3xA43

2 4 -5 7 | 7
0 -6 7 -7 | -7
0 0 -40 76 | 112
0 0 0 2208 | 4416

by BACK SUBSTITUTION:

2 w + 4 x + -5 y +
0 w + -6 x + 7 y +
0 w + 0 x + -40 y +
0 w + 0 x + 0 y +

w = -1 〖𝑋 〗 =
x = 0 _1 〗
〖𝑋 =
y = 1 _2 〗
〖𝑋 =
z = 2 _3 〗
〖𝑋 =
_4

GROUP 11
CAPULONG, Mylene B.
DELA PENA, Reynan N.
7
0
-7
5
7 z | 7
-7 z | -7
76 z | 112
2208 z | 4416

-1 answer
0 answer
1 answer
2 answer

You might also like