\begin{align*} \begin{bmatrix} 1-a & a \\[5pt] b & 1-b \end{bmatrix} &= \frac{1}{a+b} \begin{bmatrix} b & a \\[5pt] b & a \end{bmatrix}+\frac{1-a-b}{a+b} \begin{bmatrix} a & -a \\[5pt] -b & b \end{bmatrix}. \end{align*}
How is the above decomposition done?
Can anyone explain?
Note that $$\frac {1-a-b}{a+b}=\frac {1}{a+b}-1$$ Multiply by \begin{bmatrix} a & -a \\[5pt] -b & b \end{bmatrix} and substitute the result in the RHS to get the LHS.
Note that the LHS is $$I-\begin{bmatrix} a & -a \\[5pt] -b & b \end{bmatrix}$$
Thus you get the same expression on both sides of
$$\begin{align*} \begin{bmatrix} 1-a & a \\[5pt] b & 1-b \end{bmatrix} &= \frac{1}{a+b} \begin{bmatrix} b & a \\[5pt] b & a \end{bmatrix}+\frac{1-a-b}{a+b} \begin{bmatrix} a & -a \\[5pt] -b & b \end{bmatrix}. \end{align*}$$