document.write( "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\r
\n" ); document.write( "\n" ); document.write( "1.) X = W + Z + Y
\n" ); document.write( "2.) W = Y +1
\n" ); document.write( "3.) Z = W - 5\r
\n" ); document.write( "\n" ); document.write( "What is the four-digit integer?\r
\n" ); document.write( "\n" ); document.write( "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.\r
\n" ); document.write( "\n" ); document.write( "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.\r
\n" ); document.write( "\n" ); document.write( "Thank you!
\n" ); document.write( "

Algebra.Com's Answer #470227 by josgarithmetic(39617)\"\" \"About 
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:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Leaving out some of the steps,
\n" ); document.write( "x-2y-z=1 and z-y=-4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Next, let \"z=k\", some as yet not known constant,
\n" ); document.write( "and putting into a well chosen form,
\n" ); document.write( "\"x-2y-k=1\" and \"z-y=-4\"
\n" ); document.write( "then using \"x-2y=k%2B1\" and \"y=k%2B4\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That looks like an intermediary form for y and so for now, we have:
\n" ); document.write( "-------------------
\n" ); document.write( "\"z=k\"
\n" ); document.write( "\"y=k%2B4\"
\n" ); document.write( "------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We continue to solve for x.
\n" ); document.write( "Substitute what we found for y into x-2y=k+1,
\n" ); document.write( "\"x=2y%2Bk%2B1\"
\n" ); document.write( "\"x=2%28k%2B4%29%2Bk%2B1\"
\n" ); document.write( "\"x=3k%2B9\"
\n" ); document.write( "So we have this list of somewhat solved variables:
\n" ); document.write( "--------------------
\n" ); document.write( "\"x=3k%2B9\"
\n" ); document.write( "\"y=k%2B4\"
\n" ); document.write( "\"z=k\"
\n" ); document.write( "--------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now, return to the formula specified for w.
\n" ); document.write( "\"w=y%2B1\", our given formula of w,
\n" ); document.write( "\"w=k%2B4%2B1\", substituted for y,
\n" ); document.write( "\"w=k%2B5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now our summary of nearly solved digits (variables) is this:
\n" ); document.write( "-----------------------
\n" ); document.write( "\"w=k%2B5\"
\n" ); document.write( "\"x=3k%2B9\"
\n" ); document.write( "\"y=k%2B4\"
\n" ); document.write( "\"z=k\"
\n" ); document.write( "----------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SO WHAT IS k FOR FINDING EACH OF THE DIGITS?
\n" ); document.write( "Our smallest digit can be at least 0 and our largest digit can be at most, 9.
\n" ); document.write( "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:
\n" ); document.write( "ANSWER FOUND__________w=5, x=9, y=4, z=0.
\n" ); document.write( "
\n" );