<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ODE on Chen Kai Blog</title><link>https://www.chenk.top/en/ode/</link><description>Recent content in ODE on Chen Kai Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 15 Apr 2024 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/en/ode/index.xml" rel="self" type="application/rss+xml"/><item><title>Ordinary Differential Equations (18): Frontiers and Series Finale</title><link>https://www.chenk.top/en/ode/18-advanced-topics-summary/</link><pubDate>Mon, 15 Apr 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/18-advanced-topics-summary/</guid><description>&lt;p>&lt;strong>The journey ends here.&lt;/strong> Eighteen chapters ago we picked up a falling apple. Today we&amp;rsquo;re going to finish in the same vein in which we began &amp;ndash; by treating ODEs as the &lt;em>universal language of change&lt;/em> &amp;ndash; but standing on a much taller mountain.&lt;/p>
&lt;p>This chapter does three things. First, it surveys four active research frontiers that are reshaping how we &lt;em>model&lt;/em> dynamical systems: Neural ODEs, delay equations, stochastic differential equations, and fractional calculus. Second, it reviews the entire series with a problem-solving flowchart and a chapter-by-chapter map. Third, it draws explicit connections from the classical theory you have just mastered to modern machine learning &amp;ndash; the place where ODEs are most alive in 2025.&lt;/p></description></item><item><title>Ordinary Differential Equations (17): Physics and Engineering Applications</title><link>https://www.chenk.top/en/ode/17-physics-engineering-applications/</link><pubDate>Fri, 29 Mar 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/17-physics-engineering-applications/</guid><description>&lt;p>&lt;strong>Differential equations are not a pure mathematical game &amp;ndash; they are the language for understanding the physical world.&lt;/strong> From celestial motion to circuit response, from a swinging pendulum to vortex shedding behind a bridge cable, every dynamical system &amp;ldquo;speaks&amp;rdquo; ODE.&lt;/p>
&lt;p>This chapter is a deliberate tour through five canonical applications. Each one will pay back the entire ODE toolkit we built in chapters 1-16: phase planes, eigenvalues, Laplace transforms, modal analysis, conservation laws, numerical integration, control. None of the examples is a &amp;ldquo;toy&amp;rdquo; &amp;ndash; they are all genuine working physics, written tightly so that the structure remains visible.&lt;/p></description></item><item><title>Ordinary Differential Equations (16): Fundamentals of Control Theory</title><link>https://www.chenk.top/en/ode/16-control-theory/</link><pubDate>Tue, 12 Mar 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/16-control-theory/</guid><description>&lt;p>&lt;strong>When you steer a car you constantly correct based on lane position. A thermostat compares room temperature with the setpoint and adjusts a heater. A rocket gimbal nudges its thrust vector to keep the booster vertical.&lt;/strong> Strip away the hardware and the same idea remains: &lt;em>measure, compare, act&lt;/em>. Control theory is the mathematics of that loop &amp;ndash; and its native language is the ordinary differential equation.&lt;/p>
&lt;p>This chapter shows how the entire ODE toolkit &amp;ndash; Laplace transforms (Ch 4), linear systems (Ch 6), eigenvalue stability (Ch 7), nonlinear stability (Ch 8) &amp;ndash; collapses into a single unified discipline whose job is no longer to &lt;em>describe&lt;/em> dynamics, but to &lt;em>design&lt;/em> them.&lt;/p></description></item><item><title>Ordinary Differential Equations (15): Population Dynamics</title><link>https://www.chenk.top/en/ode/15-population-dynamics/</link><pubDate>Sat, 24 Feb 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/15-population-dynamics/</guid><description>&lt;p>&lt;strong>Why do lynx and snowshoe hare populations cycle with eerie regularity over a 10-year period?&lt;/strong> Why does introducing a single new species sometimes collapse an entire ecosystem? Why do similar competitors sometimes coexist and sometimes drive each other extinct? The answers are not in the species; they are in the &lt;em>equations&lt;/em> relating the species. This chapter walks through the canonical models of mathematical ecology: from the single-population logistic and Allee models to multi-species competition, predator-prey oscillations, age structure, and spatial spread.&lt;/p></description></item><item><title>Ordinary Differential Equations (14): Epidemic Models and Epidemiology</title><link>https://www.chenk.top/en/ode/14-epidemiology/</link><pubDate>Wed, 07 Feb 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/14-epidemiology/</guid><description>&lt;p>&lt;strong>In early 2020 the entire world watched a small system of ordinary differential equations decide policy.&lt;/strong> &amp;ldquo;Flatten the curve&amp;rdquo; was not a slogan; it was the intuition of a specific equation. &lt;em>Herd immunity&lt;/em> was not a guess; it was the threshold $1 - 1/R_0$ derived in a single line. The SIR model &amp;ndash; four lines of math, written down in 1927 by Kermack and McKendrick &amp;ndash; turned out to be precise enough to drive trillion-dollar decisions.&lt;/p></description></item><item><title>Ordinary Differential Equations (13): Introduction to Partial Differential Equations</title><link>https://www.chenk.top/en/ode/13-pde-introduction/</link><pubDate>Sun, 21 Jan 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/13-pde-introduction/</guid><description>&lt;p>&lt;strong>Once a quantity depends on more than one variable, the ODE world splinters into a vastly richer one: partial differential equations.&lt;/strong> Heat in a metal rod is a function of position &lt;em>and&lt;/em> time; a vibrating string moves in space &lt;em>and&lt;/em> time; a steady electrostatic potential lives in three spatial dimensions. ODE techniques become tools, not solutions &amp;ndash; separation of variables turns one PDE into a &lt;em>family&lt;/em> of ODEs, the eigenvalues of those ODEs become the spectrum of the operator, and superposition stitches everything back together.&lt;/p></description></item><item><title>Ordinary Differential Equations (12): Boundary Value Problems</title><link>https://www.chenk.top/en/ode/12-boundary-value-problems/</link><pubDate>Thu, 04 Jan 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/12-boundary-value-problems/</guid><description>&lt;p>An initial value problem hands you a starting state and asks you to march forward. A boundary value problem (BVP) hands you partial information at two different points and asks you to find a path that fits both. The change is small in wording, large in consequence: BVPs can have a unique solution, no solution at all, or infinitely many. They demand a fundamentally different toolkit &amp;ndash; one that is iterative, global, and intimately connected to linear algebra.&lt;/p></description></item><item><title>Ordinary Differential Equations (11): Numerical Methods</title><link>https://www.chenk.top/en/ode/11-numerical-methods/</link><pubDate>Mon, 18 Dec 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/11-numerical-methods/</guid><description>&lt;p>Almost every interesting differential equation in science and engineering refuses to yield a closed-form solution. Nonlinear vector fields, variable coefficients, ten thousand coupled state variables &amp;ndash; pen and paper give up long before the problem does. Numerical integration is the way through. This chapter builds, evaluates, and compares the small set of algorithms that solve essentially every ODE you will meet, and gives you the diagnostics to know when an integrator is lying to you.&lt;/p></description></item><item><title>Ordinary Differential Equations (10): Bifurcation Theory</title><link>https://www.chenk.top/en/ode/10-bifurcation-theory/</link><pubDate>Fri, 01 Dec 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/10-bifurcation-theory/</guid><description>&lt;p>A lake stays clear for decades, then turns murky in a single season. A power grid hums along stably, then trips into a cascading blackout in seconds. A column under slowly increasing load is straight, straight, straight &amp;ndash; and then suddenly buckles.&lt;/p>
&lt;p>These are not failures of prediction. They are the universe doing exactly what dynamical systems theory says it must do: cross a &lt;strong>bifurcation&lt;/strong>. When a parameter drifts past a critical value, the topology of phase space rearranges itself, and what was once impossible becomes inevitable. This chapter is about classifying those rearrangements. There turn out to be only a handful of them, and once you see the catalogue you start spotting them everywhere.&lt;/p></description></item><item><title>ODE Chapter 9: Chaos Theory and the Lorenz System</title><link>https://www.chenk.top/en/ode/09-bifurcation-chaos/</link><pubDate>Tue, 14 Nov 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/09-bifurcation-chaos/</guid><description>&lt;p>&lt;strong>In 1961, Edward Lorenz restarted a weather simulation from a rounded-off number &amp;ndash; 0.506 instead of 0.506127.&lt;/strong> Within simulated weeks the forecast was unrecognisable. That single accident gave us &lt;strong>the butterfly effect&lt;/strong> and turned chaos from a metaphor into a science. The lesson is profound and sober: equations that are &lt;em>exactly&lt;/em> deterministic can still be &lt;em>practically&lt;/em> unpredictable.&lt;/p>
&lt;h2 id="what-you-will-learn">What You Will Learn&lt;/h2>
&lt;ul>
&lt;li>The four conditions that &lt;em>together&lt;/em> define chaos&lt;/li>
&lt;li>The Lorenz system: paradigm of deterministic chaos&lt;/li>
&lt;li>Butterfly effect, visualised on the attractor itself&lt;/li>
&lt;li>Lyapunov exponents: numerical fingerprint of chaos&lt;/li>
&lt;li>Bifurcation cascades and the period-doubling route to chaos&lt;/li>
&lt;li>Other chaotic systems: Rossler and the double pendulum&lt;/li>
&lt;li>Strange attractors, fractal dimension, stretching-and-folding&lt;/li>
&lt;li>Applications: weather, encryption, controlling chaos, ensemble forecasting&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>Chapter 8: nonlinear systems, phase portraits, limit cycles&lt;/li>
&lt;li>Chapter 7: stability and bifurcation basics&lt;/li>
&lt;li>Comfort with 3D visualization&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="what-is-chaos">What Is Chaos?&lt;/h2>
&lt;p>A chaotic system satisfies &lt;strong>all four&lt;/strong> of:&lt;/p></description></item><item><title>ODE Chapter 8: Nonlinear Systems and Phase Portraits</title><link>https://www.chenk.top/en/ode/08-nonlinear-stability/</link><pubDate>Sat, 28 Oct 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/08-nonlinear-stability/</guid><description>&lt;p>&lt;strong>The real world is nonlinear.&lt;/strong> Predator-prey cycles, heartbeat rhythms, neuron firing &amp;ndash; none of these can be captured by linear equations. When superposition fails, the world acquires &lt;em>new&lt;/em> behaviors: limit cycles, multiple equilibria, bistability, hysteresis. This chapter gives you the geometric and analytic tools to read those behaviors directly off a 2D phase portrait.&lt;/p>
&lt;h2 id="what-you-will-learn">What You Will Learn&lt;/h2>
&lt;ul>
&lt;li>Why nonlinear systems are &lt;em>fundamentally&lt;/em> different from linear ones&lt;/li>
&lt;li>Lyapunov stability visualized: level sets, bowls, and basins&lt;/li>
&lt;li>Linearization vs. the full nonlinear picture (Hartman-Grobman in action)&lt;/li>
&lt;li>Lotka-Volterra predator-prey: closed orbits and conserved quantities&lt;/li>
&lt;li>Competition models: four canonical outcomes&lt;/li>
&lt;li>Van der Pol oscillator and the geometry of limit cycles&lt;/li>
&lt;li>Gradient and Hamiltonian systems&lt;/li>
&lt;li>Poincare-Bendixson: why 2D systems cannot be chaotic&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>Chapter 6: linear systems, phase portrait classification&lt;/li>
&lt;li>Chapter 7: stability, linearization, Lyapunov functions&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="from-linear-to-nonlinear">From Linear to Nonlinear&lt;/h2>
&lt;p>Linear systems obey &lt;strong>superposition&lt;/strong>: if $\mathbf{x}_1$ and $\mathbf{x}_2$ are solutions, so is $c_1\mathbf{x}_1 + c_2\mathbf{x}_2$. This is the engine that powers the entire toolkit of Chapters 1-6 &amp;ndash; exponential ansatz, eigenvectors, fundamental matrices.&lt;/p></description></item><item><title>ODE Chapter 7: Stability Theory</title><link>https://www.chenk.top/en/ode/07-systems-and-phase-plane/</link><pubDate>Wed, 11 Oct 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/07-systems-and-phase-plane/</guid><description>&lt;p>&lt;strong>A small push hits a system. Does it return to rest, drift away, or break entirely?&lt;/strong> That single question decides whether bridges survive storms, ecosystems recover from droughts, and economies bounce back from crises. Stability theory answers it &amp;ndash; and it does so &lt;em>without ever solving the differential equation&lt;/em>. We will learn to read the destiny of a system off the geometry of its phase plane.&lt;/p>
&lt;h2 id="what-you-will-learn">What You Will Learn&lt;/h2>
&lt;ul>
&lt;li>Three precise notions: Lyapunov stable, asymptotically stable, unstable&lt;/li>
&lt;li>Linearization via the Jacobian and the Hartman-Grobman theorem&lt;/li>
&lt;li>Lyapunov&amp;rsquo;s direct method &amp;ndash; proving stability with energy-like functions&lt;/li>
&lt;li>LaSalle&amp;rsquo;s invariance principle for borderline cases&lt;/li>
&lt;li>Trace-determinant classification of all 2D linear systems&lt;/li>
&lt;li>Four canonical bifurcations: saddle-node, transcritical, pitchfork, Hopf&lt;/li>
&lt;li>Worked applications: pendulum, predator-prey, inverted pendulum control&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>
&lt;ul>
&lt;li>Chapter 6: linear systems, eigenvalues, phase portraits&lt;/li>
&lt;li>Multivariable calculus: partial derivatives, Jacobian matrix&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="a-visual-tour-before-the-theory">A Visual Tour Before the Theory&lt;/h2>
&lt;p>Stability is, at heart, a &lt;em>geometric&lt;/em> statement about how trajectories move in phase space. Six pictures tell the entire story of 2D linear systems.&lt;/p></description></item><item><title>ODE Chapter 6: Linear Systems and the Matrix Exponential</title><link>https://www.chenk.top/en/ode/06-power-series/</link><pubDate>Sun, 24 Sep 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/06-power-series/</guid><description>&lt;p>&lt;strong>One equation describes one quantity. The world is rarely that obliging.&lt;/strong> Predator and prey populations push each other up and down. Currents and voltages in an RLC network oscillate together. Chemical species in a reaction network feed into one another. The moment two unknowns share an equation, you have a &lt;em>system&lt;/em>, and a single $y'=ay$ is no longer enough.&lt;/p>
&lt;p>The miracle of the linear case is this: the scalar formula $y(t)=e^{at}y_0$ generalizes verbatim once you learn what $e^{At}$ means for a &lt;em>matrix&lt;/em> $A$. Linear algebra and ODEs fuse into one object — the matrix exponential — and its eigenstructure tells you everything about the long-term behavior, the geometry of the flow, and the physics of normal modes and beats.&lt;/p></description></item><item><title>ODE Chapter 5: Power Series and Special Functions</title><link>https://www.chenk.top/en/ode/05-laplace-transform/</link><pubDate>Thu, 07 Sep 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/05-laplace-transform/</guid><description>&lt;p>&lt;strong>Some ODEs have no solutions in terms of familiar functions.&lt;/strong> The Bessel equation, the Legendre equation, the Airy equation &amp;ndash; all arise naturally in physics (heat conduction in cylinders, gravitational fields of planets, quantum tunneling). Their solutions &lt;em>define&lt;/em> entirely new functions. This chapter shows you how to find them using power series, why the Frobenius extension is forced upon us at singular points, and why the same handful of &amp;ldquo;special functions&amp;rdquo; keeps appearing across physics and engineering.&lt;/p></description></item><item><title>ODE Chapter 4: The Laplace Transform</title><link>https://www.chenk.top/en/ode/04-constant-coefficients/</link><pubDate>Mon, 21 Aug 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/04-constant-coefficients/</guid><description>&lt;p>&lt;strong>The Laplace transform turns calculus into algebra.&lt;/strong> Instead of grinding through integration, guessing trial solutions, and bolting on initial conditions at the end, you transform the entire ODE — equation, forcing, and initial data — into a single polynomial equation in a complex variable $s$. You solve it like a high-school problem, then transform back. Along the way, the &lt;em>shape&lt;/em> of the solution becomes geometry: poles in the left half of the complex plane decay, poles on the right blow up, poles on the imaginary axis ring forever. This chapter develops that picture from first principles and connects it to the engineering tools — transfer functions, Bode plots, PID control — that turned the Laplace transform into the lingua franca of dynamics.&lt;/p></description></item><item><title>ODE Chapter 3: Higher-Order Linear Theory</title><link>https://www.chenk.top/en/ode/03-linear-theory/</link><pubDate>Fri, 04 Aug 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/03-linear-theory/</guid><description>&lt;p>&lt;strong>A first-order ODE has memory of one number; a second-order ODE has memory of two.&lt;/strong> That tiny extra degree of freedom is what lets the same equation describe a plucked guitar string, the suspension of your car, the L-C tank circuit inside an FM radio, and the swaying of a tall building in the wind. In every case the same three regimes appear &amp;ndash; oscillate, return-with-a-touch-of-overshoot, or crawl back &amp;ndash; and the same algebraic gadget, the &lt;em>characteristic equation&lt;/em>, predicts which one happens.&lt;/p></description></item><item><title>ODE Chapter 2: First-Order Methods</title><link>https://www.chenk.top/en/ode/02-first-order-methods/</link><pubDate>Tue, 18 Jul 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/02-first-order-methods/</guid><description>&lt;p>A bank account, a drug clearing the bloodstream, a tank of brine, a charging capacitor — they all obey the same kind of equation: a first-order ODE. The trick is recognising which of four shapes you are looking at, because each shape has a closed-form move that solves it cleanly. By the end of this chapter you will pattern-match an unfamiliar first-order equation in seconds and know exactly which lever to pull.&lt;/p></description></item><item><title>ODE Chapter 1: Origins and Intuition</title><link>https://www.chenk.top/en/ode/01-origins-and-intuition/</link><pubDate>Sat, 01 Jul 2023 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/ode/01-origins-and-intuition/</guid><description>&lt;p>&lt;strong>Everything around you is changing.&lt;/strong> Coffee cools, populations grow, pendulums swing, viruses spread, stocks oscillate, planets orbit. None of these systems are described by &lt;em>what something equals&lt;/em> — they are described by &lt;em>how fast something changes&lt;/em>. That second mode of description is what differential equations are for, and learning to read them is, quite literally, learning to read the language physics and biology are written in.&lt;/p>
&lt;p>This chapter rebuilds your intuition from scratch. We start with a single cup of coffee, derive the same equation that governs radioactive decay and capacitor discharge, then climb upward to direction fields, classification, and the existence-and-uniqueness theorem that tells you when an ODE has a sensible answer at all.&lt;/p></description></item></channel></rss>