Navigation

Sketching graphs

7.6 Sketching examples

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

Stage 2 · Procedural

Q1Stage 2Past exam · 2007H

Let f(x)=x3xf(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)=(3x12)4(3x)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

(a) Since we must have 3x03-x \ge 0, this tells us x3x \leq 3. So, the domain is (,3](-\infty,3].

(b)

f(x)=3xx23x=32x23xf'(x)=\sqrt{3-x}-\frac{x}{2\sqrt{3-x}} =3\frac{2-x}{2\sqrt{3-x}}

For every xx in the domain of f(x)f'(x), the denominator is positive, so the sign of f(x)f'(x) depends only on the numerator.

xx(,2)(-\infty,2)22(2,3)(2,3)33
f(x)f'(x)positive0negativeDNE
f(x)f(x)increasingmaximumdecreasingendpoint

So, ff is increasing for x<2x<2, has a local (in fact global) maximum at x=2x=2, is decreasing for 2<x<32<x<3, and has a local minimum at x=3x=3.

Remark: this shows us the basic skeleton of the graph. It consists of a single hump.

Figure from prob_s3.6.6, line 26

Figure from prob_s3.6.6, line 26

(c) When x<3x<3,

f(x)=14(3x12)(3x)3/2<0f''(x) = \frac{1}{4}(3x -12)(3 - x)^{-3/2}<0

The domain of f(x)f''(x) is (,3)(-\infty,3), and over its domain it is always negative (the factor (3x12)(3x-12) is negative for all x<4x<4 and the factor (3x)3/2(3-x)^{-3/2} is positive for all x<3x<3). So, f(x)f(x) has no inflection points and is concave down everywhere.

(d) We already found

f(x)=32x23x.\begin{align*}f'(x)&=3\dfrac{2-x}{2\sqrt{3-x}}.\end{align*}

This is undefined at x=3x=3. Indeed,

limx332x23x=,\begin{align*}\ds\lim_{x \rightarrow 3^-} 3\dfrac{2-x}{2\sqrt{3-x}}&=-\infty,\end{align*}

so f(x)f(x) has a vertical tangent line at (3,0)(3,0).

(e) To sketch the curve y=f(x)y=f(x), we already know its intervals of increase and decrease, and its concavity. We also note its intercepts are (0,0)(0,0) and (3,0)(3,0).

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

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

Q2Stage 2Past exam · 1998H

Sketch the graph of

