document.write( "Question 1209658: The real numbers x and y satisfy
\n" ); document.write( "x^2 + y^2 - 8x + 6y + 23 = 0.
\n" ); document.write( "Find the largest possible value of x + y.
\n" ); document.write( "

Algebra.Com's Answer #849794 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you complete the square for the x and y terms, then you'll go from
\n" ); document.write( "\"x%5E2+%2B+y%5E2+-+8x+%2B+6y+%2B+23+=+0\"
\n" ); document.write( "to
\n" ); document.write( "\"%28x-4%29%5E2%2B%28y%2B3%29%5E2+=+2\"
\n" ); document.write( "This is a circle with center (4,-3). The radius is \"r+=+sqrt%282%29\"
\n" ); document.write( "You can use various tools such as GeoGebra or WolframAlpha to verify the claim.
\n" ); document.write( "Or you can expand out the terms in the 2nd equation to arrive back at the 1st equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This will mean the point (x,y) is on the circle's boundary.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Consider the equation x+y = k
\n" ); document.write( "The goal is to find the largest k value possible.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you draw out the graph of the circle, and draw various lines of the form x+y = k, then you should notice that exactly one line will be tangent to the circle at the northeast corner.
\n" ); document.write( "
\n" ); document.write( "A = center of the circle = (4,-3)
\n" ); document.write( "B = tangent point = (5,-2)
\n" ); document.write( "The green tangent line has the equation x+y = 3
\n" ); document.write( "This is the largest x+y can get when subjected to the condition that \"x%5E2+%2B+y%5E2+-+8x+%2B+6y+%2B+23+=+0\" aka \"%28x-4%29%5E2%2B%28y%2B3%29%5E2+=+2\"
\n" ); document.write( "Note radius AB has slope 1 which is the negative reciprocal of the tangent slope -1.
\n" ); document.write( "Radius AB is perpendicular to the green tangent line.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check out this interactive Desmos graph
\n" ); document.write( "Adjusting the slider for parameter k will move the line x+y = k up or down.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Verification using WolframAlpha
\n" ); document.write( "The answer on the WolframAlpha page is a bit buried in a sea of numbers & symbols, but it does mention 3 under the \"global maximum\" subsection and just before the \"at (x,y) = (5,-2)\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "More practice with a similar problem is found here
\n" ); document.write( "
\n" ); document.write( "
\n" );