Algebra · real student question

Solve the system x + 3y = 6 and x - (1/3)y = 0 for x and y.

Question

Solve the system

x+3y=6,x13y=0x+3y=6,\qquad x-\frac13y=0

for xx and yy.

Step-by-step solution

  1. Pick the equation that isolates most cleanly. The second equation has xx with coefficient 11 and no constant term, so solving it for xx costs nothing:

    x13y=0    x=13y.x-\frac13y=0\;\Longrightarrow\;x=\frac13y.

    Choosing the other equation would work too, but this one produces the simplest expression to substitute.

  2. Substitute into the first equation. Replacing xx by 13y\tfrac13y in x+3y=6x+3y=6:

    13y+3y=6.\frac13y+3y=6.

    Now there is a single unknown, which is the whole point of substitution.

  3. Combine the yy terms over a common denominator. Writing 3y=93y3y=\tfrac93y:

    13y+93y=103y=6.\frac13y+\frac93y=\frac{10}{3}y=6.

    The combined coefficient 103\tfrac{10}{3} is not a whole number, which is exactly why the answers come out as fifths rather than integers.

  4. Solve for yy, then back-substitute for xx. Multiplying by the reciprocal 310\tfrac{3}{10}:

    y=6310=1810=95,y=6\cdot\frac{3}{10}=\frac{18}{10}=\frac95,

    and then

    x=1395=915=35.x=\frac13\cdot\frac95=\frac{9}{15}=\frac35.

    Both fractions should be reduced: 181095\tfrac{18}{10}\to\tfrac95 and 91535\tfrac{9}{15}\to\tfrac35.

  5. Check in both original equations. First: 35+395=35+275=305=6\tfrac35+3\cdot\tfrac95=\tfrac35+\tfrac{27}{5}=\tfrac{30}{5}=6 ✓. Second: 351395=3535=0\tfrac35-\tfrac13\cdot\tfrac95=\tfrac35-\tfrac35=0 ✓. As decimals the solution is (0.6,1.8)(0.6,\,1.8), and the geometric reading is that the lines x+3y=6x+3y=6 and y=3xy=3x cross there.

Answer

x=35=0.6,y=95=1.8x=\frac{3}{5}=0.6,\qquad y=\frac{9}{5}=1.8

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