What is a DIFFERENTIAL EQUATION?? **Intro to my full ODE course**

Dr. Trefor Bazett
13 Jan 202111:26

Summary

TLDRThis video introduces the concept of differential equations as a crucial tool for modeling the physical world, with a focus on their applications in various scenarios such as bank accounts, pandemics, and physics. The instructor outlines the basics of differential equations, demonstrates how to derive solutions, and emphasizes the importance of initial conditions in determining specific solutions. The video is part of a comprehensive playlist and open-source textbook designed to accompany a university course on the subject.

Takeaways

  • πŸ“š Differential equations are powerful tools for modeling and understanding the physical world.
  • πŸŽ₯ This video is the first in a series accompanying a university course on differential equations.
  • πŸ“˜ A free and open-source textbook is available, corresponding to the video series.
  • πŸ”’ A differential equation involves an equation with derivatives, often modeling how things change.
  • πŸ’° Example: The rate of change of a bank account with a 3% interest rate can be modeled using a differential equation.
  • 🦠 Exponential growth models are relevant for situations like bank accounts, pandemics, and bacterial growth.
  • πŸ“ There is often an infinite family of solutions to a differential equation, dependent on initial conditions.
  • βš–οΈ Newton's second law can be used to derive differential equations for physical systems, like a ball thrown vertically.
  • πŸ“Š Solutions to differential equations can be found by integrating, with initial conditions determining specific solutions.
  • πŸ” Future topics will cover when differential equations have solutions, the uniqueness of solutions, and methods to solve them.

Q & A

  • What is a differential equation?

    -A differential equation is an equation that includes derivatives, which is used to describe the rate at which a quantity changes in relation to other quantities, often time in the context of the script.

  • Why are differential equations important in modeling the physical world?

    -Differential equations are important because they allow us to describe and understand how different aspects of the physical world change over time, such as the movement of objects, the flow of fluids, and changes in electric and magnetic fields.

  • What is the prerequisite for the university course on differential equations mentioned in the script?

    -The prerequisite for the university course on differential equations is calculus, as it provides the foundational understanding of rates of change and derivatives, which are essential for studying differential equations.

  • What is an example of a differential equation that models a bank account with an interest rate?

    -An example given in the script is the differential equation dy/dt = 0.03 * y, where y represents the amount of money in the bank account at time t, and 0.03 is the continuous interest rate.

  • How does the solution e^(0.03t) relate to the bank account differential equation?

    -The function e^(0.03t) is a solution to the bank account differential equation because when you take its derivative, it results in the same function multiplied by the interest rate, satisfying the differential equation.

  • What does it mean when there are multiple solutions to a differential equation?

    -When there are multiple solutions to a differential equation, it means that there is a family of solutions that can be described by a constant, such as 'c' in the script, which can take on any value to produce a different solution.

  • What is an initial condition and why is it necessary in solving differential equations?

    -An initial condition is a specific value or condition at a given point in time, such as the amount of money in a bank account at time zero. It is necessary to find the particular solution that fits the specific situation being modeled.

  • How does the script illustrate the concept of exponential growth using differential equations?

    -The script illustrates exponential growth by showing that the rate of change of a quantity, such as money in a bank account or infections in a pandemic, is proportional to the quantity itself, leading to a solution that grows exponentially over time.

  • What is the second example of a differential equation presented in the script?

    -The second example is a differential equation derived from Newton's second law, modeling the motion of a ball thrown straight up into the air, where the only force acting on it is gravity.

  • How does the script explain the process of solving the second example of a differential equation?

    -The script explains the process by integrating the differential equation twice to find the position function of the ball over time, resulting in a quadratic equation that describes the ball's motion.

  • What are the two initial conditions needed to specify the solution of the second example of a differential equation?

    -The two initial conditions needed are the initial position (y naught) and the initial velocity (v naught) of the ball when it was thrown.

  • What is the significance of the number of derivatives in a differential equation in relation to the number of initial conditions required?

    -The number of derivatives in a differential equation determines the number of constants of integration, which in turn dictates the number of initial conditions needed to specify a unique solution.

  • What are some of the key questions that the future videos in the playlist will address?

    -The future videos will address questions such as when differential equations have solutions, the nature of these solutions (one or many), and the procedures for finding solutions to different types of differential equations.

