Question
Question: Solve the given system of linear equation by Crammer’s rule \(x+y+z=1\) \(ax+by+cz=k\) \({{a}^...
Solve the given system of linear equation by Crammer’s rule
x+y+z=1
ax+by+cz=k
a2x+b2y+c2z=k2.
Solution
We start solving the problem by writing the given system of linear equations in the form of AX=B. We then recall the Crammer’s rule that the solution for system of linear equations is x=∣A∣∣A1∣, y=∣A∣∣A2∣, z=∣A∣∣A3∣ and then write the matrices A, A1, A2, A3. We then find the values of the determinants ∣A∣, ∣A1∣, ∣A2∣, ∣A3∣ using the facts that determinant of a 3×3 matrix is p s v qtwrux=pt w ux−qs v ux+rs v tw and p r qs=(p×s)−(q×r). We then use these values to find the required values of x, y and z.
Complete step by step answer:
According to the problem, we are asked to solve the given system of linear equation by Crammer’s rule:
x+y+z=1
ax+by+cz=k
a2x+b2y+c2z=k2.
Let us write the given system of linear equations in the form of AX=B, where
A = coefficient matrix = 1 a a2 1bb21cc2.
X = variable matrix = x y z .
B = constant matrix = 1 k k2 .
From cramer's rule, we know that the solution for system of linear equations is defined as x=∣A∣∣A1∣, y=∣A∣∣A2∣, z=∣A∣∣A3∣.
Where A1=1 k k2 1bb21cc2, A2=1 a a2 1kk21cc2, A3=1 a a2 1bb21kk2.
Let us first find the values of ∣A∣, ∣A1∣, ∣A2∣, ∣A3∣.
So, we have ∣A∣=1 a a2 1bb21cc2.
Let us perform the operations C2→C2−C1 and C3→C3−C1.
⇒∣A∣=1 a a2 1−1b−ab2−a21−1c−ac2−a2.
⇒∣A∣=1 a a2 0b−ab2−a20c−ac2−a2.
We know that determinant of a 3×3 matrix is defined as p s v qtwrux=pt w ux−qs v ux+rs v tw.
⇒∣A∣=1b−a b2−a2 c−ac2−a2−0a a2 c−ac2−a2+0a a2 b−ab2−a2.
We know that p r qs=(p×s)−(q×r).
⇒∣A∣=((b−a)×(c2−a2))−((b2−a2)×(c−a)).
⇒∣A∣=(b−a)×(c−a)×((c+a)−(b+a)).
⇒∣A∣=(b−a)×(c−a)×(c−b) ---(1).
Now, we have ∣A1∣=1 k k2 1bb21cc2.
Let us perform the operations C2→C2−C1 and C3→C3−C1.
⇒∣A1∣=1 k k2 1−1b−kb2−k21−1c−kc2−k2.
⇒∣A1∣=1 k k2 0b−kb2−k20c−kc2−k2.
We know that determinant of a 3×3 matrix is defined as p s v qtwrux=pt w ux−qs v ux+rs v tw.
⇒∣A1∣=1b−k b2−k2 c−kc2−k2−0k k2 c−kc2−k2+0k k2 b−kb2−k2.
We know that p r qs=(p×s)−(q×r).
⇒∣A1∣=((b−k)×(c2−k2))−((b2−k2)×(c−k)).
⇒∣A1∣=(b−k)×(c−k)×((c+k)−(b+k)).
⇒∣A1∣=(b−k)×(c−k)×(c−b) ---(2).
So, we have ∣A2∣=1 a a2 1kk21cc2.
Let us perform the operations C2→C2−C1 and C3→C3−C1.
⇒∣A2∣=1 a a2 1−1k−ak2−a21−1c−ac2−a2.
⇒∣A2∣=1 a a2 0k−ak2−a20c−ac2−a2.
We know that determinant of a 3×3 matrix is defined as p s v qtwrux=pt w ux−qs v ux+rs v tw.
⇒∣A2∣=1k−a k2−a2 c−ac2−a2−0a a2 c−ac2−a2+0a a2 k−ak2−a2.
We know that p r qs=(p×s)−(q×r).
⇒∣A2∣=((k−a)×(c2−a2))−((k2−a2)×(c−a)).
⇒∣A2∣=(k−a)×(c−a)×((c+a)−(k+a)).
⇒∣A2∣=(k−a)×(c−a)×(c−k) ---(3).
So, we have ∣A3∣=1 a a2 1bb21kk2.
Let us perform the operations C2→C2−C1 and C3→C3−C1.
⇒∣A3∣=1 a a2 1−1b−ab2−a21−1k−ak2−a2.
⇒∣A3∣=1 a a2 0b−ab2−a20k−ak2−a2.
We know that determinant of a 3×3 matrix is defined as p s v qtwrux=pt w ux−qs v ux+rs v tw.
⇒∣A3∣=1b−a b2−a2 k−ak2−a2−0a a2 k−ak2−a2+0a a2 b−ab2−a2.
We know that p r qs=(p×s)−(q×r).
⇒∣A3∣=((b−a)×(k2−a2))−((b2−a2)×(k−a)).
⇒∣A3∣=(b−a)×(k−a)×((k+a)−(b+a)).
⇒∣A3∣=(b−a)×(k−a)×(k−b) ---(4).
Now, let us find the values of x, y and z.
So, we have x=∣A1∣∣A∣.
⇒x=(b−k)×(c−k)×(c−b)(b−a)×(c−a)×(c−b).
⇒x=(b−k)(c−k)(b−a)(c−a).
Now, we have y=∣A2∣∣A∣.
⇒y=(k−a)×(c−a)×(c−k)(b−a)×(c−a)×(c−b).
⇒y=(k−a)(c−k)(b−a)(c−b).
Now, we have z=∣A3∣∣A∣.
⇒z=(b−a)×(k−a)×(k−b)(b−a)×(c−a)×(c−b).
⇒z=(k−a)(k−b)(c−a)(c−b).
∴ We have found the solution set of the given linear equations as x=(b−k)(c−k)(b−a)(c−a), y=(k−a)(c−k)(b−a)(c−b), z=(k−a)(k−b)(c−a)(c−b).
Note: We can see that the given problem contains a huge amount of calculations so, we need to perform each step carefully in order to avoid confusion and calculation mistakes. We should not confuse while writing the matrices A1, A2, A3 as writing these matrices wrongly will lead us to incorrect solutions. Similarly, we can expect the problems to find the solution of the given system of linear equations by using matrix inversion method or Gauss-Jordan method.