4.6 Curve Sketching

Moral (Systematic Curve Sketching).

Sketching the qualitative behavior of a smooth or piecewise smooth function f:ℝ→ℝf\colon\mathbb{R}\to\mathbb{R} requires synthesizing local differential data (slopes and curvatures) with global topological and asymptotic constraints (domains, symmetries, and asymptotic lines). Rather than plotting disconnected points, we reconstruct the geometry of ff systematically via:

  1. (1)
    ​

    Domain and Symmetries: Determining dom⁡(f)\operatorname{dom}(f), identifying isolated singularities, parity (even/odd), and periodicity.

  2. (2)
    ​

    Intercepts and Asymptotes: Locating the coordinate intercepts, vertical asymptotes where |f⁢(x)|→∞\left\lvert f(x)\right\rvert\to\infty, and asymptotic lines (horizontal or oblique/slant asymptotes) governing end behaviors as x→±∞x\to\pm\infty.

  3. (3)
    ​

    Monotonicity and Concavity: Computing the critical points from f′⁢(x)f^{\prime}(x) and inflection points from f′′⁢(x)f^{\prime\prime}(x), subsequently compiling them into a unified sign analysis table.

Example 4.6.1.

Analyze the rational function

f⁢(x)≔2⁢(x2−9)x2−4f(x)\coloneqq\frac{2(x^{2}-9)}{x^{2}-4}

and construct its qualitative graph via a sign table.

Solution.

