Solved by pluggable solver: Using Cramer's Rule to Solve Systems with 3 variables |
First let Take note that the right hand values of the system are These values are important as they will be used to replace the columns of the matrix A. Now let's calculate the the determinant of the matrix A to get Notation note: --------------------------------------------------------- Now replace the first column of A (that corresponds to the variable 'x') with the values that form the right hand side of the system of equations. We will denote this new matrix Now compute the determinant of To find the first solution, simply divide the determinant of So the first solution is --------------------------------------------------------- We'll follow the same basic idea to find the other two solutions. Let's reset by letting Now replace the second column of A (that corresponds to the variable 'y') with the values that form the right hand side of the system of equations. We will denote this new matrix Now compute the determinant of To find the second solution, divide the determinant of So the second solution is --------------------------------------------------------- Let's reset again by letting Replace the third column of A (that corresponds to the variable 'z') with the values that form the right hand side of the system of equations. We will denote this new matrix Now compute the determinant of To find the third solution, divide the determinant of So the third solution is ==================================================================================== Final Answer: So the three solutions are Note: there is a lot of work that is hidden in finding the determinants. Take a look at this 3x3 Determinant Solver to see how to get each determinant. |
I will solve the problem by reducing to 2 equations in 2 unknown. Let S be the amount invested in SM, and let W be the amount invested in Manila Water. Then investment in Meralco is (W + 60000), according to the condition. First equation is for the total investment S + (W + 60000) + W = 250000, or, equivalently, S + 2W = 250000 - 60000 = 190000. (1) Second equation is for earning 0.06*S + 0.07*(W + 60000) + 0.08*W = 16200. Multiplying by 100 and simplifying, you can get this form 5*S + 15W = 1620000 - 420000, or, equivalently, 5S + 15W = 1200000. (2) Now, to make my and your life and calculations easier, I will take off 3 zeroes in the right side of equations (1) and (2). Later I simply will multiply the solution by 1000. Thus I get these two equations S + 2W = 190 (3) ( instead of (1) ) and 6S + 15W = 1200 (4) ( instead of (2) ) Now the solution is EASY EXERCISE. Multiply eq(3) by 6 (both sides) and then subtract from eq(4). You will get 15W - 12W = 1200 - 6*190 = 60, or 3W = 60 ====> W == 20. Then from (3) S = 190 - 2W = 190 - 2*20 = 150. Thus it was invested 20000 in Manila Water; 150000 in SM; and 20000+60000 = 80000 in Meralco. Check. 20000 + 150000 + 80000 = 250000 (total). ! Correct ! 0.06*150000 + 0.07*80000 + 0.08*20000 = 16200 (earning) ! Correct !