Differential Equations Laboratory
Exploring a Model
Lab 12: The Last Lab
Goal: Understand the thought that needs to go into considering an ODE model, and fully
describe an interesting model using tools from the course.
Tools: pplane, MATLAB/Python
Background: The last few labs have focused on nonlinear systems. We continue this theme,
but this time you choose the real-world system. Instead of receiving a set of problems, your
task will be to fully explore a differential equation model that you find interesting. It may
be from your major, something you find online, or something suggested by ChatGPT. The
only requirement is that it should not be a system that can be easily solved analytically.
Before beginning your own model, let’s go through one last interesting nonlinear system
together. Below is the Van der Pol oscillator, which is a very classic nonlinear oscillator in
physics and engineering.
x′′ − µ(1 − x2 )x′ + x = 0,
(1) Rewrite the ODE as a first-order system. Plot in pplane and examine several solutions
x(t). Comment on how these solutions differ from the damped harmonic oscillator we
looked at in previous labs.
(2) Find the equilibrium point(s) and use pplane to identify the behavior near them. Does
the general behavior change if µ varies?
(3) Compute the Jacobian, determine the eigenvalues, and classify the equilibrium for
general µ. Do we predict different behavior at the equilibrium point(s) for different
ranges of µ?
Make sure to look at the system not only very close to the equilibrium point(s), but also
zoomed out (a window of -6 to 6 on both variables works pretty well if you vary µ from 0
to 5). You’ll see a feature that looks like a strangely shaped closed orbit - this is called a
limit cycle, and what’s interesting is that it persists even as µ crosses a threshold at which
we predict different behavior.
Choose a 2nd order or higher ODE (or a system of ODEs with at least 2 equations) that you
find interesting. You can come up with something yourself, or find something online. Make
sure that your ODE doesn’t have an easy closed-form solution!
• Algebraic work: Demonstrate why this system cannot be solved with what we’ve
learned so far this semester in 366. Find a simplification to the system that does let
it become analytically solvable, and provide the general solution (for example, for the
Van der Pol oscillator, we could take the limit as µ goes to 0. Then the system is linear
and easy to solve).
Differential Equations Laboratory
Exploring a Model
• Model explanation: Describe what real-world phenomenon the ODE models, and
explain the meaning of all parameters. This can be qualitative or supported by numerical plots.
• Key features: Identify at least two interesting behaviors exhibited by the system
(examples: spirals, blowups, limit cycle like in the Van der Pol, etc.). Provide an
algebraic justification for both features, if you can (examples: finding eigenvalues for
the Jacobian at the equilibrium points, taking a limit for a particular variable, etc.).
If it’s something complicated that we haven’t really seen in lecture or lab, propose a
strategy that you think might work to algebraically justify its existence (no need to
execute the strategy, just explain why you think it might work).
• Interpretation: Explain what your numerical results tell you about the system’s behavior in general. A few questions you could think about: is the system asymptotically
stable? Does it oscillate? What do the features observed mean in context of the actual
situation that is being modeled?
For this activity, you are free to use LLM tools to create interesting visualizations of the
system (which might be particularly useful if your system isn’t in 2D, because then using
pplane may be challenging). However, your final answers must be fully in your own words,
and you should probably take care to verify that the LLM tool is doing what you want it to
do.
As long as we see some effort, your grade will be fine, so have some fun with this! Find a
cool model, make some cool plots...