##Lab 9 Rational and Radical Fn's Here we'll look at domains, asymptotes, and holes.
Combining both function types together first, let's examine the idea of domain. The domain is the set of all inputs that will produce an output. Functions use operations on numbers. We know that up to this point there are two things that we can't do with certain numbers to get results: division by zero and taking an EVEN root of a negative number. Other than that, the sky's the limit. So we have to examine our function for the possibility of either of these two situations occurring. Let's look at a rational function first. We'll use . We see that the variable is present in the denominator, so there is the potential for some x-value that could cause to equal zero. We simply will let SAGE determine any zeros of the denominator polynomial(there might not be any!) In the block below, I just set the denominator function equal to zero and solve it.
Therefore, all Reals except 2 and 3 are members of the domain. Let's look at two more. and
The 's indicate the solutions are complex and not real, so the denominator has no real zeros and thus the domain is all reals.
Here's where you have to be smarter than the machine!!!! I'm thinking. . . don't odd degree functions have to cross the x-axis at least once? As I examine the 3 zeros, they all seem to be imaginary!! Sometimes SAGE can get a little crazy. I'll use the numerical_approx command to see what the zeros probably are.
It turns out that only the first listed is real, so the best we can do for stating the domain, is to say all real numbers except approximately -.253. Now let's take a look at one radical function. . We need to determine when the radicand is at least zero.
So the small domain is just the interval, . You can always graph the denominator(for a rational fn) or the radicand(for a radical fn) to get a handle on what the domain most likely is.
Find the domain of each of the following:
Let's take a look at vertical asymptotes. We'll investigate the simple rational function, . Look at a plot of the function first.
We know that zeros of the denominator are where the vertical asymptotes should be and from the plot it appears that there's one at x=-2. But the denominator is quadratic!!! There should be another one. Let's factor the quadratic to find the other zero.
According to this there should be two real zeros and thus two asymptotes. Maybe we need to investigate what makes a curve behave like this near a certain x-value. To do this with the above rational function, I am going to use a programming loop to generate a bunch of values for the function as gets close to the denominator zeroes(investigating one at a time). We'll squeeze toward -2 first then look at 3 second. Make sure you study the syntax since you'll need to use the loop idea later on.
Once you execute the above code you will see that the y-values grow astronomically as we close in on x=-2. Let's see what happens with x=3. You copy and paste the above code, replace -2 with a 3 and see what happens. . .
The reason this happens in a function like is that when the denominator is written in factored form, , we see that the factor is the opposite of the numerator factor . So if we write the numerator as , these two binomials will cancel and the rational function is just . Of course only when !!!!!!!!! We say that is a hole in the graph.
Use SAGE to determine the asymptotes and any holes in the graphs of: