Differential Calculus 201-SN2-RE • CEGEP, Montreal

Corrected exercises: function analysis and curve sketching (201-SN2-RE)

This is the corrected exercise set on complete function analysis for Differential Calculus, 201-SN2-RE (formerly 201-NYA), the most heavily weighted question of the final exam: domain and symmetry, vertical, horizontal and oblique asymptotes, increasing and decreasing behaviour and extrema by the first derivative test, concavity and inflection points by the second derivative, variation table and sketch. Exercises 0.1 and 0.2 open the set with the two mechanical moves, to compute directly as in textbook drill lists: ten functions whose asymptotes you find, from the hole of x2−4x2+x−6\frac{x^{2}-4}{x^{2}+x-6} to the two horizontal asymptotes of 3x−14x2+5\frac{3x-1}{\sqrt{4x^{2}+5}}, then ten functions whose critical numbers and inflection points you find, up to 2sin⁡x+cos⁡(2x)2\sin x+\cos(2x).

It is written for CEGEP students in the Science program (Sciences de la nature) taking Differential Calculus.

By the end of the set, you can find every asymptote, the oblique one by polynomial long division (exercise 1), classify extrema and recognize when the second derivative test is inconclusive (exercise 2), shrink the interval of study using parity and periodicity (exercise 4), carry out the complete analysis of an exponential function (exercise 5), of a rational function (exercise 6), of a function with a radical whose extrema sit at the endpoints (exercise 7) and of a logarithmic function (exercise 9), rebuild ff by reading only the graph of f′f' (exercise 8) and recover the parameters of a function from its asymptotes (exercise 10). Part C adds the corner of a function with an absolute value (exercise 11), the two oblique asymptotes of x−2arctan⁡xx-2\arctan x (exercise 12), a trigonometric analysis (exercise 13), the Lennard-Jones potential between two atoms (exercise 14) and the speed distribution in a gas (exercise 15).

Function analysis is the exercise where students lose the most marks through disorder rather than ignorance. The procedure is always the same and must be followed in order: each step uses the result of the previous one, and skipping the domain makes you miss every vertical asymptote. The solutions deal with the classic pitfalls: x4x^{4}, whose second derivative vanishes without an inflection point (exercises 2 and 3), the curve that crosses its horizontal asymptote (exercise 1), and the minimum of f′f' taken for a minimum of ff (exercise 8). A clean variation table is often worth more marks than the sketch itself.

17 corrected exercises • 170 points • 225 minutes

This chapter is part of 201-SN2-RE, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.

Course recap

  • • Order of the analysis: 1) domain; 2) symmetry (even if f(−x)=f(x)f(-x)=f(x), odd if f(−x)=−f(x)f(-x)=-f(x)); 3) intercepts; 4) asymptotes; 5) f′f' for increasing and decreasing behaviour and extrema; 6) f′′f'' for concavity and inflection points; 7) variation table; 8) sketch.
  • • VERTICAL asymptote at x=ax=a: lim⁡x→af(x)=±∞\lim_{x\to a}f(x)=\pm\infty. Look for it at the values excluded from the domain (a denominator equal to zero, after checking that the factor does not cancel).
  • • HORIZONTAL asymptote: lim⁡x→±∞f(x)=L\lim_{x\to\pm\infty}f(x)=L gives y=Ly=L. A curve CAN cross its horizontal asymptote.
  • • OBLIQUE asymptote y=mx+by=mx+b: a rational function has one when the degree of the numerator exceeds that of the denominator by EXACTLY 1. It is found by polynomial long division: the quotient is the asymptote, the remainder tends to zero.
  • • Critical number: f′(c)=0f'(c)=0 or f′(c)f'(c) does not exist, with cc IN the domain. First derivative test: f′f' changing from ++ to −- gives a maximum, from −- to ++ a minimum, and no sign change gives no extremum.
  • • Concavity: f′′>0f''>0 gives a curve that is concave up, f′′<0f''<0 concave down. INFLECTION POINT: where f′′f'' CHANGES SIGN, and where ff is defined. f′′(c)=0f''(c)=0 is not enough, as x4x^{4} at 0 shows.
  • • Second derivative test: if f′(c)=0f'(c)=0 and f′′(c)>0f''(c)>0, local minimum; if f′′(c)<0f''(c)<0, local maximum; if f′′(c)=0f''(c)=0, the test is INCONCLUSIVE and you must go back to the first derivative test.

Calculations: asymptotes to find

Exercise 0.1: Finding asymptotes: ten direct calculations

For each function, find the asymptotes asked for, without analysing the rest of the function. Depending on the line, give the value aa of a vertical asymptote x=ax=a, the value LL of a horizontal asymptote y=Ly=L, or the slope mm and the yy-intercept bb of an oblique asymptote y=mx+by=mx+b.

Always in the same order: the domain first, and at each excluded value check that the numerator does not vanish too, otherwise it is a hole; then the limit at +∞+\infty and at −∞-\infty, SEPARATELY, which gives the horizontal asymptote; finally, if the degree of the numerator exceeds that of the denominator by exactly 11, polynomial long division, whose quotient is the oblique asymptote.

  • a) f(x)=3x−1x+2f(x)=\frac{3x-1}{x+2}: the vertical asymptote and the horizontal asymptote.
  • b) f(x)=x+4x2−2x−15f(x)=\frac{x+4}{x^{2}-2x-15}: the two vertical asymptotes.
  • c) f(x)=x2−4x2+x−6f(x)=\frac{x^{2}-4}{x^{2}+x-6}: what the curve does at x=2x=2, then the only vertical asymptote.
  • d) f(x)=2x2−3x+4x+1f(x)=\frac{2x^{2}-3x+4}{x+1}: the oblique asymptote.
  • e) f(x)=x3−2x2+5x2+1f(x)=\frac{x^{3}-2x^{2}+5}{x^{2}+1}: the oblique asymptote.
  • f) f(x)=x3+1x−2f(x)=\frac{x^{3}+1}{x-2}: the behaviour at infinity, then the vertical asymptote.
  • g) f(x)=3x−14x2+5f(x)=\frac{3x-1}{\sqrt{4x^{2}+5}}: the horizontal asymptote at +∞+\infty, then the one at −∞-\infty.
  • h) f(x)=4−3e−2xf(x)=4-3e^{-2x}: the horizontal asymptote, then the side on which it exists.
  • i) f(x)=1−ln⁡(x+4)f(x)=1-\ln(x+4): the vertical asymptote, then the right-hand limit at that point.
  • j) f(x)=x2+3+exf(x)=\frac{x}{2}+3+e^{x}: the oblique asymptote.

Type your answers, the page tells you right or wrong 0/20

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) x=−2x=-2; y=3y=3
  • b) x=−3x=-3 and x=5x=5 (and y=0y=0)
  • c) hole at x=2x=2; x=−3x=-3 (and y=1y=1)
  • d) f(x)=2x−5+9x+1f(x)=2x-5+\frac{9}{x+1}; y=2x−5y=2x-5
  • e) f(x)=x−2+7−xx2+1f(x)=x-2+\frac{7-x}{x^{2}+1}; y=x−2y=x-2
  • f) no horizontal or oblique asymptote; x=2x=2
  • g) y=32y=\frac{3}{2} at +∞+\infty; y=−32y=-\frac{3}{2} at −∞-\infty
  • h) y=4y=4; at +∞+\infty only
  • i) x=−4x=-4; lim⁡x→−4+f(x)=+∞\lim_{x\to-4^{+}}f(x)=+\infty
  • j) y=x2+3y=\frac{x}{2}+3; at −∞-\infty only

The move that decides everything: handle +∞+\infty and −∞-\infty SEPARATELY, and each excluded value SEPARATELY. A rational function has the same asymptote on both sides, but a radical, an exponential or a logarithm often has only one, or two different ones; and a zero of the denominator that also cancels the numerator gives a hole, not an asymptote.

a)

Domain R∖{−2}\mathbb{R}\setminus\{-2\}, and at x=−2x=-2 the numerator equals −7≠0-7\neq 0: vertical asymptote x=−2x=-2. Equal degrees: lim⁡x→±∞f(x)=31\lim_{x\to\pm\infty}f(x)=\frac{3}{1}, horizontal asymptote y=3y=3, the ratio of the leading coefficients.

b)

x2−2x−15=(x+3)(x−5)x^{2}-2x-15=(x+3)(x-5); at x=−3x=-3 the numerator equals 11, at x=5x=5 it equals 99: two vertical asymptotes, x=−3x=-3 and x=5x=5. Since the degree of the numerator is lower, the horizontal asymptote is y=0y=0. Pitfall: looking for the zeros of the NUMERATOR, x=−4x=-4, which give a zero of ff and not an asymptote.

c)

f(x)=(x−2)(x+2)(x−2)(x+3)=x+2x+3f(x)=\frac{(x-2)(x+2)}{(x-2)(x+3)}=\frac{x+2}{x+3} for x≠2x\neq 2. At x=2x=2, the factor cancels: the curve has a HOLE at the point (2,45)\left(2, \frac{4}{5}\right), not an asymptote. Only x=−3x=-3 is a vertical asymptote; the horizontal one is y=1y=1. Pitfall: declaring x=2x=2 an asymptote because the denominator vanishes there.

d)

Long division: 2x2−3x+4=(x+1)(2x−5)+92x^{2}-3x+4=(x+1)(2x-5)+9, so f(x)=2x−5+9x+1f(x)=2x-5+\frac{9}{x+1}. The remainder tends to 00: oblique asymptote y=2x−5y=2x-5, with m=2m=2 and b=−5b=-5 (and vertical asymptote x=−1x=-1). Pitfall: stopping at 2x2x, the first term of the quotient.

e)

Division by x2+1x^{2}+1: x3−2x2+5=(x2+1)(x−2)+(−x+7)x^{3}-2x^{2}+5=(x^{2}+1)(x-2)+(-x+7), so f(x)=x−2+−x+7x2+1f(x)=x-2+\frac{-x+7}{x^{2}+1}. The remainder is degree 11 over degree 22: it tends to 00. Oblique asymptote y=x−2y=x-2, m=1m=1, b=−2b=-2, and no vertical asymptote since x2+1x^{2}+1 never vanishes.

f)

The numerator exceeds the denominator by TWO degrees: f(x)=x2+2x+4+9x−2f(x)=x^{2}+2x+4+\frac{9}{x-2}, which behaves like a parabola. No horizontal or oblique asymptote. At x=2x=2 the numerator equals 9≠09\neq 0: vertical asymptote x=2x=2. Pitfall: taking the quotient x2+2x+4x^{2}+2x+4 for an oblique asymptote, when an oblique asymptote is a LINE.

g)

