Artificial intelligent assistant

Find the inverse of a matrix with variable a ≠ 0 I have this matrix below and I'm trying to find it's inverse, I know I augment it with I2 but I don't know where to go from that. \begin{bmatrix} 2&1\\\ a&a \end{bmatrix}

Perhaps quicker to use $$\begin{bmatrix} a&b\\\ c&d \end{bmatrix}^{-1} = \frac1{ad-bc}\begin{bmatrix} d&-b\\\ -c&a \end{bmatrix}$$

so that

$$\begin{bmatrix} 2&1\\\ a&a \end{bmatrix}^{-1} = \frac1a\begin{bmatrix} a&-1\\\ -a&2 \end{bmatrix}=\begin{bmatrix} 1&-\frac1a\\\ -1&\frac2a \end{bmatrix}$$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 28e2a4ae81a0d626c24a4c18d2c2162b