Advanced Mathematics

First-Order Differential Equations

Equations that give a quantity's rate of change in terms of the quantity itself, solved to find how it evolves.

Needs a step first: 10

dydt=ky\frac{dy}{dt}=ky says growth is proportional to size, and its solution y=y0ekty=y_0e^{kt} describes populations, compound interest and radioactive decay. Separable equations are solved by gathering the yy terms on one side and integrating, and linear ones with an integrating factor. A slope field shows what the solutions look like without solving anything. Second-order equations, systems of equations and gradient flow in machine learning come next.

Where it shows up: Gradient descent is a step-by-step solution of the gradient flow θ˙=−∇L(θ)\dot\theta=-\nabla L(\theta), and continuous-time diffusion models are written as differential equations.

How to hold it: In your head

Read a differential equation as a rule for how fast something changes, know that dydt=ky\frac{dy}{dt}=ky means exponential growth or decay, and sketch the slope field to see the solutions before solving.

What knowing it looks like

  • Solve separable and first-order linear equations, and fit the constant to a starting value.
  • Set up an equation from a description such as Newton's law of cooling, and solve it.
  • Sketch a slope field and the solution through a given point.

Test yourself

A cup of tea at 90∘90^\circC is left in a room at 20∘20^\circC and cools by Newton's law, dTdt=−k(T−20)\frac{dT}{dt}=-k(T-20). After 1010 minutes it is at 60∘60^\circC. When does it reach 30∘30^\circC?
Show the worked answer
Separating variables gives T−20=70e−ktT-20=70e^{-kt}. At t=10t=10: 40=70e−10k40=70e^{-10k}, so e−10k=47e^{-10k}=\tfrac47 and k=110ln⁡74≈0.0560k=\tfrac{1}{10}\ln\tfrac74\approx0.0560 per minute. For 30∘30^\circC: 70e−kt=1070e^{-kt}=10, so t=ln⁡7k=10ln⁡7ln⁡1.75≈34.8t=\frac{\ln7}{k}=\frac{10\ln7}{\ln1.75}\approx34.8 minutes. It is the difference from room temperature that decays exponentially, not the temperature itself.

Needs a step first: 10

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "First-Order Differential Equations" (Core tier): Equations that give a quantity's rate of change in terms of the quantity itself, solved to find how it evolves.
I already know: Techniques of Integration, Exponentials and Logarithms.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: A cup of tea at $90^\circ$C is left in a room at $20^\circ$C and cools by Newton's law, $\frac{dT}{dt}=-k(T-20)$. After $10$ minutes it is at $60^\circ$C. When does it reach $30^\circ$C?
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended