Constant coefficients: steady state, superposition and sinusoidal input
For y′ + ky = kq_e(t) with k > 0, the solution is a steady-state part plus a transient Ce^(−kt) that dies away, so all solutions approach one another. The physical input q_e (a water-bath temperature, say) drives the response y, and because the equation is linear, responses to added inputs add. For the input cos ωt, complexify: solve ỹ′ + kỹ = ke^(iωt), whose solution is e^(iωt)/(1 + iω/k), and take the real part. In polar form the response is A cos(ωt − φ), with amplitude A = 1/√(1 + (ω/k)²) and phase lag φ = arctan(ω/k). Better conduction (larger k) raises the amplitude towards 1 and shrinks the lag.
Mixing problems have this form too; others, such as the RC circuit or radioactive decay, do not separate out so naturally (p. 1). For a general right-hand side q(t), the integrating factorekt gives (p. 1)
Solution with constant k
y=e−kt∫q(t)ektdt+Ce−kt
In words
y equals e to the power minus k t the integral of q(t) e to the power k t d t plus capital C e to the power minus k t
The opposite signs in the exponents are easy to remember: for a constant input they must cancel to give a constant solution (p. 1). If k>0, which is essential, the second term tends to 0 as t→∞ whatever C is. It is the transient, and it carries the initial value. The first term remains: the steady-state (or long-term) solution (p. 1).
So every solution, wherever it starts, approaches the steady-state solution, without crossing it (pp. 1–2). But then nothing makes that one special: all solutions approach one another, so there are many steady-state solutions, and "the" steady-state solution usually means the simplest-looking one, often the one with C=0 (p. 2). For k<0 the words steady state and transient make no sense (p. 4).
The right-hand side is called the input and the solution the response (transcript, pp. 2–3). Thinking of the temperature model, the water bath's temperature drives the temperature inside: the bath plus the inner chamber is a small system, and its response is governed by the driving temperature. Strictly the input is q(t)=kqe(t); the lecture calls qe the physical input (the temperature or concentration input) (p. 3). Dividing by k gives another common way of writing the equation, k1y′+y=qe(t), in which qe is simply called the input (p. 3).
Superposition (p. 4). If the input q1 produces the response y1 and q2 produces y2, then
Superposition principle
q1+q2→y1+y2,cq1→cy1
In words
q one plus q two goes to y one plus y two, c q one goes to c y one
The most important case is a trigonometric input, because of Fourier series, which come later in the course (transcript, p. 4). Take qe=cosωt, so the equation is y′+ky=kcosωt (pp. 4–5). Here ω is the angular (or circular) frequency: the number of complete oscillations in a t-interval of length 2π, not in unit time (p. 5).
Complexify (p. 6). Since cosωt=Reeiωt, replace the equation by
Complexified equation
y~′+ky~=keiωt
In words
y prime tilde plus k y tilde equals k e to the power i omega t
Its solution y~ is complex, so it gets its own name. Write y~=y1+iy2: its real party1 solves the original real equation, by separating real and imaginary parts (p. 7). (Here y1 means the real part, not the response of the superposition principle above.)
( y tilde e to the power k t ) prime equals k e to the power the quantity k plus i omega, t, end of power, y tilde e to the power k t equals k over the quantity k plus i omega, times e to the power the quantity k plus i omega, t, end of power
Draw 1+iω/k: a right triangle with sides 1 and ω/k and angle ϕ at the origin. So (pp. 9–10)
Polar form of the coefficient
1+i(ω/k)1=Ae−iϕ,A=1+(ω/k)21,ϕ=arctankω
In words
1 over the quantity 1 plus i the quantity omega over k, equals A e to the power minus i phi, A equals 1 over the quantity the square root of 1 plus the quantity omega over k, all squared, end of root, phi equals arc tangent omega over k
Then y~=Aei(ωt−ϕ), and its real part is the response (pp. 10–12):
Response to cos ωt
y1=1+(ω/k)21cos(ωt−ϕ)
In words
y one equals 1 over the quantity the square root of 1 plus the quantity omega over k, all squared, end of root, times cos of the quantity omega t minus phi
A is the amplitude and ϕ the phase lag (or phase delay) (pp. 11–12). The response is the input shifted along: ϕ is subtracted from the angle ωt, not from t. For example ϕ=π/2 shifts the cosine by a quarter of its cycle, giving sinωt (p. 12).
Effect of the conductivity (pp. 12–13). If k goes up (heat gets in faster), ω/k falls, so the amplitude rises towards 1 and the phase lag falls towards 0: the inside follows the bath closely and with little delay. The lecture ends by leaving "the other one" to the class (p. 13). (The effect of ω, worked out here: a faster oscillation, larger ω, has the opposite effect: smaller amplitude and a lag approaching π/2.)
Going Cartesian instead (announced on p. 8 but not reached in this recording; it opens the next lecture, so this is the page's own working): multiply top and bottom by the conjugate, 1+iω/k1=1+(ω/k)21−iω/k, and take the real part of the product with cosωt+isinωt. The result, y1=1+(ω/k)2cosωt+(ω/k)sinωt, is the same function as the polar answer, written as a combination of cosine and sine.
Loading graph…
Input cosωt and the response starting from y(0)=0, for ω=k (so A=1/2≈0.71 and ϕ=π/4), computed from y=Acos(ωt−ϕ)−0.5e−kt: the transient dies away and the response settles into a smaller, delayed copy of the input.
Worked example
A chamber in a water bath
A small chamber sits in a bath whose temperature oscillates as 20+8cos(0.25t) °C (t in minutes), and its walls give k=0.25 per minute. (a) Find the steady-state temperature inside. (b) By how many minutes do its peaks lag behind the bath's? (c) Repeat with walls that conduct four times better, k=1 per minute.
(a) Superposition
The constant input 20 gives the response 20. For the oscillating part, ω/k=1, so A=1/2≈0.707 and ϕ=arctan1=π/4. The steady state is 20+5.66cos(0.25t−π/4) °C.
(b) Time lag
The cosine reaches its peak when 0.25t−π/4=0, so the lag is ϕ/ω=(π/4)/0.25=π≈3.14 minutes.
(c) Better walls
Now ω/k=0.25: A=1/1.0625≈0.970, so the inside swings by ±7.76 °C, and ϕ=arctan0.25≈0.245 rad (14.0°), a lag of only 0.98 minutes.
A differential equation with only the first derivative, in which the unknown and its derivative appear only to the first power, never multiplied together. Explained in First-order linear equations and integrating factors.
An electric circuit of a resistor and a capacitor, in which charge flows on or off the capacitor exponentially. Explained in Measuring circuits and RC circuits.
A function an equation is multiplied by so that one side becomes an exact derivative; for a first-order linear equation, of a single product. Explained in First-order linear equations and integrating factors.
The state of a system at the starting time, such as its position and speed, which picks out one solution of its equation. Explained in Introduction to first-order systems.
A condition that no longer changes with time, or for a driven system the lasting motion left once start-up effects die away. Explained in Driven oscillators and resonance.
Adding effects: the total force, field or wave from several sources is the sum of what each would give alone. Explained in Superposition and standing waves.
A way of writing a repeating function as a sum of sines and cosines whose frequencies are whole-number multiples of one frequency. Explained in Normal modes of a string and Fourier series.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
How easily something flows through a material: electric current, for electrical conductivity, or heat, for thermal conductivity. Explained in Current, resistance and DC circuits.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
The angle that a complex number makes with the positive real axis, measured anticlockwise.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).