We proceed methodically through each stage of the curve analysis.

  1. 1.
    ​

    Domain and Symmetry. The rational function ff is well-defined provided its denominator does not vanish:

    x2−4≠0⇔x≠±2.x^{2}-4\neq 0\iff x\neq\pm 2.

    Consequently, the maximal domain of definition is

    dom⁡(f)=(−∞,−2)∪(−2,2)∪(2,∞).\operatorname{dom}(f)=(-\infty,-2)\cup(-2,2)\cup(2,\infty).

    Testing for symmetry under reflection across the origin, we observe that for every x∈dom⁡(f)x\in\operatorname{dom}(f),

    f⁢(−x)=2⁢((−x)2−9)(−x)2−4=2⁢(x2−9)x2−4=f⁢(x).f(-x)=\frac{2\bigl{(}(-x)^{2}-9\bigr{)}}{(-x)^{2}-4}=\frac{2(x^{2}-9)}{x^{2}-4% }=f(x).

    Thus, ff is an function even, meaning its graph is symmetric with respect to the yy-axis.

  2. 2.
    ​

    Intercepts and Asymptotic Behavior.

    • •
      ​

      xx-intercepts: Setting f⁢(x)=0f(x)=0 for x∈dom⁡(f)x\in\operatorname{dom}(f) yields

      2⁢(x2−9)=0⇔x2−9=0⇔x=±3.2(x^{2}-9)=0\iff x^{2}-9=0\iff x=\pm 3.

      Hence, the graph intersects the horizontal axis at (−3,0)(-3,0) and (3,0)(3,0).

    • •
      ​

      yy-intercept: Evaluating ff at the origin gives

      f⁢(0)=2⁢(02−9)02−4=−18−4=92.f(0)=\frac{2(0^{2}-9)}{0^{2}-4}=\frac{-18}{-4}=\frac{9}{2}.

      Thus, the vertical intercept is located at (0,92)\bigl{(}0,\frac{9}{2}\bigr{)}.

    • •
      ​

      Vertical Asymptotes: Since the denominator vanishes at x=±2x=\pm 2 while the numerator satisfies 2⁢((±2)2−9)=−10≠02((\pm 2)^{2}-9)=-10\neq 0, the lines x=−2x=-2 and x=2x=2 may be vertical asymptotes. To verify, we examine the one-sided limits at x=2x=2:

      limx→2+f⁢(x)=limx→2+2⁢(x2−9)x2−4=2⁢(4+−9)4+−4=−100+=−∞,limx→2−f⁢(x)=limx→2−2⁢(x2−9)x2−4=2⁢(4−−9)4−−4=−100−=+∞.\begin{split}\lim_{x\to 2^{+}}f(x)&{}=\lim_{x\to 2^{+}}\frac{2(x^{2}-9)}{x^{2}% -4}=\frac{2(4^{+}-9)}{4^{+}-4}=\frac{-10}{0^{+}}=-\infty,\\ \lim_{x\to 2^{-}}f(x)&{}=\lim_{x\to 2^{-}}\frac{2(x^{2}-9)}{x^{2}-4}=\frac{2(4% ^{-}-9)}{4^{-}-4}=\frac{-10}{0^{-}}=+\infty.\end{split}

      By even symmetry, the behavior at x=−2x=-2 is reflected accordingly:

      limx→−2+f⁢(x)=+∞,limx→−2−f⁢(x)=−∞.\lim_{x\to-2^{+}}f(x)=+\infty,\qquad\lim_{x\to-2^{-}}f(x)=-\infty.
    • •
      ​

      Horizontal and Slant Asymptotes: A general linear asymptote y=a⁢x+by=ax+b satisfies

      a≔limx→±∞f⁢(x)x,b≔limx→±∞(f⁢(x)−a⁢x).a\coloneqq\lim_{x\to\pm\infty}\frac{f(x)}{x},\qquad b\coloneqq\lim_{x\to\pm% \infty}\bigl{(}f(x)-ax\bigr{)}.

      Evaluating the slope parameter as x→+∞x\to+\infty:

      a=limx→+∞2⁢(x2−9)x⁢(x2−4)=limx→+∞2⁢x2−18x3−4⁢x⁢=L’H⁢limx→+∞4⁢x3⁢x2−4⁢=L’H⁢limx→+∞46⁢x=0.a=\lim_{x\to+\infty}\frac{2(x^{2}-9)}{x(x^{2}-4)}=\lim_{x\to+\infty}\frac{2x^{% 2}-18}{x^{3}-4x}\overset{\text{L'H}}{=}\lim_{x\to+\infty}\frac{4x}{3x^{2}-4}% \overset{\text{L'H}}{=}\lim_{x\to+\infty}\frac{4}{6x}=0.

      The intercept parameter then becomes

      b=limx→+∞(f⁢(x)−0⋅x)=limx→+∞2⁢x2−18x2−4⁢=L’H⁢limx→+∞4⁢x2⁢x=2.b=\lim_{x\to+\infty}\bigl{(}f(x)-0\cdot x\bigr{)}=\lim_{x\to+\infty}\frac{2x^{% 2}-18}{x^{2}-4}\overset{\text{L'H}}{=}\lim_{x\to+\infty}\frac{4x}{2x}=2.

      By symmetry, the identical computation holds as x→−∞x\to-\infty. Therefore, y=2y=2 is a horizontal asymptote as x→±∞x\to\pm\infty, and no non-horizontal slant asymptote exists.

  3. 3.
    ​

    First Derivative and Critical Points. Applying the quotient rule to f⁢(x)=2⁢x2−18x2−4f(x)=\frac{2x^{2}-18}{x^{2}-4}:

    f′⁢(x)=(2⁢(x2−9))′⁢(x2−4)−2⁢(x2−9)⁢(x2−4)′(x2−4)2=4⁢x⁢(x2−4)−2⁢(x2−9)⁢(2⁢x)(x2−4)2=4⁢x⁢((x2−4)−(x2−9))(x2−4)2=4⁢x⁢(5)(x2−4)2=20⁢x(x2−4)2.\begin{split}f^{\prime}(x)&{}=\frac{\bigl{(}2(x^{2}-9)\bigr{)}^{\prime}(x^{2}-% 4)-2(x^{2}-9)(x^{2}-4)^{\prime}}{(x^{2}-4)^{2}}\\ &{}=\frac{4x(x^{2}-4)-2(x^{2}-9)(2x)}{(x^{2}-4)^{2}}\\ &{}=\frac{4x\bigl{(}(x^{2}-4)-(x^{2}-9)\bigr{)}}{(x^{2}-4)^{2}}\\ &{}=\frac{4x(5)}{(x^{2}-4)^{2}}=\frac{20x}{(x^{2}-4)^{2}}.\end{split}

    To locate the critical numbers:

    1. (i)
      ​

      f′⁢(x)=0⇔20⁢x=0⇔x=0f^{\prime}(x)=0\iff 20x=0\iff x=0.

    2. (ii)
      ​

      f′⁢(x)f^{\prime}(x) fails to exist when (x2−4)2=0⇔x=±2(x^{2}-4)^{2}=0\iff x=\pm 2, but these points are excluded from dom⁡(f)\operatorname{dom}(f).

    Thus, the sole critical point in the domain is x=0x=0, corresponding to the local minimum value f⁢(0)=92f(0)=\frac{9}{2} on the central interval (−2,2)(-2,2).

  4. 4.
    ​

    Second Derivative and Inflection Points. Differentiating f′⁢(x)=20⁢x⁢(x2−4)−2f^{\prime}(x)=20x(x^{2}-4)^{-2} via the quotient rule:

    f′′⁢(x)=(20⁢x)′⁢(x2−4)2−20⁢x⁢((x2−4)2)′(x2−4)4=20⁢(x2−4)2−20⁢x⋅2⁢(x2−4)⁢(2⁢x)(x2−4)4=(x2−4)⁢[20⁢(x2−4)−80⁢x2](x2−4)4=20⁢x2−80−80⁢x2(x2−4)3=−60⁢x2−80(x2−4)3=−20⁢(3⁢x2+4)(x2−4)3.\begin{split}f^{\prime\prime}(x)&{}=\frac{(20x)^{\prime}(x^{2}-4)^{2}-20x\bigl% {(}(x^{2}-4)^{2}\bigr{)}^{\prime}}{(x^{2}-4)^{4}}\\ &{}=\frac{20(x^{2}-4)^{2}-20x\cdot 2(x^{2}-4)(2x)}{(x^{2}-4)^{4}}\\ &{}=\frac{(x^{2}-4)\bigl{[}20(x^{2}-4)-80x^{2}\bigr{]}}{(x^{2}-4)^{4}}\\ &{}=\frac{20x^{2}-80-80x^{2}}{(x^{2}-4)^{3}}\\ &{}=\frac{-60x^{2}-80}{(x^{2}-4)^{3}}=\frac{-20(3x^{2}+4)}{(x^{2}-4)^{3}}.\end% {split}

    Setting f′′⁢(x)=0f^{\prime\prime}(x)=0 requires −20⁢(3⁢x2+4)=0-20(3x^{2}+4)=0, which implies 3⁢x2+4=03x^{2}+4=0. Since 3⁢x2+4≥4>03x^{2}+4\geq 4>0 for all x∈ℝx\in\mathbb{R}, this equation possesses no real solutions (technically, one may say that it has two complex solutions x=±i⁢23x=\pm i\frac{2}{\sqrt{3}}, but those numbers do not belong to dom⁡(f)\operatorname{dom}(f)). Hence, ff has no inflection points.

  5. 5.
    ​

    Sign Table and Sketch. Evaluating test points across the partitioned intervals:

    • •
      ​

      On (−∞,−2)(-\infty,-2), choose x→−∞x\to-\infty: limx→−∞f′⁢(x)<0\lim_{x\to-\infty}f^{\prime}(x)<0 (decreasing), limx→−∞f′′⁢(x)<0\lim_{x\to-\infty}f^{\prime\prime}(x)<0 (concave downward).

    • •
      ​

      On (−2,0)(-2,0), choose x=−1x=-1: f′⁢(−1)<0f^{\prime}(-1)<0 (decreasing), f′′⁢(−1)=−20⁢(7)(−3)3>0f^{\prime\prime}(-1)=\frac{-20(7)}{(-3)^{3}}>0 (concave upward).

    • •
      ​

      On (0,2)(0,2), choose x=1x=1: f′⁢(1)>0f^{\prime}(1)>0 (increasing), f′′⁢(1)>0f^{\prime\prime}(1)>0 (concave upward).

    • •
      ​

      On (2,∞)(2,\infty), choose x→∞x\to\infty: limx→∞f′⁢(x)>0\lim_{x\to\infty}f^{\prime}(x)>0 (increasing), limx→∞f′′⁢(x)<0\lim_{x\to\infty}f^{\prime\prime}(x)<0 (concave downward).

    We summarize in Figure 4.12.

    A TikZ-drawn monochrome sign and variation table for a function f showing signs of f' and f'' with 1pt line thickness. The top row lists equidistant values: negative infinity, -2, 0, 2, and positive infinity. Row 2 and Row 3 show signs and zeros with continuous lines breaking symmetrically, and double vertical lines at x = -2 and x = 2 extending through Row 4. Row 4 displays the values and variation curves of f with a layout that completely avoids overlaps: a concave down decreasing curve segment from 2 to negative infinity, a concave up decreasing curve segment from infinity to 9/2, a concave up increasing curve segment from 9/2 to infinity, and a concave down increasing curve segment from negative infinity to 2.
    Figure 4.12: Sign table for the function f⁢(x)=2⁢(x2−9)x2−4f(x)=\frac{2(x^{2}-9)}{x^{2}-4}.

    As x→±∞x\to\pm\infty, the curve approaches the line y=2y=2 from below, crosses the xx-axis at (±3,0)(\pm 3,0), plunges towards −∞-\infty along the outer sides of x=±2x=\pm 2, and forms a convex valley between x=−2x=-2 and x=2x=2 with a relative minimum at (0,92)\bigl{(}0,\frac{9}{2}\bigr{)}. We sketch the function in Figure 4.13.

    A precise Cartesian plot of the rational function f(x) = 2(x^2 - 9)/(x^2 - 4). The horizontal asymptote at y = 2 is represented by a green horizontal line. The vertical asymptotes at x = -2 and x = 2 are represented by red vertical lines. The blue curve has three branches: the left branch is concave down and approaches y = 2 on the left and negative infinity at x = -2; the middle branch is concave up, reaches a minimum at the y-intercept (0, 9/2), and goes to positive infinity as x approaches -2 and 2; the right branch is concave down, starts at negative infinity near x = 2, and increases towards y = 2 on the right. X-intercepts are labeled at x = -3 and x = 3.
    Figure 4.13: Graph of the rational function f⁢(x)=2⁢(x2−9)x2−4f(x)=\frac{2(x^{2}-9)}{x^{2}-4} with vertical and horizontal asymptotes.

∎

Exercise 4.6.2.

Sketch the graph of each of the following functions by systematically determining their domain, intercepts, asymptotes, monotonicity, and concavity via a sign table:

  1. (1)
    ​

    f⁢(x)=e−x2f(x)=\mathrm{e}^{-x^{2}}

  2. (2)
    ​

    f⁢(x)=18⁢x2/3⁢(9⁢x2−8⁢x−16)f(x)=\frac{1}{8}x^{2/3}(9x^{2}-8x-16)

  3. (3)
    ​

    f⁢(x)=(x−6)⁢(x+6)2f(x)=(x-6)(x+6)^{2}

  4. (4)
    ​

    f⁢(x)=x4+4⁢x3f(x)=x^{4}+4x^{3}

  5. (5)
    ​

    f⁢(x)=x−2⁢xf(x)=x-2\sqrt{x}

  6. (6)
    ​

    f⁢(x)=3⁢xx2−1f(x)=\frac{3x}{x^{2}-1}

  7. (7)
    ​

    f⁢(x)=x2x−2f(x)=\frac{x^{2}}{x-2}

  8. (8)
    ​

    f⁢(x)=2⁢x−32⁢x−8f(x)=\frac{2x-3}{2x-8}

  9. (9)
    ​

    f⁢(x)=x2x2−4f(x)=\frac{x^{2}}{x^{2}-4}

  10. (10)
    ​

    f⁢(x)=arctan⁡(x23)f(x)=\arctan\Bigl{(}\frac{x^{2}}{\sqrt{3}}\Bigr{)}

  11. (11)
    ​

    f⁢(x)=log⁡(x2+1)f(x)=\log(x^{2}+1)

  12. (12)
    ​

    f⁢(x)=x+2⁢cos⁡xon ⁢[−2⁢π,2⁢π]f(x)=x+2\cos x\quad\text{on }[-2\pi,2\pi]

  13. (13)
    ​

    f⁢(x)=sin⁡x−xon ⁢[0,2⁢π]f(x)=\sin x-x\quad\text{on }[0,2\pi]

  14. (14)
    ​

    f⁢(x)=2−3⁢x2/3f(x)=2-3x^{2/3}