A taxi service charges a fixed amount plus a fixed rate per km. A ride of 10 km costs Rs. 170 and a ride of 16 km costs Rs. 260. The fixed charge is
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → Rs. 20
Let the fixed charge be Rs. a and the rate be Rs. b per km. Then
\(a + 10b = 170\)
\(a + 16b = 260\)
In matrix form \(AX = B\):
\( \displaystyle \begin{bmatrix} 1 & 10 \\ 1 & 16 \end{bmatrix}\begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} 170 \\ 260 \end{bmatrix} \)
\(|A| = 16 - 10 = 6 \ne 0\)
\( \displaystyle A^{-1} = \frac{1}{6}\begin{bmatrix} 16 & -10 \\ -1 & 1 \end{bmatrix} \)
By the matrix method, \(X = A^{-1}B\):
\( \displaystyle \begin{bmatrix} a \\ b \end{bmatrix} = \frac{1}{6}\begin{bmatrix} 16 \times 170 - 10 \times 260 \\ -170 + 260 \end{bmatrix} \)
\( \displaystyle \begin{bmatrix} a \\ b \end{bmatrix} = \frac{1}{6}\begin{bmatrix} 120 \\ 90 \end{bmatrix} = \begin{bmatrix} 20 \\ 15 \end{bmatrix} \)
So the fixed charge is Rs. 20 (and the rate is Rs. 15 per km).
Check: \(20 + 10 \times 15 = 170\) and \(20 + 16 \times 15 = 260\).