Differentiate term by term, then regroup into c1โ(y1โฒโ+ky1โ)+c2โ(y2โฒโ+ky2โ)
Key Insight: Superposition is a consequence of linearity alone: the left-hand side of a combination of functions is the same combination of their left-hand sides. Put y2 in place of y and the cross term 2ky1โy2โ appears, so the sum of two responses is no longer a response to the sum of the inputs.
IIThe Physical Input Has the Units of the Response
For yโฒ+ky=kqeโ with a constant bath qeโ=1, the response levels off at qeโ, not at q=kqeโ.
๐ก Many books divide by k to get k1โyโฒ+y=qeโ(t) and call qeโ the input; the coefficient k1โ on yโฒ takes it out of standard linear form, so this course keeps yโฒ+ky=kqeโ(t).
IIIInputs Combine, Responses Follow
For yโฒ+2y=q, if 1โy1โ and eโ2tโy2โ, then c1โ+c2โeโ2tโc1โy1โ+c2โy2โ.
๐ก Every response here starts from rest, y(0)=0; in general the combination c1โy1โ+c2โy2โ starts at c1โy1โ(0)+c2โy2โ(0).
IVA y2 Breaks Superposition
In yโฒ+2y2=q the sum y1โ+y2โ overshoots the response to q1โ+q2โ by way of the cross term 2ky1โy2โ.
VQuiz Questions
Problem 1 ยท Build a Response from Pieces
Given: for yโฒ+2y=q(t), the input q1โ=1 has the response y1โ=21โ and the input q2โ=eโ2t has the response y2โ=teโ2t โ find a response to the input q=3โ5eโ2t.
โ Correct!q=3q1โโ5q2โ, so superposition gives 3y1โโ5y2โ=23โโ5teโ2t.
โ Not quite. The constant 3 multiplies the response y1โ=21โ, not the input q1โ=1: the first term is 3โ 21โ=23โ. Substituting 3โ5teโ2t gives yโฒ+2y=6โ5eโ2t.
โ Not quite. The coefficient c2โ=โ5 carries its sign to the response: c2โy2โ=โ5teโ2t. This option responds to 3+5eโ2t.
โ Not quite. That is y1โ+y2โ, the response to 1+eโ2t. The constants c1โ=3 and c2โ=โ5 must multiply the responses too.
โ Not quite. Write q=c1โq1โ+c2โq2โ and use c1โy1โ+c2โy2โ.
Show solution
Write the input as a combination of the two known inputs:
By the superposition principle, c1โq1โ+c2โq2โโc1โy1โ+c2โy2โ:
y=3โ 21โโ5teโ2t=23โโ5teโ2t.
Check:yโฒ=โ5eโ2t+10teโ2t and 2y=3โ10teโ2t, so
yโฒ+2y=3โ5eโ2tย โ
Problem 2 ยท Units of the Input
Given: the temperature model Tโฒ+kT=kTeโ, with T and Teโ in degrees Celsius and t in minutes, so that k is in 1/min โ find the units of the input q=kTeโ.
โ Correct!q=kTeโ has units (1/min)โ โC, a rate of temperature change, just like Tโฒ.
โ Not quite. Degrees Celsius are the units of the physical input Teโ and of the response T. The input q carries the extra factor k, in 1/min.
โ Not quite. Per minute is the unit of k alone; q is k times a temperature.
โ Not quite. Minutes are the units of t and of 1/k; q is k times a temperature.
Show solution
Every term of an equation has the same units. Tโฒ is a temperature per unit time, in โC/min, so kT and kTeโ are too. Directly:
[q]=[k][Teโ]=min1โโ โC=โC/min.
The physical input Teโ is in โC, the same as the response T. That shared unit is why the course calls qeโ the physical input: it can be compared with y directly, while q cannot.
Problem 3 ยท Where the Cross Term Shows Up
Given: for the nonlinear equation yโฒ+y2=q(t) (so k=1), y1โ=t is the response to q1โ=1+t2 and y2โ=1 is the response to q2โ=1 โ find the input whose response is y1โ+y2โ=t+1.
โ Correct!(t+1)โฒ+(t+1)2=t2+2t+2, which exceeds q1โ+q2โ=t2+2 by the cross term 2ky1โy2โ=2t.
โ Not quite.t2+2 is q1โ+q2โ, the answer superposition would give, and superposition fails here: the square of y1โ+y2โ contains the cross term 2y1โy2โ=2t.
โ Not quite.(y1โ+y2โ)2=y12โ+2y1โy2โ+y22โ: the cross term is 2t, not t.
โ Not quite.t2+2t+1 is (t+1)2 alone; the input also includes the derivative (t+1)โฒ=1.
โ Not quite. Substitute y=t+1 into the left-hand side yโฒ+y2.
Show solution
The input that produces a given function is its left-hand side. Substitute y=t+1:
yโฒ+y2=1+(t+1)2=1+t2+2t+1=t2+2t+2.
Compare with the sum of the inputs, q1โ+q2โ=(1+t2)+1=t2+2. The difference is
the cross term from (y1โ+y2โ)2=y12โ+2y1โy2โ+y22โ. So q1โ+q2โ does not produce y1โ+y2โ: superposition fails for this nonlinear equation.
Problem 4 ยท Scaling Fails Too
Given: for the nonlinear equation yโฒ+2y2=q, the constant input q=2 has the constant response y=1 โ find the positive constant response to the input q=8, four times as large.
โ Correct! A constant y has yโฒ=0, so 2y2=8 and y=2: four times the input gives only twice the response.
โ Not quite. "Four times the input gives four times the response" is the special case c2โ=0 of superposition, which needs a linear equation. Check: 2โ 42=32๎ =8.
โ Not quite.22โ solves y2=8; the equation is 2y2=8, with k=2.
โ Not quite.2โ=8โ/2 divides by k outside the square root. Check: 2(2โ)2=4๎ =8.
Show solution
A constant response has yโฒ=0, so the equation reduces to 2y2=q.
For q=2: 2y2=2 gives y=1, as stated. For q=8:
2y2=8โนy2=4โนy=2(y>0).
The input was multiplied by 4, but the response only by 2=4โ. For a linear equation the scaling rule cqโcy would give y=4; the y2 term breaks it, just as it breaks the sum rule.