document.write( "Question 694889: Write a rational function that has the following attributes:
\n" ); document.write( "Vertical asymptote: x=-1, x=2
\n" ); document.write( "Horizontal asymptote: y=-2
\n" ); document.write( "x-intercept: x=3, x=-2
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #428240 by mouk(232)\"\" \"About 
You can put this solution on YOUR website!
Vertical asymptotes occur when denominator is zero
\n" ); document.write( "so Vertical asymptote at x=-1, x=2 would need factors \"+%28x%2B1%29%28x-2%29+\" in the denominator\r
\n" ); document.write( "\n" ); document.write( "so we are looking for a function of the form \"+g%28x%29%2F%28x%2B1%29%28x-2%29+\"\r
\n" ); document.write( "\n" ); document.write( "x-intercept x=3, x=-2 would need factors \"+%28x-3%29%28x%2B2%29+\" in the numerator\r
\n" ); document.write( "\n" ); document.write( "so we are looking for a function of the form \"+h%28x%29%28x-3%29%28x%2B2%29%2F%28x%2B1%29%28x-2%29+\"\r
\n" ); document.write( "\n" ); document.write( "Finally we want a Horizontal asymptote at y=-2, this would require y ~ -2 as \"+x-%3Einfinity+\", which leads to the function\r
\n" ); document.write( "\n" ); document.write( "\"+-2%28x-3%29%28x%2B2%29%2F%28x%2B1%29%28x-2%29+\"
\n" ); document.write( "
\n" );