4. Find any x and y intercepts, asymptotes, horizontal, vertical, or otherwise, find where the function assumes positive values and where it assumes negative values, the places where the first derivative is either 0 or does not exists, where the function is increasing and decreasing, find the places where the second derivative is 0 or doesn't exist, and where the function is concave up and concave down. Find the local maxima and minima and points of inflection, and sketch the graph of
y  intercept: let x = 0
there is no y  intercept
x  intercept.: let y = 0.
a fraction is 0 when its top is 0. Set
Vertical asymptotes happen when the bottom is zero. Set the bottom = 0
factor
set the factors = 0


Horizontal asymptotes: since the bottom has bigger degree than the top, the x  axis is an horizontal asymptote.
To find where the function assumes positive values and negative values, we will plug some points in between the roots of the top and bottom. The most interesting points to try will be the places where the first derivative is 0. We first find the first derivative. Since our function is a rational function, we will use the quotient rule to find its derivative.
This cleans up to
When we set y' = 0, a fraction is 0 when its top is 0
If we multiply both sides by 1, we get something that looks a little more familiar.
This factors
Set the factors = 0


which is negative. We conclude that
which is also negative. We conclude that
Is it ever positive. There are two intervals that we haven't checked, the interval from 1, the root of the top, to 0, the left root of the bottom, and the interval of numbers which are greater than 3, the bigger root of the bottom.. The simplest number to check in the interval between 1 and 0 is 1/2
We invert and multiply to get
so
The simplest number which is greater than 4 to plug into our function would be 4.
so
To tell where the function is increasing and decreasing, we check the sign of y'. y' is given by a rational function whose bottom is a square. Since squares are never negative, the sign on the first derivative depends on the top. Since the top is a quadratic with negative square term, it is negative for x's to the left of the smaller root, positive for x's between the roots, and negative for x's to the right of the bigger root. We conclude that
except when x = 0 when the function doesn't exist, and
except when x = 3 when the function also doesn't exist.
For points of inflection and concavity, we check the second derivative. Since the first derivative is a rational function, we will use the quotient rule.
We will want to clean this up. Let's factor out a 2(x^{2}  3x) from both of the terms in the top and distribute the negative in front of the second term through the first factor in the second term.
The factor of x^{2}  3x that we factored out of the top will cancel with one of the factors of x^{2}  3x in the bottom makingit easier to simplify the top. We will take 2 steps to simplify the top. First we will multiply the polynomials inside the parentheses after the 2 on top.
Now we combine like terms inside the parentheses on top.
We won't bother to multiply the 2 by all the terms in the top, because in order for a fraction to be 0, the top has to be zero. When we set
since 2 is not 0, we can divide both sides by 2 and get
This gives us a cubic. Unfortunately, it is a cubic that doesn't factor. Fortunately, there is a cubic formula. We first make the substitution
Our equation then becomes
rRemoving parentheses
Combining like terms
This gives us a depressed cubic as cubics that don't have square terms are called. We can use the formula for the depressed cubic
then
In this case, q = 20 and p = 12, and we get
so
This is the only real point of inflection. With the cubic formula, if the number under the square root under the cube root is positive, there will only be one real root.
If we want to tell where the function is increasing and where it is decreasing by plugging numbers into the first derivative, while there is a tremendous amount of fun to be had by plugging this number into the first derivative, we can tell whether the function is increasing or decreasing over the interval to the left of the smaller root of the derivative just as well by plugging another easier number in the interval into the first derivative such as 5. When x = 5
and we conclude that
The next interval where the first derivative could change sign would be the interval between x = 1 where y' = 0 and x = 0 where y' doesn't exist. The simplest number in that interval is 1/2. We let x = 1/2 in the first derivative and get
We are ready to incert and multiply
and we conclude that
The next interval is between x = 0 where y' doesn't exist and x = 1 where y' = 0. The simplest number in this interval is x = 1/2
We are ready to incert and multiply
and we conclude that
The next interval is between x = 1 where y' doesn't exist and x = 3 where y' = o. The simplest number in this interval is x = 2
and we conclude that
The last interval is the set of x's where x > 3. The simplest such number is 4. When x = 4
and we conclude that
Thus
y has a min when x = 1 because the function stops decreasing and starts increasing, and y has a max at x = 1 because the function stops increasing and starts decreasing.
Note that the derivative did not change signs when the function went past the roots of the bottom. This is because the bottom is squared in the first derivative. Even though the amount inside the parentheses in the bottom changed sign, it didn't matter because the bottom was being squared.
To check for concavity, we consider the intervals between the points where the second derivative is either 0 or doesn't exist. There was only the one point where the second derivative was 0 close to when x = 5, however, the second derivative also doesn't exist at the vertical asymptotes.
The first intereval to check for concavity then would be to the left of the point where the second derivative was 0. since this was close to 5, we could check this interval by plugging 6 into y". When x = 6
and we conclude that
The next interval when x is between this point where the second derivative is 0 and x = 0 where the it doesn't exist. The simplest such number to check would be x = 1
and we conclude that
The next interval when x is between the points where the second derivative doesn't exist, ie the interval where 0 < x < 3. The simplest such number to check would be x = 1
and we conclude that
The last interval to check would be the interval where x > 3. The simplest such number to check would be x = 4
and we conclude that
Note that in the second derivative, since the bottom is cubed, there is a sign change when you go across the roots of the bottom.
This gives us the following points to plot
which gives us th following graph