---
title: "Properties: shifting, scaling and convolution"
heading: Rules that save you from doing the integral
eyebrow: A10 · Lesson 10 · Properties and convolution
xp: 50
---

::: hook
Nobody computes Fourier transforms from the definition more than a few times. Instead they learn a handful of rules: delay a signal and its spectrum gets a phase twist; squeeze it in time and its spectrum spreads out; multiply it by a carrier and its spectrum moves up to the carrier's frequency. The most important rule explains what every linear circuit does to a signal: the output is the input convolved with the circuit's impulse response, and in the frequency domain, convolution is just multiplication.

::: play
- The top shape is an input pulse, 1 V for 1 ms. The decaying curve is an RC circuit's impulse response, flipped around and slid to the time $t$ on the slider. The shaded area is their product.
- Slide $t$ from 0 to 4 ms. The dot traces the output: at each $t$ it's the shaded area. Watch it rise while the pulse is on and decay after.
- Change the time constant. How does the output's shape change?
:::
:::

```sim plot
view: graph
x: s = -1..5 ms
y: v = -0.2..1.6
slider: t = 0..5 step 0.05 = 0.6 ms
slider: a = 0.2..2 step 0.1 = 0.5 ms
plot: step(s)*step(1 - s) | label: input x
plot: step(t - s)*exp(-(t - s)/a)/a | dashed | color: ch3 | label: flipped h, slid to t
plot: step(s)*step(1 - s)*step(t - s)*exp(-(t - s)/a)/a | fill: 0..t | color: ch2 | samples: 1500
plot: step(s)*(1 - exp(-((s + 1 - abs(s - 1))/2)/a))*exp(-((s - 1 + abs(s - 1))/2)/a) | color: ch4 | label: output y
point: t, (1 - exp(-((t + 1 - abs(t - 1))/2)/a))*exp(-((t - 1 + abs(t - 1))/2)/a)
readout: y(t) = (1 - exp(-((t + 1 - abs(t - 1))/2)/a))*exp(-((t - 1 + abs(t - 1))/2)/a)
```

::: predict
## A signal is delayed by 1 ms. What happens to its amplitude spectrum?

- [x] Nothing: only the phases change
- [ ] It shifts up by 1 kHz
- [ ] It shrinks
- [ ] It gets wider

::: reveal
Nothing. A delay doesn't change how much of each frequency there is, only when each sinusoid peaks, so the amplitudes are untouched. The phase of each component shifts by $-360° \times f \times 1$ ms, more for higher frequencies. That's a phase that falls in a straight line with frequency, the signature of a pure delay.
:::
:::

::: nameit
## The properties

If $x(t)$ has transform $X(f)$:

| In time | In frequency | Meaning |
|---|---|---|
| $x(t - t_0)$ | $X(f)\,e^{-j2\pi ft_0}$ | a delay adds phase $-2\pi ft_0$, nothing else |
| $x(at)$ | $\frac{1}{|a|}X(f/a)$ | squeeze in time, spread in frequency |
| $x(t)\cos(2\pi f_ct)$ | $\tfrac12X(f - f_c) + \tfrac12X(f + f_c)$ | modulation moves the spectrum up to $\pm f_c$ |
| $dx/dt$ | $j2\pi f\,X(f)$ | differentiating boosts high frequencies |
| $x * h$ (convolution) | $X(f)\,H(f)$ | a linear system multiplies by its frequency response |

**Modulation** is how radio works. A voice signal with frequencies up to 4 kHz, multiplied by a 1 MHz carrier, occupies 996 to 1004 kHz: a band 8 kHz wide, twice the voice's own bandwidth.

**Convolution.** Any linear, time-invariant system is completely described by its **impulse response** $h(t)$, its output when the input is an impulse. An input is a string of tiny impulses, each producing its own scaled, delayed copy of $h$; adding them up gives the output:

$$y(t) = (x * h)(t) = \int_{-\infty}^{\infty} x(\tau)\,h(t - \tau)\,d\tau$$

That's the sim: flip $h$, slide it to $t$, multiply by $x$, and take the area. For an RC low-pass with time constant $a$, $h(t) = \frac1ae^{-t/a}$, and convolving a 1 V pulse with it gives the familiar charge and discharge.

**The convolution theorem.** In the frequency domain the integral becomes a product:

$$Y(f) = X(f)\,H(f)$$

where $H(f)$, the transform of the impulse response, is the **frequency response** you've been using since A8.14. So there are two ways to find a circuit's output: convolve in time, or multiply in frequency and transform back. The second is usually far easier, and it's the reason engineers think in the frequency domain. The rule also runs the other way: multiplying two signals in time convolves their spectra, which is why modulation smears a spectrum into two copies.
:::

