SOLUTION: A four-digit integer WXYZ, in which W, X, Y, and Z each represent a different digit, is formed according to the following rules 1.) X = W + Z + Y 2.) W = Y +1 3.) Z = W - 5

Algebra ->  Equations -> SOLUTION: A four-digit integer WXYZ, in which W, X, Y, and Z each represent a different digit, is formed according to the following rules 1.) X = W + Z + Y 2.) W = Y +1 3.) Z = W - 5       Log On


   



Question 771430: A four-digit integer WXYZ, in which W, X, Y, and Z each represent a different digit, is formed according to the following rules
1.) X = W + Z + Y
2.) W = Y +1
3.) Z = W - 5
What is the four-digit integer?
I tried plugging in, say, Y + 1 for W in the first equation, then W - 5 for Z and Y + 1 for W, trying this method in the other equations, but I haven't gotten anywhere with this.
Could you please help me find a way to solve this? If it helps, the answer is 5940. I'm practicing for the SAT coming up.
Thank you!

Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!
A method that worked was use the w formula in the other two equations to eliminate it through substitution:

Leaving out some of the steps,
x-2y-z=1 and z-y=-4

Next, let z=k, some as yet not known constant,
and putting into a well chosen form,
x-2y-k=1 and z-y=-4
then using x-2y=k%2B1 and y=k%2B4

That looks like an intermediary form for y and so for now, we have:
-------------------
z=k
y=k%2B4
------------------

We continue to solve for x.
Substitute what we found for y into x-2y=k+1,
x=2y%2Bk%2B1
x=2%28k%2B4%29%2Bk%2B1
x=3k%2B9
So we have this list of somewhat solved variables:
--------------------
x=3k%2B9
y=k%2B4
z=k
--------------------

Now, return to the formula specified for w.
w=y%2B1, our given formula of w,
w=k%2B4%2B1, substituted for y,
w=k%2B5

Now our summary of nearly solved digits (variables) is this:
-----------------------
w=k%2B5
x=3k%2B9
y=k%2B4
z=k
----------------------

SO WHAT IS k FOR FINDING EACH OF THE DIGITS?
Our smallest digit can be at least 0 and our largest digit can be at most, 9.
Look at x. Already with a constant 9 in it. Let k=0, so the term there does not contribute anything. The result is that:
ANSWER FOUND__________w=5, x=9, y=4, z=0.