Square, triangle and sawtooth waves

Quiz · 7 min

The sine isn't the only wave you'll meet. Four shapes cover most of what a function generator, a clock or an audio circuit makes:

  • square: jumps between two levels and sits at each;
  • triangle: straight lines up and down, at the same slope;
  • sawtooth (or ramp): a slow straight climb, then a drop straight back;
  • sine: the smooth one.

Which is which?

Match each of these:

  • Wave A
  • Wave B
  • Wave C
  • Wave D

with one of these:

  • Square
  • Sawtooth
  • Sine
  • Triangle

Two more ideas change a wave without changing its shape:

  • duty cycle: the share of each cycle a square or pulse wave spends high. A square wave is 50%; a narrow pulse might be 10%.
  • DC offset: a steady voltage added to the whole wave, lifting it up (or down) the screen.

Match these four.

Match each of these:

  • Wave E
  • Wave F
  • Wave G
  • Wave H

with one of these:

  • A pulse wave, high for a short part of each cycle
  • A falling sawtooth
  • A 0 to 5 V square wave, like a logic clock
  • A sine on a DC offset

What's wave E's duty cycle?

  • 20%
  • 50%
  • 80%
  • 5%

What's wave F's DC offset: the level it swings about?

Answer in V.

Wave G spends half its time at 5 V and half at 0 V. What's its average voltage, the reading a meter on DC would give?

Answer in V.

WaveWhat it looks like
sinesmooth
squaretwo levels, 50% duty
pulsetwo levels, short duty
triangleequal straight slopes
sawtooth (ramp)a slow slope, then a jump back

Any of them can sit on a DC offset, and the average of a square or pulse is its high level times its duty cycle (from a low of 0 V).

On a real bench the function generator's panel offers all four; its duty control appears when you pick the square. A "square" from a real generator has edges that take a few nanoseconds to rise, which matters once you look at fast circuits.