Curve sketching is the systematic procedure for drawing the qualitative graph of a function, without a calculator, using only differential calculus. One follows a precise scheme in six steps.

In brief — The six steps of curve sketching

  1. Domain of the function. (Where is it defined?)
  2. Limits at the edges of the domain \to asymptotes (horizontal, vertical, oblique).
  3. Sign of the function: f(x)>0f(x)>0? f(x)<0f(x)<0? Where does it cross the xx-axis?
  4. First derivative: sign of f(x)f'(x) \to intervals of increase/decrease, relative maxima/minima. Absolute maxima/minima with the table of edges + stationary points.
  5. Second derivative: sign of f(x)f''(x) \to concavity/convexity, inflection points.
  6. Graph: assemble all the information into a drawing.

Each step adds a piece of information to the graph: the domain says “where” to draw, the limits and asymptotes describe the behaviour at the edges, the sign places the curve above or below the xx-axis, the first derivative gives the “bumps and valleys” shape, the second derivative the curvature. The last step puts everything together.

Example — Complete study: f(x)=sinxecosxf(x) = \sin x\cdot e^{-\cos x}

Step 1 — Domain: ff is defined for every xRx\in\mathbb{R} (a product of functions defined everywhere). ff is periodic with period 2π2\pi.

Step 2 — Symmetries: f(x)=sin(x)ecos(x)=sinxecosx=f(x)f(-x) = \sin(-x)\cdot e^{-\cos(-x)} = -\sin x\cdot e^{-\cos x} = -f(x). Hence ff is odd (graph symmetric with respect to the origin). It is enough to study ff on [0,2π][0,2\pi] (or on [0,π][0,\pi] and reconstruct by symmetry).

Step 3 — Sign: ecosx>0e^{-\cos x}>0 always. So f(x)>0    sinx>0    x(0,π)f(x)>0 \iff \sin x > 0 \iff x\in(0,\pi) (in the first period); f(x)<0f(x)<0 for x(π,2π)x\in(\pi,2\pi); f(x)=0f(x)=0 for x=0,π,2πx=0, \pi, 2\pi.

Sign of ff in the first period: positive on (0,π)(0,\pi), negative on (π,2π)(\pi,2\pi).

Step 4 — First derivative: f(x)=cosxecosx+sinxecosxsinx=ecosx(cosx+sin2x).f'(x) = \cos x\cdot e^{-\cos x} + \sin x\cdot e^{-\cos x}\cdot\sin x = e^{-\cos x}(\cos x + \sin^2 x). Since ecosx>0e^{-\cos x}>0, the sign of ff' is that of cosx+sin2x=cosx+1cos2x\cos x + \sin^2 x = \cos x + 1 - \cos^2 x. Setting u=cosxu=\cos x we study u2+u+1>0-u^2+u+1 > 0, i.e. u2u1<0u^2-u-1<0 with u[1,1]u\in[-1,1]. With Δ=1+4=5\Delta = 1+4 = 5 we get u=1±52u = \dfrac{1\pm\sqrt{5}}{2}; the only root in [1,1][-1,1] is u0=1520,618u_0 = \dfrac{1-\sqrt{5}}{2}\approx -0{,}618. Hence f(x)>0f'(x)>0 when cosx>u0\cos x > u_0; in (0,2π)(0,2\pi) we have cosx=u0\cos x = u_0 for x2,24x\approx 2{,}24 (relative maximum) and x4,04x\approx 4{,}04 (relative minimum).

Step 5 — Second derivative: left as an exercise; the sign of ff'' determines the inflection points.

Step 6 — Graph:

Graph of f(x)=sinxecosxf(x)=\sin x\cdot e^{-\cos x} on [0,2π][0,2\pi]: relative maximum 1,46\approx 1{,}46 near x2,24x\approx 2{,}24, relative minimum 1,46\approx -1{,}46 near x4,04x\approx 4{,}04; by odd symmetry the graph extends about the origin.

Topics: Curve sketching
Concepts: Asymptote · Concavity and convexity · Increase and decrease · Domain · Inflection point · Relative maxima and minima · Sign · Curve sketching
Methods: Curve sketching
Skills: Sketching a function · Drawing a graph