For x≠0x\neq 0, 4x2+5=∣x∣4+5x2\sqrt{4x^{2}+5}=|x|\sqrt{4+\frac{5}{x^{2}}}. At +∞+\infty, ∣x∣=x|x|=x and f(x)=3−1x4+5x2→32f(x)=\frac{3-\frac{1}{x}}{\sqrt{4+\frac{5}{x^{2}}}}\to\frac{3}{2}. At −∞-\infty, ∣x∣=−x|x|=-x and f(x)→−32f(x)\to-\frac{3}{2}. Two horizontal asymptotes, y=32y=\frac{3}{2} and y=−32y=-\frac{3}{2}. Pitfall: writing x2=x\sqrt{x^{2}}=x on both sides.

h)

At +∞+\infty, e−2x→0e^{-2x}\to 0 and f(x)→4f(x)\to 4: horizontal asymptote y=4y=4. At −∞-\infty, e−2x→+∞e^{-2x}\to+\infty and f(x)→−∞f(x)\to-\infty: nothing on that side. Domain R\mathbb{R}, no vertical asymptote. The asymptote therefore exists at +∞+\infty only.

i)

Domain: x+4>0x+4>0, that is x>−4x>-4. As x→−4+x\to-4^{+}, x+4→0+x+4\to 0^{+}, ln⁡(x+4)→−∞\ln(x+4)\to-\infty, so f(x)=1−ln⁡(x+4)→+∞f(x)=1-\ln(x+4)\to+\infty. Vertical asymptote x=−4x=-4, with the curve going UP. Pitfall: the minus sign in front of the logarithm flips the limit.

j)

At −∞-\infty, ex→0e^{x}\to 0, so f(x)−(x2+3)=ex→0f(x)-\left(\frac{x}{2}+3\right)=e^{x}\to 0: oblique asymptote y=x2+3y=\frac{x}{2}+3, with m=12m=\frac{1}{2} and b=3b=3, at −∞-\infty only. At +∞+\infty, the gap exe^{x} blows up: no asymptote on that side. Pitfall: looking for it at +∞+\infty out of habit.

Check: for a vertical asymptote, ff evaluated 0.0010.001 away from the excluded value must be huge in absolute value (for line c, f(2.001)≈0.8f(2.001)\approx 0.8, so there is no asymptote there); for a horizontal or oblique asymptote, the gap f(x)−(mx+b)f(x)-(mx+b) at x=±1000x=\pm 1000 must be close to 00, on the side claimed.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Calculations: critical numbers and inflection points

Exercise 0.2: Finding critical numbers and inflection points: ten direct calculations

For each function, compute f′f' and f′′f'', solve f′(x)=0f'(x)=0 and f′′(x)=0f''(x)=0, then give the values asked for on the line: a critical number, the value of an extremum, the xx-coordinate of an inflection point, or how many there are. No complete table and no sketch.

Three moves, in this order: factor f′f' to read off its zeros, without forgetting the points of the domain where f′f' does not exist; factor f′′f'' the same way; then, at each zero of f′′f'', check that f′′f'' CHANGES SIGN, otherwise there is no inflection point. The nature of an extremum is read from the sign of f′′f'' at the critical number.

  • a) f(x)=3x2−12x+7f(x)=3x^{2}-12x+7: the critical number and the value of the extremum.
  • b) f(x)=2x3+3x2−12xf(x)=2x^{3}+3x^{2}-12x: the xx-coordinate of the local maximum, then that of the inflection point.
  • c) f(x)=x3+3x2+6x−2f(x)=x^{3}+3x^{2}+6x-2: the number of critical numbers, then the xx-coordinate of the inflection point.
  • d) f(x)=x4−8x2+3f(x)=x^{4}-8x^{2}+3: the number of critical numbers, then the positive xx-coordinate of an inflection point.
  • e) f(x)=x4−4x3+6x2f(x)=x^{4}-4x^{3}+6x^{2}: the only critical number, then the question: is (1,f(1))(1, f(1)) an inflection point?
  • f) f(x)=x+9xf(x)=x+\frac{9}{x}: the positive critical number, then the number of inflection points.
  • g) f(x)=6x2+3f(x)=\frac{6}{x^{2}+3}: the value of the maximum, then the positive xx-coordinate of an inflection point.
  • h) f(x)=x (x−3)f(x)=\sqrt{x}\,(x-3): the number of critical numbers, then the value of the minimum.
  • i) f(x)=x2exf(x)=x^{2}e^{x}: the negative critical number, then the xx-coordinate of the inflection point closest to 00.
  • j) f(x)=2sin⁡x+cos⁡(2x)f(x)=2\sin x+\cos(2x) on [0,2π][0, 2\pi]: the number of critical numbers, then the maximum value of ff.

Type your answers, the page tells you right or wrong 0/20

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) f′(x)=6x−12f'(x)=6x-12; critical number 22, minimum −5-5
  • b) f′(x)=6(x+2)(x−1)f'(x)=6(x+2)(x-1), f′′(x)=12x+6f''(x)=12x+6; maximum at −2-2, inflection point at −12-\frac{1}{2}
  • c) f′(x)=3((x+1)2+1)>0f'(x)=3\left((x+1)^{2}+1\right)>0; no critical number, inflection point at −1-1
  • d) f′(x)=4x(x−2)(x+2)f'(x)=4x(x-2)(x+2); three critical numbers, inflection point at 23≈1.155\frac{2}{\sqrt{3}}\approx 1.155
  • e) f′′(x)=12(x−1)2f''(x)=12(x-1)^{2}; critical number 00, no inflection point at 11
  • f) f′(x)=(x−3)(x+3)x2f'(x)=\frac{(x-3)(x+3)}{x^{2}}, f′′(x)=18x3f''(x)=\frac{18}{x^{3}}; critical number 33, no inflection point
  • g) f′′(x)=36(x2−1)(x2+3)3f''(x)=\frac{36(x^{2}-1)}{(x^{2}+3)^{3}}; maximum 22, inflection point at 11
  • h) f′(x)=3(x−1)2xf'(x)=\frac{3(x-1)}{2\sqrt{x}}; two critical numbers (00 and 11), minimum −2-2
  • i) f′(x)=x(x+2)exf'(x)=x(x+2)e^{x}; critical number −2-2, inflection point at −2+2≈−0.586-2+\sqrt{2}\approx-0.586
  • j) f′(x)=2cos⁡x (1−2sin⁡x)f'(x)=2\cos x\,(1-2\sin x); four critical numbers, maximum 32\frac{3}{2}

The move that decides everything: FACTOR f′f' and f′′f'' instead of expanding them. A common factor taken out, xx, exe^{x} or cos⁡x\cos x, is a zero you can no longer lose; and a squared factor, such as (x−1)2(x-1)^{2}, tells you in advance that the sign does not change.

a)

f′(x)=6x−12f'(x)=6x-12, zero at x=2x=2; f′′(x)=6>0f''(x)=6>0, so a minimum, with value f(2)=12−24+7=−5f(2)=12-24+7=-5.

b)

f′(x)=6x2+6x−12=6(x+2)(x−1)f'(x)=6x^{2}+6x-12=6(x+2)(x-1): critical numbers −2-2 and 11. f′′(x)=12x+6f''(x)=12x+6: f′′(−2)=−18<0f''(-2)=-18<0, local maximum at x=−2x=-2; f′′(1)=18>0f''(1)=18>0, minimum at x=1x=1. f′′f'' vanishes and changes sign at x=−12x=-\frac{1}{2}: inflection point. Pitfall: taking the first zero found for the maximum without looking at the sign of f′′f''.

c)

f′(x)=3x2+6x+6=3((x+1)2+1)>0f'(x)=3x^{2}+6x+6=3\left((x+1)^{2}+1\right)>0: discriminant 36−72<036-72<0, NO critical number, the function is strictly increasing. f′′(x)=6x+6f''(x)=6x+6 changes sign at x=−1x=-1: inflection point. Pitfall: believing that a cubic always has two critical numbers.

d)

f′(x)=4x3−16x=4x(x−2)(x+2)f'(x)=4x^{3}-16x=4x(x-2)(x+2): three critical numbers, −2-2, 00 and 22. f′′(x)=12x2−16f''(x)=12x^{2}-16, zero at x=±23x=\pm\frac{2}{\sqrt{3}}, with a sign change: the inflection point on the positive side is at x=23=233≈1.155x=\frac{2}{\sqrt{3}}=\frac{2\sqrt{3}}{3}\approx 1.155. Pitfall: dividing by xx and losing the critical number 00.

e)

f′(x)=4x3−12x2+12x=4x(x2−3x+3)f'(x)=4x^{3}-12x^{2}+12x=4x(x^{2}-3x+3), and x2−3x+3x^{2}-3x+3 has discriminant 9−12<09-12<0: the only critical number is x=0x=0 (a minimum, f(0)=0f(0)=0). f′′(x)=12x2−24x+12=12(x−1)2f''(x)=12x^{2}-24x+12=12(x-1)^{2}: zero at x=1x=1, but POSITIVE on both sides. No sign change, so NO inflection point at x=1x=1; the curve stays concave up everywhere.

f)

Domain R∖{0}\mathbb{R}\setminus\{0\}. f′(x)=1−9x2=(x−3)(x+3)x2f'(x)=1-\frac{9}{x^{2}}=\frac{(x-3)(x+3)}{x^{2}}: critical numbers ±3\pm 3, the positive one being 33 (local minimum, f(3)=6f(3)=6). f′′(x)=18x3f''(x)=\frac{18}{x^{3}} never vanishes; it changes sign at 00, but 00 is not in the domain. No inflection point. Pitfall: counting x=0x=0.

g)

f′(x)=−12x(x2+3)2f'(x)=-\frac{12x}{(x^{2}+3)^{2}}, zero at x=0x=0, positive before and negative after: maximum f(0)=2f(0)=2. f′′(x)=36x2−36(x2+3)3=36(x−1)(x+1)(x2+3)3f''(x)=\frac{36x^{2}-36}{(x^{2}+3)^{3}}=\frac{36(x-1)(x+1)}{(x^{2}+3)^{3}}, which changes sign at ±1\pm 1: inflection points at x=−1x=-1 and x=1x=1. Pitfall: in the derivative of the quotient, forgetting the factor 2⋅2x2\cdot 2x that the chain rule gives on (x2+3)2(x^{2}+3)^{2}.

h)

