a+b+c=200

a=95-0.35b

b=3a-2c

asked by guest
on Nov 25, 2024 at 5:33 am



You asked:

Solve the system of equations:\[\begin{aligned}a + b + c &= 200\\a &= 95 - 0.35 b\\b &= 3 a - 2 c\end{aligned}\]

MathBot Answer:

The system of equations has one solution.\[a = 60\] \[b = 100\] \[c = 40\]


Solve by substitution:

Solve \(a + b + c = 200\) for \(a\). \[a = - b - c + 200\]

Substitute \(- b - c + 200\) for \(a\) in each of the remaining equations and simplify. $$\begin{aligned}a &= 95 - \frac{7 b}{20} \\ \left(- b - c + 200\right) &= 95 - \fr\left(- b - c + 200\right)c{7 b}{20} \\ 13 b + 20 c &= 2100 \end{aligned}$$$$\begin{aligned}b &= 3 a - 2 c \\ b &= 3 \left(- b - c + 200\right) - 2 c \\ 4 b + 5 c &= 600 \end{aligned}$$

Solve \(13 b + 20 c = 2100\) for \(b\). \[b = \frac{2100}{13} - \frac{20 c}{13}\]

Substitute \(\frac{2100}{13} - \frac{20 c}{13}\) for \(b\) in \(4 b + 5 c = 600\) and simplify. $$\begin{aligned}4 b + 5 c &= 600 \\ 4 \left(\frac{2100}{13} - \frac{20 c}{13}\right) + 5 c &= 600 \\ c &= 40 \end{aligned}$$

Use substitution of the numerical value of \(c\) to get the values of \(a\) and \( b\). $$\begin{aligned}b &= \frac{2100}{13} - \frac{20 c}{13} \\ b &= - \frac{20 \cdot 40}{13} + \frac{2100}{13} \\ b &= 100\end{aligned}$$$$\begin{aligned}a &= - b - c + 200 \\ a &= -100 - 40 + 200 \\ a &= 60\end{aligned}$$


Solve by Gauss-Jordan Elimination:

Begin by writing the augmented matrix of the system of equations. $$\begin{bmatrix}1 & 1 & 1 &\bigm |& 200\\1 & \frac{7}{20} & 0 &\bigm |& 95\\-3 & 1 & 2 &\bigm |& 0\end{bmatrix}$$

Then use a series of elementary row operations to convert the matrix into reduced-row echelon form. The three elementary row operations are:

  1. Swap the positions of any two rows.

  2. Multiply any row by a nonzero scalar.

  3. Multiply a row by a nonzero scalar and add it to any other row.


First, switch the rows in the matrix such that the row with the leftmost non-zero entry with the greatest magnitude is at the top.

$$\begin{bmatrix}-3 & 1 & 2 &\bigm |& 0\\1 & \frac{7}{20} & 0 &\bigm |& 95\\1 & 1 & 1 &\bigm |& 200\end{bmatrix}$$

Multiply row \(1\) by scalar \(- \frac{1}{3}\) to make the leading term \(1\).

$$\begin{bmatrix}1 & - \frac{1}{3} & - \frac{2}{3} &\bigm |& 0\\1 & \frac{7}{20} & 0 &\bigm |& 95\\1 & 1 & 1 &\bigm |& 200\end{bmatrix}$$

Multiply row \(1\) by scalar \(-1\) and add it to row \(2\).

$$\begin{bmatrix}1 & - \frac{1}{3} & - \frac{2}{3} &\bigm |& 0\\0 & \frac{41}{60} & \frac{2}{3} &\bigm |& 95\\1 & 1 & 1 &\bigm |& 200\end{bmatrix}$$

Multiply row \(1\) by scalar \(-1\) and add it to row \(3\).

$$\begin{bmatrix}1 & - \frac{1}{3} & - \frac{2}{3} &\bigm |& 0\\0 & \frac{41}{60} & \frac{2}{3} &\bigm |& 95\\0 & \frac{4}{3} & \frac{5}{3} &\bigm |& 200\end{bmatrix}$$

Switch the rows in the matrix such that the row with the next leftmost non-zero entry with the next greatest magnitude is the next row from the top.

$$\begin{bmatrix}1 & - \frac{1}{3} & - \frac{2}{3} &\bigm |& 0\\0 & \frac{4}{3} & \frac{5}{3} &\bigm |& 200\\0 & \frac{41}{60} & \frac{2}{3} &\bigm |& 95\end{bmatrix}$$

Multiply row \(2\) by scalar \(\frac{3}{4}\) to make the leading term \(1\).

$$\begin{bmatrix}1 & - \frac{1}{3} & - \frac{2}{3} &\bigm |& 0\\0 & 1 & \frac{5}{4} &\bigm |& 150\\0 & \frac{41}{60} & \frac{2}{3} &\bigm |& 95\end{bmatrix}$$

