Skip to content

General Technique of Curve Sketching

When finding areas bounded by unfamiliar curves, you will often meet functions whose shapes you have not memorized. You do not need to plot twenty random points to figure them out. Instead, you can work out the shape of a graph systematically from first principles—and quite often, the first few observations alone already give you the entire picture!


How to Sketch Any Graph From Scratch

1. Confirm the Domain First

Always begin by asking: for which values of \(x\) does the function even exist? This prevents you from wasting time trying to sketch in regions where the curve does not exist at all.

  • For example, consider \(y = x - \sqrt{x}\). Because \(\sqrt{x}\) is defined only for \(x \ge 0\), the domain is \([0, \infty)\). You immediately know the entire graph lives to the right of the \(y\)-axis (and includes \(x = 0\)); there is nothing to draw for \(x < 0\).
  • Similarly, for \(y = x \ln x\), the logarithm requires \(x > 0\), so the domain is the open interval \((0, \infty)\).

2. Find Anchor Points

Next, find a few fixed, guaranteed points that the graph must pass through. We call these anchor points because they pin the curve down onto the coordinate plane like nails on a board.

  • Axes intercepts: Put \(x = 0\) (if \(0\) is in the domain) to find where the curve cuts the \(y\)-axis, and solve \(y = 0\) to find where it cuts the \(x\)-axis.
  • Extra easy points: If you can plug in simple numbers like \(x = 1\), \(x = -1\), or \(x = e\) without messy arithmetic, plot those points too. Even two or three extra anchor points give you an immediate sense of how high or low the curve reaches.

3. Decide Where f(x) Is Positive or Negative

Knowing where \(f(x) > 0\) and where \(f(x) < 0\) tells you which intervals sit above the \(x\)-axis and which intervals hang below the \(x\)-axis.

When a function is written in factored form, checking its sign is quick and foolproof: check the sign of each factor separately and multiply the signs together (exactly like solving inequalities on a number line). Let us see this on two classic examples:

1. Consider \(y = x \ln x\) (domain \(x > 0\)): Look at the two factors \(x\) and \(\ln x\):

  • The first factor \(x\) is always positive across the entire domain \((0, \infty)\).
  • The second factor \(\ln x\) changes sign at \(x = 1\): it is negative for \(0 < x < 1\), zero at \(x = 1\), and positive for \(x > 1\).

Multiplying the two signs together gives the complete sign of \(y = x \ln x\):

  • On \((0, 1)\): \((+) \times (-) = (-)\), so the graph lies completely below the \(x\)-axis.
  • At \(x = 1\): \(y = 0\) (anchor point \((1, 0)\)).
  • On \((1, \infty)\): \((+) \times (+) = (+)\), so the graph rises completely above the \(x\)-axis.

2. Consider \(y = (x - 1)e^x\) (domain \(\mathbb{R}\)): Look at the two factors \((x - 1)\) and \(e^x\):

  • The exponential factor \(e^x\) is strictly positive for every real \(x\) (\(e^x > 0\) always!).
  • Therefore, the sign of \((x - 1)e^x\) depends solely on \((x - 1)\):

    • For \(x < 1\): \((-) \times (+) = (-)\), so the curve lies below the \(x\)-axis.
    • At \(x = 1\): \(y = 0\) (anchor point \((1, 0)\)).
    • For \(x > 1\): \((+) \times (+) = (+)\), so the curve stays above the \(x\)-axis.

Just from factoring, we already know every single \(x\)-crossing and which regions are shaded above or below the axis!


4. Check for Symmetry (To Cut Your Work in Half—or in Four!)

Before doing any calculus, check whether the equation stays balanced when signs flip:

  • Replace \(x\) by \(-x\):

    • If \(f(-x) = f(x)\) (even function), the graph is mirror-symmetric about the \(y\)-axis. You only need to draw it for \(x \ge 0\), then mirror it onto \(x < 0\).
    • If \(f(-x) = -f(x)\) (odd function), the graph is symmetric about the origin (\(180^\circ\) rotation). Again, you only need to draw it for \(x \ge 0\), then flip it across both axes onto \(x < 0\).
  • Replace \(y\) by \(-y\): If the equation is unchanged (for example, \(y^2 = x^2(1 - x)\)), the graph is mirror-symmetric about the \(x\)-axis. You only draw the upper branch \(y \ge 0\) and mirror it downward.

  • Both axes / \((x, y) \to (-x, -y)\): If replacing \(x\) by \(-x\) and \(y\) by \(-y\) leaves an equation like \(x^2 + y^2 = 4\) or \(|x| + |y| = 2\) symmetric across the quadrants, you only need to draw the curve in the first quadrant and reflect it to fill the whole plane!

5. Take Limits at Open Endpoints of the Domain

Whenever the domain has an open end—such as \((0, \infty)\), \((-\infty, \infty)\), or a point where a denominator vanishes—evaluate the limits as \(x\) approaches those open ends. This tells you where the graph enters and exits your page!

For \(f(x) = x \ln x\) on \((0, \infty)\), the two open ends are \(0^+\) and \(+\infty\):

\[ \lim_{x \to 0^+} x \ln x = \lim_{x \to 0^+} \frac{\ln x}{1/x} = \lim_{x \to 0^+} \frac{1/x}{-1/x^2} = \lim_{x \to 0^+} (-x) = 0 \]

Since \(x \ln x < 0\) on \((0, 1)\), the graph approaches the origin \((0, 0)\) from below (with an open circle at \((0, 0)\) because \(0\) is not in the domain). And at the right end:

\[ \lim_{x \to \infty} x \ln x = +\infty \]

Partial sketch of y = x ln x showing only domain, sign regions, anchor (1, 0), and endpoint limit directions as x approaches 0+ and +infinity

Notice that most of the time, these five observations alone are already enough to see the full shape of the graph!


6. Use the Derivative f'(x) to Confirm the Turns

Let us see how all of these ideas come together on a classic curve: \(f(x) = x e^{-x^2}\).

1. Domain: All real numbers, \(\mathbb{R}\).

2. Anchor point: Putting \(x = 0\) gives \(y = 0\), so \((0, 0)\) is the only intercept.

3. Sign: Since \(e^{-x^2} > 0\) always, \(f(x) > 0\) for \(x > 0\) and \(f(x) < 0\) for \(x < 0\).

4. Symmetry: Replacing \(x\) by \(-x\) gives \(f(-x) = (-x)e^{-(-x)^2} = -x e^{-x^2} = -f(x)\) (an odd function). So we only need to draw the graph for \(x \ge 0\)!

5. Open-end limit: As \(x \to \infty\), the exponential denominator grows far faster than \(x\):

\[ \lim_{x \to \infty} \frac{x}{e^{x^2}} = 0 \]

Now stop and think visually about \(x \ge 0\): the graph starts at \((0, 0)\), rises into positive values (\(y > 0\)), and as \(x \to \infty\) comes back down toward \(0\)! By continuity, the graph must turn around at least once between \(0\) and \(\infty\).

