IVP’s With Step Functions — Question 7

PDF ↗

Question 7

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.

An unstable first-order system is to be stopped by a two-stage input: y′−y=fB(t),y(0)=1,fB(t)={−1,0≤t<1,B,1≤t<2,0,t≥2.y'-y=f_B(t),\quad y(0)=1,\qquad f_B(t)=\begin{cases}-1,&0\le t<1,\\B,&1\le t<2,\\0,&t\ge 2.\end{cases} Choose B=B*B=B_* so that y(t)=0y(t)=0 for all t≥2t\ge 2. A realized level may instead be B*+δB_*+\delta, where δ\delta is a constant error.

Tasks

  1. Find Y(s)Y(s) and invert it using the unstable system’s step response.

  2. Determine B*B_* and the resulting piecewise output. Verify the stopping condition.

  3. Derive the exact output error for t≥2t\ge 2 and the sharp bound on |δ||\delta| that ensures |y(t)|≤0.01|y(t)|\le 0.01 for every 2≤t≤52\le t\le 5.

  4. Compare the exact real transform domains for perfect and imperfect levels. Explain why exact cancellation does not make the system stable.

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

Question 7 – Solution

Strategy. A finite input can cancel one unstable trajectory exactly. Keep the cancellation coefficient explicit to measure its sensitivity.

Step 1: Transform and invert. Here fB=−1+(B+1)H1(t)−BH2(t)f_B=-1+(B+1)H_1(t)-BH_2(t) and Y=1+[−1+(B+1)e−s−Be−2s]/ss−1,s>1.Y=\frac{1+[-1+(B+1)e^{-s}-Be^{-2s}]/s}{s-1},\qquad s>1. The zero-start response to a unit step for y′−y=1y'-y=1 is r(t)=et−1r(t)=e^t-1. Adding the initial response gives y=et−r(t)+(B+1)H1(t)r(t−1)−BH2(t)r(t−2).y=e^t-r(t)+(B+1)H_1(t)r(t-1)-BH_2(t)r(t-2). This formula satisfies y(0)=1y(0)=1 and is continuous at both switches.

Step 2: Select the exact cancellation. Before 11, y=1y=1. On [1,2][1,2], y=(B+1)et−1−By=(B+1)e^{t-1}-B, so y(2)=e+B(e−1)y(2)=e+B(e-1). Consequently B*=−ee−1,y*(t)={1,0≤t<1,(e−et−1)/(e−1),1≤t<2,0,t≥2.\boxed{B_*=-\frac e{e-1}},\qquad \boxed{y_*(t)=\begin{cases} 1,&0\le t<1,\\ (e-e^{t-1})/(e-1),&1\le t<2,\\ 0,&t\ge 2. \end{cases}} Direct substitution gives y*′−y*=−1,B*,0y_*'-y_*=-1,B_*,0 on the three intervals, and the values match at 11 and 22. The zero terminal state remains zero under the homogeneous equation after 22.

Step 3: Quantify the error sharply. The error is zero before 11, then equals δ(et−1−1)\delta(e^{t-1}-1) until 22. After 22 the homogeneous equation amplifies its terminal value: y(t)−y*(t)=δ(e−1)et−2,t≥2.\boxed{y(t)-y_*(t)=\delta(e-1)e^{t-2},\qquad t\ge 2.} Its magnitude increases on [2,5][2,5] when δ≠0\delta\ne 0. Thus the required necessary and sufficient tolerance is |δ|≤0.01e−3e−1.\boxed{|\delta|\le\frac{0.01\,e^{-3}}{e-1}.} Equality attains the limit at t=5t=5.

Step 4: Distinguish trajectory cancellation from stability. The perfect output has compact support and a transform for every real ss. For any δ≠0\delta\ne 0, a nonzero ete^t tail remains and the exact real domain is s>1s>1. At the perfect setting the apparent singularity at s=1s=1 is removable, as is the s=0s=0 expression after cancellations. Small level errors eventually grow without bound; selecting one compact response does not change the unstable homogeneous equation.

See the diagram in the original worksheet below.

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

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