Outlines

00:00

πŸ“š Introduction to Differential Equations

The script introduces the concept of differential equations as a fundamental tool for modeling the physical world. It highlights the upcoming series of videos and an accompanying open-source textbook on differential equations, which are aimed at second-year university students with calculus as a prerequisite. The script explains that differential equations involve derivatives and are used to describe how things change, such as the growth of a bank account with a continuous interest rate. It also provides an example of a differential equation and its solution, emphasizing that often there are multiple solutions depending on the initial conditions.

05:02

πŸš€ Applying Differential Equations to Real-World Scenarios

This paragraph delves into the application of differential equations to model real-world phenomena, such as the growth of a bank account, the spread of a pandemic, and bacterial growth in a petri dish. It discusses the importance of initial conditions in determining the specific solution to a differential equation from the family of solutions. The script then presents a second example involving the motion of a ball thrown vertically, illustrating how differential equations can be derived from Newton's second law and solved to describe the ball's trajectory. The paragraph concludes by emphasizing the need for initial conditions to specify the constants in the solution.

10:04

πŸ” Exploring the Theory of Differential Equations

The final paragraph of the script raises several questions about the nature and solutions of differential equations. It ponders the existence of solutions, the number of solutions, and the methods for finding them. The script acknowledges that while some solutions can be asserted or computed directly, there are many situations where specific procedures are needed to solve differential equations. It sets the stage for future videos that will explore these topics in depth, including the theory behind when solutions exist and how to determine them.

Mindmap

Keywords

πŸ’‘Differential Equations

Differential equations are mathematical equations that involve derivatives, which are used to describe the rate of change of a function. In the context of the video, differential equations are presented as powerful tools for modeling and understanding the physical world. The video introduces the concept by explaining how these equations can represent various phenomena, such as the growth of a bank account with interest or the spread of a pandemic, where the rate of change is proportional to the current state.

πŸ’‘Derivative

A derivative in calculus represents the rate at which a quantity changes with respect to another quantity. In the video, the derivative is used to model the rate of change of different systems, such as the amount of money in a bank account or the number of infections in a pandemic. The script uses the derivative to illustrate the foundational concept that leads to the formulation of differential equations.

πŸ’‘Dependent Variable

In the context of functions and differential equations, the dependent variable is the variable that depends on another variable, often denoted as 'y' in the video. It represents the quantity that changes, such as the money in a bank account over time. The dependent variable is central to the formulation of differential equations, as it is the function whose rate of change is being modeled.

πŸ’‘Exponential Growth

Exponential growth refers to a process where a quantity increases at a rate proportional to its current value. The video uses the example of a bank account with a 3% interest rate compounded continuously to illustrate exponential growth. This concept is modeled using a differential equation where the derivative of the bank account balance is proportional to the balance itself.

πŸ’‘Initial Condition

An initial condition is a fixed value or condition that is given at the starting point of a problem. In the video, the concept is used to specify the exact state of a system at a certain time, such as the initial amount of money in a bank account or the initial number of infections in a pandemic. Initial conditions are crucial for determining the unique solution to a differential equation.

πŸ’‘Solution

In the context of differential equations, a solution is a function that satisfies the equation. The video explains that differential equations can have multiple solutions, such as the exponential function e^(0.03t) for the bank account example. The script also discusses how solutions can be found by integrating the differential equation or by using other mathematical methods.

πŸ’‘Continuous Compounding

Continuous compounding is a method of calculating interest where interest is added to the principal continuously over time, rather than at discrete intervals. The video uses this concept to explain how the interest on a bank account can be modeled with a differential equation, where the rate of change of the account balance is a constant percentage of the balance itself.