Multiply row \(2\) by scalar \(\frac{1}{3}\) and add it to row \(1\).

$$\begin{bmatrix}1 & 0 & - \frac{1}{4} &\bigm |& 50\\0 & 1 & \frac{5}{4} &\bigm |& 150\\0 & \frac{41}{60} & \frac{2}{3} &\bigm |& 95\end{bmatrix}$$

Multiply row \(2\) by scalar \(- \frac{41}{60}\) and add it to row \(3\).

$$\begin{bmatrix}1 & 0 & - \frac{1}{4} &\bigm |& 50\\0 & 1 & \frac{5}{4} &\bigm |& 150\\0 & 0 & - \frac{3}{16} &\bigm |& - \frac{15}{2}\end{bmatrix}$$

Multiply row \(3\) by scalar \(- \frac{16}{3}\) to make the leading term \(1\).

$$\begin{bmatrix}1 & 0 & - \frac{1}{4} &\bigm |& 50\\0 & 1 & \frac{5}{4} &\bigm |& 150\\0 & 0 & 1 &\bigm |& 40\end{bmatrix}$$

Multiply row \(3\) by scalar \(\frac{1}{4}\) and add it to row \(1\).

$$\begin{bmatrix}1 & 0 & 0 &\bigm |& 60\\0 & 1 & \frac{5}{4} &\bigm |& 150\\0 & 0 & 1 &\bigm |& 40\end{bmatrix}$$

Multiply row \(3\) by scalar \(- \frac{5}{4}\) and add it to row \(2\).

$$\begin{bmatrix}1 & 0 & 0 &\bigm |& 60\\0 & 1 & 0 &\bigm |& 100\\0 & 0 & 1 &\bigm |& 40\end{bmatrix}$$

Once the matrix is in reduced-row echelon form, convert the matrix back into linear equations to find the solution. $$\begin{aligned}1 \cdot a+ 0 \cdot b+ 0 \cdot c = 60 \\ a = 60\end{aligned}$$$$\begin{aligned}0 \cdot a+ 1 \cdot b+ 0 \cdot c = 100 \\ b = 100\end{aligned}$$$$\begin{aligned}0 \cdot a+ 0 \cdot b+ 1 \cdot c = 40 \\ c = 40\end{aligned}$$


Solve by matrix inversion:

In cases where the coefficient matrix of the system of equations is invertible, we can use the inverse to solve the system. Use this method with care as matrix inversion can be numerically unstable for ill-conditioned matrices.


Express the linear equations in the form \(A \times X = B\) where \(A\) is the coefficient matrix, \(X\) is the matrix of unknowns, and \(B\) is the constant matrix.$$\left[\begin{matrix}1 & 1 & 1\\1 & \frac{7}{20} & 0\\-3 & 1 & 2\end{matrix}\right] \times \left[\begin{matrix}a\\b\\c\end{matrix}\right] = \left[\begin{matrix}200\\95\\0\end{matrix}\right]$$

The product of \(A\) and its inverse \(A^{-1}\) is the identity matrix. Any matrix multiplied by the identity matrix remains unchanged, so this yields the matrix of unknowns on the left hand side of the equation, and the solution matrix on the right. $$\begin{aligned} A \times X &= B\\ A^{-1} \times A \times X &= A^{-1} \times B \\ I \times X &= A^{-1} \times B \\ X &= A^{-1} \times B \end{aligned}$$

Using a computer algebra system, calculate \(A^{-1}\). $$\left[\begin{matrix}\frac{14}{15} & - \frac{4}{3} & - \frac{7}{15}\\- \frac{8}{3} & \frac{20}{3} & \frac{4}{3}\\\frac{41}{15} & - \frac{16}{3} & - \frac{13}{15}\end{matrix}\right]$$

Multiply both sides of the equation by the inverse. $$\left[\begin{matrix}\frac{14}{15} & - \frac{4}{3} & - \frac{7}{15}\\- \frac{8}{3} & \frac{20}{3} & \frac{4}{3}\\\frac{41}{15} & - \frac{16}{3} & - \frac{13}{15}\end{matrix}\right] \times \left[\begin{matrix}1 & 1 & 1\\1 & \frac{7}{20} & 0\\-3 & 1 & 2\end{matrix}\right] \times \left[\begin{matrix}a\\b\\c\end{matrix}\right] = \left[\begin{matrix}\frac{14}{15} & - \frac{4}{3} & - \frac{7}{15}\\- \frac{8}{3} & \frac{20}{3} & \frac{4}{3}\\\frac{41}{15} & - \frac{16}{3} & - \frac{13}{15}\end{matrix}\right] \times \left[\begin{matrix}200\\95\\0\end{matrix}\right]$$ $$\left[\begin{matrix}a\\b\\c\end{matrix}\right] = \left[\begin{matrix}60\\100\\40\end{matrix}\right]$$

\[a = 60\]\[b = 100\]\[c = 40\]