f(x)=x32x4.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
  • Asymptotes:

    limx±f(x)=limx±1x2x4=0\ds\lim_{x \to \pm \infty}f(x) = \ds\lim_{x \to \pm \infty}\dfrac{1}{x}-\dfrac{2}{x^4}=0

    So y=0y=0 is a horizontal asymptote both at x=x=\infty and x=x=-\infty.

    limx0f(x)=limx0x32x4=\ds\lim_{x \to0}f(x) = \ds\lim_{x \to 0}\dfrac{x^3-2}{x^4}=-\infty

    So there is a vertical asymptote at x=0x=0, where the function plunges downwards from both the right and the left.

  • Intervals of increase and decrease:

    f(x)=1x2+8x5=8x3x5f'(x)=-\frac{1}{x^2}+\frac{8}{x^5}=\frac{8-x^3}{x^5}

    The only place where f(x)f'(x) is zero only at x=2x=2. So f(x)f(x) has a horizontal tangent at x=2x=2, y=38y=\frac{3}{8}. This is a critical point.

    The derivative is undefined at x=0x=0, as is the function.

    xx(,0)(-\infty,0)00(0,2)(0,2)22(2,)(2,\infty)
    f(x)f'(x)negativeDNEpositive0negative
    f(x)f(x)decreasingvertical asymptoteincreasinglocal maxdecreasing

    Since the function changes from increasing to decreasing at x=2x=2, the only local maximum is at x=2x=2.

    At this point, we get a rough sketch of f(x)f(x).

    Figure from prob_s3.6.6, line 25

    Figure from prob_s3.6.6, line 25

  • Concavity:

    f(x)=2x340x6=2x340x6f''(x)=\frac{2}{x^3}-\frac{40}{x^6}=\frac{2x^3-40}{x^6}

    The second derivative of f(x)f(x) is positive for x>203x>\sqrt[3]{20} and negative for x<203x<\sqrt[3]{20}. So the curve is concave up for x>203x>\sqrt[3]{20} and concave down for x<203x<\sqrt[3]{20}. There is an inflection point at x=2032.7x=\sqrt[3]{20}\approx 2.7, y=18204/30.3y=\frac{18}{20^{4/3}}\approx 0.3.

  • Intercepts:

    Since f(x)f(x) is not defined at x=0x=0, there is no yy-intercept. The only xx-intercept is x=231.3x=\sqrt[3]{2}\approx 1.3.

  • Sketch:

    We can add concavity to our skeleton sketched above, and label our intercept and inflection point (marked with a square).

    Figure from prob_s3.6.6, line 2

    Figure from prob_s3.6.6, line 2

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)=12x26x5(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
  • Asymptotes:

    When x=1x=-1, the denominator 1+x31+x^3 of f(x)f(x) is zero while the numerator is 1, so x=1x=-1 is a vertical asymptote. More precisely,

    limx1f(x)=limx1+f(x)=\lim_{x \to -1^-}f(x)=-\infty \qquad \lim_{x \to -1^+}f(x)=\infty

    There are no horizontal asymptotes, because

    limxx41+x3=limxx41+x3=\lim_{x \to \infty} \frac{x^4}{1+x^3}=\infty \qquad \lim_{x \to- \infty} \frac{x^4}{1+x^3}=-\infty
  • Intervals of increase and decrease:

    We note that f(x)f'(x) is defined for all x1x \neq -1 and is not defined for x=1x=-1. Therefore, the only singular point for f(x)f(x) is x=1x=-1.

    To find critical points, we set

    f(x)=04x3+x6=0x3(4+x3)=0x3=0or4+x3=0x=0orx=431.6\begin{align*} f'(x)&=0\\ 4x^3+x^6 &=0\\ x^3(4+x^3)&=0\\ x^3=0 \qquad &\text{or} \qquad 4+x^3=0\\ x=0 \qquad &\text{or} \qquad x=-\sqrt[3]{4}\approx-1.6 \end{align*}

    At these critical points, f(0)=0f(0)=0 and f(43)=4433<0f(-\sqrt[3]{4})=\frac{4\sqrt[3]{4}}{-3}<0. The denominator of f(x)f'(x) is never negative, so the sign of f(x)f'(x) is the same as the sign of its numerator, x3(4+x3)x^3(4+x^3).

    xx(,43)(-\infty,-\sqrt[3]{4})43-\sqrt[3]{4}(43,1)(-\sqrt[3]{4},-1)1-1(1,0)(-1,0)00(0,)(0,\infty)
    f(x)f'(x)positive0negativeDNEnegative0positive
    f(x)f(x)increasingl. maxdecreasingVAdecreasingl. minincreasing

    Now, we have enough information to make a skeleton of our graph.

    Figure from prob_s3.6.6, line 32

    Figure from prob_s3.6.6, line 32

  • Concavity:

    The second derivative is undefined when x=1x=-1. It is zero when 12x26x5=6x2(2x3)=012x^2-6x^5=6x^2(2-x^3)=0. That is, at x=231.3x=\sqrt[3]{2}\approx 1.3 and x=0x=0. Notice that the sign of f(x)f''(x) does not change at x=0x=0, so x=0x=0 is not an inflection point.

    xx(,1)(-\infty,-1)1-1(1,0)(-1,0)00(0,23)(0,\sqrt[3]{2})23\sqrt[3]{2}(23,)(\sqrt[3]{2},\infty)
    f(x)f''(x)negativeDNEpositive0positive0negative
    f(x)f(x)concave downVAconcave upconcave upIPconcave down

    Now we can refine our skeleton by adding concavity.

    Figure from prob_s3.6.6, line 21

    Figure from prob_s3.6.6, line 21

Q4Stage 2Past exam · 1996D

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

f(x)=3x2x4(1x2)2andf(x)=6x+2x3(1x2)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
  • Asymptotes:

    limxx31x2=limxx31x2=\lim_{x \to -\infty}\frac{x^3}{1-x^2}=\infty \qquad \lim_{x \to \infty}\frac{x^3}{1-x^2}=-\infty

    So, f(x)f(x) has no horizontal asymptotes.

    On the other hand f(x)f(x) blows up at both x=1x=1 and x=1x=-1, so there are vertical asymptotes at x=1x=1 and x=1x=-1. More precisely,

    limx1x31x2=limx1+x31x2=limx1x31x2=limx1+x31x2=\begin{align*} \lim_{x \to -1^-}\frac{x^3}{1-x^2}&=\infty & \lim_{x \to -1^+}\frac{x^3}{1-x^2}&=-\infty\\ \lim_{x \to 1^-}\frac{x^3}{1-x^2}&=\infty & \lim_{x \to 1^+}\frac{x^3}{1-x^2}&=-\infty \end{align*}
  • Symmetry:

    f(x)f(x) is an odd function, because

    f(x)=(x)31(x)2=x31x2=f(x)f(-x)=\frac{(-x)^3}{1-(-x)^2}=\frac{-x^3}{1-x^2}=-f(x)
  • Intercepts:

    The only intercept of f(x)f(x) is the origin. In particular, that means that out of the three intervals where it is continuous, namely (,1)(-\infty,-1), (1,1)(-1,1) and (1,)(1,\infty), in two of them f(x)f(x) is always positive or always negative.

    • When x<1x<-1: 1x2<01-x^2<0 and x3<0x^3<0, so f(x)>0f(x)>0.

    • When x>1x>1: 1x2<01-x^2<0 and x3>0x^3>0, so f(x)<0f(x)<0.

    • When 1<x<0-1<x<0, 1x2>01-x^2>0 and x3<0x^3<0 so f(x)<0f(x)<0.

    • When 0<x<10<x<1, 1x2>01-x^2>0 and x3>0x^3>0 so f(x)>0f(x)>0.

  • Intervals of increase and decrease:

    f(x)=3x2x4(1x2)2=x2(3x2)(1x2)2f'(x)=\dfrac{3x^2-x^4}{(1-x^2)^2}=\frac{x^2(3-x^2)}{(1-x^2)^2}

    The only singular points are x=±1x=\pm 1, where f(x)f(x), and hence f(x)f'(x), is not defined. The critical points are:

    f(x)=0x2=0or3x2=0x=0orx=±3±1.7\begin{align*} f'(x)&=0\\ x^2=0\qquad&\text{or}\qquad 3-x^2=0\\ x=0\qquad&\text{or}\qquad x=\pm\sqrt{3}\approx\pm 1.7 \end{align*}

    The values of ff at its critical points are f(0)=0f(0)=0, f(3)=3322.6f(\sqrt{3})=-\dfrac{3\sqrt{3}}{2}\approx -2.6 and f(3)=3322.6f(-\sqrt{3})=\dfrac{3\sqrt{3}}{2}\approx2.6.

    Notice the sign of f(x)f'(x) is the same as the sign of 3x23-x^2.

    xx(,3)(-\infty,-\sqrt{3})3-\sqrt{3}(3,1)(-\sqrt 3,-1)1-1
    f(x)f'(x)negative0positiveDNE
    f(x)f(x)decreasinglocal minincreasingVA
    xx(1,0)(-1,0)00(0,3)(0,\sqrt 3)3\sqrt{3}(3,)(\sqrt{3},\infty)
    f(x)f'(x)positive0positive0negative
    f(x)f(x)increasingincreasinglocal maxdecreasing

    Now we have enough information to sketch a skeleton of f(x)f(x).

    Figure from prob_s3.6.6, line 41

    Figure from prob_s3.6.6, line 41

  • Concavity:

    f(x)=2x(3+x2)(1x2)3f''(x)=\frac{2x(3+x^2)}{(1-x^2)^3}

    The second derivative is zero when x=0x=0, and is undefined when x=±1x=\pm 1.

    xx(,1)(-\infty,-1)(1,0)(-1,0)0(0,1)(0,1)(1,)(1,\infty)
    f(x)f''(x)positivenegative0positivenegative
    f(x)f(x)concave upconcave downinflection pointconcave upconcave down

    Now, we can refine our skeleton.

    Figure from prob_s3.6.6, line 20

    Figure from prob_s3.6.6, line 20

Q5Stage 2Past exam · 2006H

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

f(x)={exx<0x2+33(x+1)x0f(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 x0x \geq 0, f(x)=x2+33(x+1)f(x)=\dfrac{x^2+3}{3(x+1)}, which is continuous whenever x1x \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:

limx0f(x)=limx0ex=1limx0+f(x)=limx0+x2+33(x+1)=1So,  limx0f(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 x0x\ne 0.
iii.
The xx–axis is a horizontal asymptote as xx\rightarrow-\infty.

(c)

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

Full solution

(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 x0x \geq 0, f(x)=x2+33(x+1)f(x)=\dfrac{x^2+3}{3(x+1)}, which is continuous whenever x1x \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:

limx0f(x)=limx0ex=1limx0+f(x)=limx0+x2+33(x+1)=1So,  limx0f(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) We differentiate the function twice. Notice

ddx{x2+33(x+1)}=3(x+1)(2x)(x2+3)(3)9(x+1)2=x2+2x33(x+1)2=(x1)(x+3)3(x+1)2where x1Thenlimx0+f(x)=(01)(0+3)3(0+1)2=11=e0=limx0f(x)sof(x)={exx<0DNEx=0(x1)(x+3)3(x+1)2x>0\begin{align*}\diff{}{x}\left\{\dfrac{x^2+3}{3(x+1)}\right\}&=\frac{3(x+1)(2x)-(x^2+3)(3)}{9(x+1)^2}\\ &=\frac{x^2+2x-3}{3(x+1)^2}\\ &=\frac{(x-1)(x+3)}{3(x+1)^2}\qquad\text{where }x \neq -1\text{}\\ \text{Then}\qquad \lim_{x \to 0^+}f'(x)&=\frac{(0-1)(0+3)}{3(0+1)^2}=-1 \neq 1 =e^0= \lim_{x \to 0^-}f'(x)\\ \text{so}\qquad f'(x)&=\left\{\begin{array}{ll} e^x&x<0\\ DNE&x=0\\ \frac{(x-1)(x+3)}{3(x+1)^2}&x > 0 \end{array}\right.\end{align*}

Differentiating again,

d2dx2{x2+33(x+1)}=ddx{x2+2x33(x+1)2}=3(x+1)2(2x+2)(x2+2x3)(6)(x+1)9(x+1)4(÷3(x+1)÷3(x+1))=(x+1)(2x+2)2(x2+2x3)3(x+1)3=83(x+1)3where x1sof(x)={exx<0DNEx=083(x+1)3x>0\begin{align*}\diff{^2}{x^2}\left\{\dfrac{x^2+3}{3(x+1)}\right\}&= \diff{}{x}\left\{\frac{x^2+2x-3}{3(x+1)^2} \right\}\\ &=\frac{3(x+1)^2(2x+2)-(x^2+2x-3)(6)(x+1)}{9(x+1)^4}\left(\frac{\div3(x+1)}{\div3(x+1)}\right)\\ &=\frac{(x+1)(2x+2)-2(x^2+2x-3)}{3(x+1)^3}\\ &=\frac{8}{3(x+1)^3}\qquad\text{where }x \neq -1\text{}\\ \text{so}\qquad f''(x)&=\left\{\begin{array}{ll} e^x&x<0\\ DNE&x=0\\ \frac{8}{3(x+1)^3}&x > 0 \end{array}\right.\end{align*}

i. The only singular point is x=0x=0, and the only critical point is x=1x=1. (When you're reading off the expression for f(x)f'(x), remember that the bottom line only applies when x>0x>0.)

xx(,0)(-\infty,0)00(0,1)(0,1)1(1,)(1,\infty)
f(x)f'(x)positiveDNEnegative0positive
f(x)f(x)increasinglocal maxdecreasinglocal minincreasing

The coordinates of the local maximum are (0,1)(0,1) and the coordinates of the local minimum are (1,23)\left(1,\frac{2}{3}\right).

ii.
When x0x \neq 0, f(x)f''(x) is always positive, so f(x)f(x) is concave up.
iii.

limxf(x)=limxx2+33x+3=limxx+3x1+3x=\begin{align*}\lim_{x \to \infty} f(x)&=\lim_{x \to \infty} \frac{x^2+3}{3x+3}\\ &=\lim_{x \to \infty}\frac{x+\frac{3}{x}}{1+\frac{3}{x}}=\infty\end{align*}

So, there is no horizontal asymptote to the right.

limxf(x)=limxex=0\begin{align*}\lim_{x \to -\infty} f(x)&=\lim_{x \to -\infty}e^x=0\end{align*}

So, y=0y=0 is a horizontal asymptote to the left.

Since f(x)f(x) is continuous everywhere, there are no vertical asymptotes.

(c)

Figure from prob_s3.6.6, line 70

Figure from prob_s3.6.6, line 70

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)ex2andf(x)=2(1x2x2)ex2f(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: limx±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
  • Asymptotes: In the problem statement, we are told:

    limx±1+2xex2=0\lim_{x \to \pm \infty}\frac{1+2x}{e^{x^2}}=0

    So, y=0y=0 is a horizontal asymptote both at x=x=\infty and at x=x=-\infty.

    Since f(x)f(x) is continuous, it has no vertical asymptotes.

  • Intervals of increase and decrease:

    The critical points are the zeroes of 1x2x2=(12x)(1+x)1-x-2x^2=(1-2x)(1+x). That is, x=12, 1x=\frac{1}{2},\ -1.

    xx(,1)(-\infty,-1)1-1(1,12)(-1,\frac{1}{2})12\frac{1}{2}(12,)(\frac{1}{2},\infty)
    f(x)f'(x)negative0positive0negative
    f(x)f(x)decreasinglocal minincreasinglocal maxdecreasing

    At these critical points, f(12)=2e1/4>0f\big(\frac{1}{2}\big)=2e^{-1/4}>0 and f(1)=e1<0f(-1)=-e^{-1}<0.

    From here, we can sketch a skeleton of the graph.

    Figure from prob_s3.6.6, line 21

    Figure from prob_s3.6.6, line 21

  • Concavity:

    We are told that we don't have to actually solve for the inflection points. We just need to know enough to get a basic idea. So, we'll turn the skeleton of the graph into smooth curve.

    Figure from prob_s3.6.6, line 742

    Figure from prob_s3.6.6, line 742

    Inflection points are points where the convexity changes from up to down or vice versa. It looks like our graph is convex down for xx from -\infty to about 1.8-1.8, convex up from about x=1.8x=-1.8 to about x=0.1x=-0.1, convex down from about x=0.1x=-0.1 to about x=1.4x=1.4 and convex up from about x=1.4x=1.4 to infinity. So there are three inflection points at roughly x=1.8, 0.1, 1.4x=-1.8,\ -0.1,\ 1.4.

Q7Stage 2Past exam · 2009H

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

Note: limx±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)=(x33x)ex2/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

(a) We need to know the first and second derivative of f(x)f(x). Using the product and chain rules, f(x)=ex2/2(1x2)f'(x)=e^{-x^2/2}(1-x^2). Given to us is f(x)=(x33x)ex2/2f''(x) = (x^3-3x)e^{-x^2/2}. (These derivatives are also easy to find using the formula developed in Question 20, Section 3.4.)

Since ex2/2e^{-x^2/2} is always positive, the sign of f(x)f'(x) is the same as the sign of 1x21-x^2. f(x)f(x) has no singular points and its only critical points are x=±1x=\pm 1. At these critical points, f(1)=1ef(-1)=-\dfrac{1}{\sqrt{e}} and f(1)=1ef(1)=\dfrac{1}{\sqrt{e}}.

xx(,1)(-\infty,-1)1-1(1,1)(-1,1)11(1,)(1,\infty)
f(x)f'(x)negative0positive0negative
f(x)f(x)decreasinglocal minincreasinglocal maxdecreasing

This, together with the observations that f(x)<0f(x)<0 for x<0x<0, f(0)=0f(0)=0 and f(x)>0f(x)>0 for x>0x>0 (in fact ff is an odd function), is enough to sketch a skeleton of our graph.

Figure from prob_s3.6.6, line 22

Figure from prob_s3.6.6, line 22

We can factor f(x)=(x33x)ex2/2=x(x+3)(x3)ex2/2f''(x) = (x^3-3x)e^{-x^2/2}=x(x+\sqrt{3})(x-\sqrt{3})e^{-x^2/2}. Since ex2/2e^{-x^2/2} is always positive, the sign of f(x)f''(x) is the same as the sign of x(x+3)(x3)x(x+\sqrt{3})(x-\sqrt{3}).

xx(,3)(-\infty,-\sqrt{3})3-\sqrt{3}(3,0)(-\sqrt{3},0)0(0,3)(0,\sqrt{3})3\sqrt{3}(3,)(\sqrt{3},\infty)
f(x)f''(x)negative0positive0negative0positive
f(x)f(x)concave downIPconcave upIPconcave downIPconcave up

(b) We've already seen that f(x)f(x) has a local min at x=1x=-1 and a local max at x=1x=1.

As xx tends to negative infinity, f(x)f(x) tends to 0, and f(x)f(x) is decreasing on (,1)(-\infty,-1). Then f(x)f(x) is between 00 and f(1)=1ef(-1)=\frac{-1}{\sqrt{e}} on (,1)(-\infty,-1). Then f(x)f(x) is increasing on (1,1)(-1,1) from f(1)=1ef(-1)=\frac{-1}{\sqrt{e}} to f(1)=1ef(1)=\frac{1}{\sqrt{e}}. Finally, for x>1x>1, f(x)f(x) is decreasing from f(1)=1ef(1)=\frac{1}{\sqrt{e}} and tending to 0. So when x>1x>1, f(x)f(x) is between 1e\frac{1}{\sqrt{e}} and 00.

So, over its entire domain, f(x)f(x) is between 1e\frac{-1}{\sqrt{e}} and 1e\frac{1}{\sqrt{e}}, and it only achieves those values at x=1x=-1 and x=1x=1, respectively. Therefore, the local and global min of f(x)f(x) is at (1,1e)(-1,\frac{-1}{\sqrt{e}}), and the local and global max 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

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+2sinxf(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
  • Symmetry:

    f(x)=x+2sin(x)=x2sinx=f(x)f(-x)=-x+2\sin(-x)=-x-2\sin x = -f(x)

    So, f(x)f(x) is an odd function. If we can sketch y=f(x)y=f(x) for nonnegative xx, we can use symmetry to complete the curve for all xx.

  • Asymptotes:

    Since f(x)f(x) is continuous, it has no vertical asymptotes. It also has no horizontal asymptotes, since

    limxf(x)=limxf(x)=\lim_{x \to -\infty}f(x)=-\infty \qquad \lim_{x \to \infty}f(x)=\infty
  • Intervals of increase and decrease:

    Since f(x)f(x) is differentiable everywhere, there are no singular points.

    f(x)=1+2cosx\begin{align*}f'(x)&=1+2\cos x\end{align*}

    So, the critical points of f(x)f(x) occur when

    cosx=12x=2πn±2π3 for any integer n\begin{align*}\cos x &= -\frac{1}{2}\\ x&=2\pi n \pm \frac{2\pi}{3}\text{ for any integer }n\text{}\end{align*}

    For instance, f(x)f(x) has critical points at x=2π3x=\dfrac{2\pi}{3}, x=4π3x=\dfrac{4\pi}{3}, x=8π3x=\dfrac{8\pi}{3}, and x=10π3x=\dfrac{10\pi}{3}.

    From the unit circle, or the graph of y=1+2cosxy=1+2\cos x, we see:

    xx(2π3,2π3)\left(-\frac{2\pi}{3},\frac{2\pi}{3}\right)2π3\frac{2\pi}{3}(2π3,4π3)\left(\frac{2\pi}{3},\frac{4\pi}{3}\right)4π3\frac{4\pi}{3}(4π3,8π3)\left(\frac{4\pi}{3},\frac{8\pi}{3}\right)8π3\frac{8\pi}{3}(8π3,10π3)\left(\frac{8\pi}{3},\frac{10\pi}{3}\right)
    f(x)f'(x)positive0negative0positive0negative
    f(x)f(x)increasingl. maxdecreasingl. minincreasingl. maxdecreasing

    We have enough information to sketch a skeleton of the curve y=f(x)y=f(x). We use the pattern above for the graph to the right of the yy-axis, and use odd symmetry for the graph to the left of the yy-axis.

    Figure from prob_s3.6.6, line 28

    Figure from prob_s3.6.6, line 28

  • Concavity:

    f(x)=2sinxf''(x)=-2\sin x

    So, f(x)f''(x) exists everywhere, and is zero for x=π+πnx=\pi+\pi n for every integer nn.

    xx(0,π)\left(0,\pi\right)π\pi(π,2π)\left(\pi,2\pi\right)2π2\pi(2π,3π)\left(2\pi,3\pi\right)3π3\pi(3π,4π)\left(3\pi,4\pi\right)
    f(x)f''(x)negative0positive0negative0positive
    f(x)f(x)concave downIPconcave upIPconcave downIPconcave up

    Using these values, and the odd symmetry of f(x)f(x), we can refine our skeleton. The closed dots are local extrema, and the square marks are inflection points occurring at every integer multiple of π\pi.

    Figure from prob_s3.6.6, line 18

    Figure from prob_s3.6.6, line 18

Q9Stage 2Past exam · 2010H
f(x)=4sinx2cos2xf(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(4sin2x+sinx2)f''(x)=-4(4\sin^2 x + \sin x -2). Then you can find where f(x)=0f''(x)=0 by setting y=sinxy=\sin x and solving 0=4y2+y20=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=sin1(1+338)0.6350.2πa=\sin^{-1}\left(\dfrac{-1+\sqrt{33}}{8}\right)\approx 0.635\approx0.2\pi and b=sin1(1338)1.0030.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

We first compute the derivatives f(x)f'(x) and f(x)f''(x).

f(x)=4cosx+4sin2x=4cosx+8sinxcosx=4cosx(1+2sinx)f(x)=4sinx+8cos2x=4sinx+816sin2x=4(4sin2x+sinx2)\begin{align*} f'(x) &= 4\cos x + 4\sin 2x= 4\cos x + 8\sin x\cos x=4\cos x(1+2\sin x) \cr f''(x) &= -4\sin x + 8\cos 2x= -4\sin x + 8-16\sin^2x =-4(4\sin^2x+\sin x-2)\qquad \end{align*}

The graph has the following features.

  • Symmetry: f(x)f(x) is periodic of period 2π2\pi. We'll consider only πxπ-\pi\le x\le \pi. (Any interval of length 2π2\pi will do.)

  • yy-intercept: f(0)=2f(0)=-2

  • Intervals of increase and decrease: f(x)=0f'(x)=0 when cosx=0\cos x=0, i.e. x=±π2x=\pm\dfrac{\pi}{2}, and when sinx=12\sin x =-\dfrac{1}{2}, i.e. x=π6,5π6x=-\dfrac{\pi}{6}, -\dfrac{5\pi}{6}.

    xx(π,5π6)(-\pi,-\frac{5\pi}{6})(5π6,π2)\left(-\frac{5\pi}{6},-\frac{\pi}{2}\right)(π2,π6)\left(-\frac{\pi}{2},-\frac{\pi}{6}\right)(π6,π2)\left(-\frac{\pi}{6},\frac{\pi}{2}\right)(π2,π)\left(\frac{\pi}{2},\pi\right)
    f(x)f'(x)negativepositivenegativepositivenegative
    f(x)f(x)decreasingincreasingdecreasingincreasingdecreasing

    This tells us local maxima occur at x=±π2x=\pm\dfrac{\pi}{2} and local minima occur at x=5π6x=-\dfrac{5\pi}{6} and x=π6x=-\dfrac{\pi}{6}.

    Here is a table giving the value of ff at each of its critical points.

    height2pt
    x-\dfrac56\pi-\dfrac\pi2-\dfrac\pi6\dfrac\pi2
    height2pt
    height2pt
    \sin x-\half-1-\half1
    height2pt
    \cos 2x\half-1\half-1
    height2pt
    f(x)-3-2-36
    height2pt

    From here, we can graph a skeleton of of f(x)f(x):

    Figure from prob_s3.6.6, line 61

    Figure from prob_s3.6.6, line 61

  • Concavity: To find the points where f(x)=0f''(x)=0, set y=sinxy=\sin x, so f(x)=4(4y2+y2)f''(x)=-4(4y^2+y-2). Then we really need to solve

    4y2+y2=0which gives usy=1±338\begin{align*} 4y^2 +y-2 &=0 & \text{which gives us}\\ y &= \dfrac{-1 \pm \sqrt{33}}{8} \end{align*}

    These two yy-values map to the following two xx-values, which we'll name aa and bb for convenience:

    a=arcsin(1+338)0.635b=arcsin(1338)1.003\begin{align*} a &= \arcsin\left(\dfrac{-1 + \sqrt{33}}{8} \right) \approx 0.635\\ b &= \arcsin\left(\dfrac{-1 - \sqrt{33}}{8} \right)\approx -1.003 \end{align*}

    However, these are not the only values of xx in [π,π][-\pi,\pi] with sinx=1±338\sin x = \frac{-1\pm\sqrt{33}}{8}. The analysis above misses the others because the arcsine function only returns numbers in the range [π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]. The graph below shows that there should be other values of xx with sinx=1±338\sin x = \frac{-1\pm\sqrt{33}}{8}, and hence f(x)=0f''(x)=0.

    Figure from prob_s3.6.6, line 2

    Figure from prob_s3.6.6, line 2

    We can recover the other solutions in [π,π][-\pi,\pi] by recalling that

    sin(x)=sin(πx).\begin{align*} \sin(x) &= \sin(\pi-x). \end{align*}

    So, if we choose x=arcsin(1+338)0.635x =\arcsin\left(\frac{-1 + \sqrt{33}}{8} \right) \approx 0.635 to make sin(x)=1+338\sin(x)=\frac{-1 + \sqrt{33}}{8} so that f(x)=0f''(x) = 0, then setting

    x=πa=πarcsin(1+338)2.507\begin{align*} x &= \pi-a=\pi-\arcsin\left(\dfrac{-1 + \sqrt{33}}{8} \right) \approx 2.507 \end{align*}

    will also give us sin(x)=1+338\sin(x)=\frac{-1 + \sqrt{33}}{8} and f(x)=0f''(x) = 0. Similarly, setting

    x=πb=πarcsin(1338)4.145\begin{align*} x &=\pi-b= \pi-\arcsin\left(\dfrac{-1 - \sqrt{33}}{8} \right) \approx 4.145 \end{align*}

    would give us f(x)=0f''(x)=0. However, this value is outside [π,π][-\pi,\pi]. To find another solution inside [π,π][-\pi,\pi] we use the identity

    sin(x)=sin(πx)\begin{align*} \sin(x) &= \sin(-\pi-x) \end{align*}

    (which we can obtain from the identity we used above and the fact that sin(θ)=sin(θ±2π)\sin(\theta)=\sin(\theta\pm2\pi) for any angle θ\theta). Using this, we can show that

    x=πb=πarcsin(1338)2.139\begin{align*} x &=-\pi-b= -\pi-\arcsin\left(\dfrac{-1 - \sqrt{33}}{8} \right) \approx -2.139 \end{align*}

    also gives f(x)=0f''(x)=0.

    So, all together, f(x)=0f''(x)=0 when x=πbx=-\pi-b, x=bx=b, x=ax=a, and x=πax=\pi-a.

    Now, we should compute the sign of f(x)f''(x) while xx is between π-\pi and π\pi. Recall that, if y=sinxy=\sin x, then f(x)=4(4y2+y2)f''(x)=-4(4y^2+y-2). So, in terms of yy, ff'' is a parabola pointing down, with intercepts y=1±338y=\frac{-1\pm\sqrt{33}}{8}. Then ff'' is positive when yy is in the interval (1338,1+338)\left(\frac{-1-\sqrt{33}}{8},\frac{-1+\sqrt{33}}{8}\right), and ff'' is negative otherwise. From the graph of sine, we see that yy is between 1338\frac{-1-\sqrt{33}}{8} and 1+338\frac{-1+\sqrt{33}}{8} precisely on the intervals (π,πb)(-\pi,-\pi-b), (b,a)(b,a), and (πa,π)(\pi-a,\pi).

    Therefore, f(x)f(x) is concave up on the intervals (π,πb)(-\pi,-\pi-b), (b,a)(b,a), and (πa,π)(\pi-a,\pi), and f(x)f(x) is concave down on the intervals (πb,b)(-\pi-b,b) and (a,πa)(a,\pi-a). So, the inflection points of ff occur at x=πbx=-\pi-b, x=bx=b, x=ax=a, and x=πax=\pi-a.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

To find the maximum and minimum values of f(x)f(x) on [0,π][0,\pi], we compare the values of f(x)f(x) at its critical points in this interval (only x=π2x=\frac{\pi}{2}) with the values of f(x)f(x) at its endpoints x=0x=0, x=πx=\pi.

Since f(0)=f(π)=2f(0)=f(\pi)=-2, the minimum value of ff on [0,π][0,\pi] is 2-2, achieved at x=0,πx=0,\pi and the maximum value of ff on [0,π][0,\pi] is 66, achieved at x=π2x=\dfrac{\pi}{2}.

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

Let f(x)=x+1x23f(x)=\sqrt[3]{\dfrac{x+1}{x^2}}.

  • Asymptotes: Since limx0f(x)=\ds\lim_{x \to 0} f(x) = \infty, f(x)f(x) has a vertical asymptote at x=0x=0 where the curve reaches steeply upward from both the left and the right.

    limx±f(x)=0\ds\lim_{x \to \pm \infty} f(x)=0, so y=0y=0 is a horizontal asymptote for x±x \to \pm \infty.

  • Intercepts: f(1)=0f(-1)=0.

  • Intervals of increase and decrease:

    f(x)=(x+2)3x5/3(x+1)2/3f'(x)=\dfrac{-(x+2)}{3x^{5/3}(x+1)^{2/3}}

    There is a singular point at x=1x=-1 and a critical point at x=2x=-2, in addition to a discontinuity at x=0x=0. Note that (x+1)2/3=(x+13)2(x+1)^{2/3}=\left(\sqrt[3]{x+1}\right)^2, which is never negative. Note also that limx1f(x)=\ds\lim_{x \to -1}f'(x)=\infty, so f(x)f(x) has a vertical tangent line at x=1x=-1.

    xx(,2)(-\infty,-2)2-2(2,1)(-2,-1)1-1(1,0)(-1,0)0(0,)(0,\infty)
    f(x)f'(x)negative0positiveDNEpositiveDNEnegative
    f(x)f(x)decreasingl. minincreasingverticalincreasingVAdecreasing

    This gives us enough information to sketch a skeleton of the curve.

    Figure from prob_s3.6.6, line 18

    Figure from prob_s3.6.6, line 18

  • Concavity:

    f(x)=4x2+16x+109x8/3(x+1)5/3f''(x)=\dfrac{4x^2+16x+10}{9x^{8/3}(x+1)^{5/3}}

    We still have a discontinuity at x=0x=0, and f(x)f''(x) does not exist at x=1x=-1. The second derivative is zero when 4x2+16x+10=04x^2+16x+10=0. Using the quadratic formula, we find this occurs when x=2±1.50.8,3.2x=-2\pm\sqrt{1.5} \approx -0.8,-3.2. Note x8/3=(x3)8x^{8/3}=\left(\sqrt[3]{x}\right)^8 is never negative.

    xx(,21.5)\left(-\infty,-2-\sqrt{1.5}\right)21.5-2-\sqrt{1.5}(21.5,1)(-2-\sqrt{1.5},-1)1-1
    f(x)f''(x)negative0positiveDNE
    f(x)f(x)concave downIPconcave upIP
    xx(1,2+1.5)(-1,-2+\sqrt{1.5})2+1.5-2+\sqrt{1.5}(2+1.5,0)(-2+\sqrt{1.5},0)(0,)(0,\infty)
    f(x)f''(x)negative0positivepositive
    f(x)f(x)concave downIPconcave upconcave up

    Now, we can refine our skeleton. The closed dot is the local minimum, and the square marks are inflection points.

    Figure from prob_s3.6.6, line 29

    Figure from prob_s3.6.6, line 29

Stage 3 · Application

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)=2limx+f(x)=0f(x)=K(2xx2)exf(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 limxf(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 limxf(x)\displaystyle\lim_{x \rightarrow - \infty}f'(x) to determine limxf(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<22x<2-\sqrt{2} and x>2+2x>2+\sqrt{2}, concave down for 22<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

The parts of the question are just scaffolding to lead you through sketching the curve. Their answers are given explicitly, in an organized manner, in the “answers" section. In this solution, they are scattered throughout.

  • Asymptotes:

    Since the function has a derivative at every real number, the function is continuous for every real number, so it has no vertical asymptotes. In the problem statement, you are told limxf(x)=0\ds\lim_{x \to \infty} f(x)=0, so y=0y=0 is a horizontal asymptote as xx goes to infinity. It remains to evaluate limxf(x)\ds\lim_{x \to -\infty} f(x). Let's consider the limit of f(x)f'(x) instead. Recall KK is a positive constant.

    limxex=limxex=limxK(2xx2)=\begin{align*}&\lim_{x \to -\infty}e^{-x}=\lim_{x \to \infty}e^x=\infty\\ &\lim_{x \to -\infty}K(2x-x^2)=-\infty\end{align*}

    So,

    limxK(2xx2)ex=\begin{align*}&\lim_{x \to -\infty} K(2x-x^2)e^{-x}=-\infty\end{align*}

    That is, as xx becomes a hugely negative number, f(x)f'(x) also becomes a hugely negative number. As we move left along the xx-axis, f(x)f(x) is decreasing with a steeper and steeper slope, as in the sketch below. That means limxf(x)=\ds\lim_{x \to -\infty}f(x)=\infty.

    Figure from prob_s3.6.6, line 1

    Figure from prob_s3.6.6, line 1

  • Intervals of increase and decrease:

    We are given f(x)f'(x) (although we don't know f(x)f(x)):

    f(x)=Kx(2x)exf'(x)=Kx(2-x)e^{-x}

    The critical points of f(x)f(x) are x=0x=0 and x=2x=2, and there are no singular points. Recall exe^{-x} is always positive, and KK is a positive constant.

    xx(,0)(-\infty,0)0(0,2)(0,2)2(2,)(2,\infty)
    f(x)f'(x)negative0positive0negative
    f(x)f(x)decreasinglocal minincreasinglocal maxdecreasing

    So, f(0)=0f(0)=0 is a local minimum, and f(2)=2f(2)=2 is a local maximum.

    Looking ahead to part (d), we have a skeleton of the curve.

    Figure from prob_s3.6.6, line 19

    Figure from prob_s3.6.6, line 19

  • Concavity:

    Since we're given f(x)f'(x), we can find f(x)f''(x).

    f(x)=K(22x2x+x2)ex=K(24x+x2)ex=K(x22)(x2+2)ex\begin{align*} f''(x)&=K(2-2x-2x+x^2)e^{-x}\\ &=K(2-4x+x^2)e^{-x}\\ &=K\big(x-2-\sqrt{2}\big)\big(x-2+\sqrt{2}\big)e^{-x} \end{align*}

    where the last line can be found using the quadratic equation. So, f(x)=0f''(x)=0 for x=2±2x=2\pm\sqrt{2}, and f(x)f''(x) exists everywhere.

    xx(,22)(-\infty,2-\sqrt{2})222-\sqrt{2}(22,2+2)(2-\sqrt{2},2+\sqrt{2})2+22+\sqrt 2(2+2,)(2+\sqrt 2,\infty)
    f(x)f'(x)positive0negative0positive
    f(x)f(x)concave upIPconcave downIPconcave up

    Now, we can add concavity to our sketch.

    Figure from prob_s3.6.6, line 24

    Figure from prob_s3.6.6, line 24

Q12Stage 3Past exam · 2010H

Let f(x)=exf(x) = e^{-x} , x0x \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)=f1(x)y = g (x)=f^{-1}(x).

  3. Find the domain and range of the inverse function g(x)=f1(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 x0x \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

(a) You should be familiar with the graph of y=exy=e^x. You can construct the graph of y=exy=e^{-x} just by reflecting the graph of y=exy=e^x across the yy–axis. To see why this is the case, imagine swapping each value of xx with its negative: for example, swapping the point at x=1x = -1 with the point at x=1x = 1, etc. Alternatively, you can graph y=f(x)=exy=f(x)=e^{-x}, x0x\ge 0, using the methods of this section: at x=0x=0, y=f(0)=1y=f(0)=1; as xx increases, y=f(x)=exy=f(x)=e^{-x} decreases, with no local extrema; and as x+x\rightarrow+\infty, y=f(x)0y=f(x)\rightarrow 0.

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

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

(b)

Recall that, to graph the inverse of a function, we reflect the original function across the line y=xy=x. To see why this is true, consider the following. By definition, the inverse function gg of ff is obtained by solving y=f(x)y=f(x) for xx as a function of yy. So, for any pair of numbers xx and yy, we have

f(x)=y if and only g(y)=x\begin{equation*} f(x) = y\text{ if and only }g(y) = x \end{equation*}

That is, gg is the function that swaps the input and output of ff. Now the point (x,y)(x,y) lies on the graph of ff if and only if y=f(x)y=f(x). Similarly, the point (X,Y)(X,Y) lies on the graph of gg if and only if Y=g(X)Y=g(X). Choosing Y=xY=x and X=yX=y, we see that the point (X,Y)=(y,x)(X,Y)=(y,x) lies on the graph of gg if and only if x=g(y)x=g(y), which in turn is the case if and only if y=f(x)y=f(x). So

(y,x) is on the graph of g if and only if (x,y) is on the graph of f.\begin{equation*} (y,x)\text{ is on the graph of }g\text{ if and only if }(x,y)\text{ is on the graph of }f\text{.} \end{equation*}

To get from the point (x,y)(x,y) to the point (y,x)(y,x) we have to exchange xyx \leftrightarrow y, which we can do by reflecting over the line y=xy=x. Thus we can construct the graph of gg by reflecting the curve y=f(x)y = f(x) over the line y=xy = x.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

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

(d) Since gg and ff are inverses,

g(f(x))=x\begin{align*}g(f(x))&=x\end{align*}

Using the chain rule,

g(f(x))f(x)=1\begin{align*}g'(f(x))\cdot f'(x)&=1\end{align*}

Since f(x)=ex=f(x)f'(x)=-e^{-x}=-f(x):

g(f(x))f(x)=1\begin{align*}g'(f(x))\cdot f(x)&=-1\end{align*}

We plug in f(x)=12f(x)=\frac{1}{2}.

g(12)12=1g(12)=2\begin{align*}g'\left(\frac{1}{2}\right)\cdot \frac{1}{2}&=-1\\ g'\left(\frac{1}{2}\right)&=-2\end{align*}
Q13Stage 3Past exam · 2011H
  1. Sketch the graph of y=f(x)=x5xy=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)=x5x+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 x5x+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

(a) First, we differentiate.

f(x)=x5xf(x)=5x41f(x)=20x3f(x) = x^5-x\qquad f'(x)=5x^4-1\qquad f''(x)=20x^3\qquad

The function and its first derivative tells us the following:

  • limxf(x)=\ds\lim_{x \to \infty} f(x)=\infty, limxf(x)=\ds\lim_{x \to -\infty} f(x)=-\infty

  • f(x)>0f'(x)> 0 (i.e. ff is increasing) for x>154|x|> \dfrac{1}{\sqrt[4]{5}}

  • f(x)=0f'(x)=0 (i.e. ff has critical points) for x=±154±0.67x= \pm\dfrac{1}{\sqrt[4]{5}} \approx \pm 0.67

  • f(x)<0f'(x)< 0 (i.e. ff is decreasing) for x<154|x| < \dfrac{1}{\sqrt[4]{5}}

  • f(±154)=45540.53f\left(\pm\dfrac{1}{\sqrt[4]{5}}\right)=\mp\dfrac{4}{5\sqrt[4]{5}}\approx\mp0.53

This gives us a first idea of the shape of the graph.

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

We refine this skeleton using information from the second derivative.

  • f(x)>0f''(x)> 0 (i.e. ff is concave up) for x>0x> 0,

  • f(x)=0f''(x)=0 (i.e. ff has an inflection point) for x=0x=0, and

  • f(x)<0f''(x)< 0 (i.e. ff is concave down) for x<0x<0

Thus

  • ff has no asymptotes

  • ff has a local maximum at x=154x=-\dfrac{1}{\sqrt[4]{5}} and a local minimum at x=154x=\dfrac{1}{\sqrt[4]{5}}

  • ff has an inflection point at x=0x=0

  • ff is concave down for x<0x<0 and concave up for x>0x>0

Figure from prob_s3.6.6, line 1

Figure from prob_s3.6.6, line 1

(b) The function x5x+kx^5-x+k has a root at x=x0x=x_0 if and only if x5x=kx^5-x=-k at x=x0x=x_0. So the number of distinct real roots of x5x+kx^5-x+k is the number of times the curve y=x5xy=x^5-x crosses the horizontal line y=ky=-k. The local maximum of x5xx^5-x (when x=154x=-\dfrac{1}{\sqrt[4]{5}}) is 4554\dfrac{4}{5\sqrt[4]{5}}, and the local minimum of x5xx^5-x (when x=154x=\dfrac{1}{\sqrt[4]{5}}) is 4554-\dfrac{4}{5\sqrt[4]{5}}. So, looking at the graph of x5xx^5-x above, we see that the number of distinct real roots of x5x+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}}

Q14Stage 3Past exam · 2012H

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

sinh(x)=exex2cosh(x)=ex+ex2\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)cosh2(x)sinh2(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 sinh1(x)\sinh^{-1}(x) and cosh1(x)\cosh^{-1}(x), carefully specifing their domains of definition. Sketch the graphs of sinh1(x)\sinh^{-1}(x) and cosh1(x)\cosh^{-1}(x).

  3. Find ddx{cosh1(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)=cosh1(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 cosh2(y)sinh2(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 sinh1(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 cosh1(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{cosh1(x)}=1x21\ds\diff{}{x}\{\cosh^{-1}(x)\}=\dfrac{1}{\sqrt{x^2-1}}

Full solution

(a) You might not be familiar with hyperbolic sine and cosine, but you don't need to be. We can graph them using the same methods as the other curves in this section. The derivatives are given to us:

ddx{sinhx}=coshx=ex+ex2ddx{coshx}=sinhx=exex2\diff{}{x}\{\sinh x\}=\cosh x =\frac{e^x+e^{-x}}{2}\qquad\diff{}{x}\{\cosh x\}=\sinh x = \frac{e^x-e^{-x}}{2}
(ddx)2{sinhx}=sinhx=exex2(ddx)2{coshx}=coshx=ex+ex2\left(\diff{}{x}\right)^2\{\sinh x\}=\sinh x =\frac{e^x-e^{-x}}{2}\qquad \left(\diff{}{x}\right)^2\{\cosh x\}=\cosh x = \frac{e^x+e^{-x}}{2}

Observe that:

  • sinh(x)\sinh(x) has a derivative that is always positive, so sinh(x)\sinh(x) is always increasing. The second derivative of sinh(x)\sinh(x) is negative to the left of x=0x=0 and positive to the right of x=0x=0, so sinh(x)\sinh(x) is concave down to the left of the yy-axis and concave up to its right, with an inflection point at x=0x=0.

  • cosh(x)\cosh(x) has a derivative that is positive when x>0x>0 and negative when x<0x<0. The second derivative of cosh(x)\cosh(x) is always positive, so it is always concave up.

  • cosh(0)=1\cosh(0)=1 and sinh(0)=0\sinh(0)=0.

  • $\ds\lim_{x\rightarrow\infty}\sinh x = \ds\lim_{x\rightarrow\infty}\cosh x =\ds\lim_{x\rightarrow\infty}\frac{e^x}{2}=\infty,since, since \ds\lim_{x \to \infty}e^{-x}=0$

  • $\ds\lim_{x \to -\infty}\sinh x =\ds\lim_{x \to -\infty}\left(\frac{e^x}{2}-\frac{e^{-x}}{2}\right) =\ds\lim_{x \to \infty}\left(\frac{e^{-x}}{2}-\frac{e^x}{2}\right)=-\infty$ and
    $\ds\lim_{x \to -\infty}\cosh x =\ds\lim_{x \to -\infty}\left(\frac{e^x}{2}+\frac{e^{-x}}{2}\right) =\ds\lim_{x \to \infty}\left(\frac{e^{-x}}{2}+\frac{e^x}{2}\right)=\infty$

  • cosh(x)\cosh(x) is even, since cosh(x)=ex+e(x)2=ex+ex2=cosh(x)\cosh(-x)=\dfrac{e^{-x}+e^{-(-x)}}{2}=\dfrac{e^{-x}+e^x}{2}=\cosh (x), and
    sinh(x)\sinh (x) is odd, since sinh(x)=exe(x)2=exex2=(exex)2=sinh(x)\sinh(-x)=\dfrac{e^{-x}-e^{-(-x)}}{2}=\dfrac{e^{-x}-e^x}{2}=\dfrac{-\left(e^x-e^{-x}\right)}{2}=-\sinh(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

(b)

  • As yy runs over (,)(-\infty,\infty) the function sinh(y)\sinh(y) takes every real value exactly once. So, for each x(,)x\in(-\infty,\infty), define sinh1(x)\sinh^{-1}(x) to be the unique solution of sinh(y)=x\sinh(y)=x.

  • As yy runs over [0,)[0,\infty) the function cosh(y)\cosh(y) takes every real value in [1,)[1,\infty) exactly once. In particular, the smallest value of cosh(y)\cosh(y) is cosh(0)=1\cosh(0)=1. So, for each x[1,)x\in[1,\infty), define cosh1(x)\cosh^{-1}(x) to be the unique y[0,)y\in[0,\infty) that obeys cosh(y)=x\cosh(y)=x.

To graph the inverse of a (one-to-one) function, we reflect the original function over the line y=xy=x. Using this method to graph y=sinh1(x)y=\sinh^{-1}(x) is straightforward. To graph y=cosh(x)y=\cosh(x), we need to be careful of the domains: we are restricting cosh(x)\cosh(x) to values of xx in [0,)[0,\infty). The graphs are

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 2

Figure from prob_s3.6.6, line 11

Figure from prob_s3.6.6, line 11

Figure from prob_s3.6.6, line 17

Figure from prob_s3.6.6, line 17

Figure from prob_s3.6.6, line 26

Figure from prob_s3.6.6, line 26

(c) Let y(x)=cosh1(x)y(x)= \cosh^{-1}(x). Then, using the definition of cosh1\cosh^{-1},

coshy(x)=x\begin{align*}\cosh y(x)&=x\end{align*}

We differentiate with respect to xx using the chain rule.

ddx{coshy(x)}=ddx{x}y(x)sinhy(x)=1\begin{align*}\diff{}{x}\left\{\cosh y(x)\right\}&=\diff{}{x}\{x\}\\ y'(x) \sinh y(x)&=1\end{align*}

We solve for y(x)y'(x).

y(x)=1sinhy(x)\begin{align*}y'(x) &=\dfrac{1}{\sinh y(x)}\end{align*}

We want to have our answer in terms of xx, not yy. We know that coshy=x\cosh y=x, so if we can convert hyperbolic sine into hyperbolic cosine, we can get rid of yy. Our tool for this is the identity, given in the question statement, cosh2(x)sinh2(x)=1\cosh^2(x)-\sinh^2(x)=1. This tells us sinh2(y)=1cosh2(y)\sinh^2(y)=1-\cosh^2(y). Now we have to decide whether sinh(y)\sinh(y) is the positive or negative square root of 1cosh2(y)1-\cosh^2(y) in our context. Looking at the graph of y(x)=cosh1(x)y(x)=\cosh^{-1}(x), we see y(x)>0y'(x)>0. So we use the positive square root:

y(x)=1cosh2y(x)1=1x21\begin{align*}y'(x) & =\dfrac{1}{\sqrt{\cosh^2 y(x)-1}} =\dfrac{1}{\sqrt{x^2-1}}\end{align*}

Remark: ddx{arccos(x)}=11x2\ds\diff{}{x}\left\{\arccos(x)\right\}=\dfrac{-1}{\sqrt{1-x^2}}, so again the hyperbolic trigonometric function has properties similar to (but not exactly the same as) its trigonometric counterpart.

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.