54.0k views
0 votes
Q1- A= [5 9 ; 13 -5] B= [4 6]

Q2- A= [3 1 -1 ; 3 5 1 ; 2 2 0] B= [-1 1 2]

Q3- A= [1 4 3 0 ; -2 -5 -1 2 ; 3 6 -3 4 ; -5 -8 9 9] B= [-5 4-2 1]

please solve the matrix in the matlab In these two ways Gaussian elimination, Gauss Jordan elimination.

User Jtanmay
by
7.7k points

1 Answer

6 votes

Final answer:

To solve the given matrices using Gaussian elimination or Gauss Jordan elimination, perform row operations on the matrices until the desired form is reached.

Step-by-step explanation:

To solve the given matrices using Gaussian elimination or Gauss Jordan elimination, we need to perform row operations on the matrices until we reach the desired form. Let's solve each question:

Q1:

A = [5 9 ; 13 -5] B = [4 6]

Gaussian elimination:

Step 1: Multiply the first row by 13/5 and subtract it from the second row. This eliminates the entry in the second row, first column.

Step 2: Multiply the second row by -5/18 to make the entry in the second row, second column equal to 1. This is the desired form.

Gauss Jordan elimination:

Step 1: Perform row operations to eliminate entries below and above the second row, first column.

Step 2: Further row operations until the matrix reaches the identity matrix form.

Q2:

A = [3 1 -1 ; 3 5 1 ; 2 2 0] B = [-1 1 2]

Gaussian elimination and Gauss Jordan elimination follow a similar process as in Q1.

Q3:

A = [1 4 3 0 ; -2 -5 -1 2 ; 3 6 -3 4 ; -5 -8 9 9] B = [-5 4 -2 1]

Use Gaussian elimination or Gauss Jordan elimination to solve the matrices.

User Jose Palma
by
8.1k points