How do you solve x + y = 12 and y = 2x?

1 Answer
Oct 15, 2015

You can solve it like this:

Explanation:

We have 2 simultaneous equations:

x+y=12" "color(red)((1))x+y=12 (1)

y=2x" "color(red)((2))y=2x (2)

From color(red)((1))(1) we can write:

y=(12-x)y=(12x)

Substituting this value of yy into color(red)((2))(2) gives:

(12-x)=2x(12x)=2x

12=3x12=3x

x=12/3=4x=123=4

Substituting this value of xx into color(red)((1))(1) gives:

4+y=124+y=12

y=12-4y=124

y=8y=8