Navigation

Sketching graphs

7.6 Sketching examples

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

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q1Stage 2Past exam · 2007H

Let f(x)=x3−xf(x) = x\sqrt{3 - x}.

  1. Find the domain of f(x)f(x).

  2. Determine the xx-coordinates of the local maxima and minima (if any) and intervals where f(x)f(x) is increasing or decreasing.

  3. Determine intervals where f(x)f(x) is concave upwards or downwards, and the xx coordinates of inflection points (if any). You may use, without verifying it, the formula

    f′′(x)=(3x−12)4(3−x)3/2.f''(x) = \frac{(3x -12)}{4(3 - x)^{3/2}}.
  4. There is a point at which the tangent line to the curve y=f(x)y = f(x) is vertical. Find this point.

  5. Sketch the graph y=f(x)y = f(x), showing the features given in items (a) to (d) above and giving the (x,y)(x, y) coordinates for all points occurring above.

Hint

You'll find the intervals of increase and decrease. These will give you a basic outline of the behaviour of the function. Use concavity to refine your picture.

Answer

(a) (−∞,3](-\infty,3]

(b) f(x)f(x) in increasing on (−∞,2)(-\infty,2) and decreasing on (2,3)(2,3). There is a local maximum at x=2x=2 and a local minimum at the endpoint x=3x=3.

(c) f(x)f(x) is always concave down and has no inflection points.

(d) (3,0)(3,0)

(e)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution

In Questions 2 through 4, you will sketch the graphs of rational functions.

Q2Stage 2Past exam · 1998H

Sketch the graph of

f(x)=x3−2x4.f(x)= \dfrac{x^3-2}{x^4}.

Indicate the critical points, local and absolute maxima and minima, vertical and horizontal asymptotes, inflection points and regions where the curve is concave upward or downward.

Hint

The local maximum is also a global maximum.

Answer

The square mark is the inflection point, and the closed dot is the local and global maximum.

Figure from prob_s3.6.6, line 3

Figure from prob_s3.6.6, line 3

Full solution
Q3Stage 2Past exam · 1997A

The first and second derivatives of the function f(x)=x41+x3f(x)=\dfrac{x^4}{1+x^3} are:

f′(x)=4x3+x6(1+x3)2andf′′(x)=12x2−6x5(1+x3)3f'(x)=\frac{4x^3+x^6}{(1+x^3)^2}\qquad\hbox{and}\qquad f''(x)=\frac{12x^2-6x^5}{(1+x^3)^3}

Graph f(x)f(x). Include local and absolute maxima and minima, regions where f(x)f(x) is increasing or decreasing, regions where the curve is concave upward or downward, and any asymptotes.

Hint

The sign of the first derivative is determined entirely by the numerator, but the sign of the second derivative depends on both the numerator and the denominator.

Answer

The square mark marks the inflection point.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution
Q4Stage 2Past exam · 1996D

The first and second derivatives of the function f(x)=x31−x2f(x)=\dfrac{x^3}{1-x^2} are:

f′(x)=3x2−x4(1−x2)2andf′′(x)=6x+2x3(1−x2)3f'(x)=\frac{3x^2-x^4}{(1-x^2)^2}\qquad\hbox{and}\qquad f''(x)=\frac{6x+2x^3}{(1-x^2)^3}

Graph f(x)f(x). Include local and absolute maxima and minima, regions where the curve is concave upward or downward, and any asymptotes.

Hint

The function is odd.

Answer

Figure from prob_s3.6.6, line 3

Figure from prob_s3.6.6, line 3

Full solution
Q5Stage 2Past exam · 2006H

The function f(x)f(x) is defined by