::: example
## A 1 ms pulse is delayed by 0.25 ms, then separately compressed to half its length. What does each do to the spectrum?

::: solution
1. **The delay.** It leaves $|X|$ alone and adds phase $-2\pi ft_0$. At 1 kHz that's
   $$\begin{aligned} \phi &= -360° \times 1000 \times 0.00025 \\ &= -90° \end{aligned}$$
2. **The compression.** Compressing by 2 spreads the spectrum: the first null moves from 1 kHz to 2 kHz.
3. **The height.** The height at 0 Hz halves along with the area.

**Answer:** the delay leaves $|X|$ alone and adds $-90°$ of phase at 1 kHz; the compression moves the first null to 2 kHz and halves the height at 0 Hz.
:::
:::

::: example
## Two 1 V, 1 ms pulses are convolved. Describe the result and its spectrum.

::: solution
1. **The shape.** The result is a triangle 2 ms long, with a peak of 1 V²·ms where the pulses fully overlap.
2. **Its transform.** By the convolution theorem it's the product of the two sincs:
   $$Y(f) = (10^{-3})^2\,\text{sinc}^2(f \times 10^{-3})$$
3. **At 500 Hz.**
   $$\begin{aligned} Y &= 10^{-6} \times 0.637^2 \\ &= 4.05 \times 10^{-7} \end{aligned}$$
4. **The side lobes.** Squaring the sinc makes the side lobes fall as $1/f^2$, the triangle's smoother shape.

**Answer:** a triangle 2 ms long peaking at 1 V²·ms, whose spectrum is a squared sinc, $4.05 \times 10^{-7}$ at 500 Hz, with side lobes falling as $1/f^2$.
:::
:::

::: example
## A 1 ms rectangular pulse multiplies a 10 kHz cosine. Describe the result's spectrum.

::: solution
1. **Two copies.** By the modulation property, multiplying by $\cos(2\pi f_0t)$ splits the pulse's sinc spectrum into two copies, centered at $\pm10$ kHz.
2. **Their height.** Each is half as tall: peaks of 0.5 ms.
3. **Their nulls.** Each copy has nulls 1 kHz either side of its center, at 9 and 11 kHz.
4. **What it means.** A radio pulse works this way: the information-bearing envelope's spectrum is simply moved up to the carrier.

**Answer:** two half-height copies of the pulse's sinc, peaking at 0.5 ms at $\pm10$ kHz, with nulls at 9 and 11 kHz.
:::
:::

::: check
given: f = 100 | 500 | 1000 | 2000; t0 = 0.1 | 0.2 | 0.5
answer: -360*f*t0/1000
unit: °
tolerance: 0.5%

## A signal is delayed by {t0} ms. By how much does the phase of its {f} Hz component change?

::: right
Right. $-360° \times f \times t_0$ = {answer}.
:::

::: misses
- [360*f*t0/1000] A delay makes each component lag: the phase change is negative.
- [-2*pi*f*t0/1000] That's in radians. The question asks for degrees.
- [-360*f*t0] Convert milliseconds to seconds.
- [any] Not yet. Phase change $= -2\pi ft_0$ radians, or $-360ft_0$ degrees.
:::
:::

::: check
given: tau = 2 | 4 | 10; k = 2 | 4 | 5
answer: k/tau
unit: MHz
tolerance: 0.5%

## A {tau} µs pulse has its first spectral null at $1/\tau$. The pulse is squeezed to be {k} times shorter. Where is the first null now?

::: right
Right. Squeezing in time by {k} stretches the spectrum by {k}: the null moves to {answer}.
:::

::: misses
- [1/(k*tau)] Squeezing in time spreads the spectrum out: the null moves up.
- [1/tau] The pulse is shorter, so the null moves.
- [any] Not yet. The new width is $\tau/k$, and the null is one over the width.
:::
:::

::: check
given: B = 3 | 4 | 5 | 10 | 15; fc = 500 | 1000 | 1500
answer: 2*B
unit: kHz
tolerance: 0.5%

## A signal with frequencies up to {B} kHz is multiplied by a {fc} kHz carrier. How wide a band does the result occupy?

::: right
Right. The spectrum is copied to $f_c \pm B$: from $f_c - B$ to $f_c + B$, a width of {answer}.
:::

