Travou nisso? Resolva com IA
Algebra · real student question

Solve the system x - y = 5 and 2x + y = 4.

Question

Solve the system

x−y=5x-y=5
2x+y=42x+y=4

Step-by-step solution

  1. Look at the coefficients before choosing a method. The yy terms are −y-y and +y+y — already exact opposites. That makes elimination by addition the fastest route, with no multiplication needed to line them up.

  2. Add the two equations. Adding left sides and right sides:

    (x−y)+(2x+y)=5+4(x-y)+(2x+y)=5+4

    3x=93x=9

    The yy terms cancel because −y+y=0-y+y=0.

  3. Solve for xx.

    x=93=3x=\frac{9}{3}=3

  4. Back-substitute into the simpler equation. Using x−y=5x-y=5 with x=3x=3:

    3−y=5⟹−y=2⟹y=−23-y=5\quad\Longrightarrow\quad -y=2\quad\Longrightarrow\quad y=-2

  5. Check the pair in BOTH original equations. Substituting is only a real check if the equation not used for back-substitution is tested too:

    3−(−2)=5✓3-(-2)=5\qquad\checkmark
    2(3)+(−2)=6−2=4✓2(3)+(-2)=6-2=4\qquad\checkmark

    Geometrically the two lines have different slopes (11 and −2-2), so they meet at exactly one point, (3,−2)(3,-2).

Answer

x=3,y=−2x=3,\quad y=-2

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