NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2017

Question 6 of 8: Laplace-Transform Response of a Damped Mass-Spring System to a Square-Wave Force

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

Notes on this paper

National Exams — December 2017 — 04-BS-1 Mathematics. Three-hour, closed-book exam (one double-sided aid sheet permitted, approved calculator allowed). Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.

Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — ODEs, systems of ODEs, Laplace transforms, line/surface integrals, Stokes'/divergence theorems; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — spherical coordinates, tangent planes and linear approximation, triple integrals.

Question 6: Laplace-Transform Response of a Damped Mass-Spring System to a Square-Wave Force (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. Overdamped mass-spring system $y''+3y'+2y=r(t)$, $y(0)=0,\ y'(0)=0$, with a unit-height rectangular force pulse $r(t)=u(t-1)-u(t-2)$.

Find. $y(t)$ for all $t\geq0$.

Approach. Laplace-transform the ODE (zero ICs eliminate all boundary terms), express $R(s)$ using unit-step functions, and use the second shifting theorem to invert term by term without ever needing an explicit convolution integral.

  1. Transform the ODE. With zero initial conditions, $\mathcal L\{y''+3y'+2y\}=(s^2+3s+2)Y(s)$, so $$Y(s)=\frac{R(s)}{(s+1)(s+2)}.$$ The forcing $r(t)=u(t-1)-u(t-2)$ has $R(s)=\dfrac{e^{-s}-e^{-2s}}{s}$, so $$Y(s)=\bigl(e^{-s}-e^{-2s}\bigr)\,G(s),\qquad G(s)=\frac1{s(s+1)(s+2)}.$$
  2. Partial fractions of $G(s)$ and its inverse transform. $$G(s)=\frac1{s(s+1)(s+2)}=\frac{1/2}{s}-\frac1{s+1}+\frac{1/2}{s+2}\quad\Rightarrow\quad g(t)=\mathcal L^{-1}\{G(s)\}=\frac12-e^{-t}+\frac12e^{-2t}.$$
  3. Apply the second shifting theorem. Since $\mathcal L^{-1}\{e^{-as}G(s)\}=g(t-a)u(t-a)$, $$y(t)=g(t-1)u(t-1)-g(t-2)u(t-2).$$
  4. Write the piecewise response. With $g(\tau)=\tfrac12-e^{-\tau}+\tfrac12e^{-2\tau}$ for $\tau\ge0$, $$y(t)=\begin{cases}0,&t<1,\\[4pt]\tfrac12-e^{-(t-1)}+\tfrac12e^{-2(t-1)},&1\le t<2,\\[4pt]-e^{-(t-1)}+\tfrac12e^{-2(t-1)}+e^{-(t-2)}-\tfrac12e^{-2(t-2)},&t\ge2.\end{cases}$$ (The middle and third lines agree at $t=2$ from the left/right by continuity of $y$, as required for a bounded forcing with no impulses.)

$$y(t)=\boxed{g(t-1)\,u(t-1)-g(t-2)\,u(t-2)},\qquad g(\tau)=\tfrac12-e^{-\tau}+\tfrac12e^{-2\tau}$$

QuantityResult
Step response $g(t)$$\tfrac12-e^{-t}+\tfrac12e^{-2t}$
$y(t)$, $t<1$$0$
$y(t)$, $1\le t<2$$\tfrac12-e^{-(t-1)}+\tfrac12e^{-2(t-1)}$
$y(t)$, $t\ge2$$g(t-1)-g(t-2)$ (formula above)