f(x)={exx<0x2+33(x+1)x≥0f(x) = \left\{\begin{array}{lc} e^x &x<0\\ \frac{x^2+3}{3(x+1)} & x \ge 0 \end{array}\right.
  1. Explain why f(x)f(x) is continuous everywhere.

  2. Determine all of the following if they are present:

    1. xx–coordinates of local maxima and minima, intervals where f(x)f(x) is increasing or decreasing;

    2. intervals where f(x)f(x) is concave upwards or downwards;

    3. equations of any horizontal or vertical asymptotes.

  3. Sketch the graph of y=f(x)y = f(x), giving the (x,y)(x, y) coordinates for all points of interest above.

Hint

The function is continuous at x=0x=0, but its derivative is not.

Answer

(a) One branch of the function, the exponential function exe^x, is continuous everywhere. So f(x)f(x) is continuous for x<0x<0. When x≥0x \geq 0, f(x)=x2+33(x+1)f(x)=\dfrac{x^2+3}{3(x+1)}, which is continuous whenever x≠−1x \neq -1 (so it's continuous for all x>0x >0). So, f(x)f(x) is continuous for x>0x>0. To see that f(x)f(x) is continuous at x=0x=0, we see:

lim⁡x→0−f(x)=lim⁡x→0−ex=1lim⁡x→0+f(x)=lim⁡x→0+x2+33(x+1)=1So,  lim⁡x→0f(x)=1=f(0)\begin{align*} \lim_{x\rightarrow0-}f(x)=\lim_{x\rightarrow0-}e^x&=1\\ \lim_{x\rightarrow0+}f(x)=\lim_{x\rightarrow0+}\frac{x^2+3}{3(x+1)}&=1\\ \text{So, }~\lim_{x \rightarrow 0}f(x)&=1=f(0) \end{align*}

Hence f(x)f(x) is continuous at x=0x=0, so f(x)f(x) is continuous everywhere.
(b) i.
f(x)f(x) is increasing for x<0x<0 and x>1x>1, decreasing for 0<x<10<x<1, has a local max at (0,1)(0,1), and has a local min at (1,23)\left(1,\frac{2}{3}\right).
ii.
f(x)f(x) is concave upwards for all x≠0x\ne 0.
iii.
The xx–axis is a horizontal asymptote as x→−∞x\rightarrow-\infty.

(c)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution

In Questions 6 and 7, you will sketch the graphs of functions with an exponential component. In the next section, you will learn how to find their horizontal asymptotes, but for now these are given to you.

Q6Stage 2Past exam · 1997D

The function f(x)f(x) and its derivative are given below:

f(x)=(1+2x)e−x2andf′(x)=2(1−x−2x2)e−x2f(x)=(1+2x)e^{-x^2}\qquad\hbox{and}\qquad f'(x)=2(1-x-2x^2)e^{-x^2}

Sketch the graph of f(x)f(x). Indicate the critical points, local and/or absolute maxima and minima, and asymptotes. Without actually calculating the inflection points, indicate on the graph their approximate location.

Note: lim⁡x→±∞f(x)=0\ds\lim_{x \to \pm\infty}f(x)=0.

Hint

Since you aren't asked to find the intervals of concavity exactly, sketch the intervals of increase and decrease, and turn them into a smooth curve. You might not get exactly the intervals of concavity that are given in the solution, but there should be the same number of intervals as the solution, and they should have the same positions relative to the local extrema.

Answer

Figure from prob_s3.6.6, line 742

Figure from prob_s3.6.6, line 742

Full solution
Q7Stage 2Past exam · 2009H

Consider the function f(x)=xe−x2/2f(x) = xe^{-x^2/2}.

Note: lim⁡x→±∞f(x)=0\ds\lim_{x \to \pm\infty}f(x)=0.

  1. Find all inflection points and intervals of increase, decrease, convexity up, and convexity down.
    You may use without proof the formula f′′(x)=(x3−3x)e−x2/2f''(x) = (x^3-3x)e^{-x^2/2}.

  2. Find local and global minima and maxima.

  3. Use all the above to draw a graph for ff. Indicate all special points on the graph.

Hint

Use intervals of increase and decrease, concavity, and asymptotes to sketch the curve.

Answer

(a) Increasing: (−1,1)(-1,1) decreasing: (−∞,−1)∪(1,∞)(-\infty,-1)\cup (1,\infty)
concave up: (−3,0)∪(3,∞)(-\sqrt{3},0) \cup (\sqrt{3},\infty) concave down: (−∞,−3)∪(0,3)(-\infty,-\sqrt{3}) \cup (0 ,\sqrt{3})
inflection points: x=±3,0x=\pm\sqrt{3}, 0

(b) The local and global minimum of f(x)f(x) is at (−1,−1e)(-1,\frac{-1}{\sqrt{e}}), and the local and global maximum of f(x)f(x) is at (1,1e)(1,\frac{1}{\sqrt{e}}).

(c) In the graph below, square marks are inflection points, and solid dots are extrema.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution

In Questions 8 and 9, you will sketch the graphs of functions that have a trigonometric component.

Q8Stage 2

Use the techniques from this section to sketch the graph of f(x)=x+2sin⁡xf(x)=x+2\sin x.

Hint

Although the function exhibits a certain kind of repeating behaviour, it is not periodic.

Answer

Local maxima occur at x=2π3+2πnx=\frac{2\pi}{3}+2\pi n for all integers nn, and local minima occur at x=−2π3+2πnx=-\frac{2\pi}{3}+2\pi n for all integers nn. Inflection points occur at every integer multiple of π\pi.

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 2

Full solution
Q9Stage 2Past exam · 2010H
f(x)=4sin⁡x−2cos⁡2xf(x) = 4\sin x - 2\cos 2x

Graph the equation y=f(x)y = f(x), including all important features. (In particular, find all local maxima and minima and all inflection points.) Additionally, find the maximum and minimum values of f(x)f(x) on the interval [0,π][0,\pi].

Hint

The period of this function is 2π2\pi. So, it's enough to graph the curve y=f(x)y=f(x) over the interval [−π,π][-\pi,\pi], because that figure will simply repeat.

Use trigonometric identities to write f′′(x)=−4(4sin⁡2x+sin⁡x−2)f''(x)=-4(4\sin^2 x + \sin x -2). Then you can find where f′′(x)=0f''(x)=0 by setting y=sin⁡xy=\sin x and solving 0=4y2+y−20=4y^2+y-2.

Answer

Below is the graph y=f(x)y=f(x) over the interval [−π,π][-\pi,\pi]. The sketch of the curve over a larger domain is simply a repetition of this figure.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

On the interval [0,π][0,\pi], the maximum value of f(x)f(x) is 66 and the minimum value is −2-2.

Let a=sin⁡−1(−1+338)≈0.635≈0.2πa=\sin^{-1}\left(\dfrac{-1+\sqrt{33}}{8}\right)\approx 0.635\approx0.2\pi and b=sin⁡−1(−1−338)≈−1.003≈−0.3πb=\sin^{-1}\left(\dfrac{-1-\sqrt{33}}{8}\right)\approx -1.003\approx -0.3\pi. The points −π−b-\pi-b, bb, aa, and π−a\textcolor{blue}{\pi-a} are inflection points.

Full solution
Q10Stage 2

Sketch the curve y=x+1x23y=\sqrt[3]{\dfrac{x+1}{x^2}}.

You may use the facts y′(x)=−(x+2)3x5/3(x+1)2/3y'(x)=\dfrac{-(x+2)}{3x^{5/3}(x+1)^{2/3}} and y′′(x)=4x2+16x+109x8/3(x+1)5/3y''(x)=\dfrac{4x^2+16x+10}{9x^{8/3}(x+1)^{5/3}}.

Hint

There is one point where the curve is continuous but has a vertical tangent line.

Answer

The closed dot is the local minimum, and the square marks are inflection points at x=−1x=-1 and x=−2±1.5x=-2\pm\sqrt{1.5}. The graph has horizontal asymptotes y=0y=0 as xx goes to ±∞\pm \infty.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q11Stage 3Past exam · 1999H,2012H

A function f(x)f(x) defined on the whole real number line satisfies the following conditions

f(0)=0f(2)=2lim⁡x→+∞f(x)=0f′(x)=K(2x−x2)e−xf(0)=0\qquad f(2)=2\qquad \lim_{x\rightarrow+\infty}f(x)=0\qquad f'(x)=K(2x-x^2)e^{-x}

for some positive constant KK. (Read carefully: you are given the derivative of f(x)f(x), not f(x)f(x) itself.)

  1. Determine the intervals on which ff is increasing and decreasing and the location of any local maximum and minimum values of ff.

  2. Determine the intervals on which ff is concave up or down and the xx–coordinates of any inflection points of ff.

  3. Determine lim⁡x→−∞f(x)\lim\limits_{x\rightarrow-\infty}f(x).

  4. Sketch the graph of y=f(x)y=f(x), showing any asymptotes and the information determined in parts (a) and (b).

Hint

Use lim⁡x→−∞f′(x)\displaystyle\lim_{x \rightarrow - \infty}f'(x) to determine lim⁡x→−∞f(x)\displaystyle\lim_{x \rightarrow - \infty}f(x).

Answer

(a) decreasing for x<0x<0 and x>2x>2, increasing for 0<x<20 < x < 2, minimum at (0,0)(0,0), maximum at (2,2)(2,2).
(b) concave up for x<2−2x<2-\sqrt{2} and x>2+2x>2+\sqrt{2}, concave down for 2−2<x<2+22-\sqrt 2 < x < 2+\sqrt 2, inflection points at x=2±2x = 2\pm \sqrt{2}.

(c)∞\infty

(d)

Square marks indicate inflection points, and closed dots indicate local extrema.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution
Q12Stage 3Past exam · 2010H

Let f(x)=e−xf(x) = e^{-x} , x≥0x \ge 0.

  1. Sketch the graph of the equation y=f(x)y = f(x). Indicate any local extrema and inflection points.

  2. Sketch the graph of the inverse function y=g(x)=f−1(x)y = g (x)=f^{-1}(x).

  3. Find the domain and range of the inverse function g(x)=f−1(x)g(x)= f^{-1}(x).

  4. Evaluate g′(12)g'(\half).

Hint

Once you have the graph of a function, reflect it over the line y=xy=x to graph its inverse. Be careful of the fact that f(x)f(x) is only defined in this problem for x≥0x \geq 0.

Answer

(a)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

There are no inflection points or extrema, except the endpoint (0,1)(0,1).

(b)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

There are no inflection points or extrema, except the endpoint (1,0)(1,0).

(c) The domain of gg is (0,1](0,1]. The range of gg is [0,∞)[0,\infty).

(d) g′(12)=−2g'(\half)=-2

Full solution
Q13Stage 3Past exam · 2011H
  1. Sketch the graph of y=f(x)=x5−xy=f(x)=x^5-x, indicating asymptotes, local maxima and minima, inflection points, and where the graph is concave up/concave down.

  2. Consider the function f(x)=x5−x+kf(x)=x^5-x+k, where kk is a constant, −∞<k<∞-\infty<k<\infty. How many roots does the function have? (Your answer might depend on the value of kk.)

Answer

(a)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Local maximum at x=−154x=-\frac{1}{\sqrt[4]{5}}; local minimum at x=154x=\frac{1}{\sqrt[4]{5}}; inflection point at the origin; concave down for x<0x<0 ; concave up for x>0x>0.

(b) The number of distinct real roots of x5−x+kx^5-x+k is:

  • 1 when ∣k∣>4554|k|>\dfrac{4}{5\sqrt[4]{5}}

  • 2 when ∣k∣=4554|k|=\dfrac{4}{5\sqrt[4]{5}}

  • 3 when ∣k∣<4554|k|<\dfrac{4}{5\sqrt[4]{5}}

Full solution
Q14Stage 3Past exam · 2012H

The hyperbolic trigonometric functions sinh⁡(x)\sinh(x) and cosh⁡(x)\cosh(x) are defined by

sinh⁡(x)=ex−e−x2cosh⁡(x)=ex+e−x2\sinh(x)=\dfrac{e^x-e^{-x}}{2}\qquad \cosh(x)=\dfrac{e^x+e^{-x}}{2}

They have many properties that are similar to corresponding properties of sin⁡(x)\sin(x) and cos⁡(x)\cos(x). In particular, it is easy to see that

ddxsinh⁡(x)=cosh⁡(x)ddxcosh⁡(x)=sinh⁡(x)cosh⁡2(x)−sinh⁡2(x)=1\diff{}{x} \sinh(x)=\cosh(x)\qquad \diff{}{x} \cosh(x)=\sinh(x)\qquad \cosh^2(x)-\sinh^2(x)=1

You may use these properties in your solution to this question.

  1. Sketch the graphs of sinh⁡(x)\sinh(x) and cosh⁡(x)\cosh(x).

  2. Define inverse hyperbolic trigonometric functions sinh⁡−1(x)\sinh^{-1}(x) and cosh⁡−1(x)\cosh^{-1}(x), carefully specifing their domains of definition. Sketch the graphs of sinh⁡−1(x)\sinh^{-1}(x) and cosh⁡−1(x)\cosh^{-1}(x).

  3. Find ddx{cosh⁡−1(x)}\dfrac{d}{dx}\left\{ \cosh^{-1}(x)\right\}.

Hint

For (a), don't be intimidated by the new names: we can graph these functions using the methods learned in this section.

For (b), remember that to define an inverse of a function, we need to restrict the domain of that function to an interval where it is one-to-one. Then to graph the inverse, we can simply reflect the original function over the line y=xy=x.

For (c), set y(x)=cosh⁡−1(x)y(x)=\cosh^{-1}(x), so cosh⁡(y(x))=x\cosh(y(x))=x. The differentiate using the chain rule. To get your final answer in terms of xx (instead of yy), use the identity cosh⁡2(y)−sinh⁡2(y)=1\cosh^2(y)-\sinh^2(y)=1.

Answer

(a)

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 7

Figure from prob_s3.6.6, line 7

(b) For any real xx, define sinh⁡−1(x)\sinh^{-1}(x) to be the unique solution of sinh⁡(y)=x\sinh(y)=x. For every x∈[1,∞)x\in[1,\infty), define cosh⁡−1(x)\cosh^{-1}(x) to be the unique y∈[0,∞)y\in[0,\infty) that obeys cosh⁡(y)=x\cosh(y)=x.

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 7

Figure from prob_s3.6.6, line 7

(c) ddx{cosh⁡−1(x)}=1x2−1\ds\diff{}{x}\{\cosh^{-1}(x)\}=\dfrac{1}{\sqrt{x^2-1}}

Full solution

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

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.