1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Differential Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Differential Equations

Differential Equations Study Notes

What is a Differential Equation?

A differential equation is an equation in which the unknown is a function, and the equation provides a relationship between that function and its derivatives. The goal is to determine the function (or family of functions) that satisfies the given relationship.

Key definition: A differential equation is an equation involving an unknown function and its derivatives.

Classification of Differential Equations

Ordinary vs. Partial Differential Equations

  • Ordinary Differential Equation (ODE): The derivatives in the equation are taken with respect to only one variable. The unknown function depends on a single independent variable.

    • Example 1: dydt=0\frac{dy}{dt} = 0dtdy​=0 — solution: y=constanty = \text{constant}y=constant.

    • Example 2: d3ydt3=0\frac{d^3 y}{dt^3} = 0dt3d3y​=0 — solution: y=C0+C1t+C2t2y = C_0 + C_1 t + C_2 t^2y=C0​+C1​t+C2​t2.

    • Example 3: y+(dydt)2+d11ydt11=cos⁡ty + \left(\frac{dy}{dt}\right)^2 + \frac{d^{11} y}{dt^{11}} = \cos ty+(dtdy​)2+dt11d11y​=cost — a high-order ODE.

  • Partial Differential Equation (PDE): The derivatives are taken with respect to more than one variable.

    • Example: ∂u∂t=∂2u∂x2+∂2u∂y2\frac{\partial u}{\partial t} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}∂t∂u​=∂x2∂2u​+∂y2∂2u​ (the heat equation).

    • PDEs are studied later; most of the course focuses on ODEs.

Order of a Differential Equation

The order of a differential equation is the order of the highest derivative that appears in the equation.

  • Example: In (dydt)5+sin⁡(dydt)+d2ydt2=et\left(\frac{dy}{dt}\right)^5 + \sin\left(\frac{dy}{dt}\right) + \frac{d^2 y}{dt^2} = e^t(dtdy​)5+sin(dtdy​)+dt2d2y​=et, the highest derivative is the second derivative, so this is a second-order equation (the first derivative appears only in non‑linear ways, but does not affect the order).

  • A first-order equation (e.g., dydt=0\frac{dy}{dt}=0dtdy​=0) yields a general solution with one arbitrary constant.

  • A third-order equation (e.g., d3ydt3=0\frac{d^3 y}{dt^3}=0dt3d3y​=0) yields a general solution with three arbitrary constants.

  • In general, the order equals the number of constants/initial conditions needed to specify a unique solution.

Key fact: The order of a DE equals the number of initial conditions required to determine a unique solution.

  • Initial Value Problem: All conditions (data) are specified at a single point (e.g., y(0)=17y(0)=17y(0)=17, y′(0)=5y'(0)=5y′(0)=5, y′′(0)=−4y''(0)=-4y′′(0)=−4).

  • Boundary Value Problem: Conditions are specified at more than one point.

Linear vs. Nonlinear Differential Equations

A differential equation is linear if the dependent variable and all its derivatives appear linearly (i.e., they are not raised to powers, not multiplied together, and not inside nonlinear functions like sine, exponent of yyy, etc.). The independent variable may appear nonlinearly.

  • Linear ODE example: d2ydx2+exd3ydy3=sin⁡(xy)\frac{d^2 y}{dx^2} + e^x \frac{d^3 y}{dy^3} = \sin(xy)dx2d2y​+exdy3d3y​=sin(xy) — a linear third-order PDE because each derivative of uuu appears linearly.

  • Nonlinear ODE example: d3ydt3+y27+ydydt=5\frac{d^3 y}{dt^3} + y^{27} + y\frac{dy}{dt} = 5dt3d3y​+y27+ydtdy​=5 — the term y27y^{27}y27 and yy′y y'yy′ make it nonlinear.

Key distinction: In a linear DE, the dependent variable and its derivatives appear only to the first power and are not multiplied together. The independent variable can have any form.

General Form of an nnnth-Order Linear ODE

an(t)dnydtn+an−1(t)dn−1ydtn−1+⋯+a1(t)dydt+a0(t)y=f(t)a_n(t) \frac{d^n y}{dt^n} + a_{n-1}(t) \frac{d^{n-1} y}{dt^{n-1}} + \cdots + a_1(t) \frac{dy}{dt} + a_0(t) y = f(t)an​(t)dtndny​+an−1​(t)dtn−1dn−1y​+⋯+a1​(t)dtdy​+a0​(t)y=f(t)
  • If f(t)=0f(t) = 0f(t)=0, the equation is homogeneous.

  • If f(t)≠0f(t) \neq 0f(t)=0, the equation is nonhomogeneous.

  • Solving the homogeneous case is usually the first step toward solving the nonhomogeneous case.


Examples of Differential Equations in Applications

Free Fall under Gravity

Let y(t)y(t)y(t) be position at time ttt. Then dydt\frac{dy}{dt}dtdy​ is velocity and d2ydt2\frac{d^2 y}{dt^2}dt2d2y​ is acceleration. The equation for an object falling solely under gravity is:

d2ydt2=−g\frac{d^2 y}{dt^2} = -gdt2d2y​=−g

The general solution is:

y(t)=−g2t2+C1t+C0y(t) = -\frac{g}{2} t^2 + C_1 t + C_0y(t)=−2g​t2+C1​t+C0​
  • C1C_1C1​ is the initial velocity y′(0)y'(0)y′(0).

  • C0C_0C0​ is the initial height y(0)y(0)y(0).

Exponential Growth and Decay

A simple population model assumes growth is proportional to the current size:

dydt=ky\frac{dy}{dt} = k ydtdy​=ky

The general solution is:

y(t)=Cekty(t) = C e^{kt}y(t)=Cekt
  • k>0k > 0k>0: exponential growth (e.g., unlimited population growth).

  • k<0k < 0k<0: exponential decay (e.g., radioactive decay).

This model is not realistic for long-term population growth (resources are limited), but it is very accurate for radioactive decay.

Newton’s Law of Cooling

Let T(t)T(t)T(t) be the temperature of an object and T0T_0T0​ the constant ambient temperature. The rate of change of temperature is proportional to the difference:

dTdt=k(T−T0)\frac{dT}{dt} = k (T - T_0)dtdT​=k(T−T0​)

This first-order linear ODE has the solution:

T(t)=T0+(T(0)−T0)ektT(t) = T_0 + (T(0) - T_0) e^{kt}T(t)=T0​+(T(0)−T0​)ekt

If k<0k < 0k<0 (cooling), the temperature decays exponentially toward T0T_0T0​, never quite reaching it in finite time.

Logistic Population Model

A more realistic population model includes a carrying capacity P0P_0P0​. The rate of change is proportional to both the current population and the difference from the carrying capacity:

dPdt=kP(P0−P)\frac{dP}{dt} = k P (P_0 - P)dtdP​=kP(P0​−P)
  • This is a first-order nonlinear ODE (when multiplied out, it contains P2P^2P2).

  • The general solution contains one arbitrary constant (as expected for a first-order equation).

  • The solution is the logistic function, which describes S‑shaped growth leveling off at P0P_0P0​.

Etymology: The term "logistic" comes from the Greek word for computation. Belgian mathematician Pierre François Verhulst introduced the model in 1845, using the word to contrast with "logarithmic" (exponential growth).


Checking Solutions

While solving a differential equation can be difficult, checking a proposed solution is usually straightforward: differentiate the candidate, substitute into the equation, and simplify. This verification step is strongly encouraged.

Example: The logistic equation dPdt=kP(P0−P)\frac{dP}{dt} = kP(P_0 - P)dtdP​=kP(P0​−P) may be non‑trivial to solve, but once a candidate function is obtained, checking requires only one differentiation and some algebra.


Historical Context: Newton and Leibniz

This section provides background on the development of calculus and differential equations; it is not part of the core course material.

Isaac Newton (1642–1727, Julian calendar; 1643 Gregorian)

  • English mathematician, considered one of the greatest scientists.

  • Not an outstanding student until after his undergraduate degree at Cambridge.

  • During the Great Plague (1665–1666), Cambridge closed for two years; Newton, working alone, developed the foundations of calculus, advanced optics (white light composed of all colors), and began his theory of gravity — all before age 25. This period is called his annus mirabilis ("wonderful year").

  • Used calculus for his physical investigations but did not publish it; his results (e.g., universal gravitation implying Kepler’s laws) were published using geometric methods.

  • Later became Lucasian Professor at Cambridge and was briefly a Member of Parliament.

  • Spent his later years as Warden of the Royal Mint and was embroiled in a controversy with Leibniz over who invented calculus.

Gottfried Wilhelm Leibniz (1646–1716)

  • German genius, polymath: mathematician, philosopher, diplomat, historian.

  • Studied law and philosophy, earning a doctorate.

  • While on a diplomatic mission to Paris (1672), learned mathematics from Christiaan Huygens and began developing his own version of calculus.

  • Notation: Leibniz introduced the integral sign ∫\int∫ (a stylized S for "sum"), the derivative notation dydt\frac{dy}{dt}dtdy​ and dydydy, and many other symbols still used today.

  • His notation was superior to Newton’s, which contributed to the wider adoption of Leibniz’s calculus in Europe.

  • Also worked on binary arithmetic (seeing 0 and 1 as representing nothing and God), built a mechanical calculator that could multiply and divide, and proposed the philosophical idea that we live in "the best of all possible worlds."

The Calculus Priority Dispute

  • Newton wrote his Theory of Fluxions in 1671 but did not publish it; it circulated only among friends.

  • Leibniz published his calculus in 1684 and 1686; Newton’s Principia appeared in 1687.

  • A bitter controversy arose, with Newton (as President of the Royal Society) accusing Leibniz of plagiarism. It is now agreed that both developed calculus independently.

  • The dispute caused a lasting rift between English and Continental mathematics.

Examples of Leibniz’s Notation (Some Used, Some Not)

  • Integral sign: ∫\int∫ came from a long S meaning "sum". Leibniz placed an overbar over the expression inside the integral, similar to how we write ...\sqrt{...}...​ today.

  • Derivative notation: dydt\frac{dy}{dt}dtdy​ and dydydy are still standard.

  • Equals sign: Leibniz used a symbol like a balance (two horizontal lines) instead of ===. He used variations for inequalities (longer left leg for greater than, longer right leg for less than).

  • Parentheses: He sometimes placed an overline over grouped expressions instead of using parentheses (e.g., 3+5‾\overline{3+5}3+5​ meant 2(3+5)2(3+5)2(3+5)).

These notational innovations made calculus more accessible and are among Leibniz’s lasting contributions.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent