A First Course in Differential Equations for Scientists and Engineers
people.uncw.edu
people.uncw.edu
[1] https://www.udacity.com/course/differential-equations-in-act...
[1] https://www.youtube.com/watch?v=8cLXVG2Q6D4&list=PLAwxTw4SYa...
https://github.com/madengr/nbody
While it was a good course, I wish it covered the analytic portion, rather than dive straight into numerical solutions.
As someone who has basically no formal training in mathematics outside what's required for undergraduate computer science this is a big one. The first time I saw it I was blown away. Everyone who knows of it seems to treat it as natural as breathing, and not worth the exposition
I remember it was an excellent book with many great examples and correlation with physics topics like mechanics, waves etc. Too bad our other mathematics books weren't at this high standard :/
Also, I really don't think that such topics can be self-studied. It seems really difficult to me to understand such topics without a teacher!
Can you explain this? What makes something extremely difficult to be studied without a teacher? (I took calc in high school and never took diff eq, so my knowledge in this specific domain is basically zero)
So the number of people who have developed some mathematical maturity without ever taking a diff.eq. course is probably small. So we don't know much about these people and how the topic of differential equations appears to them.
But yes, it would be interesting to hear about experiences from someone with e.g. a strong background in theoretical computer science, probably including calculus but not including diff.eqs., who has self-studied a book on differential equations.
I'd like to think I have developed a hint of mathematical maturity (CS + late declared Math major), but I went more the algebra route and ended up never taking a diff.eq. course. The closest I came was in a complex analysis course with some motivating examples that assumed we'd have picked up some tricks in a diff.eq. course.
I think the thing that I found hardest in my self-study was (and unfortunately this is about 25 years ago so my recollection might be a bit off) that it seemed like there was a lot written on just two equations (the heat equation and the wave equation). I didn't get why is 50 pages dedicated to one equation. Up until that point it felt like Calculus was about techniques to solve equations, and then it suddenly became mostly about how to solve these two equations (there was a third, but I can't recall what it was now), which never really resonated with me.
Wave equation: hyperbolic.
Laplace's equation: elliptic. Laplace's equation is the steady state (equilibrium) solution of heat equation when the boundary conditions (or anything) don't change in time.
A simple ordinary differential equation is below where of course just from calculus
y'(t) = d/dt y(t)
and the equation is
y'(t) = k y(t) ( b - y(t))
So, for the context: t is time, say, in seconds. y is some real valued function of t, that is, y(t), b and k are constants. We are given the value of y at 0, that is y(t) at t = 0, that is, y(0). We want the value of y(t) for t > 0.
Okay, with that, just need to use freshman calculus, for positive time s, integrate y'(t) from 0 to s. This is a simple exercise, without looking up the last dozen times I did that, maybe use integration by parts or some such. End up with a quotient with some exponentials.
Differential equations pop up in motion, e.g., from Newton's second law, AC circuit theory, and some other areas of science and engineering.
Boundary value problems, e.g., vibrating stings, parts of deterministic optimal control, are closely related but, still, significantly different.
Long some of the pure mathematicians went, in a word, "nuts" studying differential equations. The best of the results are good, and some of those are nicely useful. In places the work has nice contact with linear algebra, matrix theory, and vector spaces of functions, functional analysis, e.g., Hilbert and Banach spaces. But hanging over the whole subject is a suspicion that, really, as nice as the general theories are, mostly the applications are just a few, standard differential equations. It's a little like learning everything about civil engineering when really are only going to do framing carpentry, hang drywall, and apply roof shingles.
Once I bought
Garrett Birkhoff and Gian-Carlo Rota, {\it Ordinary Differential Equations,\/} Ginn and Company, Boston, 1962.\ \
I looked through it, saw lots of intricate stuff, but wondered just why I should dig into that. Since then I read a story about Rota about how, apparently, he felt much the same about the material, got stuck teaching the differential equations course because he wrote that book, and wanted, essentially, to f'get about that book and its material!
I had a full college course in ordinary differential equations. Okay: It left me wildly over educated for the differential equations in AC circuit theory. Otherwise I didn't much like the book, the teacher, or the course.
On the advanced stuff, here is some more
Earl A.\ Coddington and Norman Levinson, {\it Theory of Ordinary Differential Equations,\/} McGraw-Hill, New York, 1955.\ \
It has a nice result of Caratheodory, but in general could lose a lot of sleep working through that!
I had a course from a Ph.D. from MIT from the book, apparently long a standard at MIT,
Francis B.\ Hildebrand, {\it Advanced Calculus for Applications,\/} Prentice-Hall, Englewood Cliffs, NJ, 1962.\ \
So, yes, can find out about solutions via infinite series and boundary value problems. The book was very short on proofs, and to take such material seriously I wanted to see the proofs. Now that I know a lot more math, no doubt some of it originally motivated by material in that book, maybe I could fill in the proofs.
When I was at FedEx, I wondered about the cheapest way to climb, cruise, and descend the airplanes, had heard about
Michael Athans and Peter L.\ Falb, {\it Optimal Control:\ \ An Introduction to the Theory and Its Applications,\/} McGraw-Hill Book Company, New York, 1966.\ \
and flew up to MIT and met with Athans, got his course notes, etc. He explained that an application would be a "two point boundary value problem with mixed end conditions" -- okay, I'd had a course on numerical methods for that. But, in the early parts of the book will see something interesting -- fast, and well written coverage of the differential equations material needed for the book. This is an example of a general situation: Sometimes the best place to learn something is in an introduction or appendix written by a real expert who is also a good writer, intended as background for the rest of the book. So, such a source cuts out the tangential, maybe curious cruft can't much hope to use.
At one point after college on my own I carefully read, not nearly new at the time (TeX markup):
Earl A.\ Coddington, {\it An Introduction to Ordinary Differential Equations,\/} Prentice-Hall, Englewood Cliffs, NJ, 1961.
Coddington was not just a grand expert in the field but also a good writer. I really liked his stuff on variation of parameters -- a bit amazing. Note: Can find mention of that in the famous movie The Day the Earth Stood Still -- apparently that math was hot stuff in applied math about when the movie was made.
Can say some quite similar things about partial differential equations -- e.g., there are deep books, some connections with functional analysis (and even the theory of distributions) but the main interests are the partial differential equations of mathematical physics, especially, Maxwell's equations, the heat equation, the wave equation, Schrödinger equation, a wave equation, and the notorious Navier-Stokes equations -- which likely should attack only for limited goals and in somewhat special cases.
Net, unless you have some significant reason for more, I suggest you learn what you need to know, just in time, when and if you need it. But, in that case, as elsewhere, a good pure math background in calculus, and advanced calculus with the proofs, etc. will be good to have.
Ah yes, the classic rant by Rota. Entertaining read, and good perspective (10 pages). Apparently written in 1997.
I see something similar when it comes to machine learning. If you start to really dig into the underpinnings of the topic, you find fairly complex things like partial derivatives (for gradient descent optimization, for example), but you don't really have to understand it much to take it, apply it, and verify that the results make sense. On the other hand, I've been around long enough to have learned the hard way that applying something you don't really, fully, from-the-ground-up comprehend can bite you in surprising ways.
Of course one can choose to ignore all that and only focus on stochastic gradient descent. That will carry one for some non-trivial distance.
Let's cover the most important part of partial derivatives, the geometric intuition.
Imagine the Smoky Mountains of east Tennessee, that is, smooth, rolling hills. Now to represent this landscape in math, let R be the set of real numbers, R^2 pairs of real numbers, that is, the coordinates of points in the plane with orthogonal axes X and Y, and let f: R^2 --> R, that is, f is a function of two variables, say, x and y, that is, the pair (x,y) in R^2, and the value f(x,y) is the height of the mountains above point (x,y), that is, a plane under the mountains.
Then at a point (x, y) the partial derivative of f(x,y) with respect to x is just the slope as in ordinary derivative of the mountain at point (x,y) in the direction of changing x. So, if the X axis runs east and west, the partial derivative of f(x,y) with respect to x is the slope of the mountain at (x,y) in the east-west direction. So the partial derivative is just like the derivative of a function of one variable, that is, a slope, except is for just one variable, say, x, with the other variable(s) y held constant.
So, if
f(x,y) = 3xy + 2x - y
then the partial derivative of f(x,y) with respect to x is just
D_x f(x,y) = 3y + 2
and the partial derivative of f(x,y) with respect to y is
D_y f(x,y) = 3x - 1
These partial derivatives are important in vector analysis and, thus, Maxwell's equations, electro-magnetism, fluid flow, optimization, etc.
The chapters are first, second, and higher order were all a bunch of useless tricks. Then they introduce you to series solutions, where it starts to feel useful, and then they hit you on the side of the head with useless transforms.
ODEs are taught the way they are taught out of tradition, a bad tradition.
I was left with feeling that I had only learned yet another trick until I read Churchill & Brown's Complex Variables and Applications.
To be fair though, as a physics major we were already dabbling with some of the stuff in other classes.
https://www.amazon.com/Ordinary-Differential-Equations-MIT-P...
'Initial' refers to time-like variables, and 'boundary' refers to space-like variables.
There is no notion of time in mathematics. There is only a notion of space, due to geometry. I had the longest time coming to grips with the question, "mathematically what is the difference between initial value and boundary value?" only to realize the distinction is meaningless in mathematics. It's a relic of the past when differential equations were studied under physics, where time and space are a huge part of the conceptual foundation.
Sometimes I wonder how much progress we would make in education if we didn't confuse the heck of our students in the name of convention and historical baggage.
On a side note, one of the reasons I loved this course was because it was online and only had 2 tests with no other assignments. The professor allowed you to schedule office hours any time you needed, but the course setup was sweet for self-studiers like me. Here's the book, Chapters 1-10 are on the midterm, Chapters 10-20 are on the final. No homework busy work, no other tests. Just 2 exams. Go.
I'm very much attached to recording every thing in simple text editors. Is there a "Notepad" or "TextEdit" for mathematical notation?
For example MathJax, or emacs's org-preview-latex-toggle to show the rendered equations in the same buffer you write in.
I used latex and made liberal use of keyboard and software macros to do it, and one of the tricks was to realize that if I needed a quick-to-type way to typeset new thing X, I should just pretend I had such an implementation and make up its command on the spot. At my leisure, I could write up a conforming latex command that worked with all the notes I'd taken in realtime.
That said, I've since come to realize that math notes don't help me as much as they seem to help others. I have greater success primarily listening during class and leaning on the textbook as well as online resources outside of class. I do second the use of emacs to handle the latex, but I don't think that realtime rendering is particularly important in a notes setting.
This link below is a great reference that's worth keeping around:
https://math.meta.stackexchange.com/questions/5020/mathjax-b...
Does anyone have recommendations?
Then also textbooks with names like "Mathematical Models in Biology" or "Mathematical Biology" should have chapters on population growth, a two-species predator-prey model, diseases and epidemiology, and sometimes also a chapter on chemical kinetics (these are all modelled with differential equations).
I personally have used Stella by isee systems, which will output an equation from your model if you are so inclined, but I think there is cheaper/free software out there that will do similar types of modeling.