yP(t) corresponds to some generic h(t) that can be noncausal;
yF(t) corresponds to a specific h(t)=h+(t) such that h+(t)=0 for all t<0.
How do we determine such an h+(t)? One possible technique is the impulse matching method.
Constraints on h+(t)
We determine h+(t) by imposing
(a) h+(t)=0 for all t<0,
(b) n=0∑Nandtndnh+(t)=0 for t>0.
Why (a)? Because we need to enforce causality. Why (b)? Because h+(t) is an impulse response, so
n=0∑Nandtndnh+(t)=m=0∑Mbmδ(m)(t),δ(0)(t)=δ(t),
but for t>0 the RHS of this equation returns zero.
Does this mean h+(t)=yN(t)? No! The whole balancing game is played at t=0 (not t0). Drop the assumption N≥M for a moment and analyse the general case M,N∈N:
n=0∑Nandtndnh+(0)=m=0∑Mbmδ(m)(0).
So h+(t) must contain δ(m−N) impulses for some m≥N if M≥N! This suggests the ansatz
h+(t)=ℓ=1∑Nqℓψℓ(t)1(t)+ℓ=0∑M−NqN+ℓ+1δ(ℓ)(t)
We need to determine the coefficients q1,…,qN,qN+1 (and qN+2,…,qM+1). The latter group is often unnecessary because for physical systems N≥M holds. Indeed qN+2 corresponds to δ(1)(t): the differentiation (which is not "strictly" causal!).
Tool: the product impulse × signal (I×S) theorem
Theorem (product impulse × signal).δ(ℓ)(t)x(t)=m=0∑ℓ(−1)mdtmdmx(0)δ(ℓ−m)(t)
(transcribed as written on the scan; the scan shows no binomial coefficient). In particular, for ℓ=1, the case used below,
δ(1)(t)x(t)=x(0)δ(1)(t)−dtdx(0)δ(t).Caution: for ℓ≥2 the general sum above looks incomplete (a binomial coefficient (mℓ) in front of each term would be expected, e.g. −2x˙(0)δ(1) for ℓ=2); only ℓ=0,1 are checked against the scan's examples.
The forced response of a (causal) LTI convolutional system is
yF(t)=1(t−t0)∫t0−th+(t−τ)u(τ)dτ.
We will not check whether the ansatz above for h+(t) is correct; we get a procedure out of it to determine the constants q1,q2,…. There are three long steps.
Step 1 - compute and decompose the n-th derivatives of h+(t)
For n=0,…,N and n=0:
dtndn[ψℓ(t)1(t)]=non-impulsive termψ~nℓ(t)1(t)+impulsive term (I×S theorem)i=0∑n−1ξniδ(i)(t),ξni∈C.
Notice that for all t=0, dtndnψℓ(t)=ψ~nℓ(t)1(t); by construction the ψ~'s do not depend on any δ(i). Also set ψ~0ℓ(t):=ψℓ(t) for all ℓ=1,…,N. Write the expression of h+(t),dtdh+(t),…,dtNdNh+(t) in terms of ψ~ and ξ.
Observation.n=0∑Nandtndnh+(t)=n=0∑Nandtndn[ℓ=1∑Nqℓψℓ(t)1(t)+ℓ=0∑M−NqN+ℓ+1δ(ℓ)(t)]=n=0∑Nanℓ=1∑Nqℓdtndn[ψℓ(t)1(t)]+n=0∑Nanℓ=0∑M−NqN+ℓ+1δ(ℓ+n)(t)=n=0∑Nanℓ=1∑Nqℓ[ψ~nℓ(t)1(t)+i=0∑n−1ξniδ(i)(t)]+n=0∑Nanℓ=0∑M−NqN+ℓ+1δ(ℓ+n)(t)==01(t)⋅(n=0∑Nanℓ=1∑Nqℓψ~nℓ(t))+…(impulsive terms)
The bracket is 0 because the ψ~nℓ(t) are such that they satisfy the (HE) for all t∈R. So the non-impulsive part cancels and only impulses remain.
Step 2 - equate the combination of impulses
n=0∑Nan(ℓ=1∑Nqℓi=0∑n−1ξniδ(i)(t)+ℓ=0∑M−NqN+ℓ+1δ(ℓ+n)(t))=m=0∑Mbmδ(m)(t).
Rearranging,
ℓ=1∑Nqℓ(n=0∑Nani=0∑n−1ξniδ(i)(t))+ℓ=0∑M−NqN+ℓ+1(n=0∑Nanδ(ℓ+n)(t))=…
Express the LHS as
ℓ=1∑L+1qℓ(i=0∑Lαiℓδ(i)(t)),L=max(N−1,M).
To determine αiℓ simply gather all the coefficients corresponding to the pair (qℓ,δ(i)(t)). If N>M define bM+1=bM+2=⋯=bN−1=0. We get
ℓ=1∑L+1qℓ(i=0∑Lαiℓδ(i)(t))=i=0∑Lbiδ(i)(t).
Step 3 - solve the linear system for q1,…,qL+1
Equating the coefficient of each δ(i) gives L+1 equations in the L+1 unknowns:
α01α11⋮αL,1α02α12αL,2⋯⋯⋯α0Lα1LαLLα0,L+1α1,L+1⋮αL,L+1q1q2⋮qLqL+1=b0b1⋮bL−1bL⇒solution q^1⋮q^L+1
(the scan labels the rows 1,…,L+1, which here are i=0,…,L). The solution exists and is unique because of the yF(t) properties.
Worked example
{y¨+2y˙+y=−3u¨+5u˙+u,u∈St0y(t0−)=y˙(t0−)=e,t0=−1.
(The scan shows −3u¨ with two dots; the impulse equation below, with −3δ(2), confirms it.)
Natural response.p2+2p+1=0⇝(p+1)2=0, p=−1 with multiplicity 2. Modes ψ1(t)=e−t, ψ2(t)=te−t, with ψ˙1(t)=−e−t, ψ˙2(t)=(1−t)e−t. Impose the BCs at t0−=−1:
[ψ1(t0−)ψ˙1(t0−)ψ2(t0−)ψ˙2(t0−)][c1c2]=[y(−1)y˙(−1)]⇝[e−e−e2e][c1c2]=[ee]{c1−c2=1−c1+2c2=1⇒c^1=3,c^2=2,yN(t)=3e−t+2te−t.
Impulse response h+(t). Take u(t)=δ(t):
h¨+(t)+2h˙+(t)+h+(t)=−3δ(2)(t)+5δ(1)(t)+δ(t).h+(t) has to be (1) causal, h+(t)=0 for all t<0; (2) a solution of h¨++2h˙++h+=0 for all t>0. Also, h+(t) has to contain a linear combination of impulses because M≥N (here M=N=2). Ansatz:h+(t)=q1e−t1(t)+q2te−t1(t)+q3δ(t).Step 1 (derivatives). Using e−tδ(t)=δ(t) and te−tδ(t)=0⋅δ(t):
h˙+(t)=−q1e−t1(t)+q1δ(t)+q2(1−t)e−t1(t)+q3δ(1)(t),h¨+(t)=q1e−t1(t)−q1δ(t)+q1δ(1)(t)+q2(t−2)e−t1(t)+q2δ(t)+q3δ(2)(t)
(the scan keeps terms such as q1e−tδ(1)(t) and q2te−tδ(1)(t) unsimplified; they are reduced with the I×S theorem: δ(1)(t)e−t=δ(1)(t)+δ(t) and tδ(1)(t)e−t=−δ(t)).
Step 2 (equate). In h¨++2h˙++h+ all terms in e−t1(t) and te−t1(t) cancel (they satisfy the HE), and the impulses collected are
δ(t):q1+q2+q3,δ(1)(t):q1+2q3,δ(2)(t):q3,
to be equated to 1, 5, −3 respectively.
Step 3 (linear system).110100121q1q2q3=15−3←δ(t)←δ(1)(t)←δ(2)(t)
Third row: q3=−3, so q^3=−3. Second row: q1+2q3=5⇒q^1=5−2(−3)=11. First row: q1+q2+q3=1⇒q^2=1−11−(−3)=−7. Solution:
h+(t)=11e−t1(t)−7te−t1(t)−3δ(t)Is the I×S theorem necessary? No! You can sample before computing the derivatives of h+ (the scan's marginal remark).
Forced response.yF(t)=1(t+1)∫−1−th+(t−τ)u(τ)dτ,∀u∈St0,
and the full solution is y=yN+yF.
Goal: causal impulse response h+(t) of ∑n=0Nany(n)=∑m=0Mbmu(m), so that yF(t)=1(t−t0)∫t0−th+(t−τ)u(τ)dτ.
Constraints: (a) h+=0 for t<0; (b) ∑anh+(n)=0 for t>0. The balancing is at t=0, so h+=yN.
Ansatz:h+(t)=∑ℓ=1Nqℓψℓ(t)1(t)+∑ℓ=0M−NqN+ℓ+1δ(ℓ)(t) (impulse part only if M≥N; physical systems have N≥M).
I×S theorem (used for ℓ=1): δ(1)(t)x(t)=x(0)δ(1)(t)−x˙(0)δ(t).
3 steps: (1) compute dtndn[ψℓ1]=ψ~nℓ1+∑i<nξniδ(i); the non-impulsive part cancels by (HE). (2) Equate the impulses: ∑ℓ=1L+1qℓ∑i=0Lαiℓδ(i)=∑i=0Lbiδ(i), L=max(N−1,M), with bM+1=⋯=bN−1=0 if N>M. (3) Solve the linear system for q1,…,qL+1 (unique solution).
Exampley¨+2y˙+y=−3u¨+5u˙+u, y(−1−)=y˙(−1−)=e: yN=3e−t+2te−t (from [[e,−e],[−e,2e]]c=[e,e]T); h+=11e−t1−7te−t1−3δ from [[1,1,1],[1,0,2],[0,0,1]]q=[1,5,−3]T. Total y=yN+yF.
yF depends on input only, yN on BCs only.
Typical mistakes: wrong rows in the impulse system (rows are δ(i), not equations of the modes); forgetting the q3δ(t) term when M=N; taking BCs at t0 instead of t0−.