Navigation

Concept Review

Differential Calculus

Curve Sketching

Curve sketching is the synthesis topic of differential calculus: from a formula alone you recover domain, symmetry, end behaviour, asymptotes, and the shape information carried by ff' and ff'', then draw a graph that is correct in every qualitative feature. No new theory appears here — it is limits, l'Hopital's Rule, the monotonicity test (a corollary of the Mean Value Theorem) and the concavity test used together. Work the checklist in order: each step rules out a class of drawing errors, and plotting random points is never a substitute.

The checklist

  1. Domain. 2. Intercepts. 3. Symmetry / periodicity. 4. Asymptotes (vertical, horizontal, slant). 5. ff': sign chart, monotonicity, critical points, local extrema. 6. ff'': sign chart, concavity, inflection points. 7. Assemble the sketch.

1. Domain

Exclude zeros of denominators, negative arguments of even roots, and non-positive arguments of ln\ln. Write the domain as a union of intervals; the graph can only break at excluded points. Cube roots are fine for negative inputs: x1/3x^{1/3} and x2/3x^{2/3} have domain (,)(-\infty,\infty).

2. Intercepts

The yy-intercept is f(0)f(0); it exists only when 00 belongs to the domain (for instance exx\dfrac{e^{x}}{x} has none), and there is at most one, because a function assigns one output to each input. The xx-intercepts solve f(x)=0f(x)=0; for a quotient this means numerator zero and denominator nonzero. If the zeros are not findable exactly, locate them approximately with the Intermediate Value Theorem — a sign change of a continuous ff on [a,b][a,b] guarantees a root inside.

3. Symmetry

  • ff is even if f(x)=f(x)f(-x)=f(x) for every xx in the domain (which must itself be symmetric about 00): graph symmetric in the yy-axis.
  • ff is odd if f(x)=f(x)f(-x)=-f(x): graph symmetric about the origin.
  • ff is periodic with period pp if f(x+p)=f(x)f(x+p)=f(x): sketch one period and repeat.
  • More generally the graph is symmetric about the point (a,b)(a,b) exactly when f(a+t)+f(at)=2bf(a+t)+f(a-t)=2b for all admissible tt. Every cubic has this symmetry about its inflection point.

Symmetry halves the work: analyse x0x\ge 0 and reflect.

4. Asymptotes

Vertical. The line x=ax=a is a vertical asymptote if at least one of limxaf(x)\lim_{x\to a^-}f(x), limxa+f(x)\lim_{x\to a^+}f(x) equals ++\infty or -\infty. Always compute both one-sided limits with their signs — that is what tells you which way each branch runs. For a rational function written in lowest terms the vertical asymptotes are exactly the zeros of the denominator; a factor that cancels completely gives a hole (removable discontinuity), not an asymptote.

Horizontal. The line y=Ly=L is a horizontal asymptote if limxf(x)=L\lim_{x\to\infty}f(x)=L or limxf(x)=L\lim_{x\to-\infty}f(x)=L. The two ends may give different values, so a function has at most two horizontal asymptotes. A graph is allowed to cross a horizontal asymptote: the statement is only about the tails.

Slant (oblique). The line y=mx+by=mx+b with m0m\ne 0 is a slant asymptote if limx[f(x)(mx+b)]=0\lim_{x\to\infty}\left[f(x)-(mx+b)\right]=0 (or the same at -\infty). In general m=limxf(x)xm=\lim_{x\to\infty}\dfrac{f(x)}{x} and b=limx[f(x)mx]b=\lim_{x\to\infty}\left[f(x)-mx\right]; for a rational function just do polynomial long division. The sign of the remainder tells you whether the graph sits above or below the line on each branch.

Rational f=pqf=\dfrac{p}{q} in lowest termsEnd behaviour as x±x\to\pm\inftyLinear asymptote
deg(p)<deg(q)\text{deg}(p)<\text{deg}(q)f0f\to 0y=0y=0
deg(p)=deg(q)\text{deg}(p)=\text{deg}(q)ff\to ratio of leading coefficientsy=anbny=\dfrac{a_n}{b_n}
deg(p)=deg(q)+1\text{deg}(p)=\text{deg}(q)+1f=mx+b+rqf=mx+b+\dfrac{r}{q}, rq0\dfrac{r}{q}\to0slant y=mx+by=mx+b
deg(p)deg(q)+2\text{deg}(p)\ge \text{deg}(q)+2f(x)±f(x)\to\pm\inftynone (quotient is a curvilinear asymptote)

With square roots, remember x2=x\sqrt{x^{2}}=|x|, so for xx\to-\infty you must factor out x-x, not xx.