πŸ’‘Second Derivative

A second derivative is the derivative of a derivative, representing the rate of change of the rate of change of a function. In the video, the second derivative is used in the context of Newton's second law to model the motion of a ball thrown straight up, where the acceleration due to gravity is the second derivative of the ball's position with respect to time.

πŸ’‘Integration

Integration is the mathematical process of finding a function that, when differentiated, yields another given function. In the video, integration is used to solve the differential equation modeling the motion of a ball. By integrating the equation, the script demonstrates how to find the function that describes the ball's position over time.

πŸ’‘Kinematic Equations

Kinematic equations describe the motion of an object under the influence of forces, such as gravity, without considering the forces themselves. The video refers to kinematic equations when discussing the motion of a ball thrown upwards, which is a classic example of using differential equations to model physical phenomena.

πŸ’‘Constants of Integration

Constants of integration arise when integrating a differential equation. They represent the arbitrary constants that can be added to the integrated function without affecting the derivative. In the video, the script explains that the constants of integration, such as 'c' and 'd', are determined by initial conditions, which are necessary to specify the unique solution to the differential equation.

Highlights

Introduction to differential equations as powerful tools for modeling and understanding the physical world.

Announcement of a complete playlist and open source textbook accompanying a university course on differential equations.

Definition of a differential equation as an equation involving derivatives.

Explanation of how derivatives can be used to model rates of change in various real-world scenarios.

Illustration of a bank account model with an interest rate using a differential equation.

Introduction of the concept of exponential growth in the context of a bank account and its mathematical representation.

Demonstration of how to derive and verify a solution to a differential equation.

Discussion on the infinite family of solutions for differential equations and the role of constants.

Importance of initial conditions in determining specific solutions to differential equations.

Application of differential equations to model exponential growth in pandemics and bacterial populations.

Introduction of Newton's second law and its relation to differential equations in physics.

Derivation of a differential equation for a ball thrown vertically under the influence of gravity.

Solution of the vertical motion differential equation resulting in a quadratic function.

Explanation of how initial conditions affect the specific path of the ball's motion.

Connection between the number of derivatives in a differential equation and the number of initial conditions needed.

Discussion on the existence and multiplicity of solutions to differential equations.

Emphasis on the importance of learning procedures to solve various types of differential equations.

Invitation to engage with the video series and share resources with others studying differential equations.

Transcripts

play00:03

welcome to differential equations

play00:05

differential equations is one of the

play00:06

most powerful tools that we have for

play00:08

modeling and understanding the physical

play00:10

world and in this video

play00:12

i'm going to give you an introduction to

play00:13

the big ideas of differential equations

play00:16

now i'm particularly excited because

play00:17

this video was just the first video in

play00:19

an

play00:20

entire playlist on differential

play00:22

equations that accompanies the

play00:24

university course that i am teaching on

play00:25

differential equations it's a

play00:27

pretty standard second year introduction

play00:29

into differential equations that picks

play00:31

calculus as a prerequisite

play00:33

by the way in addition to this video

play00:35

playlist there is also

play00:36

a free and open source textbook that i'm

play00:39

adapting that is corresponding to this

play00:41

video series and you can check out the

play00:42

links to both of those

play00:43

down in the description so what is a

play00:45

differential equation

play00:47

when trying to model the world one of

play00:49

the things that we notice is that things

play00:51

change different objects move around

play00:54

fluid

play00:55

flows electric fields and magnetic

play00:57

fields

play00:58

they change stock prices go up and down

play01:01

the world is changing and we have seen a

play01:04

little bit of how to address how to get

play01:07

our handle on a changing world in

play01:09

calculus we've seen for example that if

play01:12

you start with some function like

play01:13

function y of t

play01:15

then you can compute the rate of change

play01:18

of that function or the derivative of

play01:20

that function

play01:21

y prime of t which was great and maybe

play01:24

that would be helpful for modeling all

play01:25

these changing things in the world

play01:27

except

play01:28

where did the original functions come

play01:30

from as

play01:31

in if you give me a function okay then i

play01:33

could differentiate and get its rate of

play01:35

change i could differentiate

play01:36

twice if i wanted to and one common way

play01:39

that they come from is called

play01:41

differential equations and it's sort of

play01:43

working this process

play01:44

in reverse now the big idea is that

play01:46

often when we're trying to

play01:48

mathematically model a situation we know

play01:51

more about

play01:52

how something is changing than being

play01:54

able to

play01:55

exactly describe the state of the object

play01:57

at every point in time

play01:59

for example consider a bank account we

play02:02

often are told

play02:03

right up front what the rate of change

play02:06

of a bank account is that will be our

play02:07

interest

play02:08

rate so consider this equation that

play02:10

might model the scenario

play02:12

the derivative of y is 0.03

play02:15

times y y here is going to represent the

play02:18

amount of money in our bank account at

play02:20

time t and we typically in differential

play02:22

equations do use

play02:23

y for our dependent variable and what's

play02:26

happening is that this is a bank account

play02:28

with an interest rate of three percent

play02:31

the fancy terminology is called three

play02:32

percent compounded continuously

play02:35

and what that means is whatever amount

play02:37

of money that i have at a given point in

play02:38

time

play02:39

why the rate of change of increase

play02:42

is 0.03 in other words 3 times that

play02:46

amount of money

play02:47

if you have more money than i do then

play02:49

the rate of change

play02:50

of your bank account is going to be

play02:52

higher than mine because it's always

play02:54

going to be the three percent of what

play02:55

you

play02:55

have and so this is a differential

play02:57

equation a differential equation is just

play02:59

an equation that has

play03:00

derivatives in it so what can we do with

play03:03

this well

play03:04

i want to notice that this equation

play03:06

actually has a solution

play03:08

you can try it out if you accept that y

play03:10

of t

play03:11

is e to the 0.03 t it just works i mean

play03:14

plug it into both sides

play03:15

if you plug it into the left the

play03:17

derivative of e to the 0.03 t

play03:19

is well 0.03 times e to the 0.03 t

play03:24

it's the same thing on both sides so

play03:26

this

play03:27

function e to the 0.03 t we say is a

play03:30

solution to that differential equation

play03:34

you might have asked how did i know that

play03:35

that was it how are we going to come

play03:37

up with solutions to differential

play03:38

equations and we'll talk a lot about

play03:40

that

play03:40

more coming up in future videos right

play03:43

now i just want to say

play03:44

given this function that i've just

play03:46

thrown at you well

play03:47

yes indeed it is a solution to that

play03:50

differential equation

play03:51

and this kind of exponential growth well

play03:53

it works for bank accounts but it also

play03:54

works for things like a pandemic when we

play03:56

were having

play03:57

an exponential growth of a pandemic was

play03:59

the same thing

play04:00

the rate of change of infections was

play04:02

some constant

play04:03

times the number of people who already

play04:05

had the infection

play04:06

similarly the rate of change of some

play04:08

bacteria growing in a petri dish

play04:10

might be a constant multiple of the

play04:13

population

play04:14

in all these examples differential

play04:16

equation was relevant because we could

play04:18

say something about the rate of change

play04:20

we could model it by making a claim

play04:21

about the rate of change that the rate

play04:22

of change

play04:23

was proportional to the original values

play04:26

y

play04:28

now i can go even further than this

play04:30

because well e to the 0.03 t is a

play04:32

solution

play04:33

but notice that 17 times e to the 0.03 t

play04:38

is also a solution i can plug it into

play04:39

both sides and i get that they are equal

play04:42

and in fact the 17 was just a

play04:43

placeholder it could have been anything

play04:44

could also just be a

play04:45

value of c and this gives us our first

play04:49

lesson about differential equations

play04:50

often there is not one solution to a

play04:53

differential equation

play04:54

there is an infinite family of solutions

play04:57

for every value of c

play04:59

we're going to get a different solution

play05:02

so how can you find the values of c you

play05:05

actually need

play05:06

a little bit more information so i want

play05:08

to redo the problem i want to stay with

play05:10

the same solution that i have to that

play05:11

differential equation

play05:12

but i'm going to additionally oppose

play05:14

something called an initial condition

play05:18

an initial condition is you telling me

play05:21

well

play05:22

how much quantity was there at time t

play05:24

equal to zero in this case i'm going to

play05:26

say

play05:26

i started with a thousand dollars at

play05:28

time t equal to zero or there were

play05:30

a thousand people infected at time t

play05:32

equal to zero

play05:33

depending on what it is that i'm trying

play05:34

to model and so with an initial

play05:36

condition if i plug t

play05:38

equal to zero into that equation i just

play05:39

get a thousand on the left as the

play05:41

constant times e to the zero

play05:43

e to the zero is one and that tells me

play05:45

that c was a thousand

play05:47

and so my y of t is a thousand times e

play05:49

to the zero point zero three

play05:50

t i can go over to desmos the

play05:54

link to this is going to be down in the

play05:55

description and plot what this looks

play05:57

like

play05:58

this is just exponential growth and so

play06:00

as time goes

play06:01

on my value of my bank account which

play06:04

begins

play06:05

at a thousand dollars is going to grow

play06:06

and grow and grow at this three percent

play06:08

compounded continuously

play06:10

okay so that was one example of a

play06:12

differential equation i want to leave

play06:13

you with a second

play06:14

and in this second example i'm going to

play06:16

imagine i start with the ball i take the

play06:18

ball

play06:18

i throw it straight up and it falls down

play06:21

to the ground

play06:22

so base so the idea was it was just

play06:24

moving vertically but i had a starting

play06:26

spot

play06:26

i had an initial velocity they gave it

play06:28

and then it went up and back down until

play06:30

it hit the ground

play06:31

now if you remember any of your high

play06:32

school physics what we have is that

play06:34

there's a single force

play06:36

applied to this particular ball ignore

play06:38

air friction and all that kind of stuff

play06:39

there's going to be a force of gravity

play06:41

which is negative

play06:43

m times g the negative is because my

play06:46

position

play06:46

my y here is defined to be positive

play06:49

going up

play06:49

and the force of gravity points down and

play06:51

then it's the mass of the ball times

play06:54

g the constant acceleration of gravity

play06:56

in the surface of the earth

play06:57

9.8 meters per second squared okay so

play07:00

where's the differential equation

play07:01

well it comes to us from newton's second

play07:03

law

play07:04

f equals mass times acceleration the sum

play07:07

of the forces equaling the mass

play07:09

times the acceleration so in this case

play07:12

what is mass times acceleration

play07:14

acceleration

play07:15

is the second derivative of the position

play07:18

function

play07:19

so i'll write it this way the negative

play07:21

mg that we saw before that's the only

play07:23

force on it

play07:24

is equal to m times the second

play07:26

derivative of

play07:27

y the acceleration is the second

play07:29

derivative of the position function

play07:30

y of t this again is a

play07:33

differential equation now i've got a

play07:36

second derivative in my equation

play07:38

the m's on both sides so they cancel so

play07:40

it's just y double prime is

play07:42

a constant negative g now

play07:45

this differential equation is one that i

play07:46

can solve i can find the solution just

play07:49

by integrating it's a second derivative

play07:51

equal to a constant

play07:52

so let's integrate both sides on the

play07:54

left the negative g

play07:55

turned into a negative g t and then i

play07:58

add a plus

play07:59

c because i'm doing an indefinite

play08:01

integral and indefinite integrals give

play08:03

you plus

play08:03

c's and then on the right hand side the

play08:05

y double prime turns into a y prime when

play08:07

you integrate once

play08:08

i integrate a second time the negative

play08:10

gt

play08:11

turns into a negative g t squared over 2

play08:13

when you integrate once

play08:15