Domain [0,+∞)[0, +\infty). f(x)=x32−3x12f(x)=x^{\frac{3}{2}}-3x^{\frac{1}{2}}, so f′(x)=32x−32x=3(x−1)2xf'(x)=\frac{3}{2}\sqrt{x}-\frac{3}{2\sqrt{x}}=\frac{3(x-1)}{2\sqrt{x}}. Two critical numbers: x=1x=1, where f′f' vanishes, and x=0x=0, in the domain, where f′f' does not exist. Minimum at x=1x=1: f(1)=1×(−2)=−2f(1)=1\times(-2)=-2. f′′(x)=3(x+1)4xx>0f''(x)=\frac{3(x+1)}{4x\sqrt{x}}>0: no inflection point. Pitfall: forgetting x=0x=0, which is critical because f′f' does not exist there.

i)

f′(x)=2xex+x2ex=x(x+2)exf'(x)=2xe^{x}+x^{2}e^{x}=x(x+2)e^{x}: critical numbers 00 and −2-2, the negative one being −2-2 (local maximum). f′′(x)=(x2+4x+2)exf''(x)=(x^{2}+4x+2)e^{x}, zero at x=−2±2x=-2\pm\sqrt{2} with a sign change. The one closest to 00: x=−2+2≈−0.586x=-2+\sqrt{2}\approx-0.586. Pitfall: looking for a zero of exe^{x}, which has none.

j)

f′(x)=2cos⁡x−2sin⁡(2x)=2cos⁡x−4sin⁡xcos⁡x=2cos⁡x (1−2sin⁡x)f'(x)=2\cos x-2\sin(2x)=2\cos x-4\sin x\cos x=2\cos x\,(1-2\sin x). cos⁡x=0\cos x=0 gives π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, sin⁡x=12\sin x=\frac{1}{2} gives π6\frac{\pi}{6} and 5π6\frac{5\pi}{6}: four critical numbers. Values: f(π6)=f(5π6)=1+12=32f\left(\frac{\pi}{6}\right)=f\left(\frac{5\pi}{6}\right)=1+\frac{1}{2}=\frac{3}{2}, f(π2)=1f\left(\frac{\pi}{2}\right)=1, f(3π2)=−3f\left(\frac{3\pi}{2}\right)=-3, and at the endpoints f(0)=f(2π)=1f(0)=f(2\pi)=1. Maximum 32\frac{3}{2}. Pitfall: dividing by cos⁡x\cos x and keeping only the two solutions of sin⁡x=12\sin x=\frac{1}{2}.

Check: at each critical number found, the rate f(c+0.001)−f(c−0.001)0.002\frac{f(c+0.001)-f(c-0.001)}{0.002} computed on a calculator must be almost zero (except at x=0x=0 on line h), where f′f' does not exist); at each claimed inflection point, f′′f'' evaluated on either side must change sign, which settles lines e) and f) at once.

Part A: asymptotes, symmetry, increasing and decreasing, concavity (/50)

Exercise 1: The domain and the three types of asymptotes

Asymptotes are looked for in an order dictated by the domain. Skipping that step is the most expensive mistake in the long question of the exam.

  • a) For f(x)=2x2x2−9f(x)=\frac{2x^{2}}{x^{2}-9}, give the domain, then all the vertical and horizontal asymptotes.
  • b) For g(x)=x2+1x−1g(x)=\frac{x^{2}+1}{x-1}, show that there is an oblique asymptote and find it by polynomial long division.
  • c) Under what condition on the degrees does a rational function have a horizontal asymptote, an oblique asymptote, or neither? Illustrate the three cases.
  • d) A student claims that a curve can never cross its asymptote. Refute this with h(x)=2xx2+1h(x)=\frac{2x}{x^{2}+1}, then state in which case the claim is nevertheless true.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
Show the solution

Answers

  • a) D=R∖{−3,3}D=\mathbb{R}\setminus\{-3,3\}; x=±3x=\pm 3; y=2y=2
  • b) g(x)=x+1+2x−1g(x)=x+1+\frac{2}{x-1}: y=x+1y=x+1
  • c) dN<dDd_{N}<d_{D}: y=0y=0; equal: ratio; dD+1d_{D}+1: oblique
  • d) h(0)=0h(0)=0 crosses y=0y=0; a vertical asymptote cannot be crossed
a)

Domain: the denominator x2−9=(x−3)(x+3)x^{2}-9=(x-3)(x+3) vanishes at x=±3x=\pm 3, so Df=R∖{−3,3}D_{f}=\mathbb{R}\setminus\{-3,3\}. These values do not cancel with the numerator 2x22x^{2}, so they really are VERTICAL asymptotes: x=3x=3 and x=−3x=-3. Horizontal asymptote: lim⁡x→±∞2x2x2−9=21=2\lim_{x\to\pm\infty}\frac{2x^{2}}{x^{2}-9}=\frac{2}{1}=2 (equal degrees, ratio of the leading coefficients), so y=2y=2. Checking the behaviour near x=3x=3: on the right the denominator is positive and small, so f→+∞f\to+\infty; on the left it is negative, so f→−∞f\to-\infty. This sign detail is read from the table and it is required on the exam.

b)

The degree of the numerator (2) exceeds that of the denominator (1) by exactly 1: there is therefore an oblique asymptote. Long division: x2+1=(x−1)(x+1)+2x^{2}+1=(x-1)(x+1)+2, hence g(x)=x+1+2x−1g(x)=x+1+\frac{2}{x-1}. Since 2x−1→0\frac{2}{x-1}\to 0 as x→±∞x\to\pm\infty, the curve hugs the line y=x+1y=x+1: it is the oblique asymptote. As a bonus, the remainder gives the SIDE of approach: for x>1x>1 the remainder is positive and the curve lies above the asymptote; for x<1x<1 it is negative and the curve lies below. There is also a vertical asymptote at x=1x=1.

c)

Let dNd_{N} be the degree of the numerator and dDd_{D} that of the denominator. If dN<dDd_{N}<d_{D}: horizontal asymptote y=0y=0, for example 1x2+1\frac{1}{x^{2}+1}. If dN=dDd_{N}=d_{D}: horizontal asymptote y=y= ratio of the leading coefficients, for example 2x2x2−9\frac{2x^{2}}{x^{2}-9} with y=2y=2 as in part a). If dN=dD+1d_{N}=d_{D}+1: OBLIQUE asymptote obtained by division, as in part b). If dN≥dD+2d_{N}\geq d_{D}+2: neither horizontal nor oblique, the curve goes off to infinity following a parabola or a curve of higher degree, for example x3x−1\frac{x^{3}}{x-1}, which behaves like x2+x+1x^{2}+x+1. The criterion is purely a matter of degrees and is checked in three seconds.

d)

Counterexample: h(x)=2xx2+1h(x)=\frac{2x}{x^{2}+1} has the horizontal asymptote y=0y=0 (the degree of the numerator is lower), and yet h(0)=0h(0)=0: the curve CROSSES its asymptote at the origin, before approaching it from above on one side and from below on the other. The claim is therefore false in general: an asymptote describes a behaviour at INFINITY, it imposes nothing at finite distance. It is true, however, for VERTICAL asymptotes, which no curve can cross: the value x=ax=a is excluded from the domain, so the curve has no point with xx-coordinate aa. The distinction is exactly the one between a domain constraint, which is absolute, and a limit constraint, which is only asymptotic.

-4-3-2-1123456-8-44812x = 1y = x + 1

Exercise 2: Increasing and decreasing, extrema and the inconclusive test

The first derivative gives where the function increases and decreases; the second sometimes gives the nature of the extrema. Knowing when the second derivative test fails is part of the course.

  • a) For f(x)=x3−3x2−9x+5f(x)=x^{3}-3x^{2}-9x+5, find the critical numbers, draw up the sign chart of f′f' and classify the extrema.
  • b) Recover the nature of these extrema with the second derivative test. Do the two tests agree?
  • c) For g(x)=x4g(x)=x^{4}, show that the second derivative test is inconclusive at x=0x=0, and still reach a conclusion with the first derivative test.
  • d) Give a function with a critical number that is NOT an extremum. What happens to f′f' then?

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
Show the solution

Answers

  • a) Maximum 1010 at −1-1, minimum −22-22 at 33
  • b) f′′(−1)=−12f''(-1)=-12, f′′(3)=12f''(3)=12: they agree
  • c) g′′(0)=0g''(0)=0: inconclusive; minimum by g′g'
  • d) x3x^{3} at 00: no extremum
a)

f′(x)=3x2−6x−9=3(x2−2x−3)=3(x−3)(x+1)f'(x)=3x^{2}-6x-9=3(x^{2}-2x-3)=3(x-3)(x+1), which vanishes at x=−1x=-1 and x=3x=3. Signs: for x<−1x<-1 both factors are negative, so f′>0f'>0; between −1-1 and 3, (x+1)>0(x+1)>0 and (x−3)<0(x-3)<0, so f′<0f'<0; for x>3x>3, f′>0f'>0. The function increases on (−∞,−1]\left(-\infty, -1\right], decreases on [−1,3]\left[-1, 3\right], increases on [3,+∞)\left[3, +\infty\right). At x=−1x=-1, f′f' changes from ++ to −-: local MAXIMUM, with value f(−1)=−1−3+9+5=10f(-1)=-1-3+9+5=10. At x=3x=3, f′f' changes from −- to ++: local MINIMUM, with value f(3)=27−27−27+5=−22f(3)=27-27-27+5=-22.

b)

f′′(x)=6x−6=6(x−1)f''(x)=6x-6=6(x-1). At x=−1x=-1: f′′(−1)=−12<0f''(-1)=-12<0, so local maximum ✓. At x=3x=3: f′′(3)=12>0f''(3)=12>0, so local minimum ✓. The two tests agree, as they always must when the second one applies. The second derivative test is faster when it works, since it takes a single evaluation instead of a sign study over a whole interval; but it says nothing about the GLOBAL behaviour, which only the sign chart of f′f' provides. On the exam, the table therefore remains mandatory.

c)

g(x)=x4g(x)=x^{4} gives g′(x)=4x3g'(x)=4x^{3}, which vanishes at x=0x=0: it is indeed a critical number. Then g′′(x)=12x2g''(x)=12x^{2}, so g′′(0)=0g''(0)=0: the second derivative test does NOT conclude, it is inconclusive. Go back to the first derivative test: g′(x)=4x3g'(x)=4x^{3} is negative for x<0x<0 and positive for x>0x>0, so g′g' changes from −- to ++ and x=0x=0 is a local MINIMUM (and even an absolute one). The example shows that f′′(c)=0f''(c)=0 allows no conclusion, in either direction: you must then go back down one level.

d)

The standard example is f(x)=x3f(x)=x^{3} at x=0x=0: f′(x)=3x2f'(x)=3x^{2} does vanish at 0, which is therefore a critical number, but f′(x)>0f'(x)>0 on both sides, so f′f' does NOT CHANGE sign. There is neither a maximum nor a minimum: the function keeps increasing, only pausing with a horizontal tangent on the way. The point is, however, an inflection point, since f′′(x)=6xf''(x)=6x changes sign at 0. The conclusion to remember: “critical number” and “extremum” are not synonyms. A critical number is only a CANDIDATE, and it is the sign change of f′f' that decides. Many students lose marks by announcing an extremum as soon as they have set the derivative to zero, without drawing up the sign chart.

Exercise 3: Concavity and inflection points

The second derivative describes the SHAPE of the curve, not whether it rises or falls. Confusing the two is the most widespread conceptual error of the chapter.

  • a) For f(x)=x3−6x2+9xf(x)=x^{3}-6x^{2}+9x, study the concavity and give the inflection point.
  • b) Show that g(x)=x4g(x)=x^{4} has a second derivative equal to zero at 0 WITHOUT having an inflection point there. Which condition is missing?
  • c) Can a function be decreasing and concave up at the same time? Give an explicit example and describe the shape you get.
  • d) For h(x)=1xh(x)=\frac{1}{x}, study the concavity on each interval of the domain. Is there an inflection point at x=0x=0?

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
Show the solution

Answers

  • a) Inflection point (2,2)(2, 2)
  • b) g′′≥0g''\ge 0 with no sign change
  • c) Yes: e−xe^{-x}
  • d) Sign change at 00, outside the domain: no inflection point
a)

f′(x)=3x2−12x+9f'(x)=3x^{2}-12x+9 and f′′(x)=6x−12=6(x−2)f''(x)=6x-12=6(x-2). The second derivative vanishes at x=2x=2, is negative for x<2x<2 (curve concave down) and positive for x>2x>2 (curve concave up). There is therefore a CHANGE of sign at x=2x=2, and ff is defined there: it is an inflection point, with coordinates (2,f(2))=(2,8−24+18)=(2,2)\left(2,f(2)\right)=(2,8-24+18)=(2,2). An inflection point is always given with both coordinates; the xx-coordinate alone is not the complete answer.

b)

g(x)=x4g(x)=x^{4} gives g′′(x)=12x2g''(x)=12x^{2}, which does vanish at x=0x=0. But 12x2≥012x^{2}\geq 0 for EVERY xx: the second derivative touches zero without changing sign, and the curve stays concave up on both sides. There is therefore NO inflection point at 0. The missing condition is precisely the SIGN CHANGE of f′′f'': vanishing alone is not enough. This is the exact parallel of the pitfall in the previous exercise, where f′(c)=0f'(c)=0 did not guarantee an extremum. In both cases, what decides is a change of sign, not a zero.

c)

Yes, the two notions are independent: f′f' governs increasing and decreasing behaviour and f′′f'' governs the shape. Explicit example: f(x)=1xf(x)=\frac{1}{x} on (0,+∞)\left(0, +\infty\right), or more simply f(x)=e−xf(x)=e^{-x} on R\mathbb{R}. For the latter, f′(x)=−e−x<0f'(x)=-e^{-x}<0 (decreasing) and f′′(x)=e−x>0f''(x)=e^{-x}>0 (concave up) everywhere. The shape you get is a curve that goes down while flattening out: it decreases, but less and less quickly, and approaches its horizontal asymptote y=0y=0 from above. This is the profile of every exponential decay, whether cooling, the discharge of a capacitor or radioactive decay.

d)

h(x)=1x=x−1h(x)=\frac{1}{x}=x^{-1} gives h′(x)=−x−2h'(x)=-x^{-2} and h′′(x)=2x−3=2x3h''(x)=2x^{-3}=\frac{2}{x^{3}}. For x>0x>0: h′′>0h''>0, the curve is concave up. For x<0x<0: h′′<0h''<0, it is concave down. The second derivative does change sign across x=0x=0, but there is NO inflection point, because x=0x=0 does not belong to the domain: there is no point of the curve with that xx-coordinate. An inflection point is a POINT of the curve, so it needs a yy-value. This is the classic pitfall of rational functions, and it is defused by always going back to the domain established in the first step of the analysis: hence the importance of the required order.

-112345-2-1123456local maximumlocal minimuminflection

Exercise 4: Symmetry and periodicity: cutting the work before you start

Step 2 of the procedure is the one students skip most readily, even though it can cut the analysis in half, and sometimes shrink an infinite domain to a bounded one.

  • a) Define an EVEN function and an ODD function, and say what each one implies for the curve.
  • b) Determine whether f(x)=x2x2+1f(x)=\frac{x^{2}}{x^{2}+1}, g(x)=x3x2+1g(x)=\frac{x^{3}}{x^{2}+1} and h(x)=x2+xh(x)=x^{2}+x are even, odd or neither.
  • c) If ff is even, what relation links f′(x)f'(x) and f′(−x)f'(-x)? Prove it, and deduce what happens at x=0x=0.
  • d) What interval of study is enough for u(x)=sin⁡x+cos⁡xu(x)=\sin x+\cos x, and why? How many times must the resulting pattern then be repeated?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
Show the solution

Answers

  • a) Even: the yy-axis; odd: the origin
  • b) ff even, gg odd, hh neither
  • c) f′(−x)=−f′(x)f'(-x)=-f'(x); f′(0)=0f'(0)=0
  • d) Period 2π2\pi; u=2sin⁡(x+π4)u=\sqrt{2}\sin\left(x+\frac{\pi}{4}\right)
a)

ff is EVEN if f(−x)=f(x)f(-x)=f(x) for every xx in the domain (which must be symmetric about 0): its curve is then symmetric about the yy-AXIS. ff is ODD if f(−x)=−f(x)f(-x)=-f(x): its curve is symmetric about the ORIGIN. In both cases, it is enough to study the function on [0,+∞)\left[0, +\infty\right) and to complete by symmetry: the work is cut in half.

b)

For ff: f(−x)=(−x)2(−x)2+1=x2x2+1=f(x)f(-x)=\frac{(-x)^{2}}{(-x)^{2}+1}=\frac{x^{2}}{x^{2}+1}=f(x), so ff is EVEN. For gg: g(−x)=−x3x2+1=−g(x)g(-x)=\frac{-x^{3}}{x^{2}+1}=-g(x), so gg is ODD. For hh: h(−x)=x2−xh(-x)=x^{2}-x, which is neither h(x)h(x) nor −h(x)-h(x) (testing x=1x=1 is enough: h(1)=2h(1)=2 and h(−1)=0h(-1)=0), so hh is NEITHER even NOR odd. Remember that this is the most frequent case: parity is a rare property, and a single numerical counterexample is enough to rule it out, which is much faster than a general computation.

c)

Differentiate both sides of the identity f(−x)=f(x)f(-x)=f(x) with respect to xx. On the left, the chain rule gives −f′(−x)-f'(-x); on the right, f′(x)f'(x). So −f′(−x)=f′(x)-f'(-x)=f'(x), that is, f′(−x)=−f′(x)f'(-x)=-f'(x): the derivative of an even function is ODD ✓. At x=0x=0, this gives f′(0)=−f′(0)f'(0)=-f'(0), so 2f′(0)=02f'(0)=0 and f′(0)=0f'(0)=0: every even function differentiable at 0 has a HORIZONTAL tangent there. This is consistent with the symmetry about the axis, which forbids any nonzero slope at the point of the curve lying on the axis. The mirror result, also worth knowing: the derivative of an odd function is even.

d)

u(x)=sin⁡x+cos⁡xu(x)=\sin x+\cos x is a sum of two 2π2\pi-periodic functions, so it is itself 2π2\pi-periodic: u(x+2π)=u(x)u(x+2\pi)=u(x). It is therefore enough to study uu on an interval of length 2π2\pi, for example [0,2π]\left[0, 2\pi\right] or [−π,π]\left[-\pi, \pi\right], then to repeat the resulting pattern by horizontal translations of 2π2\pi, INFINITELY many times in both directions. Periodicity is thus even more powerful than parity: it reduces an infinite domain to a bounded one. You can go further here, since u(x)=2sin⁡(x+π4)u(x)=\sqrt{2}\sin\left(x+\frac{\pi}{4}\right): the function is a sinusoid of amplitude 2\sqrt{2} shifted by π4\frac{\pi}{4}, which immediately gives its maximum 2\sqrt{2}, its minimum −2-\sqrt{2} and all its key points without any differentiation.

Exercise 5: Complete analysis of an exponential function

Rational functions have vertical asymptotes; exponentials, on the other hand, crush everything. The analysis changes character, and comparing growth rates plays the leading role.

  • a) For f(x)=xe−xf(x)=xe^{-x}, give the domain, the intercepts, then the limits at −∞-\infty and +∞+\infty.
  • b) Compute f′f', draw up the sign chart and give the maximum with its exact coordinates.
  • c) Compute f′′f'', study the concavity and give the inflection point.
  • d) Describe the complete shape of the curve. Why does the function tend to 0 at +∞+\infty even though the factor xx tends to infinity?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
Show the solution

Answers

  • a) D=RD=\mathbb{R}; the origin; −∞-\infty and 00
  • b) Maximum 1e\frac{1}{e} at x=1x=1
  • c) Inflection point (2,2e−2)\left(2, 2e^{-2}\right)
  • d) The exponential beats xx
a)

Domain: all of R\mathbb{R}, since the exponential is defined everywhere. Intercepts: f(x)=0f(x)=0 requires x=0x=0 (because e−xe^{-x} never vanishes), so the only intercept is the ORIGIN (0,0)(0,0), common to both axes. Limits: at −∞-\infty, x→−∞x\to-\infty and e−x→+∞e^{-x}\to+\infty, so the product tends to −∞-\infty with no indeterminate form. At +∞+\infty, you get the indeterminate form ∞×0\infty\times 0; comparing growth rates settles it, the exponential beating any power: lim⁡x→+∞xe−x=0\lim_{x\to+\infty}xe^{-x}=0. The line y=0y=0 is therefore a horizontal asymptote at +∞+\infty ONLY, and the curve approaches it from above since f(x)>0f(x)>0 for x>0x>0.

b)

By the product rule: f′(x)=1⋅e−x+x(−e−x)=e−x(1−x)f'(x)=1\cdot e^{-x}+x\left(-e^{-x}\right)=e^{-x}(1-x). Since the factor e−xe^{-x} is always strictly positive, the sign of f′f' is that of 1−x1-x: positive for x<1x<1, negative for x>1x>1. The function INCREASES on (−∞,1]\left(-\infty, 1\right] then DECREASES on [1,+∞)\left[1, +\infty\right). It therefore has a maximum at x=1x=1, with value f(1)=1⋅e−1=1e≈0.3679f(1)=1\cdot e^{-1}=\frac{1}{e}\approx 0.3679. This maximum is ABSOLUTE, since there is only one critical number and the function increases before it and decreases after it.

