Tres lingots A, B i C contenen or, plata i coure en les proporcions següents: A, \(50\) %, \(30\) % i \(20\) %; B, \(20\) %, \(50\) % i \(30\) %; C, \(10\) %, \(20\) % i \(70\) %. Quants grams de cada lingot cal fondre per obtenir un aliatge amb \(29\) g d’or, \(33\) g de plata i \(38\) g de coure?
Plantejament. Siguin \(x\) els grams fosos del lingot A, \(y\) els grams fosos del lingot B i \(z\) els grams fosos del lingot C. Del enunciat resulta: \begin{gather*} 0{,}5x+0{,}2y+0{,}1z=29 \\ 0{,}3x+0{,}5y+0{,}2z=33 \\ 0{,}2x+0{,}3y+0{,}7z=38 \end{gather*} Simplificant, s’obté el sistema: \[ \begin{cases} 5x + 2y + z = 290 \\ 3x + 5y + 2z = 330 \\ 2x + 3y + 7z = 380 \end{cases} \]
Mètode de Cramer. La matriu de coeficients és \(A=\begin{pmatrix} 5 & 2 & 1 \\ 3 & 5 & 2 \\ 2 & 3 & 7 \end{pmatrix}\) i el seu determinant (regla de Sarrus) és: \begin{align*} |A| &= \begin{vmatrix} 5 & 2 & 1 \\ 3 & 5 & 2 \\ 2 & 3 & 7 \end{vmatrix} \\ &= 5 \cdot 5 \cdot 7 + 2 \cdot 2 \cdot 2 + 1 \cdot 3 \cdot 3 \\ &\quad – 1 \cdot 5 \cdot 2 – 5 \cdot 2 \cdot 3 – 2 \cdot 3 \cdot 7 \\ &= 175 + 8 + 9 – 10 – 30 – 42 = 110 \end{align*} Com que \(|A|=110\neq0\), el sistema és compatible determinat. Substituint cada columna pels termes independents: \begin{align*} |A_{x}| &= \begin{vmatrix} 290 & 2 & 1 \\ 330 & 5 & 2 \\ 380 & 3 & 7 \end{vmatrix} \\ &= 290 \cdot 5 \cdot 7 + 2 \cdot 2 \cdot 380 + 1 \cdot 330 \cdot 3 \\ &\quad – 1 \cdot 5 \cdot 380 – 290 \cdot 2 \cdot 3 – 2 \cdot 330 \cdot 7 \\ &= 10150 + 1520 + 990 – 1900 – 1740 – 4620 = 4400 \end{align*} \begin{align*} |A_{y}| &= \begin{vmatrix} 5 & 290 & 1 \\ 3 & 330 & 2 \\ 2 & 380 & 7 \end{vmatrix} \\ &= 5 \cdot 330 \cdot 7 + 290 \cdot 2 \cdot 2 + 1 \cdot 3 \cdot 380 \\ &\quad – 1 \cdot 330 \cdot 2 – 5 \cdot 2 \cdot 380 – 290 \cdot 3 \cdot 7 \\ &= 11550 + 1160 + 1140 – 660 – 3800 – 6090 = 3300 \end{align*} \begin{align*} |A_{z}| &= \begin{vmatrix} 5 & 2 & 290 \\ 3 & 5 & 330 \\ 2 & 3 & 380 \end{vmatrix} \\ &= 5 \cdot 5 \cdot 380 + 2 \cdot 330 \cdot 2 + 290 \cdot 3 \cdot 3 \\ &\quad – 290 \cdot 5 \cdot 2 – 5 \cdot 330 \cdot 3 – 2 \cdot 3 \cdot 380 \\ &= 9500 + 1320 + 2610 – 2900 – 4950 – 2280 = 3300 \end{align*} \begin{gather*} x=\frac{|A_{x}|}{|A|}=\frac{4400}{110}=40 \\ y=\frac{|A_{y}|}{|A|}=\frac{3300}{110}=30 \\ z=\frac{|A_{z}|}{|A|}=\frac{3300}{110}=30 \end{gather*}
Mètode de Gauss. Escrivim la matriu ampliada i l’escalonem amb transformacions elementals per files: \[ \left(\begin{array}{ccc|c} 5 & 2 & 1 & 290 \\ 3 & 5 & 2 & 330 \\ 2 & 3 & 7 & 380 \end{array}\right) \xrightarrow{\substack{F_2 \to 5F_2 – 3F_1 \\ F_3 \to \frac{1}{11}\left(5F_3 – 2F_1\right)}} \left(\begin{array}{ccc|c} 5 & 2 & 1 & 290 \\ 0 & 19 & 7 & 780 \\ 0 & 1 & 3 & 120 \end{array}\right) \] \[ \left(\begin{array}{ccc|c} 5 & 2 & 1 & 290 \\ 0 & 19 & 7 & 780 \\ 0 & 1 & 3 & 120 \end{array}\right) \xrightarrow{F_3 \to \frac{1}{50}\left(19F_3 – F_2\right)} \left(\begin{array}{ccc|c} 5 & 2 & 1 & 290 \\ 0 & 19 & 7 & 780 \\ 0 & 0 & 1 & 30 \end{array}\right) \] El sistema equivalent és: \[ \begin{cases} 5x + 2y + z = 290 \\ 19y + 7z = 780 \\ z = 30 \end{cases} \] Resolent de baix cap amunt: \begin{gather*} z=30 \\ y=\frac{780 – 7 \cdot 30}{19}=\frac{570}{19}=30 \\ x=\frac{290 – 2 \cdot 30 – 1 \cdot 30}{5}=\frac{200}{5}=40 \end{gather*}
Solució: \(x=40\), \(y=30\), \(z=30\).∎