Advertisements
Advertisements
प्रश्न
If three numbers are added, their sum is 2. If 2 times the second number is subtracted from the sum of first and third numbers, we get 8. If three times the first number is added to the sum of second and third numbers, we get 4. Find the numbers using matrices.
Advertisements
उत्तर
Let the three numbers be x, y, z.
According to the first condition,
x + y + z = 2
According to the second condition,
(x + z) − 2y = 8
i.e. x − 2y + z = 8
According to the third condition,
3x + y + z = 4
Matrix form of the given system of equations is
`[(1, 1, 1),(1, -2, 1),(3, 1, 1)] [(x),(y), (z)] = [(2),(8),(4)]`
Applying R2 → R2 − R1 and R3 → R3 − 3R1
`[(1, 1, 1),(0, -3, 0),(0, -2, -2)] [(x),(y), (z)] = [(2),(6),(-2)]`
Applying R2 → `(-1/3)` R2 and R3 → `(-1/2)` R3
`[(1, 1, 1),(0, 1, 0),(0, 1, 1)] [(x),(y),(z)] = [(2),(-2),(1)]`
Applying R3 → R3 − R2,
`[(1, 1, 1),(0, 1, 0),(0, 0, 1)] [(x),(y),(z)] = [(2),(-2),(3)]`
Hence, the original matrix is reduced to an upper triangular matrix
∴ By equality of matrices, we get
x + y + z = 2 .......(i)
y = − 2 .......(ii)
z = 3 .......(iii)
Putting y = −2 and z = 3 in equation (i), we get
x − 2 + 3 = 2
∴ x = 1
Hence, 1, −2 and 3 are the required numbers.
