Question
Question: The sum of three numbers is 6. If we multiply the third number by 2 and add the first number to the ...
The sum of three numbers is 6. If we multiply the third number by 2 and add the first number to the result, we get 7. By adding second and the third numbers to the three times of the first number we get 12. Use matrices to find the number.
Solution
Hint : In this question, we need to determine the value of the three numbers such that their sum is 6 and if we multiply the third number by 2 and add the first number to the result, we get 7. Also, on adding second and the third numbers to the three times of the first number we get 12. For this, we will first establish the mathematical equation for all the three conditions and then frame the matrix equation to solve for the values of the numbers.
Complete step-by-step answer :
Let the three numbers are x,y and z.
According to the question, the sum of the three numbers is 6. So, we can write
x+y+z=6−−−−(i)
Also, it has been given that if we multiply the third number by 2 and add the first number to the result, we get 7. So, we can write
x+2z=7−−−−(ii)
Again, on adding second and the third numbers to the three times of the first number we get 12. So, we can write
3x+y+z=12−−−−(iii)
By equation (i), (ii) and (iii), we can frame the matrix equation as:
\left[ {\begin{array}{*{20}{c}}
x&y&z \\\
x&0&{2z} \\\
{3x}&y&z
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
6 \\\
7 \\\
{12}
\end{array}} \right]
\Rightarrow \left[ {\begin{array}{*{20}{c}}
1&1&1 \\\
1&0&2 \\\
3&1&1
\end{array}} \right]\left[ {\begin{array}{*{20}{c}}
x \\\
y \\\
z
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
6 \\\
7 \\\
{12}
\end{array}} \right] - - - - (iv) \\\
The equation (iv) resembles to the matrix equation AX=B where A = \left[ {\begin{array}{*{20}{c}}
1&1&1 \\\
1&0&2 \\\
3&1&1
\end{array}} \right];B = \left[ {\begin{array}{*{20}{c}}
6 \\\
7 \\\
{12}
\end{array}} \right] and X = \left[ {\begin{array}{*{20}{c}}
x \\\
y \\\
z
\end{array}} \right] .
The matrix equation can also be written as X=A−1B provided that the matrix A is consistent and its determinant value id not zero.
Now, we will calculate the determinant value of the matrix A as: