Uploaded August 2022 | Updated November 2026, 3 hours ago
How can we mathematically model traffic? Specifically we will study the problem of a single lane of cars and the perturbation from equilibrium that occurs when one car brakes, and that braking effect travels down the line of cars, amplifying as it goes along, due to the delayed reaction time of the drivers. The ultimate phenomena we would like to predict is that stop-and-go behaviour where cars don't just travel at a constant speed in rush hour, but alternate between braking and accelerating. However, when building this model our inputs are very microscopic considerations about how an individual car brakes or accelerates based on the following distance and relative velocity of the car ahead of it.
This video also aims to be an introduction to broad themes in mathematical modelling of real world problems, where we define a problem, choose the inputs to the system we will consider, make assumptions, build the model, and finally assess the model. Finally, the real piece of mathematics we are going to get out of this are called differential-delay equations, and I'll show you a bit about how to solve such equations at the end.
This video is part of the second iteration of the Summer of Math Exposition, hosted by @3blue1brown and @LeiosLabs . There are so many great videos in this in this exposition so definitely check them out by using the hashtag #SoME2.
0:00 The Challenge of Traffic
0:28 #SoME2
0:53 The Modelling Process
1:27 Defining the Problem
2:04 Choosing Which Variables to Consider
4:03 Making Assumptions
5:46 Building the Microscopic Model for Each Car
9:56 Macroscopic Equilibrium
10:34 The Relationship between Density and Velocity
16:23 Maximizing Flux and the Optimal Oensity
20:33 Modelling a Sequence of Cars
24:07 Modelling the First Car
26:05 Full Model: A Differential Delay System
27:06 Assessing the Model Graphically
29:33 Assessing the Model Qualitatively
31:45 Solving Differential Delay Systems
Check out my MATH MERCH line in collaboration with Beautiful Equations
►beautifulequations.net/pages/trefor
COURSE PLAYLISTS:
►DISCRETE MATH: youtube.com/playlist?list=PLHXZ9OQGMqxersk8fUxiUMSIx0DBqsKZS
►LINEAR ALGEBRA: youtube.com/playlist?list=PLHXZ9OQGMqxfUl0tcqPNTJsb7R6BqSLo6
►CALCULUS I: youtube.com/playlist?list=PLHXZ9OQGMqxfT9RMcReZ4WcoVILP4k6-m
► CALCULUS II: youtube.com/playlist?list=PLHXZ9OQGMqxc4ySKTIW19TLrT91Ik9M4n
►MULTIVARIABLE CALCULUS (Calc III): youtube.com/playlist?list=PLHXZ9OQGMqxc_CvEy7xBKRQr6I214QJcd
►VECTOR CALCULUS (Calc IV) youtube.com/playlist?list=PLHXZ9OQGMqxfW0GMqeUE1bLKaYor6kbHa
►DIFFERENTIAL EQUATIONS: youtube.com/playlist?list=PLHXZ9OQGMqxde-SlgmWlCmNHroIWtujBw
►LAPLACE TRANSFORM: youtube.com/playlist?list=PLHXZ9OQGMqxcJXnLr08cyNaup4RDsbAl1
►GAME THEORY: youtube.com/playlist?list=PLHXZ9OQGMqxdzD8KpTHz6_gsw9pPxRFlX
OTHER PLAYLISTS:
► Learning Math Series
youtube.com/watch?v=LPH2lqis3D0&list=PLHXZ9OQGMqxfSkRtlL5KPq6JqMNTh_MBw
►Cool Math Series:
youtube.com/playlist?list=PLHXZ9OQGMqxelE_9RzwJ-cqfUtaFBpiho
BECOME A MEMBER:
►Join: youtube.com/channel/UC9rTsvTxJnx1DNrDA3Rqa6A/join
MATH BOOKS I LOVE (affilliate link):
► amazon.com/shop/treforbazett
SOCIALS:
►Twitter (math based): twitter.com/treforbazett
►Instagram (photography based): instagram.com/treforphotographyg
How can we mathematically model traffic? Specifically we will study the problem of a single lane of cars and the perturbation from equilibrium that occurs when one car brakes, and that braking effect travels down the line of cars, amplifying as it goes along, due to the delayed reaction time of the drivers. The ultimate phenomena we would like to predict is that stop-and-go behaviour where cars don't just travel at a constant speed in rush hour, but alternate between braking and accelerating. However, when building this model our inputs are very microscopic considerations about how an individual car brakes or accelerates based on the following distance and relative velocity of the car ahead of it.
This video also aims to be an introduction to broad themes in mathematical modelling of real world problems, where we define a problem, choose the inputs to the system we will consider, make assumptions, build the model, and finally assess the model. Finally, the real piece of mathematics we are going to get out of this are called differential-delay equations, and I'll show you a bit about how to solve such equations at the end.
This video is part of the second iteration of the Summer of Math Exposition, hosted by @3blue1brown and @LeiosLabs . There are so many great videos in this in this exposition so definitely check them out by using the hashtag #SoME2.
0:00 The Challenge of Traffic
0:28 #SoME2
0:53 The Modelling Process
1:27 Defining the Problem
2:04 Choosing Which Variables to Consider
4:03 Making Assumptions
5:46 Building the Microscopic Model for Each Car
9:56 Macroscopic Equilibrium
10:34 The Relationship between Density and Velocity
16:23 Maximizing Flux and the Optimal Oensity
20:33 Modelling a Sequence of Cars
24:07 Modelling the First Car
26:05 Full Model: A Differential Delay System
27:06 Assessing the Model Graphically
29:33 Assessing the Model Qualitatively
31:45 Solving Differential Delay Systems
Check out my MATH MERCH line in collaboration with Beautiful Equations
►beautifulequations.net/pages/trefor
COURSE PLAYLISTS:
►DISCRETE MATH: youtube.com/playlist?list=PLHXZ9OQGMqxersk8fUxiUMSIx0DBqsKZS
►LINEAR ALGEBRA: youtube.com/playlist?list=PLHXZ9OQGMqxfUl0tcqPNTJsb7R6BqSLo6
►CALCULUS I: youtube.com/playlist?list=PLHXZ9OQGMqxfT9RMcReZ4WcoVILP4k6-m
► CALCULUS II: youtube.com/playlist?list=PLHXZ9OQGMqxc4ySKTIW19TLrT91Ik9M4n
►MULTIVARIABLE CALCULUS (Calc III): youtube.com/playlist?list=PLHXZ9OQGMqxc_CvEy7xBKRQr6I214QJcd
►VECTOR CALCULUS (Calc IV) youtube.com/playlist?list=PLHXZ9OQGMqxfW0GMqeUE1bLKaYor6kbHa
►DIFFERENTIAL EQUATIONS: youtube.com/playlist?list=PLHXZ9OQGMqxde-SlgmWlCmNHroIWtujBw
►LAPLACE TRANSFORM: youtube.com/playlist?list=PLHXZ9OQGMqxcJXnLr08cyNaup4RDsbAl1
►GAME THEORY: youtube.com/playlist?list=PLHXZ9OQGMqxdzD8KpTHz6_gsw9pPxRFlX
OTHER PLAYLISTS:
► Learning Math Series
youtube.com/watch?v=LPH2lqis3D0&list=PLHXZ9OQGMqxfSkRtlL5KPq6JqMNTh_MBw
►Cool Math Series:
youtube.com/playlist?list=PLHXZ9OQGMqxelE_9RzwJ-cqfUtaFBpiho
BECOME A MEMBER:
►Join: youtube.com/channel/UC9rTsvTxJnx1DNrDA3Rqa6A/join
MATH BOOKS I LOVE (affilliate link):
► amazon.com/shop/treforbazett
SOCIALS:
►Twitter (math based): twitter.com/treforbazett
►Instagram (photography based): instagram.com/treforphotographyg









