5. Problema de les edats de la família
La suma de les edats d’un pare, una mare i el seu fill és \(97\) anys. El pare té \(2\) anys més que la mare i l’edat del pare és el quàdruple de la del fill. Calculeu l’edat de cadascun.
Plantejament. Siguin \(x\) l’edat del pare, \(y\) l’edat de la mare i \(z\) l’edat del fill. Del enunciat resulta: \begin{gather*} x+y+z=97 \\ x=y+2 \\ x=4z \end{gather*} Simplificant, s’obté el sistema: \[ \begin{cases} x + y + z = 97 \\ x – y = 2 \\ x – 4z = 0 \end{cases} \]
Mètode de Cramer. La matriu de coeficients és \(A=\begin{pmatrix} 1 & 1 & 1 \\ 1 & -1 & 0 \\ 1 & 0 & -4 \end{pmatrix}\) i el seu determinant (regla de Sarrus) és: \begin{align*} |A| &= \begin{vmatrix} 1 & 1 & 1 \\ 1 & -1 & 0 \\ 1 & 0 & -4 \end{vmatrix} \\ &= 1 \cdot (-1) \cdot (-4) + 1 \cdot 0 \cdot 1 + 1 \cdot 1 \cdot 0 \\ &\quad – 1 \cdot (-1) \cdot 1 – 1 \cdot 0 \cdot 0 – 1 \cdot 1 \cdot (-4) \\ &= 4 + 0 + 0 – (-1) – 0 – (-4) = 9 \end{align*} Com que \(|A|=9\neq0\), el sistema és compatible determinat. Substituint cada columna pels termes independents: \begin{align*} |A_{x}| &= \begin{vmatrix} 97 & 1 & 1 \\ 2 & -1 & 0 \\ 0 & 0 & -4 \end{vmatrix} \\ &= 97 \cdot (-1) \cdot (-4) + 1 \cdot 0 \cdot 0 + 1 \cdot 2 \cdot 0 \\ &\quad – 1 \cdot (-1) \cdot 0 – 97 \cdot 0 \cdot 0 – 1 \cdot 2 \cdot (-4) \\ &= 388 + 0 + 0 – 0 – 0 – (-8) = 396 \end{align*} \begin{align*} |A_{y}| &= \begin{vmatrix} 1 & 97 & 1 \\ 1 & 2 & 0 \\ 1 & 0 & -4 \end{vmatrix} \\ &= 1 \cdot 2 \cdot (-4) + 97 \cdot 0 \cdot 1 + 1 \cdot 1 \cdot 0 \\ &\quad – 1 \cdot 2 \cdot 1 – 1 \cdot 0 \cdot 0 – 97 \cdot 1 \cdot (-4) \\ &= (-8) + 0 + 0 – 2 – 0 – (-388) = 378 \end{align*} \begin{align*} |A_{z}| &= \begin{vmatrix} 1 & 1 & 97 \\ 1 & -1 & 2 \\ 1 & 0 & 0 \end{vmatrix} \\ &= 1 \cdot (-1) \cdot 0 + 1 \cdot 2 \cdot 1 + 97 \cdot 1 \cdot 0 \\ &\quad – 97 \cdot (-1) \cdot 1 – 1 \cdot 2 \cdot 0 – 1 \cdot 1 \cdot 0 \\ &= 0 + 2 + 0 – (-97) – 0 – 0 = 99 \end{align*} \begin{gather*} x=\frac{|A_{x}|}{|A|}=\frac{396}{9}=44 \\ y=\frac{|A_{y}|}{|A|}=\frac{378}{9}=42 \\ z=\frac{|A_{z}|}{|A|}=\frac{99}{9}=11 \end{gather*}
Mètode de Gauss. Escrivim la matriu ampliada i l’escalonem amb transformacions elementals per files: \[ \left(\begin{array}{ccc|c} 1 & 1 & 1 & 97 \\ 1 & -1 & 0 & 2 \\ 1 & 0 & -4 & 0 \end{array}\right) \xrightarrow{\substack{F_2 \to F_2 – F_1 \\ F_3 \to F_3 – F_1}} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 97 \\ 0 & -2 & -1 & -95 \\ 0 & -1 & -5 & -97 \end{array}\right) \] \[ \left(\begin{array}{ccc|c} 1 & 1 & 1 & 97 \\ 0 & -2 & -1 & -95 \\ 0 & -1 & -5 & -97 \end{array}\right) \xrightarrow{F_3 \to \frac{1}{9}\left(2F_3 – F_2\right)} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 97 \\ 0 & -2 & -1 & -95 \\ 0 & 0 & -1 & -11 \end{array}\right) \] El sistema equivalent és: \[ \begin{cases} x + y + z = 97 \\ -2y – z = -95 \\ -z = -11 \end{cases} \] Resolent de baix cap amunt: \begin{gather*} z=\frac{-11}{-1}=11 \\ y=\frac{-95 – (-1) \cdot 11}{-2}=\frac{-84}{-2}=42 \\ x=97 – 1 \cdot 42 – 1 \cdot 11=44 \end{gather*}
Solució: \(x=44\), \(y=42\), \(z=11\).∎
Us agrada: M'agrada S'està carregant…