IVP’s With Step Functions — Question 2

PDF ↗

Question 2

Let Ha(t)=0H_a(t)=0 for t<at<a and Ha(t)=1H_a(t)=1 for t≥at\ge a. Use one-sided Laplace transforms. Solutions are continuous (and have continuous first derivative for second-order equations); satisfy the equation away from switches and use one-sided derivatives there. Isolated input values do not change the solution.

A ramp is switched on without resetting its clock, then switched off: y′+y=f(t),y(0)=0,f(t)={t,1≤t<3,0,otherwise.y'+y=f(t),\qquad y(0)=0,\qquad f(t)=\begin{cases}t,&1\le t<3,\\0,&\text{otherwise}.\end{cases} A proposed input transform is (e−s−e−3s)/s2(e^{-s}-e^{-3s})/s^2.

Tasks

  1. Explain the error in the proposed transform and derive the correct F(s)F(s).

  2. Find Y(s)Y(s) and invert it, rewriting each active input in its own delayed time.

  3. Give the piecewise solution, its maximum, and the two jumps in y′y'.

  4. Compute ∫0∞y(t)dt\int_0^\infty y(t)\,dt directly and from the differential equation. Explain the apparent singularities in the transform formula.

Original worksheet page 1: question and worked solution for 4-7-002
Show solutionHide solution

Question 2 – Solution

Strategy. A window does not reset the ramp’s clock. At each endpoint rewrite tt as delayed time plus the endpoint.

Step 1: Shift the whole input. The input is H1(t)[(t−1)+1]−H3(t)[(t−3)+3]H_1(t)[(t-1)+1]-H_3(t)[(t-3)+3], so F=e−s(1s2+1s)−e−3s(1s2+3s).\boxed{F=e^{-s}\left(\frac 1{s^2}+\frac 1s\right) -e^{-3s}\left(\frac 1{s^2}+\frac 3s\right).} The proposed expression instead transforms H1(t)(t−1)−H3(t)(t−3)H_1(t)(t-1)-H_3(t)(t-3), which has a constant tail of 22 after 33. It describes neither the given ramp window nor its shutoff.

Step 2: Invert the response. The zero datum gives Y=F/(s+1)Y=F/(s+1). For a delayed input τ+c\tau+c, the zero-start response solves rc′+rc=τ+cr_c'+r_c=\tau+c, and is rc(τ)=τ+c−1+(1−c)e−τ.r_c(\tau)=\tau+c-1+(1-c)e^{-\tau}. Its transform is (1/s2+c/s)/(s+1)(1/s^2+c/s)/(s+1), as direct transformation confirms. In particular r1=τr_1=\tau and r3=τ+2−2e−τr_3=\tau+2-2e^{-\tau}. Thus y=H1(t)(t−1)−H3(t)[(t−3)+2−2e−(t−3)].\boxed{y=H_1(t)(t-1)-H_3(t)[(t-3)+2-2e^{-(t-3)}].}

Step 3: Read the intervals and switches. Simplifying after the second switch gives y(t)={0,0≤t<1,t−1,1≤t<3,2e−(t−3),t≥3.y(t)=\begin{cases}0,&0\le t<1,\\t-1,&1\le t<3,\\ 2e^{-(t-3)},&t\ge 3.\end{cases} The pieces meet at 00 and 22, and satisfy y′+y=0,t,0y'+y=0,t,0. Their slopes are 0,1,−2e−(t−3)0,1,-2e^{-(t-3)}, so [y′]1=1[y']_1=1 and [y′]3=−3[y']_3=-3. The unique global maximum is y(3)=2\boxed{y(3)=2}, by increase during the window and strict decay afterward.

Step 4: Check the total response. Directly, ∫0∞ydt=∫13(t−1)dt+∫3∞2e−(t−3)dt=2+2=4.\int_0^\infty y\,dt=\int_1^3(t-1)\,dt+ \int_3^\infty 2e^{-(t-3)}\,dt=2+2=\boxed 4. Integrating the equation gives the same answer because y(∞)−y(0)=0y(\infty)-y(0)=0 and ∫13tdt=4\int_1^3t\,dt=4. The compact input has a transform for every real ss, with its apparent s=0s=0 poles canceling. The output’s nonzero exponential tail gives exact domain s>−1\boxed{s>-1}, and the removable value Y(0)=4Y(0)=4 agrees with the area.

Original worksheet page 2: question and worked solution for 4-7-002

Original worksheet layout. Use Enlarge or open the PDF for a closer view.