Question 156036
{{{y=(x-1)/(x+4)}}}. Find the x and y intercepts along with the asymptotes. Sketch the graph. Please help me, I really have no idea what to do with rational functions!!!
<pre><font size = 4 color = "indigo"><b>
First find the equation of vertical asymptote(s), if any, 
by setting the denominator equal to zero:

{{{x+4=0}}}
{{{x=-4}}}

So {{{x=-4}}} is the equation of the vertical asymptote.

Let's draw that vertical asymptote:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10), rectangle(-4,-11,11,11) )}}}

Now let's find the horizontal asymptotes by whichever of
these rules applies:

Rules for horizontal asymptotes:

1. If the largest exponent of x in the numerator is GREATER than the
largest exponent of x in the denominator, there is 
{{{no_horizontal_asymptote}}}.

2. If the largest exponent of x in the numerator is LESS than the
largest exponent of x in the denominator, the horizontal asymptote is the
x-axis, whose equation is 

{{{y = 0}}}

3. If the largest exponent of x in the numerator is EQUAL to the
largest exponent of x in the denominator, the horizontal asymptote is 
horizontal line whose equation is

{{{y = (COEFFICIENT_OF_LARGEST_POWER_OF_x_IN_THE_NUMERATOR)/(COEFFICIENT_OF_LARGEST_POWER_OF_x_IN_THE_DENOMINATOR)}}}  

---------------------

{{{y=(x-1)/(x+4)}}} or

{{{y=(1*x^1-1)/(1*x^1+4)}}}. 


The largest exponent of x in the numerator is 1, and the
largest exponent in the denominator is also 1, so they are
equal.  So we use rule 3.  The coefficients are both 1.

{{{y = (COEFFICIENT_OF_LARGEST_POWER_OF_x_IN_THE_NUMERATOR)/(COEFFICIENT_OF_LARGEST_POWER_OF_x_IN_THE_DENOMINATOR)}}}

so the equation of the horizontal asymptote is

{{{y=1/1}}} or

{{{y=1}}}

So we draw the horizontal asymptote on the same set of axes:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10), rectangle(-4,-11,11,11),
rectangle(-11,1,11,1) )}}} 

Next we get a point on each side of the vertical
asymptote:

Choose x=-5 to get a point on the left side of the
vertical asymptote:

{{{y=(x-1)/(x+4)}}}
{{{y=(-5-1)/(-5+4)}}}
{{{y=(-6)/(-1)}}}
{{{y=6}}}  

So a point on the left side of the vertical asymptote
is (-5,6)

Let's plot that point:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10), rectangle(-4,-11,11,11),
rectangle(-11,1,11,1),locate(-5-.2,6+.45,o) )}}}

Now we'll sketch in a curve on the left side of that 
vertical asymptote that goes through that point and 
that also gets closer and closer to both the vertical 
and the horizontal asymptote, like this:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10,((x-1)/(x+4))*sqrt(-4-x)/sqrt(-4-x)), rectangle(-4,-11,11,11),
rectangle(-11,1,11,1),locate(-5-.2,6+.45,o) )}}}

Choose x=-3 to get a point on the right side of the
vertical asymptote:

{{{y=(x-1)/(x+4)}}}
{{{y=(-3-1)/(-3+4)}}}
{{{y=(-4)/(1)}}}
{{{y=-4}}}  

So a point on the right side of the vertical asymptote
is (-3,-4)

Let's plot that point too:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10,((x-1)/(x+4))*sqrt(-4-x)/sqrt(-4-x)), rectangle(-4,-11,11,11), 
rectangle(-11,1,11,1),locate(-5-.2,6+.45,o), locate(-3-.2,-4+.45,o)  )}}}

Now we'll sketch in a curve on the right of the vertical
asymptote that goes through that point and  that also gets 
closer and closer to both the vertical and the horizontal 
asymptote, like this:

{{{drawing(400,400,-10,10,-10,10,
 graph(400,400,-10,10,-10,10,((x-1)/(x+4))*sqrt(-x-4)/sqrt(-x-4)), rectangle(-4,-11,11,11), 
 graph(400,400,-10,10,-10,10,((x-1)/(x+4))*sqrt(4+x)/sqrt(4+x)), 
rectangle(-11,1,11,1),locate(-5-.2,6+.45,o), locate(-3-.2,-4+.45,o)  )}}}

That's it!  It has two parts, one on each side of the
vertical asymptotes.  

Oh, I almost forgot.  You wanted the x and y intercepts, too.
We didn't need them at all for the graph, but we'll get them.

To get the x-intercept, let
{{{y=0}}}
{{{0=(x-1)/(x+4)}}}
{{{0=(x-1)/(x+4)}}}
Multiply both sides by {{{x+4}}}
{{{0=x-1}}}
{{{1=x}}}

So the x-intercept is (1,0).
That's where the curve crosses the x-axis,

To get the y-intercept, let
{{{x=0}}}
{{{y=(x-1)/(x+4)}}}
{{{y=(0-1)/(0+4)}}}
{{{y=(-1)/(4)}}}
{{{y=-1/4}}}

So the y-intercept is (0,{{{-1/4}}}).
That's where the curve crosses the y-axis,
just a tad below the origin. In this case,
they don't help us much with the graph,
but in some problems they do.

------------
 
(In some problems, you have two or more
vertical asymptotes, so in those, you get 
points in between them as well as on each
side of them).

Edwin</pre></font></b>