Let Rs x be invested in the first bond and Rs y be invested in the second bond.
Let A be the investment matrix and B be the interest per rupee matrix. Then,
If the rates of interest had been interchanged, then the total interest earned is Rs 100 less than the previous interest.
The system of equations (1) and (2) can be expressed as
PX = Q, where
Thus, P is invertible.
Therefore, Rs 10,000 be invested in the first bond and Rs 15,000 be invested in the second bond.