l'Hopital's Rule (the tool for indeterminate tails). Suppose ff and gg are differentiable on an open interval containing aa, except possibly at aa itself, with g(x)0g'(x)\ne0 there, and suppose limxaf(x)g(x)\lim_{x\to a}\dfrac{f(x)}{g(x)} has the indeterminate form 00\dfrac{0}{0} or \dfrac{\infty}{\infty}. If limxaf(x)g(x)\lim_{x\to a}\dfrac{f'(x)}{g'(x)} exists as a finite number or as ±\pm\infty, then limxaf(x)g(x)=limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)}=\lim_{x\to a}\frac{f'(x)}{g'(x)} The same statement holds for one-sided limits and for a=±a=\pm\infty. All three hypotheses matter: verify the indeterminate form first, because on a quotient that is not indeterminate the rule usually returns a wrong value — limx1x2x=1\lim_{x\to1}\dfrac{x^{2}}{x}=1, while differentiating top and bottom gives limx12x1=2\lim_{x\to1}\dfrac{2x}{1}=2. And if the limit of the ratio of derivatives fails to exist (and is not ±\pm\infty) the rule yields no conclusion — return to the original expression; limxx+sinxx=1\lim_{x\to\infty}\dfrac{x+\sin x}{x}=1 even though limx1+cosx1\lim_{x\to\infty}\dfrac{1+\cos x}{1} does not exist. Never differentiate the quotient with the quotient rule; differentiate top and bottom separately.

5. First derivative: monotonicity and extrema

Critical number: a number cc in the domain of ff with f(c)=0f'(c)=0 or f(c)f'(c) undefined. Points outside the domain are never critical numbers.

Increasing/Decreasing Test. If ff is continuous on [a,b][a,b] and differentiable on (a,b)(a,b) with f>0f'>0 throughout (a,b)(a,b), then ff is increasing on [a,b][a,b]; if f<0f'<0 throughout, ff is decreasing. Continuity on the whole interval is essential — monotonicity conclusions can never be carried across a vertical asymptote or a gap.

First Derivative Test. Let cc be a critical number of ff, let ff be continuous at cc, and let ff be differentiable on an open interval containing cc except possibly at cc itself (this is what makes "the sign of ff' on each side" meaningful). If ff' changes from ++ to - at cc, then f(c)f(c) is a local maximum; from - to ++, a local minimum; if ff' keeps the same sign on both sides, cc gives neither.

Second Derivative Test. If ff'' is continuous on an open interval containing cc and f(c)=0f'(c)=0, then f(c)>0f''(c)>0\Rightarrow local minimum, f(c)<0f''(c)<0\Rightarrow local maximum, and f(c)=0f''(c)=0\Rightarrow no conclusion (fall back on the First Derivative Test).

Building the sign chart: mark on a number line every critical number and every point missing from the domain (asymptotes, holes, endpoints). Test one point in each resulting open interval using the factored form of ff', tracking only the sign of each factor.

6. Second derivative: concavity and inflection

Let ff be differentiable on an interval II. Then ff is concave up on II if ff' is increasing on II (equivalently, the graph lies above each of its tangent lines on II), and concave down on II if ff' is decreasing on II.

Concavity Test. Suppose ff'' exists on the interval II. If f(x)>0f''(x)>0 for all xIx\in I then ff is concave up on II; if f(x)<0f''(x)<0 for all xIx\in I then ff is concave down on II. (The converse is only one-way: f(x)=x4f(x)=x^{4} is concave up on (,)(-\infty,\infty) yet f(0)=0f''(0)=0.)

Inflection point: a point (c,f(c))(c,f(c)) on the graph where ff is continuous at cc and the concavity changes at cc. If f(c)f''(c) exists then f(c)=0f''(c)=0 is necessary, but it is not sufficient: f(x)=x4f(x)=x^{4} has f(0)=0f''(0)=0 and no inflection. Concavity can also change where ff'' fails to exist (f(x)=x1/3f(x)=x^{1/3} at 00). A sign change of ff'' across a vertical asymptote is not an inflection point, because cc is not in the domain.

Vertical tangents and cusps. Suppose ff is continuous at cc, differentiable on both sides of cc near cc, and f(x)|f'(x)|\to\infty as xcx\to c. If ff' has the same sign on both sides there is a vertical tangent at cc; if the signs are opposite there is a cusp.

ff'ff''Shape of the arc
++++increasing, concave up (rise steepens)
++-increasing, concave down (rise flattens)
-++decreasing, concave up (fall flattens)
--decreasing, concave down (fall steepens)

7. Assembling the sketch

Draw the asymptotes as dashed lines, plot the intercepts and every critical and inflection point with coordinates, mark the direction of each tail, then join with arcs whose slope sign and concavity match the two charts. Sanity check: between consecutive critical numbers the curve cannot turn around.

Worked example 1: a rational function with a slant asymptote

f(x)=x2x1f(x)=\frac{x^{2}}{x-1}

Domain: x1x\ne1, i.e. (,1)(1,)(-\infty,1)\cup(1,\infty).

Intercepts: f(0)=0f(0)=0; f(x)=0x2=0x=0f(x)=0\Rightarrow x^{2}=0\Rightarrow x=0. Only (0,0)(0,0).

Symmetry: f(x)=x2x1=x2x+1f(-x)=\dfrac{x^{2}}{-x-1}=-\dfrac{x^{2}}{x+1}, which is neither f(x)f(x) nor f(x)-f(x). None.

Asymptotes: the numerator at x=1x=1 is 101\ne0, so nothing cancels and x=1x=1 is a vertical asymptote: limx1x2x1=limx1+x2x1=+\lim_{x\to1^-}\frac{x^{2}}{x-1}=-\infty \qquad \lim_{x\to1^+}\frac{x^{2}}{x-1}=+\infty (numerator 1>0\to1>0, denominator 0\to0^- then 0+0^+). Long division: x2=(x1)(x+1)+1x^{2}=(x-1)(x+1)+1, so f(x)=x+1+1x1f(x)=x+1+\frac{1}{x-1} Since 1x10\dfrac{1}{x-1}\to0 as x±x\to\pm\infty, the slant asymptote is y=x+1y=x+1; the degrees are 22 and 11, so there is no horizontal asymptote. Because f(x)(x+1)=1x1f(x)-(x+1)=\dfrac{1}{x-1}, the graph lies above y=x+1y=x+1 for x>1x>1 and below it for x<1x<1.

First derivative: f(x)=11(x1)2=(x1)21(x1)2=x22x(x1)2=x(x2)(x1)2f'(x)=1-\frac{1}{(x-1)^{2}}=\frac{(x-1)^{2}-1}{(x-1)^{2}}=\frac{x^{2}-2x}{(x-1)^{2}}=\frac{x(x-2)}{(x-1)^{2}}

Intervalxxx2x-2(x1)2(x-1)^{2}ff'ff
(,0)(-\infty,0)--++++increasing
(0,1)(0,1)++-++-decreasing
(1,2)(1,2)++-++-decreasing
(2,)(2,\infty)++++++++increasing

Critical numbers x=0x=0 and x=2x=2 (x=1x=1 is not one: it is not in the domain). Local maximum (0,0)(0,0), local minimum (2,4)(2,4).

Second derivative: f(x)=2(x1)3f''(x)=\dfrac{2}{(x-1)^{3}}, never zero. It is negative for x<1x<1 (concave down) and positive for x>1x>1 (concave up); since x=1x=1 is not in the domain, there is no inflection point. Cross-check: f(0)=2<0f''(0)=-2<0 confirms the maximum, f(2)=2>0f''(2)=2>0 confirms the minimum.

Sketch: the left branch rises along y=x+1y=x+1 from below, peaks at (0,0)(0,0), then plunges to -\infty at x=1x=1^-, concave down throughout. The right branch drops from ++\infty at x=1+x=1^+ to the minimum (2,4)(2,4) and then rises, staying above y=x+1y=x+1 and concave up throughout.

Worked example 2: an exponential

f(x)=xexf(x)=xe^{-x}

Domain: (,)(-\infty,\infty). Intercepts: only (0,0)(0,0). Symmetry: none.

End behaviour: as xx\to\infty write f(x)=xexf(x)=\dfrac{x}{e^{x}}, an \dfrac{\infty}{\infty} indeterminate form with both functions differentiable and ex0e^{x}\ne0; by l'Hopital's Rule limxxex=limx1ex=0\lim_{x\to\infty}\dfrac{x}{e^{x}}=\lim_{x\to\infty}\dfrac{1}{e^{x}}=0, and since this limit exists the application is legitimate. So y=0y=0 is a horizontal asymptote as x+x\to+\infty, approached from above because f(x)>0f(x)>0 for x>0x>0. As xx\to-\infty, xx\to-\infty and ex+e^{-x}\to+\infty, so f(x)f(x)\to-\infty: no asymptote there (and no indeterminate form, so l'Hopital would be illegal). No vertical asymptotes.

First derivative: f(x)=exxex=ex(1x)f'(x)=e^{-x}-xe^{-x}=e^{-x}(1-x). Since ex>0e^{-x}>0 always, f>0f'>0 for x<1x<1 and f<0f'<0 for x>1x>1: increasing on (,1)(-\infty,1), decreasing on (1,)(1,\infty). Local (indeed absolute) maximum at (1,1e)(1,0.368)\left(1,\dfrac{1}{e}\right)\approx(1,0.368).

Second derivative: f(x)=ex(1x)+ex(1)=ex(x2)f''(x)=-e^{-x}(1-x)+e^{-x}(-1)=e^{-x}(x-2). So f<0f''<0 on (,2)(-\infty,2) and f>0f''>0 on (2,)(2,\infty): concave down then up, with inflection point (2,2e2)(2,0.271)\left(2,\dfrac{2}{e^{2}}\right)\approx(2,0.271). Check: f(1)=e1<0f''(1)=-e^{-1}<0, consistent with a maximum at x=1x=1.

Sketch: rising steeply out of -\infty on the left, crossing the origin, peaking at (1,1/e)(1,1/e), bending at (2,2/e2)(2,2/e^{2}) and then decaying to the axis from above.

Common mistakes

WrongRight
"The denominator vanishes at x=ax=a, so x=ax=a is a vertical asymptote."Cancel first: x21x1=x+1\dfrac{x^{2}-1}{x-1}=x+1 for x1x\ne1 has a hole at (1,2)(1,2), not an asymptote.
"A curve never crosses its asymptote."Only vertical asymptotes are never crossed. xx2+1\dfrac{x}{x^{2}+1} crosses y=0y=0 at the origin; x3x21\dfrac{x^{3}}{x^{2}-1} crosses its slant asymptote y=xy=x at the origin.
"f(c)=0f''(c)=0, so (c,f(c))(c,f(c)) is an inflection point."f(x)=x4f(x)=x^{4} has f(0)=0f''(0)=0 but f=12x20f''=12x^{2}\ge0 on both sides: no concavity change, no inflection.
"f(c)=0f'(c)=0, so there is a local extremum at cc."f(x)=x3f(x)=x^{3} at c=0c=0: ff' does not change sign. Apply the First Derivative Test.
"f(c)f'(c) does not exist, so there is no extremum at cc."f(x)=x2/3f(x)=x^{2/3} has f(0)f'(0) undefined and an absolute minimum at the cusp (0,0)(0,0). Critical numbers include such points, provided cc is in the domain.
"ff is decreasing on (0,2)(0,2)" for f(x)=x2x1f(x)=\dfrac{x^{2}}{x-1}.Report (0,1)(0,1) and (1,2)(1,2) separately: ff is undefined at 11 and jumps from -\infty to ++\infty there.
Doing long division for a slant asymptote whenever the top degree is larger.Only deg(p)=deg(q)+1\text{deg}(p)=\text{deg}(q)+1 gives a line. x3x1\dfrac{x^{3}}{x-1} has the parabolic asymptote y=x2+x+1y=x^{2}+x+1.
Reading the sign of ff' by plugging test points into ff.Substitute test points into the factored ff', and track factor signs only.
Assuming both tails share one horizontal asymptote.3x22x2+1322\dfrac{3x-2}{\sqrt{2x^{2}+1}}\to\dfrac{3\sqrt2}{2} as xx\to\infty but 322\to-\dfrac{3\sqrt2}{2} as xx\to-\infty, because x2=x\sqrt{x^{2}}=-x when x<0x<0.

Key terms

  • domain
  • x-intercept
  • y-intercept
  • even function
  • odd function
  • point symmetry
  • vertical asymptote
  • horizontal asymptote
  • slant (oblique) asymptote
  • curvilinear asymptote
  • removable discontinuity (hole)
  • polynomial long division
  • end behaviour
  • l'Hopital's Rule
  • critical number
  • sign chart
  • Increasing/Decreasing Test
  • First Derivative Test
  • Second Derivative Test
  • local maximum
  • local minimum
  • concave up
  • concave down
  • Concavity Test
  • inflection point
  • cusp
  • vertical tangent

Practice Problems

For f(x)=x24x29f(x)=\dfrac{x^{2}-4}{x^{2}-9}, find the domain, all intercepts, any symmetry, and every vertical and horizontal asymptote (with the appropriate one-sided limits). Does the graph ever cross its horizontal asymptote?

Show hint

Factor the top and the bottom first and check whether anything cancels; only then look for asymptotes.

Show answer

Factor: f(x)=(x2)(x+2)(x3)(x+3)f(x)=\dfrac{(x-2)(x+2)}{(x-3)(x+3)}. No common factors, so the quotient is already in lowest terms (no holes).

Domain: x29=0x^{2}-9=0 at x=±3x=\pm3, so the domain is (,3)(3,3)(3,)(-\infty,-3)\cup(-3,3)\cup(3,\infty).

Intercepts: f(0)=49=49f(0)=\dfrac{-4}{-9}=\dfrac49, giving (0,49)\left(0,\dfrac49\right). Setting the numerator to zero, x=±2x=\pm2, and the denominator is nonzero there, so the xx-intercepts are (2,0)(-2,0) and (2,0)(2,0).

Symmetry: the domain is symmetric about 00 and f(x)=(x)24(x)29=x24x29=f(x)f(-x)=\frac{(-x)^{2}-4}{(-x)^{2}-9}=\frac{x^{2}-4}{x^{2}-9}=f(x) so ff is even: the graph is symmetric in the yy-axis.

Vertical asymptotes: at x=3x=3 the numerator equals 94=509-4=5\ne0, so x=3x=3 is a vertical asymptote. For xx slightly less than 33, x29<0x^{2}-9<0; for xx slightly more, x29>0x^{2}-9>0: limx3f(x)=limx3+f(x)=+\lim_{x\to3^-}f(x)=-\infty \qquad \lim_{x\to3^+}f(x)=+\infty By evenness the same happens mirrored at x=3x=-3: limx3f(x)=+limx3+f(x)=\lim_{x\to-3^-}f(x)=+\infty \qquad \lim_{x\to-3^+}f(x)=-\infty

Horizontal asymptote: divide numerator and denominator by x2x^{2}: limx±x24x29=limx±14x219x2=1010=1\lim_{x\to\pm\infty}\frac{x^{2}-4}{x^{2}-9}=\lim_{x\to\pm\infty}\frac{1-\dfrac{4}{x^{2}}}{1-\dfrac{9}{x^{2}}}=\frac{1-0}{1-0}=1 so y=1y=1 is a horizontal asymptote at both ends (equal degrees, ratio of leading coefficients 1/11/1).

Crossing? f(x)=1f(x)=1 would need x24=x29x^{2}-4=x^{2}-9, i.e. 4=9-4=-9, which is impossible: the graph never crosses y=1y=1. Position: f(x)1=(x24)(x29)x29=5x29f(x)-1=\dfrac{(x^{2}-4)-(x^{2}-9)}{x^{2}-9}=\dfrac{5}{x^{2}-9}, which is positive when x>3|x|>3 and negative when x<3|x|<3. So both outer branches approach y=1y=1 from above, while the middle arch lies entirely below y=1y=1 (its highest point is the yy-intercept (0,49)\left(0,\frac49\right)).

Analyse g(x)=x2x6x29g(x)=\dfrac{x^{2}-x-6}{x^{2}-9}: give the domain, the coordinates of any hole, every asymptote (with one-sided limits at any vertical asymptote), the intercepts, and state on which side of the horizontal asymptote each branch lies.

Show hint

Factor both quadratics. A factor that cancels does not create an asymptote.

Show answer

Factor: x2x6=(x3)(x+2)x^{2}-x-6=(x-3)(x+2) and x29=(x3)(x+3)x^{2}-9=(x-3)(x+3), so g(x)=(x3)(x+2)(x3)(x+3)=x+2x+3for x3g(x)=\frac{(x-3)(x+2)}{(x-3)(x+3)}=\frac{x+2}{x+3}\quad\text{for } x\ne3

Domain: x3x\ne3 and x3x\ne-3: (,3)(3,3)(3,)(-\infty,-3)\cup(-3,3)\cup(3,\infty).

Hole: the factor x3x-3 cancels, so x=3x=3 is a removable discontinuity: limx3g(x)=3+23+3=56\lim_{x\to3}g(x)=\frac{3+2}{3+3}=\frac56 There is an open circle (hole) at (3,56)\left(3,\dfrac56\right)not a vertical asymptote.

Vertical asymptote: x=3x=-3 (it does not cancel; the reduced numerator there is 3+2=10-3+2=-1\ne0). Since x+21<0x+2\to-1<0: limx3+g(x)=10+=limx3g(x)=10=+\lim_{x\to-3^+}g(x)=\frac{-1}{0^+}=-\infty \qquad \lim_{x\to-3^-}g(x)=\frac{-1}{0^-}=+\infty

Horizontal asymptote: equal degrees, leading coefficients 11 and 11, so y=1y=1. Equivalently g(x)=(x+3)1x+3=11x+31 as x±g(x)=\frac{(x+3)-1}{x+3}=1-\frac{1}{x+3}\to1 \text{ as } x\to\pm\infty

Intercepts: g(0)=23g(0)=\dfrac{2}{3}, so (0,23)\left(0,\dfrac23\right); g(x)=0g(x)=0 when x+2=0x+2=0, so (2,0)(-2,0).

Position relative to y=1y=1: g(x)1=1x+3g(x)-1=-\dfrac{1}{x+3}, which is negative for x>3x>-3 and positive for x<3x<-3. The right branch lies below y=1y=1 and rises toward it; the left branch lies above y=1y=1 and falls toward it. (Consistently, g(x)=1(x+3)2>0g'(x)=\dfrac{1}{(x+3)^{2}}>0, so gg is increasing on each branch, and the graph never crosses y=1y=1.)

Find every asymptote of f(x)=2x2+3x1x+2f(x)=\dfrac{2x^{2}+3x-1}{x+2}, including the slant asymptote, and determine on which side of the slant asymptote the graph lies on each branch.

Show hint

Degree of the top is exactly one more than the degree of the bottom — so divide.

Show answer

Vertical asymptote: the denominator vanishes at x=2x=-2, and the numerator there is 2(4)+3(2)1=861=102(4)+3(-2)-1=8-6-1=1\ne0, so nothing cancels and x=2x=-2 is a vertical asymptote.

Long division: divide 2x2+3x12x^{2}+3x-1 by x+2x+2.

2x^{2}\div x&=2x, & 2x(x+2)&=2x^{2}+4x, & (2x^{2}+3x-1)-(2x^{2}+4x)&=-x-1\\ -x\div x&=-1, & -1(x+2)&=-x-2, & (-x-1)-(-x-2)&=1 \end{aligned}$$ So $2x^{2}+3x-1=(x+2)(2x-1)+1$ and $$f(x)=2x-1+\frac{1}{x+2}$$ (Check: $(x+2)(2x-1)+1=2x^{2}-x+4x-2+1=2x^{2}+3x-1$.) **One-sided limits at $x=-2$:** the term $2x-1\to-5$ is bounded, while $\dfrac{1}{x+2}\to\pm\infty$: $$\lim_{x\to-2^+}f(x)=+\infty \qquad \lim_{x\to-2^-}f(x)=-\infty$$ **Horizontal asymptote:** none. The numerator has degree $2$, the denominator degree $1$, so $|f(x)|\to\infty$ as $x\to\pm\infty$. **Slant asymptote:** $\dfrac{1}{x+2}\to0$ as $x\to\pm\infty$, hence $$\lim_{x\to\pm\infty}\left[f(x)-(2x-1)\right]=\lim_{x\to\pm\infty}\frac{1}{x+2}=0$$ so $y=2x-1$ is a slant asymptote at both ends. **Which side:** $f(x)-(2x-1)=\dfrac{1}{x+2}$, so - for $x>-2$ the difference is positive: the right branch lies **above** the line $y=2x-1$; - for $x<-2$ it is negative: the left branch lies **below** the line. The graph never meets the line (the difference is never $0$). **Remark (turning points).** $f'(x)=2-\dfrac{1}{(x+2)^{2}}=0$ gives $(x+2)^{2}=\dfrac12$, i.e. $x=-2\pm\dfrac{1}{\sqrt2}$, with a local maximum $f\left(-2-\tfrac{1}{\sqrt2}\right)=-5-2\sqrt2\approx-7.83$ and a local minimum $f\left(-2+\tfrac{1}{\sqrt2}\right)=-5+2\sqrt2\approx-2.17$.

For the polynomial f(x)=x33x29x+5f(x)=x^{3}-3x^{2}-9x+5, find the intervals of increase and decrease, all local extrema (with coordinates), the intervals of concavity, the inflection point, and describe the resulting sketch.

Show hint

Differentiate and factor ff' completely; a polynomial has no asymptotes, so the sign charts do all the work.

Show answer

Domain and end behaviour: all of (,)(-\infty,\infty); no asymptotes. Since the leading term is x3x^{3}, f(x)f(x)\to-\infty as xx\to-\infty and f(x)+f(x)\to+\infty as x+x\to+\infty. yy-intercept (0,5)(0,5).

First derivative: f(x)=3x26x9=3(x22x3)=3(x3)(x+1)f'(x)=3x^{2}-6x-9=3(x^{2}-2x-3)=3(x-3)(x+1) Critical numbers: x=1x=-1 and x=3x=3.

Intervalx+1x+1x3x-3ff'ff
(,1)(-\infty,-1)--++increasing
(1,3)(-1,3)++--decreasing
(3,)(3,\infty)++++++increasing

ff' changes ++\to- at x=1x=-1: local maximum f(1)=(1)33(1)29(1)+5=13+9+5=10(1,10)f(-1)=(-1)^{3}-3(-1)^{2}-9(-1)+5=-1-3+9+5=10 \Rightarrow (-1,10) ff' changes +-\to+ at x=3x=3: local minimum f(3)=272727+5=22(3,22)f(3)=27-27-27+5=-22 \Rightarrow (3,-22)

Second derivative: f(x)=6x6=6(x1)f''(x)=6x-6=6(x-1), so f<0f''<0 on (,1)(-\infty,1) (concave down) and f>0f''>0 on (1,)(1,\infty) (concave up). The concavity changes at x=1x=1, and f(1)=139+5=6f(1)=1-3-9+5=-6 so the inflection point is (1,6)(1,-6).

Cross-check with the Second Derivative Test: f(1)=12<0f''(-1)=-12<0 (local max) and f(3)=12>0f''(3)=12>0 (local min) — consistent.

Sketch: the curve rises out of -\infty, concave down, to the local maximum (1,10)(-1,10); it falls, still concave down, through the inflection point (1,6)(1,-6), where it becomes concave up, continuing down to the local minimum (3,22)(3,-22), then rises to ++\infty concave up. The three xx-intercepts (roots of x33x29x+5x^{3}-3x^{2}-9x+5) are not rational; by the Intermediate Value Theorem they lie in (3,2)(-3,-2), (0,1)(0,1) and (4,5)(4,5), approximately x2.18, 0.49, 4.69x\approx-2.18,\ 0.49,\ 4.69. The graph is symmetric about the inflection point (1,6)(1,-6), as every cubic is.

Find all horizontal asymptotes of f(x)=3x22x2+1f(x)=\dfrac{3x-2}{\sqrt{2x^{2}+1}}, justifying the limit at each end separately. Are there any vertical asymptotes?

Show hint

Divide top and bottom by xx — but pulling xx inside a square root requires x2=x\sqrt{x^{2}}=|x|, and x=x|x|=-x when x<0x<0.

Show answer

Domain: 2x2+11>02x^{2}+1\ge1>0 for every real xx, so the domain is (,)(-\infty,\infty) and the denominator never vanishes. Hence there are no vertical asymptotes.

Limit as x+x\to+\infty. For x>0x>0 we have x=x2x=\sqrt{x^{2}}, so 2x2+1x=2x2+1x2=2x2+1x2=2+1x2\frac{\sqrt{2x^{2}+1}}{x}=\frac{\sqrt{2x^{2}+1}}{\sqrt{x^{2}}}=\sqrt{\frac{2x^{2}+1}{x^{2}}}=\sqrt{2+\frac{1}{x^{2}}} Dividing numerator and denominator by xx: limx3x22x2+1=limx32x2+1x2=302+0=32=3222.121\lim_{x\to\infty}\frac{3x-2}{\sqrt{2x^{2}+1}}=\lim_{x\to\infty}\frac{3-\dfrac{2}{x}}{\sqrt{2+\dfrac{1}{x^{2}}}}=\frac{3-0}{\sqrt{2+0}}=\frac{3}{\sqrt2}=\frac{3\sqrt2}{2}\approx2.121

Limit as xx\to-\infty. Now x<0x<0, so x2=x=x\sqrt{x^{2}}=|x|=-x and 2x2+1=x2+1x2=x2+1x2\sqrt{2x^{2}+1}=|x|\sqrt{2+\frac{1}{x^{2}}}=-x\sqrt{2+\frac{1}{x^{2}}} Therefore 3x22x2+1=3x2x2+1x2=3+2x2+1x232=3222.121\frac{3x-2}{\sqrt{2x^{2}+1}}=\frac{3x-2}{-x\sqrt{2+\dfrac{1}{x^{2}}}}=\frac{-3+\dfrac{2}{x}}{\sqrt{2+\dfrac{1}{x^{2}}}}\to\frac{-3}{\sqrt2}=-\frac{3\sqrt2}{2}\approx-2.121

Conclusion: two horizontal asymptotes, y=322  (as x+)y=322  (as x)y=\frac{3\sqrt2}{2}\ \ (\text{as } x\to+\infty) \qquad y=-\frac{3\sqrt2}{2}\ \ (\text{as } x\to-\infty)

Numerical check: at x=1000x=1000, 299820000012.1199\dfrac{2998}{\sqrt{2000001}}\approx2.1199; at x=1000x=-1000, 300220000012.1227\dfrac{-3002}{\sqrt{2000001}}\approx-2.1227. Both are closing in on ±2.1213\pm2.1213.

The common error is to write 2x2+1=x2+1/x2\sqrt{2x^{2}+1}=x\sqrt{2+1/x^{2}} at both ends, which would wrongly give y=322y=\frac{3\sqrt2}{2} at -\infty as well.

Carry out the full curve-sketching checklist for f(x)=xx2+1f(x)=\dfrac{x}{x^{2}+1}: domain, intercepts, symmetry, asymptotes, monotonicity and extrema, concavity and inflection points, then describe the graph.

Show hint

The denominator is never zero, so all the interest is in the two sign charts; use the quotient rule and factor the results.

Show answer

1. Domain: x2+11>0x^{2}+1\ge1>0, so the domain is (,)(-\infty,\infty); ff is continuous everywhere.

2. Intercepts: f(0)=0f(0)=0, and f(x)=0x=0f(x)=0\Rightarrow x=0. The only intercept is the origin.

3. Symmetry: f(x)=xx2+1=f(x)f(-x)=\dfrac{-x}{x^{2}+1}=-f(x), so ff is odd: symmetric about the origin.

4. Asymptotes: no vertical asymptotes (denominator never zero). Degree 11 over degree 22, so limx±xx2+1=limx±1x1+1x2=0\lim_{x\to\pm\infty}\frac{x}{x^{2}+1}=\lim_{x\to\pm\infty}\frac{\dfrac1x}{1+\dfrac{1}{x^{2}}}=0 y=0y=0 is a horizontal asymptote at both ends. The graph crosses it at the origin (f>0f>0 for x>0x>0, f<0f<0 for x<0x<0).

5. First derivative (quotient rule): f(x)=(1)(x2+1)x(2x)(x2+1)2=x2+12x2(x2+1)2=1x2(x2+1)2=(1x)(1+x)(x2+1)2f'(x)=\frac{(1)(x^{2}+1)-x(2x)}{(x^{2}+1)^{2}}=\frac{x^{2}+1-2x^{2}}{(x^{2}+1)^{2}}=\frac{1-x^{2}}{(x^{2}+1)^{2}}=\frac{(1-x)(1+x)}{(x^{2}+1)^{2}} The denominator is always positive, so ff' has the sign of 1x21-x^{2}: critical numbers x=±1x=\pm1.

Interval1x21-x^{2}ff'ff
(,1)(-\infty,-1)--decreasing
(1,1)(-1,1)++++increasing
(1,)(1,\infty)--decreasing

Local minimum (1,12)\left(-1,-\dfrac12\right) and local maximum (1,12)\left(1,\dfrac12\right); since f0f\to0 at both ends, these are the absolute extrema.

6. Second derivative. Differentiate f(x)=(1x2)(x2+1)2f'(x)=(1-x^{2})(x^{2}+1)^{-2}:

f''(x)&=(-2x)(x^{2}+1)^{-2}+(1-x^{2})(-2)(x^{2}+1)^{-3}(2x)\\ &=-2x(x^{2}+1)^{-3}\left[(x^{2}+1)+2(1-x^{2})\right]\\ &=-2x(x^{2}+1)^{-3}\left(3-x^{2}\right)=\frac{2x\left(x^{2}-3\right)}{(x^{2}+1)^{3}} \end{aligned}$$ The denominator is positive, so $f''$ has the sign of $2x(x^{2}-3)$, with zeros $x=-\sqrt3,\,0,\,\sqrt3$. | Interval | $2x$ | $x^{2}-3$ | $f''$ | Concavity | |---|---|---|---|---| | $(-\infty,-\sqrt3)$ | $-$ | $+$ | $-$ | down | | $(-\sqrt3,0)$ | $-$ | $-$ | $+$ | up | | $(0,\sqrt3)$ | $+$ | $-$ | $-$ | down | | $(\sqrt3,\infty)$ | $+$ | $+$ | $+$ | up | All three are genuine sign changes, so there are three inflection points: $$\left(-\sqrt3,-\frac{\sqrt3}{4}\right),\quad (0,0),\quad \left(\sqrt3,\frac{\sqrt3}{4}\right)$$ using $f(\sqrt3)=\dfrac{\sqrt3}{3+1}=\dfrac{\sqrt3}{4}\approx0.433$. **7. Sketch:** read the two charts together. On $(-\infty,-\sqrt3)$ it is decreasing and concave down (falling away from the asymptote $y=0$), on $\left(-\sqrt3,-1\right)$ decreasing and concave up through the inflection point $\left(-\sqrt3,-\frac{\sqrt3}{4}\right)\approx(-1.73,-0.43)$, reaching the absolute minimum $\left(-1,-\frac12\right)$; it then increases through the origin (steepest point, slope $f'(0)=1$, and an inflection), rises to the maximum $\left(1,\frac12\right)$, and finally decreases to $0^+$, concave down until $x=\sqrt3$ and concave up after it. The whole picture is symmetric about the origin.

Sketch f(x)=x2exf(x)=x^{2}e^{-x} completely: domain, intercepts, behaviour as x±x\to\pm\infty (justify the limit at ++\infty), monotonicity, local extrema, concavity and inflection points.

Show hint

For the tail at ++\infty rewrite the function as a quotient and check that l'Hopital's hypotheses hold before using it; for the derivatives, factor out exe^{-x}.

Show answer

Domain: (,)(-\infty,\infty). Intercepts: f(0)=0f(0)=0 and f(x)=0x2=0f(x)=0\Rightarrow x^{2}=0 (since ex>0e^{-x}>0 always), so the only intercept is (0,0)(0,0). Also f(x)0f(x)\ge0 everywhere. Symmetry: none.

End behaviour. As x+x\to+\infty write f(x)=x2exf(x)=\dfrac{x^{2}}{e^{x}}. This is of the form \dfrac{\infty}{\infty}, numerator and denominator are differentiable and ex0e^{x}\ne0, so l'Hopital's Rule applies: limxx2ex=limx2xex=limx2ex=0\lim_{x\to\infty}\frac{x^{2}}{e^{x}}=\lim_{x\to\infty}\frac{2x}{e^{x}}=\lim_{x\to\infty}\frac{2}{e^{x}}=0 (the second use is again \frac{\infty}{\infty}, and the final limit exists, which validates both steps). So y=0y=0 is a horizontal asymptote as x+x\to+\infty, approached from above since f>0f>0.

As xx\to-\infty: x2+x^{2}\to+\infty and ex+e^{-x}\to+\infty, so f(x)+f(x)\to+\infty. This is not an indeterminate form, so l'Hopital must not be used here. There is no asymptote on the left and no vertical asymptote anywhere.

First derivative (product rule): f(x)=2xex+x2(ex)=ex(2xx2)=xex(2x)f'(x)=2xe^{-x}+x^{2}\left(-e^{-x}\right)=e^{-x}\left(2x-x^{2}\right)=xe^{-x}(2-x) Since ex>0e^{-x}>0, the sign of ff' is the sign of x(2x)x(2-x); critical numbers x=0x=0 and x=2x=2.

Intervalxx2x2-xff'ff
(,0)(-\infty,0)-++-decreasing
(0,2)(0,2)++++++increasing
(2,)(2,\infty)++--decreasing

Local minimum at (0,0)(0,0) — in fact the absolute minimum, since f0f\ge0. Local maximum at (2,4e2)(2,0.541)\left(2,\frac{4}{e^{2}}\right)\approx(2,0.541) which is the absolute maximum on [0,)[0,\infty) but not on (,)(-\infty,\infty) (the left tail is unbounded).

Second derivative: f(x)=ddx[(2xx2)ex]=(22x)ex(2xx2)ex=ex(x24x+2)f''(x)=\frac{d}{dx}\left[\left(2x-x^{2}\right)e^{-x}\right]=(2-2x)e^{-x}-\left(2x-x^{2}\right)e^{-x}=e^{-x}\left(x^{2}-4x+2\right) Set x24x+2=0x^{2}-4x+2=0: x=4±1682=2±2x=\dfrac{4\pm\sqrt{16-8}}{2}=2\pm\sqrt2, i.e. x0.586x\approx0.586 and x3.414x\approx3.414. The parabola x24x+2x^{2}-4x+2 opens upward, so

Intervalff''Concavity
(,22)\left(-\infty,\,2-\sqrt2\right)++up
(22,2+2)\left(2-\sqrt2,\,2+\sqrt2\right)-down
(2+2,)\left(2+\sqrt2,\,\infty\right)++up

Both are sign changes, so there are two inflection points. Their heights, using (22)2=642\left(2\mp\sqrt2\right)^{2}=6\mp4\sqrt2: (22, (642)e22)(0.586,0.191),(2+2, (6+42)e22)(3.414,0.384)\left(2-\sqrt2,\ \left(6-4\sqrt2\right)e^{\sqrt2-2}\right)\approx(0.586,\,0.191), \qquad \left(2+\sqrt2,\ \left(6+4\sqrt2\right)e^{-2-\sqrt2}\right)\approx(3.414,\,0.384)

Consistency check: f(0)=e0(00+2)=2>0f''(0)=e^{0}(0-0+2)=2>0 confirms the local minimum at x=0x=0, and f(2)=e2(48+2)=2e2<0f''(2)=e^{-2}(4-8+2)=-2e^{-2}<0 confirms the local maximum at x=2x=2.

Sketch: falling steeply from ++\infty on the left while concave up, flattening into the minimum at the origin, rising (concave up until x=22x=2-\sqrt2, then concave down) to the hump at (2,4e2)\left(2,4e^{-2}\right), then decaying, concave down until x=2+2x=2+\sqrt2 and concave up thereafter, hugging the positive xx-axis from above.

Determine the constants aa and bb so that the curve y=x3+ax2+bx+1y=x^{3}+ax^{2}+bx+1 has an inflection point at x=1x=1 and a critical point at x=2x=2. Then classify all critical points, give the coordinates of the inflection point, and describe the graph.

Show hint

Translate each condition into an equation in aa and bb using yy' and yy'', and remember to verify at the end that the inflection candidate really is one.

Show answer

Set up. y=3x2+2ax+by=6x+2ay'=3x^{2}+2ax+b \qquad y''=6x+2a

Condition 1 (inflection at x=1x=1): an inflection point requires y(1)=0y''(1)=0 (here yy'' exists everywhere, so this is necessary): 6(1)+2a=0a=36(1)+2a=0 \Rightarrow a=-3

Condition 2 (critical point at x=2x=2): y(2)=0y'(2)=0: 3(4)+2a(2)+b=012+4(3)+b=01212+b=0b=03(4)+2a(2)+b=0 \Rightarrow 12+4(-3)+b=0 \Rightarrow 12-12+b=0 \Rightarrow b=0

So a=3a=-3, b=0b=0 and y=x33x2+1y=x^{3}-3x^{2}+1

Verify the inflection point is genuine: y=6x6=6(x1)y''=6x-6=6(x-1) changes from negative to positive at x=1x=1, so the concavity really does change there. Concave down on (,1)(-\infty,1), concave up on (1,)(1,\infty). Height: y(1)=13+1=1inflection point (1,1)y(1)=1-3+1=-1 \Rightarrow \text{inflection point } (1,-1)

All critical points: y=3x26x=3x(x2)=0y'=3x^{2}-6x=3x(x-2)=0 gives x=0x=0 and x=2x=2.

  • y(0)=6<0y''(0)=-6<0, and yy'' is continuous, so by the Second Derivative Test x=0x=0 gives a local maximum: y(0)=1y(0)=1, point (0,1)(0,1).
  • y(2)=6>0y''(2)=6>0, so x=2x=2 gives a local minimum: y(2)=812+1=3y(2)=8-12+1=-3, point (2,3)(2,-3).

(First Derivative Test agrees: y>0y'>0 on (,0)(-\infty,0), y<0y'<0 on (0,2)(0,2), y>0y'>0 on (2,)(2,\infty).)

Description of the graph: increasing and concave down up to the local maximum (0,1)(0,1); decreasing and concave down to the inflection point (1,1)(1,-1); decreasing and concave up to the local minimum (2,3)(2,-3); then increasing and concave up to ++\infty. As xx\to-\infty, yy\to-\infty. The yy-intercept is (0,1)(0,1), which is also the local maximum, and the curve is symmetric about its inflection point (1,1)(1,-1) (i.e. y(1+t)+y(1t)=2y(1+t)+y(1-t)=-2 for all tt).

Sketch f(x)=x2/3(x5)f(x)=x^{2/3}(x-5) completely. In particular identify all critical numbers (including any where ff' fails to exist), classify the behaviour at x=0x=0 (vertical tangent or cusp?), and find the inflection point.

Show hint

Expand into a sum of powers of xx before differentiating, then factor out the most negative power of xx in each derivative.

Show answer

Rewrite: f(x)=x5/35x2/3f(x)=x^{5/3}-5x^{2/3}.

Domain: all of (,)(-\infty,\infty) (cube roots accept negative inputs). Intercepts: f(x)=0f(x)=0 when x2/3=0x^{2/3}=0 or x=5x=5, so (0,0)(0,0) and (5,0)(5,0). Symmetry: none. Asymptotes: none; as x+x\to+\infty, f+f\to+\infty, and as xx\to-\infty, x2/3+x^{2/3}\to+\infty while x5x-5\to-\infty, so ff\to-\infty.

First derivative: f(x)=53x2/3103x1/3=53x1/3(x2)=5(x2)3x1/3f'(x)=\frac53x^{2/3}-\frac{10}{3}x^{-1/3}=\frac53x^{-1/3}\left(x-2\right)=\frac{5(x-2)}{3x^{1/3}}

Critical numbers: f(x)=0f'(x)=0 at x=2x=2; ff' does not exist at x=0x=0, and 00 is in the domain, so x=0x=0 is also a critical number.

Intervalx2x-2x1/3x^{1/3}ff'ff
(,0)(-\infty,0)--++increasing
(0,2)(0,2)-++-decreasing
(2,)(2,\infty)++++++increasing

By the First Derivative Test: local maximum at (0,0)(0,0) (++\to-) and local minimum at (2, 22/3(25))=(2, 322/3)(2,4.76)\left(2,\ 2^{2/3}(2-5)\right)=\left(2,\ -3\cdot2^{2/3}\right)\approx(2,-4.76)

Behaviour at x=0x=0: ff is continuous at 00 and limx0f(x)=limx05(x2)3x1/3=100=+,limx0+f(x)=100+=\lim_{x\to0^-}f'(x)=\lim_{x\to0^-}\frac{5(x-2)}{3x^{1/3}}=\frac{-10}{0^-}=+\infty, \qquad \lim_{x\to0^+}f'(x)=\frac{-10}{0^+}=-\infty The tangent slopes blow up with opposite signs, so the graph has a cusp at the origin (a sharp upward spike), not a vertical tangent.

Second derivative: f(x)=109x1/3+109x4/3=109x4/3(x+1)=10(x+1)9x4/3f''(x)=\frac{10}{9}x^{-1/3}+\frac{10}{9}x^{-4/3}=\frac{10}{9}x^{-4/3}\left(x+1\right)=\frac{10(x+1)}{9x^{4/3}} For x0x\ne0, x4/3=(x1/3)4>0x^{4/3}=\left(x^{1/3}\right)^{4}>0, so ff'' has the sign of x+1x+1:

Intervalff''Concavity
(,1)(-\infty,-1)-down
(1,0)(-1,0)++up
(0,)(0,\infty)++up

The concavity changes only at x=1x=-1, where f(1)=(1)2/3(15)=1(6)=6f(-1)=(-1)^{2/3}(-1-5)=1\cdot(-6)=-6, so the single inflection point is (1,6)(-1,-6). At x=0x=0 the second derivative is undefined but the concavity is up on both sides, so the origin is not an inflection point.

Sketch: rising from -\infty on the far left, concave down until (1,6)(-1,-6), then concave up as it climbs to the cusp peak at the origin; from the cusp it drops (concave up) to the minimum (2,322/3)\left(2,-3\cdot2^{2/3}\right), then rises through the xx-intercept (5,0)(5,0) and on to ++\infty, concave up the whole way.

Produce a complete analysis and sketch of f(x)=x3x21f(x)=\dfrac{x^{3}}{x^{2}-1}: domain, symmetry, intercepts, all asymptotes (with one-sided limits and slant asymptote), monotonicity and extrema, concavity and inflection points. Explain why the local maximum value is smaller than the local minimum value.

Show hint

Divide first: writing f(x)=x+xx21f(x)=x+\dfrac{x}{x^{2}-1} makes both the slant asymptote and the derivatives much easier.

Show answer

Domain: x21=0x^{2}-1=0 at x=±1x=\pm1, so (,1)(1,1)(1,)(-\infty,-1)\cup(-1,1)\cup(1,\infty). The factorisation x3(x1)(x+1)\dfrac{x^{3}}{(x-1)(x+1)} shows nothing cancels.

Symmetry: f(x)=x3x21=f(x)f(-x)=\dfrac{-x^{3}}{x^{2}-1}=-f(x): odd, symmetric about the origin.

Intercepts: f(x)=0x3=0f(x)=0\Rightarrow x^{3}=0, so only the origin (0,0)(0,0).

Vertical asymptotes at x=1x=1 and x=1x=-1. Near x=1x=1 the numerator 1>0\to1>0 and x21x^{2}-1 changes sign: limx1f(x)=,limx1+f(x)=+\lim_{x\to1^-}f(x)=-\infty, \qquad \lim_{x\to1^+}f(x)=+\infty Near x=1x=-1 the numerator 1<0\to-1<0, while x21>0x^{2}-1>0 for x<1x<-1 and x21<0x^{2}-1<0 for 1<x<1-1<x<1: limx1f(x)=,limx1+f(x)=+\lim_{x\to-1^-}f(x)=-\infty, \qquad \lim_{x\to-1^+}f(x)=+\infty

Slant asymptote: x3=x(x21)+xx^{3}=x\left(x^{2}-1\right)+x, so f(x)=x+xx21f(x)=x+\frac{x}{x^{2}-1} and xx210\dfrac{x}{x^{2}-1}\to0 as x±x\to\pm\infty, giving the slant asymptote y=xy=x (no horizontal asymptote, since the degrees differ by exactly 11). Position: f(x)x=xx21f(x)-x=\dfrac{x}{x^{2}-1} is positive on (1,0)(-1,0) and (1,)(1,\infty) (graph above the line) and negative on (,1)(-\infty,-1) and (0,1)(0,1) (below). The graph crosses its slant asymptote at the origin.

First derivative: differentiating f(x)=x+x(x21)1f(x)=x+x\left(x^{2}-1\right)^{-1}, f(x)=1+(x21)x(2x)(x21)2=1x2+1(x21)2=(x21)2x21(x21)2f'(x)=1+\frac{\left(x^{2}-1\right)-x(2x)}{\left(x^{2}-1\right)^{2}}=1-\frac{x^{2}+1}{\left(x^{2}-1\right)^{2}}=\frac{\left(x^{2}-1\right)^{2}-x^{2}-1}{\left(x^{2}-1\right)^{2}} (x21)2x21=x42x2+1x21=x43x2=x2(x23)\left(x^{2}-1\right)^{2}-x^{2}-1=x^{4}-2x^{2}+1-x^{2}-1=x^{4}-3x^{2}=x^{2}\left(x^{2}-3\right) f(x)=x2(x23)(x21)2f'(x)=\frac{x^{2}\left(x^{2}-3\right)}{\left(x^{2}-1\right)^{2}} The denominator is positive and x20x^{2}\ge0, so ff' has the sign of x23x^{2}-3 (and f(0)=0f'(0)=0). Critical numbers: x=0, ±3x=0,\ \pm\sqrt3.

Intervalsign of ff'ff
(,3)\left(-\infty,-\sqrt3\right)++increasing
(3,1)\left(-\sqrt3,-1\right)-decreasing
(1,0)(-1,0)-decreasing
(0,1)(0,1)-decreasing
(1,3)\left(1,\sqrt3\right)-decreasing
(3,)\left(\sqrt3,\infty\right)++increasing

Local maximum at x=3x=-\sqrt3: f(3)=3331=3322.598f(-\sqrt3)=\dfrac{-3\sqrt3}{3-1}=-\dfrac{3\sqrt3}{2}\approx-2.598. Local minimum at x=3x=\sqrt3: f(3)=3322.598f(\sqrt3)=\dfrac{3\sqrt3}{2}\approx2.598. At x=0x=0, f(0)=0f'(0)=0 but f<0f'<0 on both sides, so the origin is not an extremum — just a horizontal tangent on a decreasing arc.

Why max << min: the two extrema live on different branches, separated by the vertical asymptotes; "local" compares only with nearby points, and no continuous path inside the domain joins x=3x=-\sqrt3 to x=3x=\sqrt3.

Second derivative: differentiate f(x)=1(x2+1)(x21)2f'(x)=1-\left(x^{2}+1\right)\left(x^{2}-1\right)^{-2}:

\frac{d}{dx}\left[\left(x^{2}+1\right)\left(x^{2}-1\right)^{-2}\right]&=2x\left(x^{2}-1\right)^{-2}-4x\left(x^{2}+1\right)\left(x^{2}-1\right)^{-3}\\ &=2x\left(x^{2}-1\right)^{-3}\left[\left(x^{2}-1\right)-2\left(x^{2}+1\right)\right]=\frac{-2x\left(x^{2}+3\right)}{\left(x^{2}-1\right)^{3}} \end{aligned}$$ $$f''(x)=\frac{2x\left(x^{2}+3\right)}{\left(x^{2}-1\right)^{3}}$$ Since $x^{2}+3>0$, the numerator has the sign of $x$ and the denominator the sign of $x^{2}-1$: | Interval | numerator | denominator | $f''$ | Concavity | |---|---|---|---|---| | $(-\infty,-1)$ | $-$ | $+$ | $-$ | down | | $(-1,0)$ | $-$ | $-$ | $+$ | up | | $(0,1)$ | $+$ | $-$ | $-$ | down | | $(1,\infty)$ | $+$ | $+$ | $+$ | up | The only concavity change at a point of the domain is $x=0$, so the single inflection point is $(0,0)$ (the changes at $x=\pm1$ occur across vertical asymptotes and do not count). **Sketch:** far left, the curve comes up along $y=x$ from below, rises to the local maximum $\left(-\sqrt3,-\frac{3\sqrt3}{2}\right)$ (concave down), then falls to $-\infty$ at $x=-1^-$. On $(-1,1)$ it descends from $+\infty$ through the origin — where it flattens momentarily, crosses $y=x$ and switches from concave up to concave down — down to $-\infty$ at $x=1^-$. On $(1,\infty)$ it falls from $+\infty$ to the local minimum $\left(\sqrt3,\frac{3\sqrt3}{2}\right)$, then rises, concave up, approaching $y=x$ from above. The whole figure is symmetric about the origin.

Carry out a full analysis and sketch of f(x)=exxf(x)=\dfrac{e^{x}}{x}: domain, intercepts, all asymptotes with one-sided and end limits, monotonicity, extrema, concavity, and inflection points.

Show hint

There is no xx-intercept because exe^{x} is never zero; treat the two branches x<0x<0 and x>0x>0 separately, and use the quotient rule twice.

Show answer

Domain: x0x\ne0, i.e. (,0)(0,)(-\infty,0)\cup(0,\infty).

Intercepts: ex>0e^{x}>0 for all xx, so f(x)0f(x)\ne0: no xx-intercept. And x=0x=0 is excluded, so no yy-intercept. Note f(x)>0f(x)>0 for x>0x>0 and f(x)<0f(x)<0 for x<0x<0. Symmetry: none.

Vertical asymptote x=0x=0: the numerator 1\to1, so limx0+exx=10+=+,limx0exx=10=\lim_{x\to0^+}\frac{e^{x}}{x}=\frac{1}{0^{+}}=+\infty, \qquad \lim_{x\to0^-}\frac{e^{x}}{x}=\frac{1}{0^{-}}=-\infty

End behaviour.

  • As x+x\to+\infty: the form is \dfrac{\infty}{\infty}, numerator and denominator are differentiable on (0,)(0,\infty), and the derivative of the denominator is 101\ne0, so l'Hopital's Rule applies: limxexx=limxex1=+\lim_{x\to\infty}\dfrac{e^{x}}{x}=\lim_{x\to\infty}\dfrac{e^{x}}{1}=+\infty. The new limit is ++\infty, which is one of the permitted outcomes, so the step is legitimate. No asymptote on the right.
  • As xx\to-\infty: ex0e^{x}\to0 and 1x0\dfrac1x\to0, so f(x)0f(x)\to0 — no indeterminate form, and l'Hopital is not applicable. Since f<0f<0 there, y=0y=0 is a horizontal asymptote approached from below, only as xx\to-\infty.

First derivative (quotient rule): f(x)=exxex1x2=ex(x1)x2f'(x)=\frac{e^{x}\cdot x-e^{x}\cdot1}{x^{2}}=\frac{e^{x}(x-1)}{x^{2}} Since ex>0e^{x}>0 and x2>0x^{2}>0 for x0x\ne0, the sign of ff' is the sign of x1x-1. The only critical number is x=1x=1 (x=0x=0 is not in the domain).

Intervalx1x-1ff'ff
(,0)(-\infty,0)--decreasing
(0,1)(0,1)--decreasing
(1,)(1,\infty)++++increasing

Local minimum at x=1x=1: f(1)=e2.718f(1)=e\approx2.718, the point (1,e)(1,e). It is the absolute minimum of the right branch (on (0,)(0,\infty)), but not of ff overall, since ff\to-\infty as x0x\to0^-. The left branch has no extremum: it decreases from 00^- down to -\infty.

Second derivative. Differentiate f(x)=ex(x1)x2f'(x)=e^{x}(x-1)x^{-2}:

f''(x)&=e^{x}(x-1)x^{-2}+e^{x}\cdot x^{-2}+e^{x}(x-1)\left(-2x^{-3}\right)\\ &=e^{x}x^{-3}\left[x(x-1)+x-2(x-1)\right]\\ &=e^{x}x^{-3}\left[x^{2}-x+x-2x+2\right]=\frac{e^{x}\left(x^{2}-2x+2\right)}{x^{3}} \end{aligned}$$ Now $x^{2}-2x+2=(x-1)^{2}+1\ge1>0$ for every $x$, and $e^{x}>0$, so $f''$ has the sign of $x^{3}$: - $f''<0$ on $(-\infty,0)$: concave **down**; - $f''>0$ on $(0,\infty)$: concave **up**. There is **no inflection point**: the only sign change of $f''$ happens at $x=0$, which is not in the domain (it is the vertical asymptote). **Consistency check:** $f''(1)=\dfrac{e\left(1-2+2\right)}{1}=e>0$, confirming the local minimum at $x=1$ via the Second Derivative Test. **Sketch:** the left branch enters from the left just below the $x$-axis, decreasing and concave down, and plunges to $-\infty$ as $x\to0^-$. The right branch comes down from $+\infty$ at $x=0^+$, concave up, reaches the minimum $(1,e)$, and then increases without bound, still concave up (in fact faster than any line).

Each statement below is false. For each one, give an explicit counterexample and state the correct version of the rule.

(a) If f(c)=0f''(c)=0, then the graph of ff has an inflection point at x=cx=c.

(b) If the denominator of a rational function is zero at x=ax=a, then x=ax=a is a vertical asymptote.

(c) A graph can never cross an asymptote.

(d) If f(c)=0f'(c)=0, then ff has a local maximum or a local minimum at cc.

(e) If f(c)f'(c) does not exist, then ff cannot have a local extremum at cc.

(f) If ff is increasing on (0,1)(0,1) and increasing on (1,2)(1,2), then ff is increasing on (0,2)(0,2).

Show hint

For each claim, ask which hypothesis of the real theorem has been dropped: a sign change, a cancellation, a domain restriction, or continuity.

Show answer

(a) Counterexample: f(x)=(x2)4f(x)=(x-2)^{4} at c=2c=2. Then f(x)=12(x2)2f''(x)=12(x-2)^{2}, so f(2)=0f''(2)=0, yet f0f''\ge0 everywhere: the curve is concave up on both sides and (2,0)(2,0) is a minimum, not an inflection point. Correct version: (c,f(c))(c,f(c)) is an inflection point when ff is continuous at cc and ff'' changes sign at cc. If f(c)f''(c) exists, f(c)=0f''(c)=0 is necessary but never sufficient.

(b) Counterexample: f(x)=x24x2=x+2f(x)=\dfrac{x^{2}-4}{x-2}=x+2 for x2x\ne2. The denominator vanishes at x=2x=2, but limx2f(x)=4\lim_{x\to2}f(x)=4 is finite: the graph has a hole at (2,4)(2,4), no asymptote. Correct version: cancel all common factors first; x=ax=a is a vertical asymptote precisely when at least one one-sided limit of ff at aa is ++\infty or -\infty, which for a reduced rational function means q(a)=0q(a)=0 with p(a)0p(a)\ne0.

(c) Counterexamples: f(x)=xx2+1f(x)=\dfrac{x}{x^{2}+1} has horizontal asymptote y=0y=0 and crosses it at the origin; f(x)=x3x21f(x)=\dfrac{x^{3}}{x^{2}-1} crosses its slant asymptote y=xy=x at the origin; f(x)=sinxxf(x)=\dfrac{\sin x}{x} crosses y=0y=0 infinitely often. Correct version: only vertical asymptotes are never crossed (the value x=ax=a is not in the domain). A horizontal or slant asymptote describes the tails only, and may be crossed any number of times.

(d) Counterexample: f(x)=x3f(x)=x^{3} at c=0c=0. Then f(x)=3x2f'(x)=3x^{2} and f(0)=0f'(0)=0, but f0f'\ge0 everywhere, so ff is increasing and 00 is neither a maximum nor a minimum (just a horizontal tangent). The same happens at x=0x=0 for f(x)=x3x21f(x)=\dfrac{x^{3}}{x^{2}-1}. Correct version: f(c)=0f'(c)=0 makes cc a critical number, which is only a candidate; apply the First Derivative Test (or the Second Derivative Test when f(c)0f''(c)\ne0) to classify it.

(e) Counterexample: f(x)=xf(x)=|x|, or f(x)=x2/3f(x)=x^{2/3}, at c=0c=0. In both cases f(0)f'(0) does not exist, yet f(0)=0f(0)=0 is the absolute minimum. Correct version: cc is a critical number when cc is in the domain of ff and either f(c)=0f'(c)=0 or f(c)f'(c) fails to exist. Corners, cusps and vertical tangents must always be tested.

(f) Counterexample: f(x)=1x1f(x)=-\dfrac{1}{x-1} has f(x)=1(x1)2>0f'(x)=\dfrac{1}{(x-1)^{2}}>0, so ff is increasing on (0,1)(0,1) and on (1,2)(1,2); but f(0.5)=2f(0.5)=2 while f(1.5)=2f(1.5)=-2, so f(0.5)>f(1.5)f(0.5)>f(1.5) and ff is certainly not increasing on the union. Correct version: the Increasing/Decreasing Test needs ff continuous on the whole interval. Monotonicity statements must be reported interval by interval and never joined across a point that is missing from the domain (a vertical asymptote, hole, or jump).