Linear Equations — Question 8

PDF ↗

Question 8

A switched forcing acts on a linear equation for t≥0t\ge 0: y′+y=f(t),y(0)=0,f(t)={2,0≤t<1,0,t>1.y'+y=f(t),\qquad y(0)=0,\qquad f(t)=\begin{cases}2,&0\le t<1,\\0,&t>1.\end{cases} Seek a continuous function that is continuously differentiable on each side of t=1t=1 and satisfies the equation away from that switching time. No derivative at t=1t=1 is assumed.

Tasks

  1. Solve on 0≤t<10\le t<1 using an integrating factor, then use continuity to solve on t>1t>1.

  2. Find the global maximum for t≥0t\ge 0, including its time, and the limit as t→∞t\to\infty.

  3. Compute the left and right derivatives at t=1t=1. Is the resulting function a classical differentiable solution at that point?

  4. Evaluate ∫0∞y(t)dt\int_0^\infty y(t)\,dt and relate it to the total forcing ∫0∞f(t)dt\int_0^\infty f(t)\,dt. Sketch the continuous response in your solution, showing the change in slope at the switch.

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

Question 8 – Solution

Strategy. Integrate separately on the two smooth pieces and match values at the switch; continuity need not imply a continuous derivative.

Step 1: Solve and match. Before the switch, (ety)′=2et(e^ty)'=2e^t, so y=2+Ce−ty=2+Ce^{-t}. Initial data give C=−2C=-2 and y(1)=A:=2(1−e−1)y(1)=A:=2(1-e^{-1}). Afterward (ety)′=0(e^ty)'=0; matching this value yields y(t)={2(1−e−t),0≤t≤1,Ae−(t−1),t>1,A=2(1−e−1).\boxed{y(t)=\begin{cases} 2(1-e^{-t}),&0\le t\le 1,\\ A e^{-(t-1)},&t>1, \end{cases}\qquad A=2(1-e^{-1}).} Differentiation on each open piece verifies its corresponding equation.

See the diagram in the original worksheet below.

Step 2: Maximum and derivative jump. Before 11, y′=2e−t>0y'=2e^{-t}>0; after 11, y′=−Ae−(t−1)<0y'=-Ae^{-(t-1)}<0. Hence the global maximum is A at t=1\boxed{A\text{ at }t=1}, and the limit is zero. At the switch, y′(1−)=2/e,y′(1+)=−A=2/e−2.y'(1^-)=2/e,\qquad y'(1^+)=-A=2/e-2. The jump is −2-2, so the derivative does not exist there. The response meets the requested piecewise conditions, but is not a classical differentiable solution at the switch.

Step 3: Total response. Direct integration gives ∫012(1−e−t)dt=2/e,∫1∞Ae−(t−1)dt=A,\int_0^1 2(1-e^{-t})dt=2/e,\qquad \int_1^\infty Ae^{-(t-1)}dt=A, so ∫0∞y(t)dt=2=∫0∞f(t)dt\boxed{\int_0^\infty y(t)dt=2=\int_0^\infty f(t)dt}. Equivalently, integrate y′+y=fy'+y=f on the two pieces: continuity cancels the joining values and y(0)=lim⁡y=0y(0)=\lim y=0 cancels the endpoint contribution.

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

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