A529 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 29 · Curve sketching

Reading the shape before you plot it

A plotting tool draws any function instantly, so why sketch by hand? Because the sketch tells you why the curve looks the way it does: where it peaks, where it turns over, what it does far away. That's how you sanity-check a simulator's output, predict a filter's response before building it, or spot that a formula you've derived can't be right. The first and second derivatives, plus the limits at the edges, give you the whole shape.

  • The curve is f(x)=x1+x2, with f′ and f′′ as faint traces.
  • Find where f′ crosses zero and match it to the curve's peaks.
  • Find where f′′ crosses zero and match it to where the curve's bending changes.

Predict

Where does f(x)=x1+x2 reach its maximum?

Name it

A checklist

  1. Domain: where is f defined? Any vertical asymptotes?
  2. Intercepts: f(0), and the roots of f(x)=0 if they're easy.
  3. Symmetry: even (f(−x)=f(x), mirror in the y axis) or odd (f(−x)=−f(x), symmetric through the origin)?
  4. End behavior: limx→±∞⁡f(x); horizontal asymptotes.
  5. First derivative: where f′>0, f rises; where f′<0, it falls. Zeros of f′ are candidates for peaks and valleys.
  6. Second derivative: where f′′>0, concave up; f′′<0, concave down. Sign changes are inflection points.
  7. Plot the key points and join them with the shapes the signs dictate.

A worked shape

For f(x)=x1+x2:

  • defined everywhere, f(0)=0, odd;
  • f→0 as x→±∞ (horizontal asymptote y=0);
  • f′=1−x2(1+x2)2: rising on (−1,1), falling outside; maximum 12 at x=1, minimum −12 at x=−1;
  • f′′=2x(x2−3)(1+x2)3: inflection points at x=0 and x=±3.

Why engineers sketch

A sketch shows structure a plot hides: that the peak is at exactly x=1 whatever you scale it by, that the decay is like 1/x, that the curve is symmetric. Those facts carry straight over to real circuits: the band-pass peak is at the resonant frequency, and its skirts fall at 20 dB per decade.

Worked example

Sketch f(x)=x4−4x3.

Show the solution
  1. Value and roots. f(0)=0, and the roots are at x=0 and x=4.
  2. First derivative. f′=4x3−12x2=4x2(x−3) zero at 0 and 3.
  3. Where it falls and rises. f′ is negative before 3 (except at 0) and positive after, so f falls to a minimum at x=3, f(3)=−27. At 0 the slope is zero but doesn't change sign: no extreme.
  4. Second derivative. f′′=12x2−24x=12x(x−2) so there are inflection points at 0 and 2.
  5. The ends. As x→±∞, f→+∞.
  6. Put it together. It comes down from the left, flattens momentarily at the origin, keeps falling to −27 at x=3, and climbs away.

Answer the curve falls from the left, flattens at the origin, reaches its minimum of −27 at x=3 and climbs away, with inflection points at 0 and 2.

Worked example

Sketch the charging voltage v(t)=5(1−e−t/2) for t≥0.

Show the solution
  1. Start and end. v(0)=0, and v→5 as t→∞.
  2. First derivative. v′=52e−t/2>0 so it's always rising, steepest at the start (2.5 V per unit time).
  3. Second derivative. v′′=−54e−t/2<0 so it's always concave down, with no inflection.
  4. Put it together. A curve that starts steep and flattens toward 5: the classic charging curve, its shape fixed by two signs.

Answer the voltage rises from 0, steepest at the start, and flattens toward 5 V, concave down all the way.

Worked example

Sketch f(x)=x1+x2.

Show the solution
  1. Symmetry and ends. It's odd, and f→0 at both ends, so y=0 is an asymptote.
  2. First derivative. f′(x)=1−x2(1+x2)2 zero at x=±1, with a maximum of f(1)=12 and a minimum of f(−1)=−12.
  3. Second derivative. f′′(x)=2x(x2−3)(1+x2)3 zero at 0 and ±3, where the curve changes concavity.
  4. Height at 3. f(3)=34=0.433
  5. Put it together. The curve rises from 0 to its peak at 1, then sinks back toward the axis.

Answer an odd curve through the origin, with a peak of 12 at x=1, a dip of −12 at x=−1, inflection points at 0 and ±3, and the x-axis as an asymptote at both ends.

Check

Where is the maximum of f(x)=x32+x2 for x>0?

Check

What is that maximum value of x22+x2?

Check

Where is the minimum of f(x)=x4−5x3?

Check

f′(x)>0 and f′′(x)<0 on an interval. Which describes the curve?

Check

Which symmetry does f(x)=x31+x2 have?

Check

Sketch f(x)=x3−322x.

(a)

Where is its local maximum?

(b)

What is the local maximum's value?

(c)

Where does it cross the x axis, to the right of zero?

Check

Find the inflection points of f(x)=xe−x2/2.

Step 1

Find f′, factored.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

A function has f′(c)=0 but no maximum or minimum at c. How can that happen, and how would a sketch show it?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.