RREF of $$$\left[\begin{array}{ccc}-2 & 1 & 3\\1 & 2 & 1\\3 & 1 & -2\end{array}\right]$$$

The calculator will find the reduced row echelon form of the $$$3$$$x$$$3$$$ matrix $$$\left[\begin{array}{ccc}-2 & 1 & 3\\1 & 2 & 1\\3 & 1 & -2\end{array}\right]$$$, with steps shown.

Related calculators: Gauss-Jordan Elimination Calculator, Matrix Inverse Calculator

$$$\times$$$

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Your Input

Find the reduced row echelon form of $$$\left[\begin{array}{ccc}-2 & 1 & 3\\1 & 2 & 1\\3 & 1 & -2\end{array}\right]$$$.

Solution

Divide row $$$1$$$ by $$$-2$$$: $$$R_{1} = - \frac{R_{1}}{2}$$$.

$$$\left[\begin{array}{ccc}1 & - \frac{1}{2} & - \frac{3}{2}\\1 & 2 & 1\\3 & 1 & -2\end{array}\right]$$$

Subtract row $$$1$$$ from row $$$2$$$: $$$R_{2} = R_{2} - R_{1}$$$.

$$$\left[\begin{array}{ccc}1 & - \frac{1}{2} & - \frac{3}{2}\\0 & \frac{5}{2} & \frac{5}{2}\\3 & 1 & -2\end{array}\right]$$$

Subtract row $$$1$$$ multiplied by $$$3$$$ from row $$$3$$$: $$$R_{3} = R_{3} - 3 R_{1}$$$.

$$$\left[\begin{array}{ccc}1 & - \frac{1}{2} & - \frac{3}{2}\\0 & \frac{5}{2} & \frac{5}{2}\\0 & \frac{5}{2} & \frac{5}{2}\end{array}\right]$$$

Multiply row $$$2$$$ by $$$\frac{2}{5}$$$: $$$R_{2} = \frac{2 R_{2}}{5}$$$.

$$$\left[\begin{array}{ccc}1 & - \frac{1}{2} & - \frac{3}{2}\\0 & 1 & 1\\0 & \frac{5}{2} & \frac{5}{2}\end{array}\right]$$$

Add row $$$2$$$ multiplied by $$$\frac{1}{2}$$$ to row $$$1$$$: $$$R_{1} = R_{1} + \frac{R_{2}}{2}$$$.

$$$\left[\begin{array}{ccc}1 & 0 & -1\\0 & 1 & 1\\0 & \frac{5}{2} & \frac{5}{2}\end{array}\right]$$$

Subtract row $$$2$$$ multiplied by $$$\frac{5}{2}$$$ from row $$$3$$$: $$$R_{3} = R_{3} - \frac{5 R_{2}}{2}$$$.

$$$\left[\begin{array}{ccc}1 & 0 & -1\\0 & 1 & 1\\0 & 0 & 0\end{array}\right]$$$

Since the element at row $$$3$$$ and column $$$3$$$ (pivot element) equals $$$0$$$, we need to swap the rows.

Find the first nonzero element in column $$$3$$$ under the pivot entry.

As can be seen, there are no such entries.

Answer

The reduced row echelon form is $$$\left[\begin{array}{ccc}1 & 0 & -1\\0 & 1 & 1\\0 & 0 & 0\end{array}\right]$$$A.