the c integrates to a c t and then

play08:17

because i'm doing a second integration

play08:19

i get a second constant of integration

play08:22

plus d

play08:22

and then on the right hand side the y

play08:24

prime turns into a y

play08:26

so what i have here is just a solution

play08:30

to this differential equation it's a

play08:32

quadratic

play08:35

and so as time goes on the ball is going

play08:36

to go up and go down and this quadratic

play08:39

behavior indeed

play08:40

this is one of the kinematic equations

play08:41

that you likely have seen before

play08:44

what we've just done is to interpret it

play08:46

in terms of

play08:47

specifically a differential equation now

play08:50

like the exponential growth example this

play08:53

has two constants

play08:54

a c and a d in it so how do i find the c

play08:57

in the d and if you imagine when i

play08:59

started with this ball

play09:00

well the path of the ball would depend

play09:02

on where my initial location that i

play09:05

threw it from was

play09:06

that would change the path of the ball

play09:08

and it would also change the path of the

play09:09

ball whether i gave

play09:10

just a little bit of velocity to it

play09:12

barely threw it up or whatever gave a

play09:13

much higher amount

play09:15

that would affect the path of the ball

play09:18

so those initial conditions the initial

play09:22

velocity and the initial position are

play09:24

going to be relevant i'm going to state

play09:25

them

play09:26

i'll say my initial position at y equal

play09:28

to zero is y naught

play09:29

that's just a constant and y prime is

play09:32

going to be

play09:32

at t equal to zero v naught so y naught

play09:35

and v naught are two constants

play09:36

and if i plug t equal to zero into this

play09:39

equation you just get

play09:40

d is equal to y naught likewise if i

play09:43

plug zero into the derivative of that

play09:45

equation

play09:46

i'm just going to get that the c is

play09:48

equal to v naught

play09:50

this leaves me my final solution to my

play09:52

differential equation with the specific

play09:54

choices

play09:54

of the initial velocity and the initial

play09:56

position specified

play09:59

by the way it's going to be very

play10:00

relevant to us in the future that in our

play10:02

first example of exponential growth

play10:04

we had one derivative which gave one

play10:06

constant we had

play10:07

one initial condition to specify it but

play10:09

in this second example

play10:11

we had a second derivative y double

play10:13

prime which gave us two constants of

play10:15

integration

play10:16

and we needed two initial conditions to

play10:18

specify them there's going to be a lot

play10:19

of theory wrapped around

play10:21

when exactly all this is going to work

play10:23

out so let's leave with a few different

play10:25

questions

play10:26

first of all when do we actually have

play10:28

solutions to differential equations if

play10:30

you write some differential equation

play10:32

some equation with a bunch of

play10:33

derivatives in it when do they actually

play10:34

have solutions

play10:36

if they have a solution is it one or is

play10:39

there

play10:39

many different solutions i argued that

play10:42

there were some today but maybe those

play10:44

equations have

play10:45

more and that's also something we'll

play10:46

have to really investigate the theory

play10:48

about

play10:48

and then also how do you find solutions

play10:51

in the first example i just asserted it

play10:53

to you and the second we could compute

play10:55

it but very often

play10:56

we're going to have to learn a whole

play10:57

bunch of procedures which says given a

play10:59

differential equation

play11:00

this is how we're going to try and solve

play11:02

it so all that and more

play11:04

coming up in the future videos so if you

play11:06

enjoyed this video please do give it a

play11:08

like

play11:09

as i say this is part of a larger

play11:11

playlist that consists of both the

play11:12

videos

play11:13

and the open source textbook the links

play11:15

to both of those are down in the

play11:16

description i very much appreciate you

play11:18

sharing these resources with any other

play11:20

classmates of yours who might be taking

play11:22

differential equations and we're just

play11:23

going to do some more math

play11:24

in the next video

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Differential EquationsCalculusModelingPhysical WorldIntroductionUniversity CourseExponential GrowthPandemicBank AccountNewton's LawKinematic Equations