![How to make your LaTeX documents BEAUTIFUL // LaTeX Tutorial
Get started with LaTeX using Overleaf: ► https://www.overleaf.com/?utm_source=yt&utm_medium=link&utm_campaign=im22tb. My thanks to Overleaf for sponsoring todays video.
Check out the previous videos in my LaTeX playlist: ►https://www.youtube.com/playlist?list=PLHXZ9OQGMqxcWWkx2DMnQmj5os2X5ZR73
In this video were covering how to make your LaTeX documents BEAUTIFUL. We starts with columns using [twocolumn] in the document class, the multicol package, and using minipages. Next up is margins and margin notes. We talk about white space comparing vfill, vspace hfill hspace, quad etc. We talk about ending lines, starting new paragraphs, and setting indentation and separation between paragraphs. I have a bunch of cool tricks for annotating equations with underbraces, arrows, and highlighting. I show you how to incorporate colour responsive code blocks and finally how to use templates.
0:00 Intro to LaTeX and Overleaf
0:46 Columns and minipages
2:29 Minipage
4:47 Margins and margin notes
6:56 Whitespace
9:31 Linebreaks, indents, and paragraph spacing
11:40 Annotating Equations with braces, highlighting and arrows
13:48 Including code with minted
15:26 Using Templates
16:10 10% off with Overleaf
COURSE PLAYLISTS:
►DISCRETE MATH: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxersk8fUxiUMSIx0DBqsKZS
►LINEAR ALGEBRA: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxfUl0tcqPNTJsb7R6BqSLo6
►CALCULUS I: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxfT9RMcReZ4WcoVILP4k6-m
► CALCULUS II: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxc4ySKTIW19TLrT91Ik9M4n
►MULTIVARIABLE CALCULUS (Calc III): https://www.youtube.com/playlist?list=PLHXZ9OQGMqxc_CvEy7xBKRQr6I214QJcd
►VECTOR CALCULUS (Calc IV) https://www.youtube.com/playlist?list=PLHXZ9OQGMqxfW0GMqeUE1bLKaYor6kbHa
►DIFFERENTIAL EQUATIONS: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxde-SlgmWlCmNHroIWtujBw
►LAPLACE TRANSFORM: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxcJXnLr08cyNaup4RDsbAl1
►GAME THEORY: https://www.youtube.com/playlist?list=PLHXZ9OQGMqxdzD8KpTHz6_gsw9pPxRFlX
OTHER PLAYLISTS:
► Learning Math Series
https://www.youtube.com/watch?v=LPH2lqis3D0&list=PLHXZ9OQGMqxfSkRtlL5KPq6JqMNTh_MBw
►Cool Math Series:
https://www.youtube.com/playlist?list=PLHXZ9OQGMqxelE_9RzwJ-cqfUtaFBpiho
BECOME A MEMBER:
►Join: https://www.youtube.com/channel/UC9rTsvTxJnx1DNrDA3Rqa6A/join
MATH BOOKS I LOVE (affilliate link):
► https://www.amazon.com/shop/treforbazett
SOCIALS:
►Twitter (math based): http://twitter.com/treforbazett
►Instagram (photography based): http://instagram.com/treforphotography How to make your LaTeX documents BEAUTIFUL // LaTeX Tutorial](https://i.ytimg.com/vi/7B7ytLrMTa0/mqdefault.jpg)
