An infinite ODE
Via reddit, a challenge to solve:
Once you’ve stopped running away and hiding, I’ll show you the solution they suggested.
The trick is to notice that
.
It’s a good idea to check that it works:
The right-hand side is then
But wait a moment
We’ve found a solution. How do we know it’s the only one?
What if you notice that
That solves as
Actually, not if
Stand back.
I’m going to try something I haven’t done in 25 years 1: Laplace transforms.
The tl;dr is that you convert every term of your differential equation (in “
Do not worry about what
The Laplace transform of the ODE:
is
At first glance, that looks awful. And then you spot that the columns (apart, slightly, from the first) are geometric sequences! This all reduces to
(As long as
Now, we don’t really care about the
And as long as
The inverse Laplace transform of that is
I’m still a bit uneasy about the convergence issues on
Footnotes:
1. I mean, obviously I have, I did it just before writing up the post. But the point stands.
2. I don’t even know if that makes sense, honestly, like I said, it’s been 25 years