c)

Differentiating f′(x)=e−x(1−x)f'(x)=e^{-x}(1-x), again by the product rule: f′′(x)=−e−x(1−x)+e−x(−1)=e−x(−1+x−1)=e−x(x−2)f''(x)=-e^{-x}(1-x)+e^{-x}(-1)=e^{-x}\left(-1+x-1\right)=e^{-x}(x-2). The sign is that of x−2x-2: negative for x<2x<2 (curve CONCAVE DOWN), positive for x>2x>2 (curve CONCAVE UP). There is a sign change at x=2x=2, where the function is defined: it is an INFLECTION POINT, with coordinates (2, 2e−2)≈(2,0.2707)\left(2,\, 2e^{-2}\right)\approx(2, 0.2707).

d)

The curve comes up from −∞-\infty at the bottom left, rises through the origin, reaches its maximum 1e\frac{1}{e} at x=1x=1, then comes back down while flattening out, changes concavity at x=2x=2 and hugs the xx-axis without ever reaching it. The function tends to 0 at +∞+\infty even though the factor xx tends to infinity because the second factor e−xe^{-x} tends to 0 MUCH faster: this is the hierarchy of growth rates, in which the exponential dominates every power. Concretely, at x=20x=20 the factor xx equals 20 but e−20≈2×10−9e^{-20}\approx 2\times 10^{-9}, and the product is about 4×10−84\times 10^{-8}. The contest between a factor that grows and a factor that collapses is won, every time, by the exponential. This same argument will govern the convergence of improper integrals and of series in the integral calculus course.

-112345678-1-0.50.51maximum at 1inflection point at 2horizontal asymptotey = 0 at +∞

Part B: complete analyses and inverse problems (/50)

Exercise 6: Complete analysis of a rational function

The figure shows the curve of f(x)=x2x−1f(x)=\frac{x^{2}}{x-1} with its oblique asymptote. The exercise is to recover by computation everything the figure shows.

-4-3-2-112345-8-6-4-224681012
  • a) Give the domain of f(x)=x2x−1f(x)=\frac{x^{2}}{x-1}, its intercepts, and all its asymptotes.
  • b) Compute f′f', find the critical numbers and draw up the sign chart. Identify the extrema with their coordinates.
  • c) Compute f′′f'' and study the concavity. Is there an inflection point?
  • d) Gather everything in a complete variation table and compare it with the figure. Explain in particular why the curve has two branches with no point in common.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
Show the solution

Answers

  • a) D=R∖{1}D=\mathbb{R}\setminus\{1\}; x=1x=1 and y=x+1y=x+1
  • b) Maximum (0,0)(0, 0), minimum (2,4)(2, 4)
  • c) f′′=2(x−1)3f''=\frac{2}{(x-1)^{3}}: no inflection point
  • d) Two branches separated by x=1x=1
a)

Domain: x−1≠0x-1\neq 0, so Df=R∖{1}D_{f}=\mathbb{R}\setminus\{1\}. Intercepts: f(x)=0f(x)=0 requires x2=0x^{2}=0, so the origin (0,0)(0,0), which is both the xx-intercept and the yy-intercept; the curve is tangent to the axis there since x2x^{2} has a double root. Vertical asymptote: x=1x=1, with f→−∞f\to-\infty on the left (negative denominator, positive numerator) and f→+∞f\to+\infty on the right. Oblique asymptote: the degree of the numerator exceeds that of the denominator by 1, and long division gives x2=(x−1)(x+1)+1x^{2}=(x-1)(x+1)+1, so f(x)=x+1+1x−1f(x)=x+1+\frac{1}{x-1} and the asymptote is y=x+1y=x+1. Since the remainder 1x−1\frac{1}{x-1} is positive for x>1x>1, the curve lies above the asymptote on the right, and below it on the left: the figure confirms this.

b)

By the quotient rule: f′(x)=2x(x−1)−x2(x−1)2=2x2−2x−x2(x−1)2=x2−2x(x−1)2=x(x−2)(x−1)2f'(x)=\frac{2x(x-1)-x^{2}}{(x-1)^{2}}=\frac{2x^{2}-2x-x^{2}}{(x-1)^{2}}=\frac{x^{2}-2x}{(x-1)^{2}}=\frac{x(x-2)}{(x-1)^{2}}. The denominator is always positive (away from x=1x=1), so the sign is that of x(x−2)x(x-2): positive for x<0x<0, negative between 0 and 2 (excluding 1), positive for x>2x>2. Critical numbers: x=0x=0 and x=2x=2. At x=0x=0, f′f' changes from ++ to −-: local MAXIMUM at (0,0)(0,0). At x=2x=2, f′f' changes from −- to ++: local MINIMUM at (2,41)=(2,4)\left(2,\frac{4}{1}\right)=(2,4). A counterintuitive result worth pointing out: the local maximum is 0 and the local minimum is 4, so the “maximum” is LOWER than the “minimum”. There is no contradiction, because they are local and lie on branches separated by the asymptote.

c)

Differentiating f(x)=x+1+1x−1f(x)=x+1+\frac{1}{x-1}, a much handier form than the original quotient: f′(x)=1−1(x−1)2f'(x)=1-\frac{1}{(x-1)^{2}}, then f′′(x)=2(x−1)3f''(x)=\frac{2}{(x-1)^{3}}. Sign: for x>1x>1, f′′>0f''>0, curve concave up; for x<1x<1, f′′<0f''<0, curve concave down. There is a sign change at x=1x=1, but x=1x=1 is NOT in the domain: there is therefore NO inflection point, exactly as for 1x\frac{1}{x} in exercise 3. Note in passing that the divided form x+1+1x−1x+1+\frac{1}{x-1} makes both differentiations almost immediate: it is nearly always worth dividing before differentiating a rational function.

d)

Variation table. On (−∞,0]\left(-\infty, 0\right]: f′>0f'>0, ff increases from −∞-\infty up to 0, concave down. On [0,1)\left[0, 1\right): f′<0f'<0, ff decreases from 0 towards −∞-\infty, concave down. On (1,2]\left(1, 2\right]: f′<0f'<0, ff decreases from +∞+\infty down to 4, concave up. On [2,+∞)\left[2, +\infty\right): f′>0f'>0, ff increases from 4 towards +∞+\infty, concave up. The curve has two branches with no point in common because x=1x=1 is excluded from the domain and the function diverges there on both sides: the left branch plunges towards −∞-\infty and the right branch comes down from +∞+\infty. No value can connect the two, and a vertical asymptote is never crossed. The left branch is concave down and lies entirely below the oblique asymptote; the right branch is concave up and lies entirely above it, with a minimum at (2,4)(2,4): this is exactly what the figure shows.

Exercise 7: A function with a radical: the domain changes everything

When a radical comes into play, the domain stops being a formality: it becomes the key to the analysis and creates extrema at the endpoints that the derivative does not signal.

  • a) Find the domain of f(x)=x4−x2f(x)=x\sqrt{4-x^{2}} and determine whether it is even or odd.
  • b) Compute f′f' and find the critical numbers. Watch out for the points where the derivative does not exist.
  • c) Find the ABSOLUTE extrema of ff on its domain. Why must the endpoints be examined in addition to the critical numbers?
  • d) Describe the shape of the curve and the behaviour of the tangent line at the endpoints of the domain.

Type your answers, the page tells you right or wrong 0/7

a)
Domain ,
b)
c)
d)
Show the solution

Answers

  • a) D=[−2,2]D=[-2, 2]; odd
  • b) f′=4−2x24−x2f'=\frac{4-2x^{2}}{\sqrt{4-x^{2}}}; ±2\pm\sqrt{2} and ±2\pm 2
  • c) Maximum 22 at 2\sqrt{2}, minimum −2-2 at −2-\sqrt{2}
  • d) Vertical tangents at the endpoints
a)

We need 4−x2≥04-x^{2}\geq 0, that is x2≤4x^{2}\leq 4, so Df=[−2,2]D_{f}=\left[-2, 2\right]. The domain is BOUNDED and CLOSED, which guarantees from the start (a continuous function on a closed bounded interval) that an absolute maximum and an absolute minimum exist. Parity: f(−x)=(−x)4−x2=−f(x)f(-x)=(-x)\sqrt{4-x^{2}}=-f(x), the function is ODD, so its curve is symmetric about the origin. This symmetry cuts the work in half: everything established on [0,2]\left[0, 2\right] carries over by symmetry.

b)

We differentiate a product whose second factor is a composite function: f′(x)=4−x2+x⋅−2x24−x2=4−x2−x24−x2f'(x)=\sqrt{4-x^{2}}+x\cdot\frac{-2x}{2\sqrt{4-x^{2}}}=\sqrt{4-x^{2}}-\frac{x^{2}}{\sqrt{4-x^{2}}}. Over a common denominator: f′(x)=(4−x2)−x24−x2=4−2x24−x2f'(x)=\frac{(4-x^{2})-x^{2}}{\sqrt{4-x^{2}}}=\frac{4-2x^{2}}{\sqrt{4-x^{2}}}. Zeros: 4−2x2=04-2x^{2}=0, so x=±2x=\pm\sqrt{2}, both in the domain. Non-existence: the denominator vanishes at x=±2x=\pm 2, so f′f' does NOT EXIST at the two endpoints. These points also count as critical numbers (the definition includes the points of the domain where the derivative does not exist), and forgetting them is the classic mistake in this type of exercise.

c)

Values at the candidates: f(2)=24−2=2⋅2=2f(\sqrt{2})=\sqrt{2}\sqrt{4-2}=\sqrt{2}\cdot\sqrt{2}=2; f(−2)=−2f(-\sqrt{2})=-2; f(2)=2⋅0=0f(2)=2\cdot 0=0; f(−2)=0f(-2)=0. The absolute maximum is therefore 22, reached at x=2x=\sqrt{2}, and the absolute minimum is −2-2, reached at x=−2x=-\sqrt{2}. The endpoints must be examined because the Extreme Value Theorem guarantees that the absolute extrema are reached, but they may be reached at a point where the derivative does not vanish: at the endpoints of a closed interval, nothing forces the tangent to be horizontal. The mandatory procedure is therefore to compare the values of ff at ALL the critical numbers AND at both endpoints, then to pick the largest and the smallest. Here the endpoints do not give the extrema, but you could only know that after evaluating them.

d)

