document.write( "Question 252077: John is as old as Cindy will be when John is twice as old as Cindy was when John was half as old as the sum of their current ages. Cindy is as old as John was when Cindy was half as old as he will be in ten years. How old are John and Cindy? \n" ); document.write( "
Algebra.Com's Answer #183850 by Edwin McCravy(20054)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "You typed \"he\" for \"she\" in the last part.  There is no solution if\r\n" );
document.write( "it were \"he\".  But there is if it is \"she\".\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "John is as old as Cindy will be when John is twice as old as Cindy was when John was half as old as the sum of their current ages. Cindy is as old as John was when Cindy was half as old as she will be in ten years. How old are John and Cindy?\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let's go through it carefully, letting the number of years in the future\r\n" );
document.write( "or in the past be represented by letters:\r\n" );
document.write( "

\n" ); document.write( "John is as old as Cindy will be
\n" ); document.write( "
\r\n" );
document.write( "J = C + x  (that is, x years in the future)\r\n" );
document.write( "

\n" ); document.write( "when John
\n" ); document.write( "
\r\n" );
document.write( "who will be age J + x\r\n" );
document.write( "

\n" ); document.write( "is twice as old as Cindy was
\n" ); document.write( "
\r\n" );
document.write( "J + x = 2(C - y)  (this was y years in the past)\r\n" );
document.write( "

\n" ); document.write( "when John
\n" ); document.write( "
\r\n" );
document.write( "at age J - y\r\n" );
document.write( "

\n" ); document.write( "was half as old as the sum of their current ages.
\n" ); document.write( "
\r\n" );
document.write( "J - y = 1/2(J + C)\r\n" );
document.write( "

\n" ); document.write( "Cindy is as old as John was
\n" ); document.write( "
\r\n" );
document.write( "C = J - z  (z years in the past)\r\n" );
document.write( "

\n" ); document.write( "when Cindy
\n" ); document.write( "
\r\n" );
document.write( "at age C - z\r\n" );
document.write( "

\n" ); document.write( "was half as old as she will be in ten years.
\n" ); document.write( "
\r\n" );
document.write( "C - z = 1/2(C + 10) \r\n" );
document.write( "\r\n" );
document.write( "So we have this system of equations: \r\n" );
document.write( "\r\n" );
document.write( "J = C + x\r\n" );
document.write( "J + x = 2(C - y)\r\n" );
document.write( "J - y = 1/2(J + C)\r\n" );
document.write( "C = J - z \r\n" );
document.write( "C - z = 1/2(C + 10)\r\n" );
document.write( "\r\n" );
document.write( "Simplifying the first:\r\n" );
document.write( "J - C - x = 0\r\n" );
document.write( "\r\n" );
document.write( "Simplifying the second:\r\n" );
document.write( "J + x = 2C - 2y\r\n" );
document.write( "J - 2C + x + 2y = 0\r\n" );
document.write( "\r\n" );
document.write( "Simplifying the third:\r\n" );
document.write( "J - y = 1/2(J + C)\r\n" );
document.write( "2J - 2y = J + C\r\n" );
document.write( "J - C - 2y = 0\r\n" );
document.write( "\r\n" );
document.write( "Simplifying the fourth:\r\n" );
document.write( "C = J - z \r\n" );
document.write( "-J + C + z = 0\r\n" );
document.write( "\r\n" );
document.write( "Simplifying the fifth:\r\n" );
document.write( "\r\n" );
document.write( "C - z = 1/2(C + 10)\r\n" );
document.write( "2C - 2z = C + 10\r\n" );
document.write( "C - 2z = 10\r\n" );
document.write( "\r\n" );
document.write( "The simplified system is:\r\n" );
document.write( "\r\n" );
document.write( " J -  C - x           =  0\r\n" );
document.write( " J - 2C + x + 2y      =  0\r\n" );
document.write( " J -  C     - 2y      =  0\r\n" );
document.write( "-J +  C          +  z =  0\r\n" );
document.write( "      C          - 2z = 10\r\n" );
document.write( "\r\n" );
document.write( "Solve that and get J=40, C=30, x=10, y=5, z=10\r\n" );
document.write( "\r\n" );
document.write( "So John is 40 and Cindy is 30.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );