Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/main/141-Labs/Lab 04 - Limits, Infinity, and Asymptotes.ipynb
Views: 491
Lab 04 - Limits, Inifinity, and Asymptotes
Overview
The concept of a limit is the central idea in Calculus. Limits involving infininity are important because they are closely related to asymptotes. While asymptotes for functions are sometimes easy to identify from a graph, the actual definition of asymptotes is in terms of limits. There are several types of asymptotes and the two simplest are:
ParseError: KaTeX parse error: Undefined control sequence: \hfill at position 31: …l|l|l|} \hline \̲h̲f̲i̲l̲l̲ ̲\textbf{Asympto…In this lab, we will use SageMath to evaluate the limit of a function at a point and we will use limits to identify asymptotes.
Important SageMath Commands Introduced in this Lab
ParseError: KaTeX parse error: Undefined control sequence: \hfill at position 32: …|l|l|} \hline \̲h̲f̲i̲l̲l̲ ̲\textbf{Command…Related Course Material
Example 1
Use SageMath to evaluate for the functions below. Don't forget that you must make a variable before you can use it as one.
(Depending on your version of SageMath, you may need to add the line in order for SageMath to compute this limit)
Example 2
Let and use SageMath to calculate the following limits. You can use abs() command for the absolute value function.
Based off of your results, what do you think the graph of looks like? Check your guess below.
Example 3
Now, we will use SageMath to identify the asymptotes of a function. Let . Recall that the values which make the denominator of a rational function equal zero are all of the possible places for a vertical asymptote. We can find all -values which make the denominator of equal zero by hand or we can use SageMath to help us. If we use SageMath, we need to use the functions and . When creating an equation in SageMath, you must use in place of .
SageMath either returned or . We know that the answers to the equation should be , so why did SageMath return which means that there isn't an answer? This is because earlier in Example 1, part 5 we added the condition that is a noninteger in order to compute the limit. Therefore, SageMath still thinks that SageMath is a noninteger and is not allowed to be or . We can remove the assumption on by using the command.
SageMath tells us that the only -values which make the denomiator equal zero are and . Therefore, the only possible vertical asymptotes are at and . We can use SageMath to calculate the one-sided limits of at these -values to determine if either of them are actually vertical asymptotes.
Since at least one of the one-sided llimits at was either or , we have that the graph of has a vertical asymptote at .
Check the one sided limits at to see if there is also a vertical asymptote at .
Therefore, the graph of has vertical asymptotes at both and .
To find the horizontal asymptotes, we calculate the limit of as approaches and .
Both limits tell us that is a horizontal asymptote. Therefore, we have that is our only horizontal asymptote.
We can check our conclusion by plotting the function in an appropriate viewing window which will show all of the asymptotes. The option ParseError: KaTeX parse error: Expected 'EOF', got '_' at position 15: \textbf{detect_̲poles = 'show'} will plot the vertical asymptote(s) on the graph. We can also plot the horizontal asymptote(s) by inclding the -value(s) in our plot.
Sometimes, ParseError: KaTeX parse error: Expected 'EOF', got '_' at position 15: \textbf{detect_̲poles = 'show'} does not plot the vertical asymptote.
Example 4
Repeat Example 3 with the following functions: