Question
Question: The cost of 4 kg potato, 3 kg wheat and 2 kg rice is Rs.150. The cost of 1 kg potato, 2 kg wheat and...
The cost of 4 kg potato, 3 kg wheat and 2 kg rice is Rs.150. The cost of 1 kg potato, 2 kg wheat and 3 kg Rice is Rs.125. The cost of 6 kg potato, 2 kg wheat and 3 kg Rice is Rs.175. Find the cost of each item per kg, by using Cramer's Rule.
Solution
We will first assume the cost of potato, wheat and rice be some variables. After that, we will form equations so that we can form a matrix to use Cramer’s rule. After that, we will find determinants which we require for all the variables.
Complete step-by-step solution:
Let us assume the cost of 1 kg potato, 1 kg wheat and1 kg rice be x, y and z respectively.
Now, since in the initial data, we are given that:
The cost of 4 kg potato, 3 kg wheat and 2 kg rice is Rs.150.
According to the assumptions of the cost of them individually, we will get the equation given as follows:-
⇒4x+3y+2z=150 ……………(1)
Now, we also have the data: the cost of 1 kg potato, 2 kg potato, 2 kg wheat and 3 kg Rice is Rs. 125.
So, we get the following equation:-
⇒x+2y+3z=125 ……………(2)
Now, we also have the data: the cost of 6 kg potato, 2 kg wheat and 3 kg Rice is Rs.175.
So, we get the following equation:-
⇒6x+2y+3z=175 ……………(3)
Now, we have three equations as we required as (1), (2) and (3).
Now, writing them in matrix form, we will get the following expression:-
\Rightarrow \left[ {\begin{array}{*{20}{c}}
4&3&2 \\\
1&2&3 \\\
6&2&3
\end{array}} \right]\left[ {\begin{array}{*{20}{c}}
x \\\
y \\\
z
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
{150} \\\
{125} \\\
{175}
\end{array}} \right]
If we compare this to AX=Y, we have A = \left[ {\begin{array}{*{20}{c}}
4&3&2 \\\
1&2&3 \\\
6&2&3
\end{array}} \right],X = \left[ {\begin{array}{*{20}{c}}
x \\\
y \\\
z
\end{array}} \right] and Y = \left[ {\begin{array}{*{20}{c}}
{150} \\\
{125} \\\
{175}
\end{array}} \right].
Now, according to Cramer’s method, we have:-
⇒x=DD1,y=DD2 and z=DD3, where Di is as similar as A matrix with just ith column replaces with Y and D = |A|.
Now, let us find all the Di′s now and D as well to get the required answer.
Since D = \left| {\begin{array}{*{20}{c}}
4&3&2 \\\
1&2&3 \\\
6&2&3
\end{array}} \right| .
Now, let us find its value:-
⇒D=4(2×3−2×3)−3(1×3−6×3)+2(1×2−6×2)
Simplifying the values to get the following:-
⇒D=4(6−6)−3(3−18)+2(2−12)
Simplifying the values further to get the following:-
⇒D=45−20
⇒D=25 ……………(4)
Since A = \left[ {\begin{array}{*{20}{c}}
4&3&2 \\\
1&2&3 \\\
6&2&3
\end{array}} \right] and Y = \left[ {\begin{array}{*{20}{c}}
{150} \\\
{125} \\\
{175}
\end{array}} \right].
\Rightarrow {D_1} = \left| {\begin{array}{*{20}{c}}
{150}&3&2 \\\
{125}&2&3 \\\
{175}&2&3
\end{array}} \right|
Now, let us find its value:-
⇒D1=150(2×3−2×3)−125(3×3−2×2)+175(3×3−2×2)
Simplifying the values to get the following:-
⇒D1=150(6−6)−125(9−4)+175(9−4)
Simplifying the values further to get the following:-
⇒D1=250 ……………(5)
Since A = \left[ {\begin{array}{*{20}{c}}
4&3&2 \\\
1&2&3 \\\
6&2&3
\end{array}} \right] and Y = \left[ {\begin{array}{*{20}{c}}
{150} \\\
{125} \\\
{175}
\end{array}} \right].