document.write( "Question 1015843: Find the equation of a circle passing through (-1,6) and tangent to the lines x-2y+8=0 and 2x+y+6=0. \n" ); document.write( "
Algebra.Com's Answer #632265 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
The other tutor misread it, and used (-1,6) as the center of the circle.
\n" ); document.write( "========================
\n" ); document.write( "Find the equation of a circle passing through (-1,6) and tangent to the lines x-2y+8=0 and 2x+y+6=0
\n" ); document.write( "------------------
\n" ); document.write( "Find the intersection of the 2 lines.
\n" ); document.write( "x - 2y + 8 = 0
\n" ); document.write( "2x + y + 6 = 0
\n" ); document.write( "-----
\n" ); document.write( "x - 2y + 8 = 0
\n" ); document.write( "4x +2y + 12 = 0 2nd eqn times 2
\n" ); document.write( "----------------------------------- Add
\n" ); document.write( "5x + 20 = 0
\n" ); document.write( "x = -4
\n" ); document.write( "y = 2
\n" ); document.write( "--> (-4,2)
\n" ); document.write( "===============
\n" ); document.write( "The center of the circle will be on the bisector of the 2 lines, the point (h,k).
\n" ); document.write( "The slopes of the lines are 22 and 1/2 --> they're perpendicular.
\n" ); document.write( "The angle of x - 2y + 8 = 0 with the x-axis is arctan(1/2) =~ 26.565 degs
\n" ); document.write( "Add 45 --> 71.565 degs
\n" ); document.write( "m = tan(71.565) = 3
\n" ); document.write( "-----
\n" ); document.write( "Find the eqn of the bisector: m = 3 thru (-4,2)
\n" ); document.write( "--> y-2 = 3(x+4)
\n" ); document.write( "The center of the circle is on this line, and is equidistant from the 2 given lines and the point (-1,6)
\n" ); document.write( "--------
\n" ); document.write( "Using the line x - 2y + 8 = 0
\n" ); document.write( "Distance to the line d = |h - 2k + 8|/sqrt(5)
\n" ); document.write( "Distance to (-1,6) = sqrt((h+1)^2 + (k-6)^2)
\n" ); document.write( "sqrt((h+1)^2 + (k-6)^2) = |h - 2k + 8|/sqrt(5)
\n" ); document.write( "Square both sides
\n" ); document.write( "(h+1)^2 + (k-6)^2 = |h - 2k + 8|^2/5
\n" ); document.write( "h^2 + 2h + 1 + k^2 - 12k + 36 = (h^2 - 4hk + 6k^2 - 16h - 32k + 64)/5
\n" ); document.write( "-------------
\n" ); document.write( "That's a mess.
\n" ); document.write( "I'll work on this later.
\n" ); document.write( "
\n" );