Step 1: Recall the formula:
For a square matrix \(A\) with \(|A| \ne 0\), \(A^{-1} = \dfrac{\text{adj} A}{|A|}\). The adjoint is the transpose of the matrix of cofactors.
Step 2: Find the determinant:
\(A = \begin{pmatrix} 2 & 0 & -1 \\ 5 & 1 & 0 \\ 0 & 1 & 3 \end{pmatrix}\). Expand along the first row.
\[ |A| = 2(1 \cdot 3 - 0 \cdot 1) - 0 + (-1)(5 \cdot 1 - 1 \cdot 0) = 6 - 5 = 1 \]
Since \(|A| = 1 \ne 0\), the inverse exists.
Step 3: Find all nine cofactors:
\(C_{11} = 1 \cdot 3 - 0 \cdot 1 = 3\), \(C_{12} = -(5 \cdot 3 - 0 \cdot 0) = -15\), \(C_{13} = 5 \cdot 1 - 1 \cdot 0 = 5\).
\(C_{21} = -(0 \cdot 3 - (-1) \cdot 1) = -1\), \(C_{22} = 2 \cdot 3 - (-1) \cdot 0 = 6\), \(C_{23} = -(2 \cdot 1 - 0 \cdot 0) = -2\).
\(C_{31} = 0 \cdot 0 - (-1) \cdot 1 = 1\), \(C_{32} = -(2 \cdot 0 - (-1) \cdot 5) = -5\), \(C_{33} = 2 \cdot 1 - 0 \cdot 5 = 2\).
Step 4: Take the transpose to get the adjoint:
\[ \text{adj} A = \begin{pmatrix} 3 & -15 & 5 \\ -1 & 6 & -2 \\ 1 & -5 & 2 \end{pmatrix}^{T} = \begin{pmatrix} 3 & -1 & 1 \\ -15 & 6 & -5 \\ 5 & -2 & 2 \end{pmatrix} \]
Step 5: Divide by the determinant:
\[ A^{-1} = \dfrac{1}{1} \begin{pmatrix} 3 & -1 & 1 \\ -15 & 6 & -5 \\ 5 & -2 & 2 \end{pmatrix} \]
Check the first row of \(A\) times the first column of \(A^{-1}\): \(2(3) + 0(-15) + (-1)(5) = 1\). Check the second row times the second column: \(5(-1) + 1(6) + 0(-2) = 1\). These match the identity matrix.
Final Answer:
The inverse of \(A\) is the matrix below.
\[ \boxed{A^{-1} = \begin{pmatrix} 3 & -1 & 1 \\ -15 & 6 & -5 \\ 5 & -2 & 2 \end{pmatrix}} \]