First, Let x=$ invested at 3%
y=$ invested at 6%
z=$ invested at 7.5%
Next, set up a matrix with the following information:
1 x + 1 y + 1 z = 5000
0.03 x + 0.06 y + 0.075 z = 300
1 x + 1 y - 1 z = 0
Which gives us the Iteration 0 of:
1 1 1 = 5000
0.03 0.06 0.075 = 300
1 1 -1 = 0
Next, perform the following row operations, making sure to update the matrix at each iteration:
[1] - R1 + R3 = new R3
[2] -3R1 + 100R2 = new R2
[3] R3 + 2R1 = new R1
[4] 4.5R3 + 2R2 = new R2
[5] -R2 + 3R1 = new R1
This gives the following Iteration 5 matrix:
6 0 0 = 7500
0 6 0 = 7500
0 0 -2 = -5000
To which I perform the following row reductions:
(1/6)R1 = new R1
(1/6)R2 = new R2
(-1/2)R3 = new R3
Which gives us the following matrix:
1 0 0 = 1250
0 1 0 = 1250
0 0 1 = 2500
So, (x,y,z) is: (1250,1250,2500)
Which means: $1,250 invested in the savings account
$1,250 invested in the CD
$2,500 invested in the college savings plan
This yields the following checks:
[1] 1,250 + 1,250 + 2,500 = $5,000 [Check]
[2] 0.03 * 1250 + 0.06 * 1250 + 0.075 * 2500 = $300 [Check]
[3] $1,250 + $1,250 - $2,500 = 0 [Check]