document.write( "Question 581035: Find the equation of the rational function with horizontal asymptote y=-6 and that passes through the points (-2,-2) and (1,-5). I know you have to plug in the points for x and y, and I know how to solve questions already giving you 2 asymptotes, but I'm completely lost on this. o.o \n" ); document.write( "
Algebra.Com's Answer #371411 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Find the equation of the rational function with horizontal asymptote y=-6 and that passes through the points (-2,-2) and (1,-5). I know you have to plug in the points for x and y,
\n" ); document.write( "-----
\n" ); document.write( "y = (6x+a)/(x+b)
\n" ); document.write( "-------------------
\n" ); document.write( "Substitute each point to be 2 equations in a and b.
\n" ); document.write( "----------------------
\n" ); document.write( "-2 = (-12+a)/(-2+b)
\n" ); document.write( "------
\n" ); document.write( "-5 = (6+a)/(1+b)
\n" ); document.write( "-------
\n" ); document.write( "Rearrange each equation:
\n" ); document.write( "4-2b = -12+a
\n" ); document.write( "-5-5b = 6+a
\n" ); document.write( "-----------------------
\n" ); document.write( "Rearrange:
\n" ); document.write( "a + 2b = 16
\n" ); document.write( "a + 5b = -11
\n" ); document.write( "-----
\n" ); document.write( "Subtract and solve for \"b\":
\n" ); document.write( "3b = -27
\n" ); document.write( "b = -9
\n" ); document.write( "------
\n" ); document.write( "Solve for \"a\":
\n" ); document.write( "a + 2b = 16
\n" ); document.write( "a + 2*-9 = 16
\n" ); document.write( "a -18 = 16
\n" ); document.write( "a = 34
\n" ); document.write( "-----------
\n" ); document.write( "Equation:
\n" ); document.write( "y = (6x - 34)/(x-9)
\n" ); document.write( "-------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "==============
\n" ); document.write( "
\n" );