Show that the linear system $\begin{pmatrix} a_{11} & a_{12}\\ a_{21} & a_{22} \end{pmatrix} \begin{pmatrix} x_1\\ x_2 \end{pmatrix}= \begin{pmatrix} b_1\\ b_2 \end{pmatrix} \,\,\,\,\,\, \text{ with }\,\,\,\, A= \begin{pmatrix} a_{11} & a_{12}\\ a_{21} & a_{22} \end{pmatrix}$

has the unique solution $\begin{pmatrix} x_1\\ x_2 \end{pmatrix}$ with $x_1 = \frac{\det \begin{pmatrix} b_1 & a_{12}\\ b_2 & a_{22} \end{pmatrix}}{\det A} \,\,\,\,\,\,; \,\,\,\,\, x_2 = \frac{\det \begin{pmatrix} a_{11} & b_1\\ a_{21} & b_2 \end{pmatrix}}{\det A}$, if $\det A \neq 0.$

I have an idea and I think it's almost correct but something is missing or wrong..

Let $\vec{x} = \begin{pmatrix} x_1\\ x_2 \end{pmatrix}$ and let $\vec{b} = \begin{pmatrix} b_1\\ b_2 \end{pmatrix}$. For the linear system $A\vec{x} = \vec{b}$ there exists the unique solution $\begin{pmatrix} x_1\\ x_2 \end{pmatrix}$, if $\det A \neq 0$ because we can use the inverse of matrix $A$:

$$A\vec{x}=\vec{b} \Leftrightarrow A^{-1}A\vec{x} = A^{-1} \vec{b} \Leftrightarrow A^{-1} \vec{b} = \vec{x}$$

Know that $A^{-1} = \frac{1}{\det A} \begin{bmatrix} a_{22} & -a_{12}\\ -a_{21} & a_{11} \end{bmatrix}$

Then we have $A^{-1} \vec{b} = \vec{x} \Leftrightarrow \frac{1}{\det A} \begin{bmatrix} a_{22} & -a_{12}\\ -a_{21} & a_{11} \end{bmatrix} \begin{bmatrix} b_1\\ b_2 \end{bmatrix} = \begin{bmatrix} x_1\\ x_2 \end{bmatrix}$

But how is this supposed to be equal to the solution given in the task?

I did a mistake somewhere? :(

  • 1
    $\begingroup$ You are nearly there. Use your solution work out what $x_1$ and $x_2$ are. $\endgroup$
    – D.B.
    Commented May 7, 2018 at 19:31
  • $\begingroup$ Write down $x_1$ explicitly and compare. $\endgroup$ Commented May 7, 2018 at 19:31
  • $\begingroup$ for an nxn matrix if the determinant is nonzero, then there exists a a unique inverse. So $A^{-1} b$ is the unique solution. If you calculate $A^{-1}$ explicitly, you should be able to show that $A^{-1} A = A A^{-1} = I$ With this it is easy to show the solution is unique. $\endgroup$
    – JohnS
    Commented May 7, 2018 at 19:33

1 Answer 1


You are almost there; simply write out what the two determinants $$\det \begin{pmatrix} b_1 & a_{12}\\ b_2 & a_{22} \end{pmatrix}\qquad\text{ and }\qquad\det \begin{pmatrix} a_{11} & b_1\\ a_{21} & b_2 \end{pmatrix}$$ are. You will find that these are precisely the coefficients of the vector $$\begin{bmatrix} a_{22} & -a_{12}\\ -a_{21} & a_{11} \end{bmatrix} \begin{bmatrix} b_1\\ b_2 \end{bmatrix}.$$


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .