Nonhomogeneous Systems — Question 8

PDF ↗

Question 8

For t≥0t\ge 0, let x′=−x+y,y′=−y+u(t),x(0)=y(0)=0,x'=-x+y,\qquad y'=-y+u(t),\qquad x(0)=y(0)=0, where u(t)=1u(t)=1 for 0≤t<10\le t<1 and u(t)=0u(t)=0 for t>1t>1. Take the state to be continuous at the switch; use one-sided derivatives there. The value assigned to u(1)u(1) does not change the continuous solution.

Tasks

  1. Solve on 0≤t≤10\le t\le 1, then continue for t≥1t\ge 1 using τ=t−1\tau=t-1 and the state at the switch.

  2. Find the one-sided state derivatives at t=1t=1. Which component derivative is continuous, and which jumps?

  3. Find the global forward maximum of xx and its time. Explain why the maximum occurs after the input has switched off.

  4. Find the long-time limit and the integrals ∫0∞x(t)dt\int_0^\infty x(t)\,dt and ∫0∞y(t)dt\int_0^\infty y(t)\,dt by integrating the differential equations.

Original worksheet page 1: question and worked solution for 5-10-008
Show solutionHide solution

Question 8 – Solution

Strategy. Match the state at the switch, then track the stored second-component response as it continues to feed the first.

Step 1: Solve and match the two intervals. For 0≤t≤10\le t\le 1, integration gives x=1−(1+t)e−tx=1-(1+t)e^{-t}, y=1−e−ty=1-e^{-t}. Set a=1−2/ea=1-2/e, b=1−1/eb=1-1/e, the switch values. For τ=t−1≥0\tau=t-1\ge 0, the homogeneous continuation is x=e−τ(a+bτ),y=be−τ.\boxed{x=e^{-\tau}(a+b\tau),\qquad y=b e^{-\tau}.} At τ=0\tau=0 these match the first formulas, so both components are continuous.

Step 2: Compare one-sided derivatives. Before the switch, (x′,y′)=(te−t,e−t)(x',y')=(te^{-t},e^{-t}). Thus X′(1−)=(1/e,1/e)TX'(1^-)=(1/e,1/e)^T. Immediately after it, X′(1+)=(−a+b,−b)T=(1/e,−1+1/e)TX'(1^+)=(-a+b,-b)^T=(1/e,-1+1/e)^T. The derivative x′x' is continuous; y′y' has jump −1-1. A finite step input changes a derivative, not the state itself.

Step 3: Find the delayed first-component peak. Before switching, x′>0x'>0 for t>0t>0. Afterward, x′=e−τ(b−a−bτ)x'=e^{-\tau}(b-a-b\tau), with b−a=1/eb-a=1/e. It changes sign once, at τ=1/(e−1)\tau=1/(e-1), hence tmax=1+1e−1,xmax=(1−1/e)e−1/(e−1).\boxed{t_{\max}=1+\frac 1{e-1},\qquad x_{\max}=(1-1/e)e^{-1/(e-1)}.} The still-positive yy initially exceeds xx after the input ends, so x′=−x+yx'=-x+y remains positive until the two components become equal.

Step 4: Integrate the total response. Both components tend to zero exponentially times a linear factor, so their integrals converge. Integrating y′=−y+uy'=-y+u over [0,∞)[0,\infty) and using its zero endpoints gives ∫y=∫u=1\int y=\int u=1. Integrating x′=−x+yx'=-x+y similarly gives ∫0∞x(t)dt=∫0∞y(t)dt=1\boxed{\int_0^\infty x(t)\,dt=\int_0^\infty y(t)\,dt=1}. Equal total areas do not mean equal graphs or simultaneous peaks. The figure marks the switch and the delayed maximum of xx.

See the diagram in the original worksheet below.

Original worksheet page 2: question and worked solution for 5-10-008

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