One tiny question remains: does it make just one smooth peak and come down, or does it wiggle up and down many times? To be 100% sure, we take the first derivative \(f'(x)\):

\[ f'(x) = 1 \cdot e^{-x^2} + x \cdot (-2x e^{-x^2}) = (1 - 2x^2)e^{-x^2} \]

Setting \(f'(x) = 0\) for \(x \ge 0\) gives only one critical point:

\[ 1 - 2x^2 = 0 \implies x = \frac{1}{\sqrt{2}} \]
  • For \(0 \le x < \frac{1}{\sqrt{2}}\), \(f'(x) > 0\) (rising).
  • For \(x > \frac{1}{\sqrt{2}}\), \(f'(x) < 0\) (falling).

So there is no extra wiggling—just a single clean peak at \(\left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2e}}\right)\), followed by a smooth decay to \(0\)! Rotating this \(x \ge 0\) branch \(180^\circ\) about the origin completes \(x < 0\).

Step-by-step sketching of y = x e^{-x^2}


Step-by-Step Worked Examples

Example 1: Restricted Domain and Turning Point Below the Axis

Sketch the curve \(y = x - \sqrt{x}\) and find the area bounded by the curve and the \(x\)-axis.

Solution:

1. Domain: \(\sqrt{x}\) requires \(x \ge 0\), so domain is \([0, \infty)\).

2. Anchor points:

  • Put \(x = 0 \implies y = 0\): \((0, 0)\).
  • Put \(y = 0 \implies x - \sqrt{x} = \sqrt{x}(\sqrt{x} - 1) = 0 \implies x = 0, \; x = 1\): \((1, 0)\).

3. Sign check: Factor as \(y = \sqrt{x}(\sqrt{x} - 1)\). Since \(\sqrt{x} \ge 0\):

  • For \(0 < x < 1\), \(\sqrt{x} < 1 \implies y < 0\) (below the \(x\)-axis).
  • For \(x > 1\), \(\sqrt{x} > 1 \implies y > 0\) (above the \(x\)-axis).

4. Limits at open end: As \(x \to \infty\), \(x\) grows faster than \(\sqrt{x}\), so \(\lim_{x \to \infty} (x - \sqrt{x}) = +\infty\).

5. Derivative check: Between \((0, 0)\) and \((1, 0)\), the curve dips below the \(x\)-axis and comes back up, so it must turn:

\[ \frac{dy}{dx} = 1 - \frac{1}{2\sqrt{x}} = 0 \implies \sqrt{x} = \frac{1}{2} \implies x = \frac{1}{4} \]

This is the single turning point, giving the minimum value \(y\left(\frac{1}{4}\right) = \frac{1}{4} - \frac{1}{2} = -\frac{1}{4}\).

Sketch of y = x - sqrt(x) with shaded area below the x-axis

Area bounded with the \(x\)-axis: Since the closed loop lies below the \(x\)-axis on \([0, 1]\), we take \(0 - (x - \sqrt{x}) = \sqrt{x} - x\):

\[ A = \int_0^1 (\sqrt{x} - x)\,dx = \left[\frac{2}{3}x^{3/2} - \frac{x^2}{2}\right]_0^1 = \frac{2}{3} - \frac{1}{2} = \frac{1}{6}\text{ sq. units.} \]

Example 2: Sign Analysis Using Factors With Exponentials

Sketch \(y = (x - 1)e^x\) and find the area bounded by the curve and both coordinate axes.

Solution:

1. Domain: \(\mathbb{R}\).

2. Anchor points:

  • \(x = 0 \implies y = -1\): \((0, -1)\).
  • \(y = 0 \implies x = 1\): \((1, 0)\).

3. Sign: Since \(e^x > 0\) everywhere, \(y < 0\) for \(x < 1\) and \(y > 0\) for \(x > 1\).

4. Limits at open ends (\(\pm\infty\)):

  • As \(x \to +\infty\), \((x - 1)e^x \to +\infty\).
  • As \(x \to -\infty\), write \((x - 1)e^x = \frac{x - 1}{e^{-x}}\). Since \(e^{-x} \to +\infty\) exponentially fast while \(x - 1\) grows linearly, \(\lim_{x \to -\infty} (x - 1)e^x = 0\) (approaching \(0\) from below, written \(0^-\), because \(y < 0\) for \(x < 1\)).

5. Derivative check: Because \(y \to 0^-\) as \(x \to -\infty\) and hits \((0, -1)\) before rising to \((1, 0)\), let us check where it turns:

\[ f'(x) = 1 \cdot e^x + (x - 1)e^x = x e^x = 0 \implies x = 0 \]

So the only turning point is right at the anchor point \((0, -1)\) (\(f'(x) < 0\) for \(x < 0\) and \(f'(x) > 0\) for \(x > 0\)).

Sketch of y = (x - 1)e^x showing minimum at (0, -1) and limit as x -> -infinity

Area bounded with the coordinate axes: On \([0, 1]\), the curve stays below the \(x\)-axis, so:

\[ A = \int_0^1 (1 - x)e^x\,dx \]

Integrate by parts with \(u = 1 - x\), \(dv = e^x\,dx\) (so \(du = -dx\), \(v = e^x\)):

\[ A = \Big[(1 - x)e^x\Big]_0^1 + \int_0^1 e^x\,dx = (0 - 1) + \Big[e^x\Big]_0^1 = -1 + (e - 1) = e - 2\text{ sq. units.} \]

Example 3: Step-by-Step Build of y = x ln x

Sketch \(y = x \ln x\) step by step.

Solution: Let us trace the graph of \(y = x \ln x\) stage by stage:

1. Domain & Anchor: Domain is \((0, \infty)\). Putting \(y = 0\) gives \(\ln x = 0 \implies x = 1\), so \((1, 0)\) is the anchor point.

2. Sign: \(x > 0\) always; \(\ln x < 0\) on \((0, 1)\) and \(\ln x > 0\) on \((1, \infty)\), so the graph lies below the \(x\)-axis on \((0, 1)\) and above it on \((1, \infty)\).

3. Endpoint limits: \(\lim_{x \to 0^+} x \ln x = 0^-\) (open hole at \((0, 0)\)) and \(\lim_{x \to \infty} x \ln x = +\infty\).

4. Derivative: Because \(y\) leaves \((0, 0)\) downward and returns to \((1, 0)\), it must turn inside \((0, 1)\):

\[ f'(x) = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1 = 0 \implies \ln x = -1 \implies x = \frac{1}{e} \]

There is one minimum at \(\left(\frac{1}{e}, -\frac{1}{e}\right)\), after which the curve climbs monotonically to \(+\infty\).

Step-by-step sketching of y = x ln x


Example 4: Symmetric Bell-Wave Curve y = x e{-x2}

Using the graph of \(y = x e^{-x^2}\) that we just sketched above, find the area bounded by \(y = x e^{-x^2}\), the \(x\)-axis, and the lines \(x = 0\) and \(x = 1\).

Solution: From our earlier analysis, we already know \(y = x e^{-x^2} \ge 0\) for all \(x \in [0, 1]\), peaking at \(x = \frac{1}{\sqrt{2}}\). Therefore:

\[ A = \int_0^1 x e^{-x^2}\,dx \]

Substitute \(t = x^2 \implies dt = 2x\,dx \implies x\,dx = \frac{1}{2}\,dt\). When \(x = 0\), \(t = 0\); when \(x = 1\), \(t = 1\):

\[ A = \frac{1}{2}\int_0^1 e^{-t}\,dt = \frac{1}{2}\Big[-e^{-t}\Big]_0^1 = \frac{1 - e^{-1}}{2}\text{ sq. units.} \]

Example 5: A Logarithm Over x With a Vertical Asymptote

Sketch the curve \(y = \frac{\ln x}{x}\).

Solution:

1. Domain: \(x > 0\), i.e., \((0, \infty)\).

2. Anchor point: \(y = 0 \implies \ln x = 0 \implies x = 1\), giving \((1, 0)\).

3. Sign: Denominator \(x > 0\) is always positive, so the sign comes purely from \(\ln x\): negative on \((0, 1)\), positive on \((1, \infty)\).

4. Endpoint limits:

  • As \(x \to 0^+\), \(\ln x \to -\infty\) and \(\frac{1}{x} \to +\infty\), so \(\lim_{x \to 0^+} \frac{\ln x}{x} = -\infty\) (the negative \(y\)-axis is a vertical asymptote).
  • As \(x \to \infty\), \(\lim_{x \to \infty} \frac{\ln x}{x} = \lim_{x \to \infty} \frac{1/x}{1} = 0\) (approaching \(0\) from above!).

5. Derivative check: For \(x > 1\), the curve starts at \((1, 0)\), goes positive, and drops back toward \(0\) as \(x \to \infty\), so it must have a peak:

\[ f'(x) = \frac{x \cdot \frac{1}{x} - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2} = 0 \implies \ln x = 1 \implies x = e \]

So there is a single maximum at \(\left(e, \frac{1}{e}\right)\), then a steady decline toward \(0\).

Sketch of y = (ln x)/x with maximum at (e, 1/e)


Example 6: Always Non-Negative Curve That Touches the Origin

Sketch the curve \(y = x^2 e^{-x}\).

Solution:

1. Domain: \(\mathbb{R}\).

2. Anchor point: \(x = 0 \implies y = 0\), so \((0, 0)\) is the only intercept.

3. Sign: Notice \(x^2 \ge 0\) and \(e^{-x} > 0\) for all \(x \in \mathbb{R}\), so \(y \ge 0\) everywhere! The graph never drops below the \(x\)-axis; it just touches \((0, 0)\) and bounces back up.

4. Limits at \(\pm\infty\):

  • As \(x \to -\infty\), both \(x^2 \to +\infty\) and \(e^{-x} \to +\infty\), so \(y \to +\infty\).
  • As \(x \to +\infty\), \(\lim_{x \to \infty} \frac{x^2}{e^x} = 0\).

5. Derivative check: Since \(y \ge 0\), hits \(0\) at \(x = 0\), and returns to \(0\) as \(x \to +\infty\), it must peak somewhere on \((0, \infty)\):

\[ f'(x) = 2x e^{-x} - x^2 e^{-x} = x(2 - x)e^{-x} = 0 \implies x = 0, \; x = 2 \]

Checking the sign of \(x(2 - x)\): decreasing for \(x < 0\), minimum at \((0, 0)\), rising on \((0, 2)\), peaking at \(\left(2, \frac{4}{e^2}\right)\), and decaying toward \(0\) on \((2, \infty)\).

Sketch of y = x^2 e^{-x} touching at O(0,0) and peaking at (2, 4/e^2)


Example 7: Odd Rational Function

Sketch \(y = \frac{x}{x^2 + 1}\).

Solution:

1. Domain: Since \(x^2 + 1 \ge 1 > 0\), the denominator is never zero—the domain is all of \(\mathbb{R}\).

2. Anchor point: \((0, 0)\) is the only intercept.

3. Symmetry: \(f(-x) = \frac{-x}{x^2 + 1} = -f(x)\) (odd function), so we only need to sketch \(x \ge 0\) and rotate \(180^\circ\) about the origin.

4. Sign & Limit for \(x \ge 0\): On \((0, \infty)\), both numerator and denominator are positive (\(y > 0\)), and \(\lim_{x \to \infty} \frac{x}{x^2 + 1} = \lim_{x \to \infty} \frac{1/x}{1 + 1/x^2} = 0\).

5. Derivative check: Since the curve leaves \((0, 0)\) upward and decays to \(0\) as \(x \to \infty\), it turns:

\[ f'(x) = \frac{(x^2 + 1)(1) - x(2x)}{(x^2 + 1)^2} = \frac{1 - x^2}{(x^2 + 1)^2} = 0 \implies x = 1 \quad (x \ge 0) \]

So for \(x \ge 0\) there is one maximum at \(\left(1, \frac{1}{2}\right)\). By odd symmetry, for \(x < 0\) there is one minimum at \(\left(-1, -\frac{1}{2}\right)\).

Sketch of odd rational function y = x / (x^2 + 1)