4x + 70y = 242241.80

3x + 4y = 150069.01

asked by guest
on Nov 21, 2024 at 9:17 am



You asked:

Solve the system of equations:\[\begin{aligned}4 x + 70 y &= 242241.80\\3 x + 4 y &= 150069.01\end{aligned}\]

MathBot Answer:

The system of equations has one solution.\[x = \frac{19071727}{388}\] \[y = \frac{1580617}{2425}\]


Solve by substitution:

Solve \(4 x + 70 y = \frac{1211209}{5}\) for \(x\). \[x = \frac{1211209}{20} - \frac{35 y}{2}\]

Substitute \(\frac{1211209}{20} - \frac{35 y}{2}\) for \(x\) in \(3 x + 4 y = \frac{15006901}{100}\) and simplify. $$\begin{aligned}3 x + 4 y &= \frac{15006901}{100} \\ 3 \left(\frac{1211209}{20} - \frac{35 y}{2}\right) + 4 y &= \frac{15006901}{100} \\ y &= \frac{1580617}{2425} \end{aligned}$$

Use substitution of the numerical value of \(y\) to get the values of \(x\). $$\begin{aligned}x &= \frac{1211209}{20} - \frac{35 y}{2} \\ x &= - \frac{35 \cdot 1580617}{2 \cdot 2425} + \frac{1211209}{20} \\ x &= \frac{19071727}{388}\end{aligned}$$


Solve by Gauss-Jordan Elimination:

Begin by writing the augmented matrix of the system of equations. $$\begin{bmatrix}4 & 70 &\bigm |& \frac{1211209}{5}\\3 & 4 &\bigm |& \frac{15006901}{100}\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}4 & 70 &\bigm |& \frac{1211209}{5}\\3 & 4 &\bigm |& \frac{15006901}{100}\end{bmatrix}$$

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

$$\begin{bmatrix}1 & \frac{35}{2} &\bigm |& \frac{1211209}{20}\\3 & 4 &\bigm |& \frac{15006901}{100}\end{bmatrix}$$

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

$$\begin{bmatrix}1 & \frac{35}{2} &\bigm |& \frac{1211209}{20}\\0 & - \frac{97}{2} &\bigm |& - \frac{1580617}{50}\end{bmatrix}$$

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

$$\begin{bmatrix}1 & \frac{35}{2} &\bigm |& \frac{1211209}{20}\\0 & 1 &\bigm |& \frac{1580617}{2425}\end{bmatrix}$$

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

$$\begin{bmatrix}1 & 0 &\bigm |& \frac{19071727}{388}\\0 & 1 &\bigm |& \frac{1580617}{2425}\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 x+ 0 \cdot y = \frac{19071727}{388} \\ x = \frac{19071727}{388}\end{aligned}$$$$\begin{aligned}0 \cdot x+ 1 \cdot y = \frac{1580617}{2425} \\ y = \frac{1580617}{2425}\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}4 & 70\\3 & 4\end{matrix}\right] \times \left[\begin{matrix}x\\y\end{matrix}\right] = \left[\begin{matrix}\frac{1211209}{5}\\\frac{15006901}{100}\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{2}{97} & \frac{35}{97}\\\frac{3}{194} & - \frac{2}{97}\end{matrix}\right]$$

Multiply both sides of the equation by the inverse. $$\left[\begin{matrix}- \frac{2}{97} & \frac{35}{97}\\\frac{3}{194} & - \frac{2}{97}\end{matrix}\right] \times \left[\begin{matrix}4 & 70\\3 & 4\end{matrix}\right] \times \left[\begin{matrix}x\\y\end{matrix}\right] = \left[\begin{matrix}- \frac{2}{97} & \frac{35}{97}\\\frac{3}{194} & - \frac{2}{97}\end{matrix}\right] \times \left[\begin{matrix}\frac{1211209}{5}\\\frac{15006901}{100}\end{matrix}\right]$$ $$\left[\begin{matrix}x\\y\end{matrix}\right] = \left[\begin{matrix}\frac{19071727}{388}\\\frac{1580617}{2425}\end{matrix}\right]$$

\[x = \frac{19071727}{388}\]\[y = \frac{1580617}{2425}\]