The function starts at (−2,0)(-2,0), goes down to the minimum (−2,−2)≈(−1.41,−2)(-\sqrt{2},-2)\approx(-1.41,-2), rises back through the origin, reaches the maximum (2,2)(\sqrt{2},2), then comes back down to (2,0)(2,0): a stretched S-shaped curve, symmetric about the origin as oddness requires. At the endpoints, f′(x)=4−2x24−x2f'(x)=\frac{4-2x^{2}}{\sqrt{4-x^{2}}} has a denominator that tends to 0 while the numerator tends to 4−8=−4≠04-8=-4\neq 0: the derivative therefore tends to infinity in absolute value. The tangent becomes VERTICAL at (−2,0)(-2,0) and at (2,0)(2,0). The curve thus meets the xx-axis vertically, which is the typical behaviour of functions with a radical at the edge of their domain and must be shown explicitly on the sketch.

-3-2-1123-3-2-1123max (√2, 2)min (−√2, −2)vertical tangents

Exercise 8: The reverse reading: rebuilding f from f'

The figure shows the graph of the DERIVATIVE f′f', not that of ff. This exam format separates students best, because it rules out any mechanical answer.

-3-2-11234-5-4-3-2-112345
  • a) The figure shows f′(x)=(x+1)(x−3)f'(x)=(x+1)(x-3). On which intervals is ff increasing or decreasing? Where are its extrema and what kind are they?
  • b) Determine the concavity of ff and its inflection point, reading only the figure.
  • c) A student reads on the figure: “f′f' has a minimum at x=1x=1, so ff has a minimum at x=1x=1.” Correct this.
  • d) Given also that f(0)=2f(0)=2, give an explicit expression for ff and check your answers to parts a) and b).

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
Show the solution

Answers

  • a) Increasing, decreasing, increasing; maximum at −1-1, minimum at 33
  • b) Inflection point at x=1x=1
  • c) f′(1)=−4f'(1)=-4: the steepest slope, not a minimum
  • d) f(x)=x33−x2−3x+2f(x)=\frac{x^{3}}{3}-x^{2}-3x+2
a)

Read the SIGN of f′f' on the figure, not its variations. The parabola f′(x)=(x+1)(x−3)f'(x)=(x+1)(x-3) lies above the axis for x<−1x<-1 and for x>3x>3, below it between −1-1 and 3. So ff INCREASES on (−∞,−1]\left(-\infty, -1\right], DECREASES on [−1,3]\left[-1, 3\right], INCREASES on [3,+∞)\left[3, +\infty\right). At x=−1x=-1, f′f' changes from ++ to −-: local maximum of ff. At x=3x=3, f′f' changes from −- to ++: local minimum of ff. Nothing here requires knowing ff itself: the sign of the derivative is entirely enough.

b)

The concavity of ff is given by the sign of f′′f'', that is, by whether f′f' is INCREASING, which is read directly on the figure as the slope of the parabola. The parabola decreases down to its vertex then increases; its vertex is halfway between the roots, at x=−1+32=1x=\frac{-1+3}{2}=1. So f′f' decreases for x<1x<1, which means f′′<0f''<0 and ff CONCAVE DOWN; and f′f' increases for x>1x>1, so f′′>0f''>0 and ff CONCAVE UP. The inflection point of ff is at x=1x=1, where the derivative reaches its minimum. Reading rule to remember: on the graph of f′f', the SIGN gives the increasing and decreasing behaviour of ff, and the SLOPE gives the concavity of ff.

c)

The confusion is about what has the minimum. At x=1x=1, it is indeed the function f′f' that reaches a minimum, which means that the SLOPE of ff is as negative as it gets there: ff is then decreasing fastest over its whole course. It is the “steepest” point of the descent, certainly not a trough. Since f′(1)=(2)(−2)=−4≠0f'(1)=(2)(-2)=-4\neq 0, the function ff cannot have any extremum at x=1x=1 anyway, an extremum requiring a horizontal tangent. What x=1x=1 gives for ff is an INFLECTION point, as established in part b). The mistake is to read the graph as if it represented ff: a minimum on the graph of f′f' is information about the concavity of ff, never about its extrema.

d)

Expand: f′(x)=x2−2x−3f'(x)=x^{2}-2x-3, so f(x)=x33−x2−3x+Cf(x)=\frac{x^{3}}{3}-x^{2}-3x+C. The condition f(0)=2f(0)=2 gives C=2C=2, hence f(x)=x33−x2−3x+2f(x)=\frac{x^{3}}{3}-x^{2}-3x+2. Checks. Extrema: f(−1)=−13−1+3+2=113≈3.67f(-1)=-\frac{1}{3}-1+3+2=\frac{11}{3}\approx 3.67 and f(3)=9−9−9+2=−7f(3)=9-9-9+2=-7; there is indeed a local maximum at −1-1 and a local minimum at 3, consistent with part a). Concavity: f′′(x)=2x−2f''(x)=2x-2, which vanishes and changes sign at x=1x=1, with f(1)=13−1−3+2=−53≈−1.67f(1)=\frac{1}{3}-1-3+2=-\frac{5}{3}\approx-1.67: the inflection point is (1,−53)\left(1,-\frac{5}{3}\right), in agreement with part b) ✓. Note that the constant CC changes neither the extrema nor the inflection point in their xx-COORDINATE: all the antiderivatives of f′f' have exactly the same increasing and decreasing behaviour and the same concavity; they differ only by a vertical translation. The graph of f′f' therefore determines the SHAPE of ff, but not its position, and it is the condition f(0)=2f(0)=2 that fixes the latter.

Exercise 9: Complete analysis of a logarithmic function

The logarithm brings a difficulty the exponential did not have: a RESTRICTED domain, hence a vertical asymptote at its edge, and a decrease towards zero so slow that it is barely visible.

  • a) For g(x)=ln⁡xxg(x)=\frac{\ln x}{x}, give the domain, the xx-intercept and the two limits at the ends of the domain.
  • b) Compute g′g', draw up the sign chart and give the maximum with its exact coordinates.
  • c) Compute g′′g'' and find the inflection point.
  • d) Compare the maximum of gg with that of f(x)=xe−xf(x)=xe^{-x} from exercise 5. Is the coincidence accidental?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
Show the solution

Answers

  • a) D=(0,+∞)D=(0, +\infty); (1,0)(1, 0); −∞-\infty and 00
  • b) Maximum 1e\frac{1}{e} at x=ex=e
  • c) Inflection point at x=e3/2≈4.482x=e^{3/2}\approx 4.482
  • d) Same maximum: g(et)=f(t)g(e^{t})=f(t)
a)

Domain: the logarithm requires x>0x>0, so Dg=(0,+∞)D_{g}=\left(0, +\infty\right). Intercept: g(x)=0g(x)=0 is equivalent to ln⁡x=0\ln x=0, so x=1x=1: the curve crosses the xx-axis at (1,0)(1,0), and there is no yy-intercept since 0 is excluded. Limits. At 0+0^{+}: ln⁡x→−∞\ln x\to-\infty and x→0+x\to 0^{+}, so the quotient tends to −∞-\infty (form −∞0+\frac{-\infty}{0^{+}}, which is NOT indeterminate), and the line x=0x=0 is a vertical asymptote. At +∞+\infty: indeterminate form ∞∞\frac{\infty}{\infty}, resolved by comparing growth rates since xx beats ln⁡x\ln x, hence lim⁡x→+∞g(x)=0\lim_{x\to+\infty}g(x)=0 and the horizontal asymptote y=0y=0. The curve approaches it from ABOVE, since g(x)>0g(x)>0 as soon as x>1x>1.

b)

By the quotient rule: g′(x)=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2g'(x)=\frac{\frac{1}{x}\cdot x-\ln x\cdot 1}{x^{2}}=\frac{1-\ln x}{x^{2}}. Since the denominator is positive on the domain, the sign is that of 1−ln⁡x1-\ln x: positive when ln⁡x<1\ln x<1, that is x<ex<e, and negative for x>ex>e. The function INCREASES on (0,e]\left(0, e\right] then DECREASES on [e,+∞)\left[e, +\infty\right). Maximum at x=ex=e, with value g(e)=ln⁡ee=1e≈0.3679g(e)=\frac{\ln e}{e}=\frac{1}{e}\approx 0.3679, and it is absolute for the same reason as in exercise 5.

c)

Differentiating g′(x)=1−ln⁡xx2g'(x)=\frac{1-\ln x}{x^{2}} by the quotient rule: g′′(x)=−1x⋅x2−(1−ln⁡x)(2x)x4=−x−2x+2xln⁡xx4=x(2ln⁡x−3)x4=2ln⁡x−3x3g''(x)=\frac{-\frac{1}{x}\cdot x^{2}-(1-\ln x)(2x)}{x^{4}}=\frac{-x-2x+2x\ln x}{x^{4}}=\frac{x\left(2\ln x-3\right)}{x^{4}}=\frac{2\ln x-3}{x^{3}}. On the domain, x3>0x^{3}>0, so the sign is that of 2ln⁡x−32\ln x-3, which vanishes when ln⁡x=32\ln x=\frac{3}{2}, that is x=e3/2≈4.482x=e^{3/2}\approx 4.482. The curve is concave down before and concave up after: it is indeed an inflection point, with coordinates (e3/2, 32e−3/2)≈(4.482,0.3347)\left(e^{3/2},\, \frac{3}{2}e^{-3/2}\right)\approx(4.482, 0.3347).

d)

The two maxima are both exactly 1e\frac{1}{e}, reached at x=ex=e for gg and at x=1x=1 for ff respectively. The coincidence is NOT accidental: the two functions are linked by a change of variable. Set x=etx=e^{t} in gg: then g(et)=tet=te−t=f(t)g\left(e^{t}\right)=\frac{t}{e^{t}}=te^{-t}=f(t). In other words, gg is nothing but ff seen after the change of variable t=ln⁡xt=\ln x, which is a strictly increasing deformation of the horizontal axis. Such a deformation changes neither the values taken nor their order: it only moves the xx-values where they are reached. The maximum is therefore the SAME, and it moves from t=1t=1 to x=e1=ex=e^{1}=e ✓. The inflection point, on the other hand, does not follow: that of ff is at t=2t=2, but that of gg is at x=e3/2x=e^{3/2} and not at e2e^{2}, because concavity is NOT preserved by the change of variable, since it depends on the second derivative and therefore on how the axis is stretched. Only the extreme values carry over, which is precisely the subtlety to remember.

12345678910-2-1.5-1-0.50.51max (e, 1/e)inflection

Exercise 10: Inverse problem: recovering the function from its table

