\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Put the second in slope-intercept form:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The first equation is a circle and the second represents a set of parallel lines with slope 2/3 and y-intercept k/3.\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We want to find the maximum value of k. k will be a maximum when k/3 is\r\n" );
document.write( "a maximum. k/3 is the y-intercept and it will be a maximum when the y-intercept\r\n" );
document.write( "is the largest. That will be when the line is the upper tangent to the circle.\r\n" );
document.write( "Like this:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We know the distance from the center (-5,1) to the point of tangency is the\r\n" );
document.write( "radius, which is 5. So we use the formula for the perpendicular distance\r\n" );
document.write( "from a point to a line, which is\r\n" );
document.write( "\r\n" );
document.write( "The perpendicular distance from the point (x1,y1) to the line Ax + By + C = 0\r\n" );
document.write( "\r\n" );
document.write( "is given by the formula: \r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So the perpendicular distance from the center (-5,1) to the line\r\n" );
document.write( "-2x + 3y - k = 0 is equal to the radius 5, so\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
or
\r\n" );
document.write( "
or
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The first is the lower tangent line, so we\r\n" );
document.write( "want the upper tangent line,\r\n" );
document.write( "\r\n" );
document.write( "So the maximum value of k is\r\n" );
document.write( "\r\n" );
document.write( "
which is approximately 31.02775638\r\n" );
document.write( "\r\n" );
document.write( "The largest potential integer k is 31.\r\n" );
document.write( "\r\n" );
document.write( "And it does turn out that when k=31\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We get two solutions (x,y) = (-8,5) and (x,y) =
\r\n" );
document.write( "\r\n" );
document.write( "So x=-8, y=5, is an integer solution that allows k to be the maximum integer\r\n" );
document.write( "value of 31. \r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "