Understanding Calculus
The first time I got to know calculus, was with derivatives and integrals.
I (kind of liked) derivatives…but hated integrals.
Probably because of the lack of purpose that I was given.
I could not be more wrong at that point, as calculus is both: beautiful and useful
…if you get it explained properly.
The essence of calculus.
Laws of physics are explained with differential equations.
The series that 3Blue1Brown has made on the topic, are simply magestic: https://www.youtube.com/watch?v=p_di4Zn4wz4 and https://www.youtube.com/playlist?list=PLZHQObOWTQDNPOjrT6KVlfJuKtYTftqH6
Calculus Applications
The classic: the area under a curve!
Why would we want that?
Well, I can think already about few examples:
- For ML, the ROC and its AUC informs about how good a ML Classification algorithm performs
The Jacobian
This was very useful to do computatial mechanics.
Gradients and Partial Derivatives
ODE -
Ordinary Differential Equations!
The Double Pendulum
A double pendulum is typically modeled using a system of ordinary differential equations (ODEs), not partial differential equations (PDEs).
Here’s why:
Ordinary Differential Equations (ODEs): ODEs describe how functions of one independent variable change. In the case of a double pendulum, the independent variable is time. The dependent variables are the angles of the two pendulum arms (θ₁ and θ₂). We’re looking at how these angles change over time.
Partial Differential Equations (PDEs): PDEs describe how functions of multiple independent variables change. PDEs are used when the quantity of interest depends on more than one independent variable. For example, the temperature distribution in a metal plate depends on both time and position (x, y coordinates). This would require a PDE.
Why ODEs for the Double Pendulum?
The motion of a double pendulum is described by how the angles θ₁ and θ₂ change over time.
There’s no other independent variable involved.
The equations of motion are derived from Newton’s laws or Lagrangian mechanics, and they result in a set of coupled second-order ODEs:
d²θ₁/dt² = f₁(θ₁, θ₂, dθ₁/dt, dθ₂/dt)
d²θ₂/dt² = f₂(θ₁, θ₂, dθ₁/dt, dθ₂/dt)
Where f₁ and f₂ are functions that depend on the angles, their first derivatives (angular velocities), and other parameters like the lengths and masses of the pendulum arms.
In summary: The double pendulum is a classic example of a system that is accurately and effectively modeled using ordinary differential equations because the angles of the pendulum arms depend solely on time.
There are no spatial dependencies that would necessitate the use of partial differential equations.