Question #54503

Solve the set of linear equations by matrix method and Gaussian elimination method :
a+2b+3c=5
3a-b+2c=8
4a-6b-4c=-2
Solve for b

Expert's answer

Answer on Question #54503 – Math – Linear Algebra

Solve the set of linear equations by matrix method and Gaussian elimination method:


{a+2b+3c=53ab+2c=84a6b4c=2.\left\{ \begin{array}{l} a + 2 b + 3 c = 5 \\ 3 a - b + 2 c = 8 \\ 4 a - 6 b - 4 c = - 2 \end{array} \right..


Solve for bb.

Solution

I. Gaussian elimination method

1. Construct the augmented matrix for the system:


(123312464)\left( \begin{array}{rrr} 1 & 2 & 3 \\ 3 & -1 & 2 \\ 4 & -6 & -4 \end{array} \right)


- Column 1 contains coefficients beside a.

- Column 2 contains coefficients beside b.

- Column 3 contains coefficients beside c.

- Row 1 is associated with the first equation.

- Row 2 is associated with the second equation.

- Row 3 is associated with the third equation.

The vertical line between the columns containing the coefficient and the column containing the constant term are there to show you that this is an augmented matrix.

2. We use elementary row operations to transform this matrix into a triangular one.

Subtract the first row, multiplied by 3, from the second row, the result is in the second row.

We keep the first and the third rows unchanged.


(123077464)\left( \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -7 & -7 \\ 4 & -6 & -4 \end{array} \right)


Subtract the first row, multiplied by 4, from the third one, the result is in the third row.

We keep the first and the second rows unchanged.


(12307701416)\left( \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -7 & -7 \\ 0 & -14 & -16 \end{array} \right)


Divide the third row by two. We keep the first and the second rows unchanged.


(123077078)\left( \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -7 & -7 \\ 0 & -7 & -8 \end{array} \right)


Subtract the second row from the third one, result is in the third row.

We keep the first and the second rows unchanged.


(123077001)\left( \begin{array}{ccc} 1 & 2 & 3 \\ 0 & -7 & -7 \\ 0 & 0 & -1 \end{array} \right)


Divide the second row by (-7), divide the third row by (-1).

We keep the first row unchanged.


(123011001)\left( \begin{array}{ccc} 1 & 2 & 3 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{array} \right)


Subtract the third row from the second one, result is in the second row.

We keep the first and the third rows unchanged.


(123010001)\left( \begin{array}{ccc} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right)


Subtract the second row, multiplied by 2, and the third row, multiplied by 3, from the first row.

We keep the second and the third rows unchanged.


(100010001)\left( \begin{array}{ccc} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right)


This is a triangular matrix. Its associated system is


{a=1b=3c=4\left\{ \begin{array}{l} a = -1 \\ b = -3 \\ c = 4 \end{array} \right.


Thus, b=3b = -3.

II. Matrix method

Let's rewrite the system in matrix form:


(123312464)(abc)=(582).\left( \begin{array}{ccc} 1 & 2 & 3 \\ 3 & -1 & 2 \\ 4 & -6 & 4 \end{array} \right) \left( \begin{array}{c} a \\ b \\ c \end{array} \right) = \left( \begin{array}{c} 5 \\ 8 \\ -2 \end{array} \right).


Then the solution is given by


(abc)=(123312464)1(582).\left( \begin{array}{c} a \\ b \\ c \end{array} \right) = \left( \begin{array}{ccc} 1 & 2 & 3 \\ 3 & -1 & 2 \\ 4 & -6 & 4 \end{array} \right) ^{-1} \left( \begin{array}{c} 5 \\ 8 \\ -2 \end{array} \right).


Let's find the inverse matrix (123312464)1\left( \begin{array}{ccc} 1 & 2 & 3 \\ 3 & -1 & 2 \\ 4 & -6 & 4 \end{array} \right)^{-1}

(123100312010464001)(12310007731001416401)(101120011310001010)(10187571201110787120011112).\begin{array}{l} \left( \begin{array}{cccccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 3 & -1 & 2 & 0 & 1 & 0 \\ 4 & -6 & -4 & 0 & 0 & 1 \end{array} \right) \sim \left( \begin{array}{cccccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 0 & -7 & -7 & -3 & 1 & 0 \\ 0 & -14 & -16 & -4 & 0 & 1 \end{array} \right) \sim \left( \begin{array}{cccccc} 1 & 0 & 1 & 1 & 2 & 0 \\ 0 & 1 & 1 & 3 & -1 & 0 \\ 0 & 0 & 1 & 0 & -1 & 0 \end{array} \right) \sim \\ \sim \left( \begin{array}{cccccc} 1 & 0 & 1 & \frac{8}{7} & -\frac{5}{7} & \frac{1}{2} \\ 0 & 1 & 1 & \frac{10}{7} & -\frac{8}{7} & \frac{1}{2} \\ 0 & 0 & 1 & -1 & 1 & -\frac{1}{2} \end{array} \right). \end{array}


So we have that


(123312464)1=(87571210787121112).\left( \begin{array}{ccc} 1 & 2 & 3 \\ 3 & -1 & 2 \\ 4 & -6 & 4 \end{array} \right) ^{-1} = \left( \begin{array}{ccc} \frac{8}{7} & -\frac{5}{7} & \frac{1}{2} \\ \frac{10}{7} & -\frac{8}{7} & \frac{1}{2} \\ -1 & 1 & -\frac{1}{2} \end{array} \right).


and


(abc)=(87571210787121112)(582)=(134).\left( \begin{array}{c} a \\ b \\ c \end{array} \right) = \left( \begin{array}{ccc} \frac{8}{7} & -\frac{5}{7} & \frac{1}{2} \\ \frac{10}{7} & -\frac{8}{7} & \frac{1}{2} \\ -1 & 1 & -\frac{1}{2} \end{array} \right) \cdot \left( \begin{array}{c} 5 \\ 8 \\ -2 \end{array} \right) = \left( \begin{array}{c} -1 \\ -3 \\ 4 \end{array} \right).


Answer: b=3b = -3.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS