Question
Question: How do you solve the system of equations: \(2x+6y+3z=5\), \(-2x+2y+z=15\) and \(-3y+4z=9\) ?...
How do you solve the system of equations: 2x+6y+3z=5, −2x+2y+z=15 and −3y+4z=9 ?
Solution
We have been given three equations of three planes which have to be solved simultaneously. Each equation consists of three variables, x, y and z. Thus, these equations cannot be solved by simple substitution or elimination. In order to solve three plane equations in 3 variables simultaneously, we shall use the cramer’s rule.
Complete step by step solution:
Given a system of equations: 2x+6y+3z=5, −2x+2y+z=15 and −3y+4z=9
We shall form four different 3×3 matrices from the given system of equations.
In the first matrix, D we shall write the coefficients of x, y and z in each column from each of the three equations.
D=2 −2 0 62−3314
We will calculate the determinant, ∣D∣ of this matrix by expanding it along the column.
⇒∣D∣=2(2×4−(−3)×1)−6((−2×4)−0×1)+3((−2×−3)−0×2)
⇒∣D∣=2(8+3)−6(−8)+3(6)
⇒∣D∣=22+48+18
⇒∣D∣=88
In the second matrix, in column 1, we will write the constant terms of the given equations, in column 2, we will write the coefficients of variable-y of all the equations and in column 3, we shall write the coefficients of variable-z of all the given equations.
Dx=5 15 9 62−3314
We will calculate the determinant, ∣Dx∣ of this matrix by expanding it along the column.
⇒∣Dx∣=5(2×4−(−3)×1)−6((15×4)−9×1)+3((15×−3)−9×2)
⇒∣Dx∣=5(8+3)−6(60−9)+3(−45−18)
⇒∣Dx∣=5(11)−6(51)+3(−63)
⇒∣Dx∣=55−306−189
⇒∣Dx∣=−440
In the third matrix, in column 1, we will write the coefficients of variable-x of all the equations in column 2, we will write the constant terms of the given equations, and in column 3, we shall write the coefficients of variable-z of all the given equations.
Dy=2 −2 0 5159314
We will calculate the determinant, ∣Dy∣ of this matrix by expanding it along the column.
⇒∣Dy∣=2(15×4−9×1)−5((−2×4)−0×1)+3((−2×9)−0×15)
⇒∣Dy∣=2(60−9)−5(−8−0)+3(−18−0)
⇒∣Dy∣=2(51)−5(−8)+3(−18)
⇒∣Dy∣=102+40−54
⇒∣Dy∣=88
In the fourth matrix, in column 1, we will write the coefficients of variable-x of all the equations in column 2, we shall write the coefficients of variable-y of all the given equations and in column 3, we will write the constant terms of the given equations.
Dz=2 −2 0 62−35159
We will calculate the determinant, ∣Dz∣ of this matrix by expanding it along the column.
⇒∣Dz∣=2(2×9−(−3)×15)−6((−2×9)−0×15)+5((−2×−3)−0×2)
⇒∣Dz∣=2(18+45)−6(−18−0)+5(6−0)
⇒∣Dz∣=2(63)−6(−18)+5(6)
⇒∣Dz∣=126+108+30
⇒∣Dz∣=264
Now, the x, y and z-coordinates of intersection of this system of equations are given as
x=∣D∣∣Dx∣ , y=∣D∣∣Dy∣ and z=∣D∣∣Dz∣.
Substituting the values of these determinants, we get
⇒x=88−440
⇒x=−5
And y=8888
⇒y=1
And z=88264
⇒z=3
Therefore, the solution of the system of equations: 2x+6y+3z=5, −2x+2y+z=15 and −3y+4z=9 is x=−5,y=1 and z=3.
Note: We must be careful while performing the calculations of the determinants of the matrices as these calculations are very complex and little ignorance can lead to big calculation errors as a result of which the entire solution might go wrong.