Algebra · real student question

Solve the system 3x + 2y + 5z = 7, x + 2y + 5z = 4, -x + 3y + z = 2, 3x + 4y + 5z = 32 by the substitution method.

Question

Solve the following system of linear equations by the substitution method:

{3x+2y+5z=7(1)x+2y+5z=4(2)x+3y+z=2(3)3x+4y+5z=32(4)\begin{cases}3x+2y+5z=7 & (1)\\ x+2y+5z=4 & (2)\\ -x+3y+z=2 & (3)\\ 3x+4y+5z=32 & (4)\end{cases}

Step-by-step solution

  1. Notice the system is overdetermined. There are four equations but only three unknowns. A system like this usually has no solution: the fourth equation is one constraint more than the unknowns can absorb, so part of the work is deciding whether the equations are consistent at all.

  2. Solve equation (2) for x. From x+2y+5z=4x+2y+5z=4 we get x=42y5zx=4-2y-5z. Equation (2) is the natural choice because xx has coefficient 11 there, so no fractions appear.

  3. Substitute into the other three equations. In (1): 3(42y5z)+2y+5z=73(4-2y-5z)+2y+5z=7 collapses to 4y+10z=54y+10z=5, call it (A). In (3): (42y5z)+3y+z=2-(4-2y-5z)+3y+z=2 gives 5y+6z=65y+6z=6, call it (B). In (4): 3(42y5z)+4y+5z=323(4-2y-5z)+4y+5z=32 gives 2y+10z=202y+10z=-20, call it (C).

  4. Solve the pair (A) and (C). Subtracting (C) from (A) eliminates zz: (4y+10z)(2y+10z)=5(20)(4y+10z)-(2y+10z)=5-(-20), so 2y=252y=25 and y=252y=\frac{25}{2}. Then (C) gives 25+10z=2025+10z=-20, so z=92z=-\frac92.

  5. Test those values in equation (B). 5(252)+6(92)=125227=712=35.55\left(\frac{25}{2}\right)+6\left(-\frac92\right)=\frac{125}{2}-27=\frac{71}{2}=35.5, but (B) demands 66. The three reduced equations cannot hold at once.

  6. Conclude and confirm by rank. Because a consequence of the system contradicts another equation, the system is inconsistent. The coefficient matrix has rank 33 while the augmented matrix has rank 44, which is exactly the Rouche-Capelli criterion for no solution. Concretely, (1)(2)(1)-(2) forces x=32x=\frac32 and (4)(1)(4)-(1) forces y=252y=\frac{25}{2}, then (2) forces z=92z=-\frac92; those values give 32+75292=632=31.5-\frac32+\frac{75}{2}-\frac92=\frac{63}{2}=31.5 in equation (3), not 22.

Answer

The system is inconsistent: there is no solution.\text{The system is inconsistent: there is no solution.}

Need to solve a different problem like this? Open the solver →