::: misses
- [B] Both sides of the carrier are filled: the width is $2B$.
- [fc + B] That's the top edge. The width runs from $f_c - B$ to $f_c + B$.
- [any] Not yet. Modulation copies the spectrum to $f_c - B$ through $f_c + B$.
:::
:::

::: check
given: w1 = 1..5 int; w2 = 6..9 int
answer: w1 + w2
unit: ms
tolerance: 0.5%

## A pulse {w1} ms wide is convolved with a pulse {w2} ms wide. How long does the result last?

::: right
Right. The flipped pulse overlaps the other from the moment their edges touch until they pass completely: {w1} + {w2} = {answer}.
:::

::: misses
- [w2] The overlap starts before and ends after the longer pulse.
- [w2 - w1] That's how long the full overlap lasts, the flat top. The whole result lasts longer.
- [any] Not yet. Slide one past the other and count how long they overlap at all.
:::
:::

::: check
given: a = 0.2 | 0.5 | 1 | 2
answer: 1 - exp(-1/a)
unit: V
tolerance: 0.5%

## A 1 V, 1 ms pulse drives an RC low-pass with time constant {a} ms. What is the output at the end of the pulse?

::: right
Right. The capacitor has charged for 1 ms: $1 - e^{-1/\given{a}}$ = {answer}.
:::

::: misses
- [exp(-1/a)] That's how much is still left to go.
- [1/a] The output follows an exponential: $1 - e^{-t/a}$.
- [any] Not yet. During the pulse the output is $1 - e^{-t/a}$.
:::
:::

::: check
kind: parts
given: T = 1 | 2; f0 = 10 | 50

## A {T} ms pulse multiplies a {f0} kHz cosine.

::: part
answer: f0 + 1/T
unit: kHz
tolerance: 0.5%

### Where is the first null above the upper peak?

::: misses
- [any] The pulse's sinc is centered at $f_0$, with nulls $\frac1T$ away.
:::
:::

::: part
answer: T/2
unit: ms
tolerance: 0.5%

### For a 1 V pulse, what is each peak's height, in ms?

::: misses
- [T] The cosine splits it into two halves.
- [any] Half the pulse's area.
:::
:::
:::

::: check
kind: derivation
vars: T = 0.5..3, t0 = 0..2

## A unit pulse of length $T$ is delayed by $t_0$.

::: step
answer: 2*T/pi

### What is $|X(f)|$ at $f = \frac{1}{2T}$? (The delay doesn't change the magnitude: $T\left|\frac{\sin\pi fT}{\pi fT}\right|$.)
:::

::: step
answer: -pi*t0/T

### What phase, in radians, does the delay add at that frequency?
:::

::: right
Right. A delay adds phase $-2\pi ft_0$, growing linearly with frequency, and leaves the magnitude alone.
:::
:::

::: explain
## Why does convolution in time become multiplication in frequency?

::: model
A complex sinusoid $e^{j2\pi ft}$ goes through a linear, time-invariant system unchanged except for being multiplied by a complex number, $H(f)$: that's what having a frequency response means. Any input can be broken into sinusoids, with amounts $X(f)$. Each one comes out multiplied by $H(f)$, so the output's amounts are $X(f)H(f)$. Convolution with the impulse response is the same operation described in time, so the two must match.
:::
:::

::: practice

::: check
given: t0 = 1 | 2 | 5; f = 50 | 100 | 250
answer: -360*f*t0/1000
unit: °
tolerance: 0.5%

## What phase does a {t0} ms delay add at {f} Hz?

::: misses
- [360*f*t0/1000] A delay makes it lag: negative.
- [any] $-360ft_0$ degrees.
:::
:::

::: check
given: B = 5 | 10 | 20; fc = 100 | 200
answer: fc + B
unit: kHz
tolerance: 0.5%

## A {B} kHz signal modulates a {fc} kHz carrier. What is the highest frequency in the result?

::: misses
- [fc] The spectrum spreads {B} kHz to each side of the carrier.
- [any] $f_c + B$.
:::
:::

::: check
kind: choice

## You know a filter's impulse response $h(t)$. How do you get its frequency response?

- [x] Take the Fourier transform of $h(t)$
- [ ] Differentiate $h(t)$
- [ ] Integrate $h(t)$ once
- [ ] Read off $h(0)$

::: right
Right. $H(f)$ is the transform of $h(t)$: an impulse contains every frequency equally, so the output to an impulse holds the response at every frequency.
:::

::: misses
- [2] Differentiating gives the response to a doublet, not the frequency response.
- [3] Integrating $h$ gives the step response.
- [4] One value can't describe every frequency.
:::
:::
:::
