Step Functions — Question 4

PDF ↗

Question 4

For a≥0a\ge 0, let ua(t)=0u_a(t)=0 for t<at<a and ua(t)=1u_a(t)=1 for t≥at\ge a. Use ordinary one-sided Laplace integrals for real ss; a value at one isolated point does not change an integral.

Let ra(t)=(t−a)ua(t)r_a(t)=(t-a)u_a(t). A continuous triangular signal is f(t)={0,0≤t<1,t−1,1≤t<3,(7−t)/2,3≤t<7,0,t≥7.f(t)=\begin{cases}0,&0\le t<1,\\t-1,&1\le t<3,\\(7-t)/2,&3\le t<7,\\0,&t\ge 7.\end{cases}

Tasks

  1. Express ff as a linear combination of r1,r3,r7r_1,r_3,r_7 by tracking slope changes.

  2. Find F(s)F(s) using shifted ramp transforms, and establish its full real convergence set.

  3. Explain algebraically why the ramp combination is zero after time seven. State the two cancellation conditions for a general sum ∑cjraj(t)\sum c_j r_{a_j}(t) to vanish after its last switch.

  4. Compute the total area and the first moment. Confirm the values from the expansion of FF at zero.

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

Question 4 – Solution

Strategy. A ramp changes slope rather than level. Cancel both the final slope and the final intercept to create compact support.

Step 1: Encode slope changes. The slopes are 0,1,−1/2,00,1,-1/2,0, giving changes 1,−3/2,1/21,-3/2,1/2. Thus f=r1−32r3+12r7.\boxed{f=r_1-\tfrac 32r_3+\tfrac 12r_7.} Each ramp is zero at its own switch, so the combination is continuous. At the peak time three its value is two; it then decreases to zero at seven.

Step 2: Transform the ramps. For s>0s>0, substitution gives ℒ{ra}=e−as/s2\mathcal L\{r_a\}=e^{-as}/s^2. Hence F(s)=e−s−32e−3s+12e−7ss2(s≠0).\boxed{F(s)=\frac{e^{-s}-\tfrac 32e^{-3s}+\tfrac 12e^{-7s}}{s^2}\quad(s\ne 0).} The actual function has finite support, so its integral exists for all real ss. Direct integration of the two linear pieces extends the formula to all s≠0s\ne 0; zero is removable.

Step 3: Cancel the tail, not just the slope. For t≥7t\ge 7, the ramp sum is (1−32+12)t−[1−32(3)+12(7)]=0.(1-\tfrac 32+\tfrac 12)t-[1-\tfrac 32(3)+\tfrac 12(7)]=0. In general, after the last switch a finite ramp sum equals t∑cj−∑cjajt\sum c_j-\sum c_j a_j. It vanishes identically there exactly when ∑cj=0,∑cjaj=0.\boxed{\sum c_j=0,\qquad \sum c_j a_j=0.} Canceling only the slope could leave a nonzero constant tail and a different convergence domain.

Step 4: Check area and moment. The triangle has base six and height two, so F(0)=6\boxed{F(0)=6}. Direct integration gives ∫13t(t−1)dt=143,12∫37t(7−t)dt=523.\int_1^3t(t-1)\,dt=\frac{14}3,\qquad \frac 12\int_3^7t(7-t)\,dt=\frac{52}3. Thus the first moment is 22\boxed{22} and F′(0)=−22F'(0)=-22. Expanding the numerator of FF gives 6s2−22s3+O(s4)6s^2-22s^3+O(s^4), agreeing with both results. The horizontal time coordinate of the area centroid is 22/6=11/322/6=11/3, consistent with the three triangle vertices.

See the diagram in the original worksheet below.

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

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