document.write( "Question 1048501: I'm not even sure if this is the right topic, but here's my problem.
\n" ); document.write( "The lengths of the sides of a rectangle are all integers. Four times its perimeter is numerically equal to one less than its area. Find the largest possible perimeter of such a rectangle.
\n" ); document.write( "Now I tried manipulating the variables but I'm stuck here.
\n" ); document.write( "8x+8y+1=xy
\n" ); document.write( "I don't know how to relate this with the maximum value or solve x and y independently or like that, so I really need help.
\n" ); document.write( "Thanks.
\n" ); document.write( "

Algebra.Com's Answer #664091 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
x and y are expected to be integers (or better, whole numbers).
\n" ); document.write( "\"4%282x%2B2y%29=xy-1\"----------the description.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The perimeter, as a function may be \"highlight_green%28p=2x%2B2y%29\", and you would want to be able to substitute for either x or for y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Look again at the equation formed from the description.
\n" ); document.write( "\"8x%2B8y=xy-1\"
\n" ); document.write( "\"8x%2B8y-xy=-1\"
\n" ); document.write( "\"8y-xy=-1-8x\"
\n" ); document.write( "\"y%288-x%29=-1-8x\"
\n" ); document.write( "\"y=%28-8x-1%29%2F%288-x%29\"
\n" ); document.write( "\"y=%28%28-8x-1%29%2F%288-x%29%29%28%28-1%29%2F%28-1%29%29\"------multiplying by 1 to produce more convenient formula,
\n" ); document.write( "\"highlight_green%28y=%288x-1%29%2F%28x-8%29%29\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I leave the rest of this problem unfinished so that you could continue and finish.
\n" ); document.write( "
\n" );