Navigation

Sketching graphs

7.1 Domain, intercepts and asymptotes

5 problems · hints, answers and solutions shown beside each one

Stage 1 · Conceptual

Q1Stage 1

Suppose f(x)f(x) is a function given by

f(x)=g(x)x29f(x)= \frac{g(x)}{x^2-9}

where g(x)g(x) is also a function. True or false: f(x)f(x) has a vertical asymptote at x=3x=-3.

Hint

What happens if g(x)=x+3g(x)=x+3?

Answer

In general, false.

Full solution

In general, this is false. For example, the function f(x)=x29x29f(x) = \dfrac{x^2-9}{x^2-9} has no vertical asymptotes, because it is equal to 1 in every point in its domain (and is undefined when x=±3x=\pm3).

However, it is certainly possible that f(x)f(x) has a vertical asymptote at x=3x=-3. For example, f(x)=1x29f(x)=\dfrac{1}{x^2-9} has a vertical asymptote at x=3x=-3. More generally, if g(x)g(x) is continuous and g(3)0g(-3)\ne 0, then f(x)f(x) has a vertical asympotote at x=3x=-3.

Stage 2 · Procedural

Q2Stage 2

Match the functions f(x)f(x), g(x)g(x), h(x)h(x), and k(x)k(x) to the curves y=A(x)y=A(x) through y=D(x)y=D(x).

f(x)=x2+1f(x)=\sqrt{x^2+1} g(x)=x21g(x)=\sqrt{x^2-1} h(x)=x2+4h(x)=\sqrt{x^2+4} k(x)=x24k(x)=\sqrt{x^2-4}

Figure from prob_s3.6.1, line 7

Figure from prob_s3.6.1, line 7

Figure from prob_s3.6.1, line 14

Figure from prob_s3.6.1, line 14

Figure from prob_s3.6.1, line 21

Figure from prob_s3.6.1, line 21

Figure from prob_s3.6.1, line 29

Figure from prob_s3.6.1, line 29

Hint

Use domains and intercepts to distinguish between the functions.

Answer

f(x)=A(x)f(x)=A(x) g(x)=C(x)g(x)=C(x) h(x)=B(x)h(x)=B(x) k(x)=D(x)k(x)=D(x)

Full solution

Since x2+1x^2+1 and x2+4x^2+4 are always positive, f(x)f(x) and h(x)h(x) are defined over all real numbers. So, f(x)f(x) and h(x)h(x) correspond to A(x)A(x) and B(x)B(x). Which is which? A(0)=1=f(0)A(0)=1=f(0) while B(0)=2=h(0)B(0)=2=h(0), so A(x)=f(x)A(x)=f(x) and B(x)=h(x)B(x)=h(x).

That leaves g(x)g(x) and k(x)k(x) matching to C(x)C(x) and D(x)D(x). The domain of g(x)g(x) is all xx such that x210x^2-1\ge0. That is, x1|x|\ge1, like C(x)C(x). The domain of k(x)k(x) is all xx such that x240x^2-4\ge0. That is, x2|x|\ge2, like D(x)D(x). So, C(x)=g(x)C(x)=g(x) and D(x)=k(x)D(x)=k(x).

Q3Stage 2

Below is the graph of

y=f(x)=log2(x+p)y=f(x)=\sqrt{\log^2(x+p)}
  1. What is pp?

  2. What is bb (marked on the graph)?

  3. What is the xx-intercept of f(x)f(x)?

Remember log(x+p)\log(x+p) is the natural logarithm of x+px+p, loge(x+p)\log_e(x+p).

Figure from prob_s3.6.1, line 2

Figure from prob_s3.6.1, line 2

Hint

To find pp, the equation f(0)=2f(0)=2 gives you two possible values of pp. Consider the domain of f(x)f(x) to decide between them.

Answer

(a) p=e2p=e^2 (b) b=e2b=-e^2 1e21-e^2

Full solution

(a) Since f(0)=2f(0)=2, we solve

2=log2(0+p)=log2p=logplogp=±2p=e±2p=e2 or p=1e2\begin{align*} 2&=\sqrt{\log^2(0+p)}\\ &=\sqrt{\log^2 p}\\ &=\left|\log p\right|\\ \log p &= \pm 2\\ p&=e^{\pm 2}\\ p&=e^2 \text{ or } p=\frac{1}{e^2} \end{align*}

We know that pp is e2e^2 or 1e2\dfrac{1}{e^2}, but we have to decide between the two. In both cases, f(0)=2f(0)=2. Let's consider the domain of f(x)f(x). Since log2(x+p)\log^2(x+p) is never negative, the square root does not restrict our domain. However, we can only take the logarithm of positive numbers. Therefore, the domain is

x such that x+p>0x such that x>p\begin{align*} x \text{ such that } &x+p>0\\ x \text{ such that } &x>-p\\ \end{align*}