The most demanding exam format: the function is no longer given, its BEHAVIOUR is, and you have to work back to the parameters. Each piece of graphical information must be translated into an equation.

  • a) A function f(x)=ax+bx+cf(x)=\frac{ax+b}{x+c} has the vertical asymptote x=2x=2, the horizontal asymptote y=3y=3, and satisfies f(0)=1f(0)=1. Translate each piece of information into an equation and find aa, bb and cc.
  • b) Check your answer by recomputing the two asymptotes and f(0)f(0).
  • c) Does the function obtained have an extremum? Justify by computing f′f', and explain what this means for the shape.
  • d) A function g(x)=x3+px+qg(x)=x^{3}+px+q has a local extremum at x=2x=2 and passes through (0,5)(0,5). Find pp and qq, then the nature of this extremum.

Type your answers, the page tells you right or wrong 0/11

a)
b)
c)
d)
Show the solution

Answers

  • a) a=3a=3, b=−2b=-2, c=−2c=-2
  • b) x=2x=2, y=3y=3, f(0)=1f(0)=1
  • c) f′=−4(x−2)2<0f'=\frac{-4}{(x-2)^{2}}<0: no extremum
  • d) p=−12p=-12, q=5q=5; minimum −11-11 at 22
a)

Translate the three pieces of information. VERTICAL ASYMPTOTE at x=2x=2: the denominator must vanish there, so 2+c=02+c=0 and c=−2c=-2. HORIZONTAL ASYMPTOTE y=3y=3: since the numerator and the denominator have equal degrees (both 1), the limit at infinity is the ratio of the leading coefficients, that is a1=a\frac{a}{1}=a; so we impose a=3a=3. POINT f(0)=1f(0)=1: substituting, a(0)+b0+c=bc=1\frac{a(0)+b}{0+c}=\frac{b}{c}=1, so b=c=−2b=c=-2. Conclusion: f(x)=3x−2x−2f(x)=\frac{3x-2}{x-2}.

b)

Vertical asymptote: the denominator x−2x-2 vanishes at x=2x=2, and the numerator there equals 3(2)−2=4≠03(2)-2=4\neq 0, so the factor does not cancel and x=2x=2 really is a vertical asymptote ✓ (numerical check: f(2.001)=4003f(2.001)=4003). Horizontal asymptote: lim⁡x→±∞3x−2x−2=3\lim_{x\to\pm\infty}\frac{3x-2}{x-2}=3 ✓. Finally f(0)=−2−2=1f(0)=\frac{-2}{-2}=1 ✓. All three conditions are satisfied. Checking that the numerator does NOT vanish at x=2x=2 is essential: if both vanished, the fraction would simplify and there would be a hole instead of an asymptote.

c)

By the quotient rule: f′(x)=3(x−2)−(3x−2)(1)(x−2)2=3x−6−3x+2(x−2)2=−4(x−2)2f'(x)=\frac{3(x-2)-(3x-2)(1)}{(x-2)^{2}}=\frac{3x-6-3x+2}{(x-2)^{2}}=\frac{-4}{(x-2)^{2}}. The numerator is the constant −4-4, so f′(x)<0f'(x)<0 for every x≠2x\neq 2: the derivative NEVER vanishes, so there is NO extremum. The function is strictly decreasing on each of the two intervals (−∞,2)\left(-\infty, 2\right) and (2,+∞)\left(2, +\infty\right). Be careful not to say that it is decreasing on the whole of R∖{2}\mathbb{R}\setminus\{2\}: on either side of the asymptote it goes from −∞-\infty to +∞+\infty, so a value taken on the right can exceed a value taken on the left. The decrease holds on each PIECE separately, never globally. The shape is that of a two-branch hyperbola, centred on the point (2,3)(2,3) where the two asymptotes cross.

d)

EXTREMUM at x=2x=2: the derivative g′(x)=3x2+pg'(x)=3x^{2}+p must vanish there, so 3(4)+p=03(4)+p=0 and p=−12p=-12. POINT (0,5)(0,5): g(0)=q=5g(0)=q=5. So g(x)=x3−12x+5g(x)=x^{3}-12x+5. Nature of the extremum: g′′(x)=6xg''(x)=6x, so g′′(2)=12>0g''(2)=12>0, and the second derivative test gives a local MINIMUM, with value g(2)=8−24+5=−11g(2)=8-24+5=-11. A useful remark: the condition g′(2)=0g'(2)=0 fixed only pp, and the yy-intercept only qq; each piece of information determined exactly one parameter, which is the normal situation for a well-posed problem. Note in passing that g′(x)=3x2−12=3(x−2)(x+2)g'(x)=3x^{2}-12=3(x-2)(x+2) also vanishes at x=−2x=-2, where g′′(−2)=−12<0g''(-2)=-12<0: there is therefore also a local MAXIMUM at x=−2x=-2, with value g(−2)=−8+24+5=21g(-2)=-8+24+5=21, which the question did not ask for but which a complete analysis would bring out.

-6-4-2246810-6-4-224681012f(0) = 1x = 2y = 3

Part C: the classics (/50)

Exercise 11: A function with an absolute value: the corner no derivative signals

We study f(x)=x2−4∣x∣+3f(x)=x^{2}-4|x|+3 on R\mathbb{R}. The figure shows its curve.

-4-3-2-11234-2-11234
  • a) Show that ff is even, then write it without the absolute value on [0,+∞)[0, +\infty).
  • b) Find the zeros of ff.
  • c) Study where ff increases and decreases on [0,+∞)[0, +\infty), then on R\mathbb{R} by symmetry. Give the extrema.
  • d) Is ff differentiable at 00? Compute the left-hand and right-hand derivatives.
  • e) Study the concavity. Is there an inflection point?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Even; x2−4x+3x^{2}-4x+3 for x≥0x\ge 0
  • b) ±1\pm 1 and ±3\pm 3
  • c) Minima −1-1 at ±2\pm 2; local maximum 33 at 00
  • d) Slopes 44 and −4-4: not differentiable at 00
  • e) Concave up on each half-line: no inflection point
a)

f(−x)=x2−4∣−x∣+3=f(x)f(-x)=x^{2}-4|-x|+3=f(x): ff is even, and its curve is symmetric about the yy-axis. For x≥0x\ge 0, ∣x∣=x|x|=x and f(x)=x2−4x+3=(x−1)(x−3)f(x)=x^{2}-4x+3=(x-1)(x-3).

b)

On [0,+∞)[0, +\infty): x=1x=1 and x=3x=3. By parity, also x=−1x=-1 and x=−3x=-3. Four zeros.

c)

For x>0x>0: f′(x)=2x−4f'(x)=2x-4, negative on (0,2)(0, 2), positive after that. ff decreases from f(0)=3f(0)=3 to f(2)=−1f(2)=-1, then increases. By symmetry, ff decreases on (−∞,−2](-\infty, -2] and increases on [−2,0][-2, 0]. Minima −1-1 at x=±2x=\pm 2, absolute; local maximum 33 at x=0x=0.

d)

To the right of 00, the derivative tends to 2×0−4=−42\times 0-4=-4; to the left, f(x)=x2+4x+3f(x)=x^{2}+4x+3 and the derivative tends to 44. The two half-tangents have slopes 44 and −4-4: ff is not differentiable at 00. The local maximum at 00 is therefore a point where f′f' DOES NOT EXIST: looking only for the zeros of f′f' would have missed it.

e)

On each half-line, f′′(x)=2>0f''(x)=2>0: ff is concave up on (−∞,0)(-\infty, 0) and on (0,+∞)(0, +\infty). No inflection point: the curve never changes concavity, it simply forms a corner at 00 between two concave-up arcs.

Exercise 12: Two different oblique asymptotes: the function x − 2 arctan x

We study f(x)=x−2arctan⁡xf(x)=x-2\arctan x on R\mathbb{R}. The figure shows its curve and its asymptotes.

-6-5-4-3-2-1123456-4-3-2-11234y = x − π
  • a) Determine whether ff is even or odd.
  • b) Compute f′f', study its sign and give the local extrema to three decimal places.
  • c) Show that y=x−πy=x-\pi is an asymptote at +∞+\infty and find the asymptote at −∞-\infty.
  • d) Compute f′′f'' and give the inflection point.
  • e) How many zeros does ff have? Give the positive zero to two decimal places.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Odd
  • b) f′=x2−1x2+1f'=\frac{x^{2}-1}{x^{2}+1}; ±0.571\pm 0.571
  • c) y=x−πy=x-\pi at +∞+\infty, y=x+πy=x+\pi at −∞-\infty
  • d) f′′=4x(x2+1)2f''=\frac{4x}{(x^{2}+1)^{2}}: inflection point (0,0)(0, 0)
  • e) Three zeros: 00 and ±2.33\pm 2.33
a)

arctan⁡\arctan is odd, so f(−x)=−x+2arctan⁡x=−f(x)f(-x)=-x+2\arctan x=-f(x): ff is odd, and its curve is symmetric about the origin.

b)

f′(x)=1−21+x2=x2−1x2+1f'(x)=1-\frac{2}{1+x^{2}}=\frac{x^{2}-1}{x^{2}+1}, with the sign of x2−1x^{2}-1: positive for ∣x∣>1|x|>1, negative between −1-1 and 11. Local maximum at x=−1x=-1: f(−1)=−1+π2≈0.571f(-1)=-1+\frac{\pi}{2}\approx 0.571. Local minimum at x=1x=1: f(1)=1−π2≈−0.571f(1)=1-\frac{\pi}{2}\approx-0.571.

c)

f(x)−(x−π)=π−2arctan⁡xf(x)-(x-\pi)=\pi-2\arctan x, which tends to π−2×π2=0\pi-2\times\frac{\pi}{2}=0 as x→+∞x\to+\infty: y=x−πy=x-\pi is an asymptote. At −∞-\infty, arctan⁡x→−π2\arctan x\to-\frac{\pi}{2} and f(x)−(x+π)=−π−2arctan⁡x→0f(x)-(x+\pi)=-\pi-2\arctan x\to 0: the asymptote is y=x+πy=x+\pi. Two parallel and DIFFERENT asymptotes: a rational function never has that, because its behaviours at ±∞\pm\infty are identical.

d)

f′′(x)=2x(x2+1)−(x2−1)2x(x2+1)2=4x(x2+1)2f''(x)=\frac{2x(x^{2}+1)-(x^{2}-1)2x}{(x^{2}+1)^{2}}=\frac{4x}{(x^{2}+1)^{2}}, with the sign of xx: concave down for x<0x<0, concave up for x>0x>0. Inflection point at (0,0)(0, 0), the centre of symmetry of the curve, as oddness requires.

e)

f(0)=0f(0)=0. On (1,+∞)(1, +\infty), ff increases from −0.571-0.571 towards +∞+\infty: one zero, and by oddness an opposite zero. On [0,1][0, 1], ff decreases from 00 to −0.571-0.571: no other positive zero. Three zeros. f(2.33)≈−0.0008f(2.33)\approx-0.0008 and f(2.34)≈0.0061f(2.34)\approx 0.0061: the positive zero is x≈2.33x\approx 2.33.

