NivaarExam PrepOfficial exam papers ↗

22-Elec-A3 Signals and Communications · May 2013

Question 2 of 6: Graphical Convolution of a Pulse with a Triangle

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. National Exams, May 2013 — 07-Elec-A3 Signals and Communications. Three hours, closed book; one double-sided aid sheet and an approved calculator are permitted. Six questions are printed and any five constitute a complete paper, all of equal value (20 marks each). All six are solved below, because the set is intended as a study resource rather than an exam script.

Reference texts. B. P. Lathi & Z. Ding, Modern Digital and Analog Communication Systems, 4th ed. (Oxford), Ch. 3–4 for Fourier analysis and amplitude modulation; B. P. Lathi, Linear Systems and Signals, 2nd ed., Ch. 2–7 for convolution, Fourier series and the Fourier transform; A. V. Oppenheim & A. S. Willsky, Signals and Systems, 2nd ed., Ch. 2–4 and Ch. 10 for the discrete-time system material; J. G. Proakis & D. G. Manolakis, Digital Signal Processing, 4th ed., Ch. 3 and Ch. 7 for the z-transform and Direct Form II realisations.

Question 2: Graphical Convolution of a Pulse with a Triangle (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. Read from Figure 1 of the examination paper:

SignalDescriptionArea
$x(t)$rectangular pulse of height 1 on $-2\le t\le 1$ (width 3)3
$h(t)$triangle rising from 0 at $t=1$ to a peak of 2 at $t=3$, back to 0 at $t=5$ (unit slope on both flanks)4

[Figure not reproduced: Figure 1(a) redrawn: the input pulse x(t), height 1 on -2. See the official exam paper.]

[Figure not reproduced: Figure 1(b) redrawn: the impulse response h(t), a triangle of peak 2 at t = 3 supported on 1. See the official exam paper.]

Find. The output $y(t)=x(t)*h(t)$ in closed piecewise form, together with its sketch, its support and its peak value.

Approach. Because $x(t)$ is a constant-height pulse, the convolution integral collapses to a running area of $h$: sliding the reversed pulse across $h$ simply integrates $h$ over a window of fixed width 3. Define the running integral $H(s)=\int_{-\infty}^{s}h(\lambda)\,d\lambda$ once, then read every region off it.

  1. Set up the sliding-window integral. With $y(t)=\int_{-\infty}^{\infty}x(\tau)h(t-\tau)\,d\tau$ and $x=1$ only on $-2\le\tau\le 1$, substitute $s=t-\tau$: $$y(t)=\int_{-2}^{1}h(t-\tau)\,d\tau=\int_{t-1}^{t+2}h(s)\,ds=H(t+2)-H(t-1).$$ The window has fixed width 3 and slides to the right as $t$ increases.
  2. Build the running integral of the triangle. On the rising flank $h(s)=s-1$ and on the falling flank $h(s)=5-s$, so $$H(s)=\begin{cases}0,&s\lt 1\\[2pt] \tfrac{(s-1)^{2}}{2},&1\le s\le 3\\[2pt] 4-\tfrac{(5-s)^{2}}{2},&3\le s\le 5\\[2pt] 4,&s\gt 5.\end{cases}$$ The total area $H(\infty)=4$ agrees with $\tfrac12\times 4\times 2$.
  3. Locate the breakpoints. The leading edge $t+2$ crosses $s=1,3,5$ at $t=-1,1,3$; the trailing edge $t-1$ crosses the same values at $t=2,4,6$. The output therefore has five regions and support $-1\le t\le 6$ — the sum of the two supports, as convolution always requires.
  4. Evaluate region by region. Substituting the two window edges into $H$ gives $$y(t)=\begin{cases}\tfrac{(t+1)^{2}}{2}, & -1\le t\le 1\\[3pt]4-\tfrac{(3-t)^{2}}{2}, & 1\le t\le 2\\[3pt]4-\tfrac{(3-t)^{2}}{2}-\tfrac{(t-2)^{2}}{2}, & 2\le t\le 3\\[3pt]4-\tfrac{(t-2)^{2}}{2}, & 3\le t\le 4\\[3pt]\tfrac{(6-t)^{2}}{2}, & 4\le t\le 6\\[3pt]0,&\text{otherwise.}\end{cases}$$
  5. Find the peak. Only the middle region can hold the maximum: differentiating, $y^{\prime}(t)=(3-t)-(t-2)=5-2t$, which vanishes at $t=2.5$. Substituting, $y(2.5)=4-\tfrac{(0.5)^{2}}{2}-\tfrac{(0.5)^{2}}{2}$, i.e. $$\boxed{\,y_{\max}=3.75\ \text{at}\ t=2.5\,}$$ which is below the ceiling of 4 because the 3-wide window is narrower than the 4-wide triangle and can never enclose all of it.
  6. Check the total area. Convolution multiplies areas: $\int y\,dt$ must equal $\left(\int x\right)\left(\int h\right)=3\times 4=12$. Integrating the piecewise result region by region returns exactly 12, confirming both the breakpoints and the algebra.
ty(t)-1123463.752
Output y(t) = x(t) * h(t): parabolic arcs joined smoothly at t = -1, 1, 2, 3, 4, 6, peaking at 3.75 when t = 2.5. Marked points are y(1) = 2 and the peak.
QuantityResult
Support of $y(t)$$-1\le t\le 6$ (duration 7 s)
$y(-1),\,y(1)$$0,\ 2$
$y(2),\,y(3)$$3.5,\ 3.5$
Peak$y(2.5)=3.75$
$y(4),\,y(5),\,y(6)$$2,\ 0.5,\ 0$
Total area$\int y\,dt=12$