Ludium
Sign In
Differential Equations
The Geometric View of ODEs
01Direction Fields and the Geometric View of ODEs02Integral Curves and the Isocline Method03Perpendicular Isoclines: The Circles of y' = -x/y04Isocline Corridors and a Trap for Solutions05Existence and Uniqueness: One Curve Through a Point06Where Existence and Uniqueness FailProblem set0/10Problem set 20/10MIT problem set0/3
Numerical Methods
01Euler's Method and Its Three Equations02Euler's Method by Hand: Building the Table03Convexity and the Sign of Euler's Error04First Order Error: Halve the Step, Halve the Error05Improved Euler (RK2): Averaging Two Slopes06Runge-Kutta 4 and the Price of Accuracy07Singular Points: Where Every Method FailsProblem set0/10Problem set 20/10MIT problem set0/1
First-Order Linear Equations
01First Order Linear: Standard Form and the Sign of p02The Conduction-Diffusion Model: Newton's Law of Cooling03The Integrating Factor and the Four-Step Method04Integrating Factors: Two Mistakes and a Trick Question05Constant Coefficients: Steady State and TransientProblem set0/10Problem set 20/10MIT problem set0/1
Substitution Methods
01Scaling a First Order ODE: The Fourth-Power Cooling Law02The Bernoulli Equation and the Substitution v = y^(1-n)03A Worked Bernoulli Example: The Substitution v = 1/y04Homogeneous Equations: The Zoom Test and y = zx05Modelling the Lighthouse Chase: A 45-Degree Heading06The Boat's Path: A Logarithmic Spiral in Polar CoordinatesProblem set0/10Problem set 20/10
Autonomous Equations
01Autonomous Equations and Time-Translation Invariance02Critical Points: Constant Solutions as Barriers03The Embezzler Model dy/dt = ry - w: One Unstable Balance04The Logistic Equation: Carrying Capacity Without Solving05Stable, Unstable and Semi-Stable Critical Points06Maximum Sustainable Harvest: Why h = a^2/4bProblem set0/10Problem set 20/10MIT problem set0/3
Complex Numbers
01Complex Division, Polar Form and the Definition of e^(iθ)02Why e^(iθ) Earns Its Name: Multiply Moduli, Add Angles03Integrating e^(-x) cos x by Complexifying04The nth Roots of Unity: Zeta on the Unit CircleProblem set0/10Problem set 20/10MIT problem set0/4
Input and Response
01Steady-State and Transient Solutions of y' + ky = q(t)02Input, Response and the Superposition Principle03Solving y' + ky = k cos ωt by Complexification04Amplitude and Phase Lag of a Sinusoidal ResponseProblem set0/10Problem set 20/10MIT problem set0/2
01Cartesian Method: Rationalise, Then Take the Real Part02The Sinusoidal Identity and Its Right Triangle03Three Proofs of the Sinusoidal Identity04The Mixing Tank: Salt Balance and k = r/V05RC Circuits, Decay Chains and Negative kProblem set0/10Problem set 20/10MIT problem set0/2
Second-Order Linear Equations
01Second-Order Linear ODEs and the Spring–Mass–Dashpot02The Characteristic Equation and Overdamped Motion03Complex Roots a ± bi and Underdamped Oscillation04Critical Damping and Reduction of Order: t e^(−at)Problem set0/10Problem set 20/10MIT problem set0/2

Solving y' + ky = k cos ωt by Complexification

How does swapping $\cos\omega t$ for $e^{i\omega t}$ turn a cosine-driven ODE into a one-line integrating-factor problem?


Loading…

←Previous Input, Response and the Superposition PrincipleNext Amplitude and Phase Lag of a Sinusoidal Response →

Your summary note

    1. 1

      Sinusoidal inputs and Fourier series

      State the problem y′+ky=kcos⁡ωty' + ky = k\cos\omega ty′+ky=kcosωt and record that Fourier series build any periodic input from sinusoids, whose responses then add.

    2. 2

      Angular frequency ω\omegaω versus frequency ω/2π\omega/2\piω/2π

      Define ω\omegaω as complete oscillations per interval of length 2π2\pi2π, define the frequency ω/2π\omega/2\piω/2π as oscillations per unit time, and illustrate with cos⁡t\cos tcost and cos⁡2t\cos 2tcos2t.

    3. 3

      The complex equation y~′+ky~=k eiωt\tilde{y}' + k\tilde{y} = k\,e^{i\omega t}y~​′+ky~​=keiωt

      Write cos⁡ωt=Re⁡(eiωt)\cos\omega t = \operatorname{Re}(e^{i\omega t})cosωt=Re(eiωt), set up the complex ODE, and show by equating real and imaginary parts that Re⁡y~\operatorname{Re}\tilde{y}Rey~​ solves the original equation.

    4. 4

      Solving with the integrating factor ekte^{kt}ekt

      Multiply by ekte^{kt}ekt, integrate k e(k+iω)tk\,e^{(k+i\omega)t}ke(k+iω)t, and carry the work through to y~=11+i(ω/k)eiωt\tilde{y} = \frac{1}{1 + i(\omega/k)}e^{i\omega t}y~​=1+i(ω/k)1​eiωt, recording that only the ratio ω/k\omega/kω/k matters.

    Attempt 1 of 2