Exercise 13: A trigonometric analysis over one period: x + 2 sin x

We study f(x)=x+2sin⁡xf(x)=x+2\sin x on [0,2π][0, 2\pi].

  • a) Compute f′f' and solve f′(x)=0f'(x)=0 on [0,2π][0, 2\pi].
  • b) Draw up the variation table and give the local extrema to three decimal places.
  • c) Give the absolute maximum and minimum of ff on [0,2π][0, 2\pi].
  • d) Compute f′′f'' and give the inflection point.
  • e) Show that f(x+2π)=f(x)+2πf(x+2\pi)=f(x)+2\pi. What does this relation say about the whole curve?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) f′=1+2cos⁡xf'=1+2\cos x; 2π3\frac{2\pi}{3} and 4π3\frac{4\pi}{3}
  • b) Local maximum 3.8263.826, local minimum 2.4572.457
  • c) Absolute maximum 2π2\pi, absolute minimum 00
  • d) Inflection point (π,π)(\pi, \pi)
  • e) Translation by (2π,2π)(2\pi, 2\pi)
a)

f′(x)=1+2cos⁡xf'(x)=1+2\cos x, zero when cos⁡x=−12\cos x=-\frac{1}{2}, that is x=2π3x=\frac{2\pi}{3} and x=4π3x=\frac{4\pi}{3}.

b)

f′>0f'>0 on [0,2π3)\left[0, \frac{2\pi}{3}\right), f′<0f'<0 on (2π3,4π3)\left(\frac{2\pi}{3}, \frac{4\pi}{3}\right), f′>0f'>0 after that. Local maximum at 2π3\frac{2\pi}{3}: f=2π3+3≈3.826f=\frac{2\pi}{3}+\sqrt{3}\approx 3.826. Local minimum at 4π3\frac{4\pi}{3}: f=4π3−3≈2.457f=\frac{4\pi}{3}-\sqrt{3}\approx 2.457.

c)

At the endpoints: f(0)=0f(0)=0 and f(2π)=2π≈6.283f(2\pi)=2\pi\approx 6.283. Comparing with the local extrema, the absolute maximum is 2π2\pi, at the right endpoint, and the absolute minimum is 00, at the left endpoint. The local extrema are neither: on a closed interval, the endpoints are among the candidates.

d)

f′′(x)=−2sin⁡xf''(x)=-2\sin x, which changes sign at x=πx=\pi: concave down on (0,π)(0, \pi), concave up on (π,2π)(\pi, 2\pi). Inflection point (π,π)(\pi, \pi).

e)

f(x+2π)=x+2π+2sin⁡(x+2π)=f(x)+2πf(x+2\pi)=x+2\pi+2\sin(x+2\pi)=f(x)+2\pi. The function is not periodic, but its curve repeats itself under the TRANSLATION by the vector (2π,2π)(2\pi, 2\pi): it oscillates around the line y=xy=x, between y=x−2y=x-2 and y=x+2y=x+2. Studying it over one period is therefore indeed enough.

12345671234567local max at 2π/3local min at 4π/3inflectionabsolute max (2π, 2π)

Exercise 14: Problem: the Lennard-Jones potential and the bond between two atoms

The interaction energy of two atoms of a noble gas a distance rr apart is modelled by V=4ε[(σr)12−(σr)6]V=4\varepsilon\left[\left(\frac{\sigma}{r}\right)^{12}-\left(\frac{\sigma}{r}\right)^{6}\right]. Setting u=rσu=\frac{r}{\sigma} and measuring energy in units of ε\varepsilon, we study V(u)=4(u−12−u−6)V(u)=4\left(u^{-12}-u^{-6}\right) for u>0u>0. The figure shows the curve.

0.811.21.41.61.822.22.42.62.83-1.5-1-0.50.511.52V(u) in units of ε
  • a) Give the zero of VV and its limits at 0+0^{+} and at +∞+\infty. Interpret the sign of VV.
  • b) Compute V′(u)V'(u), find the minimum and its value.
  • c) Compute V′′(u)V''(u) and find the inflection point.
  • d) The force between the atoms is F=−V′F=-V'. Where is it repulsive, where is it attractive, and where is the attraction greatest?
  • e) For argon, σ≈0.34\sigma\approx 0.34 nm. At what distance are two atoms in equilibrium?

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Zero at u=1u=1; +∞+\infty and 0−0^{-}
  • b) Minimum −ε-\varepsilon at u=21/6≈1.1225u=2^{1/6}\approx 1.1225
  • c) Inflection point at u=(267)1/6≈1.2445u=\left(\frac{26}{7}\right)^{1/6}\approx 1.2445
  • d) Repulsive, then attractive; greatest attraction 2.402.40 at the inflection point
  • e) r≈0.382r\approx 0.382 nm
a)

V(u)=4u−12(1−u6)V(u)=4u^{-12}(1-u^{6}) vanishes at u=1u=1. At 0+0^{+}, u−12u^{-12} dominates: V→+∞V\to+\infty. At +∞+\infty, u−6u^{-6} dominates u−12u^{-12} and V→0−V\to 0^{-}. V>0V>0 for u<1u<1: atoms that are too close repel each other strongly; V<0V<0 beyond that: the interaction is binding.

b)

V′(u)=4(−12u−13+6u−7)=24u−13(u6−2)V'(u)=4\left(-12u^{-13}+6u^{-7}\right)=24u^{-13}\left(u^{6}-2\right), zero at u=21/6≈1.1225u=2^{1/6}\approx 1.1225, negative before, positive after: a minimum. V=4(14−12)=−1V=4\left(\frac{1}{4}-\frac{1}{2}\right)=-1, that is −ε-\varepsilon: this is the energy of the bond.

c)

V′′(u)=4(156u−14−42u−8)=24u−14(26−7u6)V''(u)=4\left(156u^{-14}-42u^{-8}\right)=24u^{-14}\left(26-7u^{6}\right), which vanishes and changes sign when u6=267u^{6}=\frac{26}{7}, that is u≈1.2445u\approx 1.2445, where V=4(49676−726)≈−0.787V=4\left(\frac{49}{676}-\frac{7}{26}\right)\approx-0.787. Concave up before, concave down after.

d)

F=−V′F=-V' is positive, hence repulsive, for u<1.1225u<1.1225 and negative, hence attractive, beyond that. The attraction is greatest where V′V' is greatest, so where V′′=0V''=0: at the inflection point u≈1.2445u\approx 1.2445, with ∣F∣=V′(1.2445)≈2.40|F|=V'(1.2445)\approx 2.40 in units of εσ\frac{\varepsilon}{\sigma}. Pulling two atoms apart therefore takes the greatest effort at this distance, not at equilibrium.

e)

r=21/6σ≈1.1225×0.34≈0.382r=2^{1/6}\sigma\approx 1.1225\times 0.34\approx 0.382 nm.

Exercise 15: Problem: the speed distribution in a gas

In a gas at equilibrium, the proportion of molecules whose speed is close to vv is proportional to f(v)=v2e−v2/2f(v)=v^{2}e^{-v^{2}/2}, where v≥0v\ge 0 is measured in a unit that depends on the gas and on the temperature. We study ff.

  • a) Compute f(0)f(0) and the limit of ff at +∞+\infty.
  • b) Compute f′(v)f'(v) and find the most probable speed, as well as the maximum value of ff.
  • c) Show that f′′(v)=e−v2/2(v4−5v2+2)f''(v)=e^{-v^{2}/2}\left(v^{4}-5v^{2}+2\right) and find the two inflection points to three decimal places.
  • d) The unit of speed is RTM\sqrt{\frac{RT}{M}}. Compute the most probable speed of oxygen gas, M=0.032M=0.032 kg/mol, at 250250 K, with R=8.314R=8.314.
  • e) The temperature is multiplied by four. What happens to the most probable speed?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) f(0)=0f(0)=0; limit 00
  • b) v=2v=\sqrt{2}: f=2e−1≈0.736f=2e^{-1}\approx 0.736
  • c) Inflection points ≈0.662\approx 0.662 and 2.1362.136
  • d) vp≈360v_{p}\approx 360 m/s
  • e) Doubled
a)

f(0)=0f(0)=0. At +∞+\infty, e−v2/2e^{-v^{2}/2} beats v2v^{2}: f→0f\to 0. No molecule is at rest, and almost none are very fast.

b)

f′(v)=2ve−v2/2+v2⋅(−v)e−v2/2=ve−v2/2(2−v2)f'(v)=2ve^{-v^{2}/2}+v^{2}\cdot(-v)e^{-v^{2}/2}=ve^{-v^{2}/2}\left(2-v^{2}\right). For v>0v>0, the sign is that of 2−v22-v^{2}: maximum at v=2≈1.414v=\sqrt{2}\approx 1.414, where f=2e−1≈0.736f=2e^{-1}\approx 0.736.

c)

Differentiate f′(v)=(2v−v3)e−v2/2f'(v)=\left(2v-v^{3}\right)e^{-v^{2}/2}: f′′(v)=(2−3v2)e−v2/2+(2v−v3)(−v)e−v2/2=(v4−5v2+2)e−v2/2f''(v)=\left(2-3v^{2}\right)e^{-v^{2}/2}+\left(2v-v^{3}\right)(-v)e^{-v^{2}/2}=\left(v^{4}-5v^{2}+2\right)e^{-v^{2}/2}. Setting w=v2w=v^{2}: w2−5w+2=0w^{2}-5w+2=0, w=5±172w=\frac{5\pm\sqrt{17}}{2}, that is v≈0.662v\approx 0.662 and v≈2.136v\approx 2.136. The curve is concave up, then concave down around the maximum, then concave up again in the tail.

d)

vp=2RTM=2RTM=2×8.314×2500.032≈360v_{p}=\sqrt{2}\sqrt{\frac{RT}{M}}=\sqrt{\frac{2RT}{M}}=\sqrt{\frac{2\times 8.314\times 250}{0.032}}\approx 360 m/s. The function analysis recovers the formula for the most probable speed.

e)

vpv_{p} is proportional to T\sqrt{T}: multiplying the temperature by four doubles the most probable speed, and the curve spreads to the right while flattening, since the total area under the curve always represents all of the molecules.

Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous chapter L'Hôpital's rule and indeterminate forms, 201-SN2-RE Next chapter Applied optimization, 201-SN2-RE

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-calc1-curve-sketching. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a differential calculus tutor in Montreal?

Get in touch for a first session. We work through 201-SN2-RE at the level of real CEGEP tests, including the complete function analysis that carries the most weight on the final exam.

Site by Studio Squalli