document.write( "Question 672756: Find an equation(s) of the line(s) containing (5,4) and at a distance 2 from (-1,-3). \n" ); document.write( "
Algebra.Com's Answer #418308 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Find an equation(s) of the line(s) containing (5,4) and at a distance 2 from (-1,-3).
\n" ); document.write( "-----------
\n" ); document.write( "The lines are tangents to a circle of radius 2 centered at (-1,-3)
\n" ); document.write( "The distance from (5,4) to the center (-1,-3) = sqrt(85).
\n" ); document.write( "Right angles are formed at the tangent points.
\n" ); document.write( "----
\n" ); document.write( "The distance from (5,4) to the tangent points = 9.
\n" ); document.write( "The tangent points are the intersection of the circle above and a circle of radius 9 centered at (5,4).
\n" ); document.write( "----------
\n" ); document.write( "\"%28x%2B1%29%5E2+%2B+%28y%2B3%29%5E2+=+4\"
\n" ); document.write( "\"%28x-5%29%5E2+%2B+%28y-4%29%5E2+=+81\"
\n" ); document.write( "---
\n" ); document.write( "\"x%5E2+%2B+y%5E2+%2B+2x+%2B+6y+=+-6\"
\n" ); document.write( "\"x%5E2+%2B+y%5E2+-+10x+-+8y+=+40\"
\n" ); document.write( "----------------------------------- Subtract
\n" ); document.write( "12x + 14y = -46
\n" ); document.write( "6x + 7y = -23 is an equation of the line thru the 2 tangent points.
\n" ); document.write( "y = (-6x - 23)/7
\n" ); document.write( "Sub for y in one of the circles
\n" ); document.write( "\"x%5E2+%2B+y%5E2+%2B+2x+%2B+6y+=+-6\"
\n" ); document.write( "\"x%5E2+%2B+%2836x%5E2+%2B+276x+%2B+529%29%2F49+%2B+2x+%2B+%28-36x+-+138%29%2F7+=+-6\"
\n" ); document.write( "\"49x%5E2+%2B+36x%5E2+%2B+276x+%2B+529+%2B+98x+-+252x+-+966+=+-294\"
\n" ); document.write( "\"85x%5E2+%2B+122x+-+143+=+0\"
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation (work shown, graph etc)
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"85x%5E2%2B122x%2B-143+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28122%29%5E2-4%2A85%2A-143=63504\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=63504 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-122%2B-sqrt%28+63504+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28122%29%2Bsqrt%28+63504+%29%29%2F2%5C85+=+0.764705882352941\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28122%29-sqrt%28+63504+%29%29%2F2%5C85+=+-2.2\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"85x%5E2%2B122x%2B-143\" can be factored:
\n" ); document.write( " \"85x%5E2%2B122x%2B-143+=+%28x-0.764705882352941%29%2A%28x--2.2%29\"
\n" ); document.write( " Again, the answer is: 0.764705882352941, -2.2.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+85%2Ax%5E2%2B122%2Ax%2B-143+%29\"

\n" ); document.write( "\n" ); document.write( "==========================
\n" ); document.write( "x = -2.2 --> y = (-6*-2.2 - 23)/7 = -1.4
\n" ); document.write( "Tangent point at (-2.2,-1.4)
\n" ); document.write( "Equation of the line thru (-2.2,-1.4) and (5,4) is
\n" ); document.write( "3x - 4y = -1
\n" ); document.write( "==============================================
\n" ); document.write( "x = 0.7647 --> y = -3.94117 --> tangent point at (0.7647,-3.84117)
\n" ); document.write( "Equation of line thru the 2 points is
\n" ); document.write( "7.94x - 4.2353y = 22.7588 (approximation)
\n" ); document.write( "
\n" );