If p=1e2p=\dfrac{1}{e^2}, then the domain of f(x)f(x) is (1e2,)\left(-\dfrac{1}{e^2},\infty\right). In particular, since 1e2>1-\dfrac{1}{e^2}>-1, the domain of f(x)f(x) does not include x=1x=-1. However, it is clear from the graph that f(1)f(-1) exists. So, p=e2p=e^2.

(b) Now, we need to figure out what bb is. Notice that bb is the end of the domain of f(x)f(x), which we already found to be (p,)(-p,\infty). So, b=p=e2b=-p=-e^2.

(As a quick check, if we take e2.7e\approx 2.7, then e2=7.29-e^2=-7.29, and this looks about right on the graph.)

(c) The xx-intercept is the value of xx for which f(x)=0f(x)=0:

0=log2(x+p)0=log(x+p)1=x+px=1p=1e2\begin{align*} 0&=\sqrt{\log^2(x+p)}\\ 0&=\log(x+p)\\ 1&=x+p\\ x&=1-p=1-e^2 \end{align*}

The xx-intercept is 1e21-e^2.

(As another quick check, the xx-intercept we found is a distance of 1 from the vertical asymptote, and this looks about right on the graph.)

Q4Stage 2

Find all asymptotes of f(x)=x(2x+1)(x7)3x381f(x)=\dfrac{x(2x+1)(x-7)}{3x^3-81}.

Hint

Check for horizontal asymptotes by evaluating limx±f(x)\ds\lim_{x \to \pm \infty}f(x), and check for vertical asymptotes by finding any value of xx near which f(x)f(x) blows up.

Answer

vertical asymptote at x=3x=3; horizontal asymptotes limx±f(x)=23\ds\lim_{x \to \pm \infty}f(x)=\dfrac{2}{3}

Full solution

Vertical asymptotes occur where the function blows up. In rational functions, this can only happen when the denominator goes to 0. In our case, the denominator is 0 when x=3x=3, and in this case the numerator is 147147. That means that as xx gets closer and closer to 3, the numerator gets closer and closer to 147 while the denominator gets closer and closer to 0, so f(x)|f(x)| grows without bound. That is, there is a vertical asymptote at x=3x=3.

The horizontal asymptotes are found by taking the limits as xx goes to infinity and negative infinity. In our case, they are the same, so we condense our work.

limx±x(2x+1)(x7)3x381=limx±2x3+ax2+bx+c3x381\begin{align*}\lim_{x \to \pm \infty}\dfrac{x(2x+1)(x-7)}{3x^3-81} &=\lim_{x \to \pm \infty}\dfrac{2x^3+ax^2+bx+c}{3x^3-81}\end{align*}

where aa, bb, ad cc are some constants. Remember, for rational functions, you can figure out the end behaviour by looking only at the terms with the highest degree–the others won't matter, so we don't bother finding them. From here, we divide the numerator and denominator by the highest power of xx in the denominator, x3x^3.

=limx±2x3+ax2+bx+c3x381(1x31x3)=limx±2+ax+bx2+cx3381x3=2+0+0+030=23\begin{align*}&=\lim_{x \to \pm \infty}\dfrac{2x^3+ax^2+bx+c}{3x^3-81}\left(\frac{\tfrac{1}{x^3}}{\tfrac{1}{x^3}}\right)\\ &=\lim_{x \to \pm \infty}\dfrac{2+\tfrac{a}{x}+\tfrac{b}{x^2}+\tfrac{c}{x^3}}{3-\tfrac{81}{x^3}}\\ &=\dfrac{2+0+0+0}{3-0}=\frac{2}{3}\end{align*}

So there is a horizontal asymptote of y=23y=\dfrac{2}{3} both as xx \to \infty and as xx \to -\infty.

Q5Stage 2

Find all asymptotes of f(x)=103x7f(x)=10^{3x-7}.

Hint

Check for horizontal asymptotes by evaluating limx±f(x)\ds\lim_{x \to \pm \infty}f(x), and check for vertical asymptotes by finding any value of xx near which f(x)f(x) blows up.

Answer

horizontal asymptote y=0y=0 as xx \to -\infty; no other asymptotes

Full solution

Since f(x)f(x) is continuous over all real numbers, it has no vertical asymptote.

To find the horizontal asymptotes, we evaluate limx±f(x)\ds\lim_{x \to \pm \infty}f(x).

limx103x7=limX10Xlet X=3x7=\begin{align*}\lim_{x \to \infty}10^{3x-7}&=\underbrace{\lim_{X \to \infty}10^X}_{\text{let }X=3x-7}=\infty\end{align*}

So, there's no horizontal asymptote as xx \to \infty.

limx103x7=limX10Xlet X=3x7=limX10Xlet X=X=limX110X=0\begin{align*}\lim_{x \to -\infty}10^{3x-7}&=\underbrace{\lim_{X \to -\infty}10^{X}}_{\text{let }X=3x-7}\\ &=\underbrace{\lim_{X' \to \infty}10^{-X'}}_{\text{let }X'=-X}\\ &=\lim_{X' \to \infty}\frac{1}{10^{X'}}\\ &=0\end{align*}

That is, y=0y=0 is a horizontal asymptote as xx \to -\infty.

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.