document.write( "Question 876850: PLEASE HELP ME. FIND THE EQUATION OF A CIRCLE PASSING THROUGH (3,7) AND TANGENT TO THE LINES \"+x+-+3y+%2B+8+=+0+\" AND \"+y+=+3x+\". \n" ); document.write( "
Algebra.Com's Answer #529061 by Edwin McCravy(20059)\"\" \"About 
You can put this solution on YOUR website!
PLEASE HELP ME. FIND THE EQUATION OF A CIRCLE PASSING THROUGH \"+%22%283%2C7%29%22+\" AND TANGENT TO THE LINES \"+x+-+3y+%2B+8+=+0+\" AND \"+y+=+3x+\".
\n" ); document.write( "
\r\n" );
document.write( "Draw the two lines and the point (3,7)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Those two lines intersect at (1,3).\r\n" );
document.write( "\r\n" );
document.write( "Visually, it appears that there are two solutions:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let's just look at one of them to keep things simple.\r\n" );
document.write( "\r\n" );
document.write( "Suppose the center of the circle is (h,k)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The two green and the one red lines are radii of the desired\r\n" );
document.write( "circle. The two green radii represent the perpendicular (shortest)\r\n" );
document.write( "distances from (h,k) to each of the two lines.\r\n" );
document.write( "\r\n" );
document.write( "The formula for the perpendicular distance from the point \r\n" );
document.write( "\r\n" );
document.write( "(x1,y1)\r\n" );
document.write( "\r\n" );
document.write( "to the line Ax+y+C=0 is\r\n" );
document.write( "\r\n" );
document.write( "d = \"abs%28%28Ax%5B1%5D%2BBy%5B1%5D%2BC%29%2Fsqrt%28A%5E2%2BB%5E2%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "The lines are 1x-3y+8=0 and 3x-1y+0=0\r\n" );
document.write( "So for the first line A=1, B=-3, C=8\r\n" );
document.write( "For the second line A=3, B=-1, C=0\r\n" );
document.write( "\r\n" );
document.write( "(x1,y1) = (h,k)\r\n" );
document.write( "\r\n" );
document.write( "\"abs%28%281h-3k%2B8%29%2Fsqrt%281%5E2%2B%28-3%29%5E2%29%29\" = \"abs%28%283h-1k%2B0%29%2Fsqrt%283%5E2%2B%28-1%29%5E2%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"abs%28%28h-3k%2B8%29%2Fsqrt%281%2B9%29%29\" = \"abs%28%283h-k%2B0%29%2Fsqrt%289%2B1%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"abs%28%28h-3k%2B8%29%2Fsqrt%2810%29%29\" = \"abs%28%283h-k%29%2Fsqrt%2810%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "Multiplying through by \"sqrt%2810%29\"\r\n" );
document.write( "\r\n" );
document.write( "|h-3k+8| = |3h-k|\r\n" );
document.write( "\r\n" );
document.write( "There are two possibilities for that:\r\n" );
document.write( "\r\n" );
document.write( "h-3k+8 = 3h-k    and   h-3k+8 = -(3h-k)\r\n" );
document.write( "   -2k = 2h-8          h-3k+8 = -3h+k \r\n" );
document.write( "     k = -h+4             -4k = -4h-8 \r\n" );
document.write( "     k = 4-h                k = h+2\r\n" );
document.write( "\r\n" );
document.write( "Looking at the graph we can tell that  \r\n" );
document.write( "the first one cannot be correct. because \r\n" );
document.write( "k=4-h would be saying that the sum of \r\n" );
document.write( "coordinates of (h,k), k+h = 4. The point\r\n" );
document.write( "(h,k) is even further to the right and\r\n" );
document.write( "higher than (1,3) where the two lines\r\n" );
document.write( "intersect. (1,3) has sum of coordinates \r\n" );
document.write( "4, so the sum of coordinates h and k has\r\n" );
document.write( "to be more than 4.  Therefore \r\n" );
document.write( "\r\n" );
document.write( "k = h+2.\r\n" );
document.write( "\r\n" );
document.write( "Now we equate the red radius to one of the\r\n" );
document.write( "green radii. We use the distance formula between\r\n" );
document.write( "two points for the red radius:\r\n" );
document.write( "\r\n" );
document.write( "d = √(x2-x1)²+(y2-y1  \r\n" );
document.write( "\r\n" );
document.write( " \"abs%28%283h-k%29%2Fsqrt%2810%29%29\" = \"sqrt%28%28h-3%29%5E2%2B%28k-7%29%5E2%29\"\r\n" );
document.write( "\r\n" );
document.write( "Squaring both sides we have:\r\n" );
document.write( "\r\n" );
document.write( "\"%283h-k%29%5E2%2F10\" = \"%28h-3%29%5E2%2B%28k-7%29%5E2%29\"\r\n" );
document.write( "\r\n" );
document.write( "Multiplying both sides by 10\r\n" );
document.write( "\r\n" );
document.write( "(3h-k)² = 10[(h-3)² + (k-7)²]\r\n" );
document.write( "\r\n" );
document.write( "Substituting k = h+2 from above:\r\n" );
document.write( "\r\n" );
document.write( "[3h-(h+2)]² = 10[(h-3)² + ((h+2)-7)²]\r\n" );
document.write( "\r\n" );
document.write( "[3h-h-2]² = 10[(h-3)² + (h+2-7)²]\r\n" );
document.write( "\r\n" );
document.write( "(2h-2)² = 10[(h-3)² + (h-5)²]\r\n" );
document.write( "\r\n" );
document.write( "4h²-8h+4 = 10[h²-6h+9 + h²-10h+25]\r\n" );
document.write( "\r\n" );
document.write( "4h²-8h+4 = 10(2h²-16h+34)\r\n" );
document.write( "\r\n" );
document.write( "Divide both sides by 2\r\n" );
document.write( "\r\n" );
document.write( "2h²-4h+2 = 5(2h²-16h+34)\r\n" );
document.write( "\r\n" );
document.write( "2h²-4h+2 = 10h²-80h+170\r\n" );
document.write( "\r\n" );
document.write( "-8h²+76h-168 = 0\r\n" );
document.write( "\r\n" );
document.write( "Divide through by -4\r\n" );
document.write( "\r\n" );
document.write( "2h²-19h+42 = 0\r\n" );
document.write( "\r\n" );
document.write( "(2h-7)(h-6) = 0\r\n" );
document.write( "\r\n" );
document.write( "2h-7 = 0;   h-6 = 0\r\n" );
document.write( "  2h = 7;     h = 6\r\n" );
document.write( "   h = \"7%2F2\";   \r\n" );
document.write( "\r\n" );
document.write( "When h=\"7%2F2\", k = h+2 = \"7%2F2\"+2 = \"7%2F2%2B4%2F2\" = \"11%2F2\"\r\n" );
document.write( "\r\n" );
document.write( "And the red radius = \"sqrt%28%28h-3%29%5E2%2B%28k-7%29%5E2%29\" = \"sqrt%28%287%2F2-3%29%5E2%2B%2811%2F2-7%29%5E2%29\" = \"sqrt%28%287%2F2-6%2F2%29%5E2%2B%2811%2F2-14%2F2%29%5E2%29\" = \r\n" );
document.write( "\"sqrt%28%281%2F2%29%5E2%2B%28-3%2F2%29%5E2%29\" = \"sqrt%281%2F4%2B9%2F4%29\" = \"sqrt%2810%2F4%29\" = \"sqrt%2810%29%2F2\"\r\n" );
document.write( "\r\n" );
document.write( "So the equation of one circle is\r\n" );
document.write( "\r\n" );
document.write( "(x-h)²+(y-k)² = r²\r\n" );
document.write( "\r\n" );
document.write( "\"%28x-7%2F2%29%5E2%2B%28y-11%2F2%29%5E2\"\"%22%22=%22%22\"\"%28sqrt%2810%29%2F2%29%5E2\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28x-7%2F2%29%5E2%2B%28y-11%2F2%29%5E2\"\"%22%22=%22%22\"\"10%2F4\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28x-7%2F2%29%5E2%2B%28y-11%2F2%29%5E2\"\"%22%22=%22%22\"\"5%2F2\"\r\n" );
document.write( "\r\n" );
document.write( "That's one solution.\r\n" );
document.write( "\r\n" );
document.write( "When h=6, k = h+2 = 6+2 = 8\r\n" );
document.write( "\r\n" );
document.write( "And the red radius = \"sqrt%28%28h-3%29%5E2%2B%28k-7%29%5E2%29\" = \"sqrt%28%286-3%29%5E2%2B%288-7%29%5E2%29\" = \"sqrt%28%283%29%5E2%2B%281%29%5E2%29\" = \"sqrt%289%2B1%29\" = \"sqrt%2810%29\"\r\n" );
document.write( "\r\n" );
document.write( "So the equation of the other circle is\r\n" );
document.write( "\r\n" );
document.write( "(x-h)²+(y-k)² = r²\r\n" );
document.write( "\r\n" );
document.write( "\"%28x-6%29%5E2%2B%28y-8%29%5E2\"\"%22%22=%22%22\"\"10\"\r\n" );
document.write( "\r\n" );
document.write( "That's the other solution.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );