Solution: B is the inverse of A exactly when AB=BA=I, so both products must be found.
AB=[3152][2−1−53]=[6−52−2−15+15−5+6]=[1001]=I
BA=[2−1−53][3152]=[6−5−3+310−10−5+6]=[1001]=I
Both products give the identity, so B=A−1 — and equally A=B−1, since the relation is symmetric in the two matrices. ✓