Differential-Equations ยท Unit 7 ยท Video 2 ยท Interactive Practice

Input, Response and the Superposition Principle

IKey Formulas

FormulaNameWhat it says
yโ€ฒ+ky=q(t)y' + ky = q(t),   qโ‡yq \leadsto yInput and responseThe right-hand side qq is the input; the solution yy is the system's response
yโ€ฒ+ky=kโ€‰qe(t)y' + ky = k\,q_e(t)Physical input qeq_eqeq_e has the units of yy; the input q=kqeq = kq_e has units of yy per unit time
c1q1+c2q2โ‡c1y1+c2y2c_1q_1 + c_2q_2 \leadsto c_1y_1 + c_2y_2Superposition principleHolds for any constants c1c_1, c2c_2 whenever q1โ‡y1q_1 \leadsto y_1 and q2โ‡y2q_2 \leadsto y_2
(c1y1+c2y2)โ€ฒ+k(c1y1+c2y2)=c1q1+c2q2(c_1y_1 + c_2y_2)' + k(c_1y_1 + c_2y_2) = c_1q_1 + c_2q_2The one-line proofDifferentiate term by term, then regroup into c1(y1โ€ฒ+ky1)+c2(y2โ€ฒ+ky2)c_1(y_1' + ky_1) + c_2(y_2' + ky_2)

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 y2y^2 in place of yy and the cross term 2kโ€‰y1y22k\,y_1y_2 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=kโ€‰qey' + ky = k\,q_e with a constant bath qe=1q_e = 1, the response levels off at qeq_e, not at q=kqeq = kq_e.

๐Ÿ’ก Many books divide by kk to get 1kโ€‰yโ€ฒ+y=qe(t)\frac{1}{k}\,y' + y = q_e(t) and call qeq_e the input; the coefficient 1k\frac{1}{k} on yโ€ฒy' takes it out of standard linear form, so this course keeps yโ€ฒ+ky=kโ€‰qe(t)y' + ky = k\,q_e(t).

IIIInputs Combine, Responses Follow

For yโ€ฒ+2y=qy' + 2y = q, if 1โ‡y11 \leadsto y_1 and eโˆ’2tโ‡y2e^{-2t} \leadsto y_2, then c1+c2eโˆ’2tโ‡c1y1+c2y2c_1 + c_2e^{-2t} \leadsto c_1y_1 + c_2y_2.

๐Ÿ’ก Every response here starts from rest, y(0)=0y(0) = 0; in general the combination c1y1+c2y2c_1y_1 + c_2y_2 starts at c1y1(0)+c2y2(0)c_1y_1(0) + c_2y_2(0).

IVA y2y^2 Breaks Superposition

In yโ€ฒ+2y2=qy' + 2y^2 = q the sum y1+y2y_1 + y_2 overshoots the response to q1+q2q_1 + q_2 by way of the cross term 2kโ€‰y1y22k\,y_1y_2.

VQuiz Questions

Problem 1 ยท Build a Response from Pieces

Given: for yโ€ฒ+2y=q(t)y' + 2y = q(t), the input q1=1q_1 = 1 has the response y1=12y_1 = \tfrac{1}{2} and the input q2=eโˆ’2tq_2 = e^{-2t} has the response y2=teโˆ’2ty_2 = te^{-2t} โ€” find a response to the input q=3โˆ’5eโˆ’2tq = 3 - 5e^{-2t}.

โœ… Correct! q=3q1โˆ’5q2q = 3q_1 - 5q_2, so superposition gives 3y1โˆ’5y2=32โˆ’5teโˆ’2t3y_1 - 5y_2 = \tfrac{3}{2} - 5te^{-2t}.
โŒ Not quite. The constant 33 multiplies the response y1=12y_1 = \tfrac{1}{2}, not the input q1=1q_1 = 1: the first term is 3โ‹…12=323 \cdot \tfrac{1}{2} = \tfrac{3}{2}. Substituting 3โˆ’5teโˆ’2t3 - 5te^{-2t} gives yโ€ฒ+2y=6โˆ’5eโˆ’2ty' + 2y = 6 - 5e^{-2t}.
โŒ Not quite. The coefficient c2=โˆ’5c_2 = -5 carries its sign to the response: c2y2=โˆ’5teโˆ’2tc_2y_2 = -5te^{-2t}. This option responds to 3+5eโˆ’2t3 + 5e^{-2t}.
โŒ Not quite. That is y1+y2y_1 + y_2, the response to 1+eโˆ’2t1 + e^{-2t}. The constants c1=3c_1 = 3 and c2=โˆ’5c_2 = -5 must multiply the responses too.
โŒ Not quite. Write q=c1q1+c2q2q = c_1q_1 + c_2q_2 and use c1y1+c2y2c_1y_1 + c_2y_2.
Show solution

Write the input as a combination of the two known inputs:

q=3โˆ’5eโˆ’2t=3โ‹…q1+(โˆ’5)โ‹…q2,c1=3,ย c2=โˆ’5.q = 3 - 5e^{-2t} = 3\cdot q_1 + (-5)\cdot q_2, \qquad c_1 = 3,\ c_2 = -5.

By the superposition principle, c1q1+c2q2โ‡c1y1+c2y2c_1q_1 + c_2q_2 \leadsto c_1y_1 + c_2y_2:

y=3โ‹…12โˆ’5โ€‰teโˆ’2t=32โˆ’5teโˆ’2t.y = 3\cdot\tfrac{1}{2} - 5\,te^{-2t} = \tfrac{3}{2} - 5te^{-2t}.

Check: yโ€ฒ=โˆ’5eโˆ’2t+10teโˆ’2ty' = -5e^{-2t} + 10te^{-2t} and 2y=3โˆ’10teโˆ’2t2y = 3 - 10te^{-2t}, so

yโ€ฒ+2y=3โˆ’5eโˆ’2tย โœ“y' + 2y = 3 - 5e^{-2t}\ \checkmark

Problem 2 ยท Units of the Input

Given: the temperature model Tโ€ฒ+kT=kTeT' + kT = kT_e, with TT and TeT_e in degrees Celsius and tt in minutes, so that kk is in 1/min1/\text{min} โ€” find the units of the input q=kTeq = kT_e.

โœ… Correct! q=kTeq = kT_e has units (1/min)โ‹…โˆ˜C(1/\text{min})\cdot{}^\circ\text{C}, a rate of temperature change, just like Tโ€ฒT'.
โŒ Not quite. Degrees Celsius are the units of the physical input TeT_e and of the response TT. The input qq carries the extra factor kk, in 1/min1/\text{min}.
โŒ Not quite. Per minute is the unit of kk alone; qq is kk times a temperature.
โŒ Not quite. Minutes are the units of tt and of 1/k1/k; qq is kk times a temperature.
Show solution

Every term of an equation has the same units. Tโ€ฒT' is a temperature per unit time, in โˆ˜C/min{}^\circ\text{C}/\text{min}, so kTkT and kTekT_e are too. Directly:

[q]=[k]โ€‰[Te]=1minโ‹…โˆ˜C=โˆ˜C/min.[q] = [k]\,[T_e] = \frac{1}{\text{min}}\cdot{}^\circ\text{C} = {}^\circ\text{C}/\text{min}.

The physical input TeT_e is in โˆ˜C{}^\circ\text{C}, the same as the response TT. That shared unit is why the course calls qeq_e the physical input: it can be compared with yy directly, while qq cannot.

Problem 3 ยท Where the Cross Term Shows Up

Given: for the nonlinear equation yโ€ฒ+y2=q(t)y' + y^2 = q(t) (so k=1k = 1), y1=ty_1 = t is the response to q1=1+t2q_1 = 1 + t^2 and y2=1y_2 = 1 is the response to q2=1q_2 = 1 โ€” find the input whose response is y1+y2=t+1y_1 + y_2 = t + 1.

โœ… Correct! (t+1)โ€ฒ+(t+1)2=t2+2t+2(t+1)' + (t+1)^2 = t^2 + 2t + 2, which exceeds q1+q2=t2+2q_1 + q_2 = t^2 + 2 by the cross term 2kโ€‰y1y2=2t2k\,y_1y_2 = 2t.
โŒ Not quite. t2+2t^2 + 2 is q1+q2q_1 + q_2, the answer superposition would give, and superposition fails here: the square of y1+y2y_1 + y_2 contains the cross term 2y1y2=2t2y_1y_2 = 2t.
โŒ Not quite. (y1+y2)2=y12+2y1y2+y22(y_1 + y_2)^2 = y_1^2 + 2y_1y_2 + y_2^2: the cross term is 2t2t, not tt.
โŒ Not quite. t2+2t+1t^2 + 2t + 1 is (t+1)2(t+1)^2 alone; the input also includes the derivative (t+1)โ€ฒ=1(t+1)' = 1.
โŒ Not quite. Substitute y=t+1y = t + 1 into the left-hand side yโ€ฒ+y2y' + y^2.
Show solution

The input that produces a given function is its left-hand side. Substitute y=t+1y = t + 1:

yโ€ฒ+y2=1+(t+1)2=1+t2+2t+1=t2+2t+2.y' + y^2 = 1 + (t+1)^2 = 1 + t^2 + 2t + 1 = t^2 + 2t + 2.

Compare with the sum of the inputs, q1+q2=(1+t2)+1=t2+2q_1 + q_2 = (1 + t^2) + 1 = t^2 + 2. The difference is

(t2+2t+2)โˆ’(t2+2)=2t=2kโ€‰y1y2(k=1,ย y1=t,ย y2=1),(t^2 + 2t + 2) - (t^2 + 2) = 2t = 2k\,y_1y_2 \quad (k = 1,\ y_1 = t,\ y_2 = 1),

the cross term from (y1+y2)2=y12+2y1y2+y22(y_1 + y_2)^2 = y_1^2 + 2y_1y_2 + y_2^2. So q1+q2q_1 + q_2 does not produce y1+y2y_1 + y_2: superposition fails for this nonlinear equation.

Problem 4 ยท Scaling Fails Too

Given: for the nonlinear equation yโ€ฒ+2y2=qy' + 2y^2 = q, the constant input q=2q = 2 has the constant response y=1y = 1 โ€” find the positive constant response to the input q=8q = 8, four times as large.

โœ… Correct! A constant yy has yโ€ฒ=0y' = 0, so 2y2=82y^2 = 8 and y=2y = 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=0c_2 = 0 of superposition, which needs a linear equation. Check: 2โ‹…42=32โ‰ 82\cdot 4^2 = 32 \ne 8.
โŒ Not quite. 222\sqrt{2} solves y2=8y^2 = 8; the equation is 2y2=82y^2 = 8, with k=2k = 2.
โŒ Not quite. 2=8/2\sqrt{2} = \sqrt{8}/2 divides by kk outside the square root. Check: 2(2)2=4โ‰ 82(\sqrt{2})^2 = 4 \ne 8.
Show solution

A constant response has yโ€ฒ=0y' = 0, so the equation reduces to 2y2=q2y^2 = q.

For q=2q = 2: 2y2=22y^2 = 2 gives y=1y = 1, as stated. For q=8q = 8:

2y2=8โ€…โ€ŠโŸนโ€…โ€Šy2=4โ€…โ€ŠโŸนโ€…โ€Šy=2(y>0).2y^2 = 8 \;\Longrightarrow\; y^2 = 4 \;\Longrightarrow\; y = 2 \quad (y > 0).

The input was multiplied by 44, but the response only by 2=42 = \sqrt{4}. For a linear equation the scaling rule cโ€‰qโ‡cโ€‰yc\,q \leadsto c\,y would give y=4y = 4; the y2y^2 term breaks it, just as it breaks the sum rule.

Solved: 0 / 4