SlideShare uma empresa Scribd logo
1 de 27
Analytic Analysis of Differential
Equations
 Generally real-world differential equations
are not directly solvable.
 That's when we use numerical
approximations.
 We're going to look at some simple ones to
get a better understanding of the differential
equations themselves.
 Differential Equations contain the
derivatives of unknown functions.
 Given some simple differential equations,
we can sometimes guess at the form of the
function.
 So we will work backwards – from the
solution to the differential equation.
A typical linear equation is the relationship
between temperature in Fahrenheit and Celsius.
C = (5/9)(F-32)
Using Octave to plot (C,F) for F=32 to 212:
octave:8> F=32:1:212;
octave:9> plot(F, (5/9)*(F-32))
Clearly this function is linear.
If this function was given as a differential
equation, it would just be the derivative of C with
respect to F. It's a constant function with this
initial value:
dC/dF=5/9, C(32)=0
So, if the differential equation is a constant
function, the solution is a linear function.
A slightly more complex function.
The position of an object, s, moving at constant
acceleration is given by:
s(t)=v0t+ 1/2at2
Exercise:
 Given an initial velocity of 20 m/s and
acceleration of 3 m/s2, use Octave to plot this
function for t=0 to 10 seconds.
 What is ds/dt? What do you expect that graph
to look like?
A little more complex -
The value of the differential equation is dependent
on the value of the function?
Let's look at the growth of bacteria.
Bacteria reproduce using binary fission and
double in number in each time frame assuming
they have enough food. So the change in the
number of bacteria is dependent on the number of
bacteria already present.
Exercise:
 Assume our example bacteria doubles every
ten minutes and has plenty to consume.
 Starting with one bacteria, use Octave to plot
the number of bacteria every ten minutes for
two hours. How many bacteria are there after
two hours?
This function is exponential.
Its general formula is:
x(t)=x0ekt
where x0 is the starting value and k is the growth
factor.
The differential function that gives us this
function is:
dx/dt = kx with x(0)=x0.
 So testing this out - another population
example:
 Population is not often based solely on
population growth, but also on predation.
 Assume there is an population of animals, x.
They have a growth rate, r, that depends on
their birth rate.
What differential equation describes the change
in population?
Answer: dx/dt = rx
We recognize this as describing an exponential
function. So with no limits, the growth is
exponential.
 More realistically, a population is better
modeled with two functions:
 For the prey organisms, x, growth is limited
by resources. There is a maximum number of
organisms, max, that can be maintained in an
area. As they approach that number, their
growth rate decreases linearly.
 This new information leads us to a new
differential equation...
dx/dt=r(1-x/max)x
Notice that as x approaches max, dx/dt
approaches 0. This function is called the
logistic function.
This is its solution:
x(t)=(max*x0*ert)/(x0*ert + max – x0)
I'll plot this one for you with the parameters:
max = 20, r = 1 and x0=1.
octave:71> t=0:1/32:8;
octave:72> r=1;
octave:73> x0=1;
octave:74> max=20;
octave:75> y = max*x0*exp(r*t)./(x0*exp(r*t)+max-x0);
octave:76> plot(t,y);
 This curve is called an S-curve.
 The function is called the logistic function
and also it's called a sigmoid function.
 It shows up in many different models.
 It is frequently used to model biological
switching.
 But organisms do not tend to live alone. If
they are prey, they live with predators.
 Now the growth of the prey, x, is affected by
the number of predators, y. And the growth
of the predators is affected by the number of
prey.
 Now we have a system of differential
equations that depend on each other.
dx/dt = rx - axy
dy/dt = -my + bxy
 r is the growth rate of the prey. If there are
no predators, they grow exponentially.
 m is the decay rate of the predators. If there
is no prey, they die off.
 Whenever they encounter each other, the
prey decrease by a and the predators increase
by b.
 We cannot write a formula to express the
solution to this system of equations.
 We could use numerical methods to
approximate a solution, but we can't find one
analytically.
Fitzhugh-Nagumo, is another system of
equations that we've seen:
dV/dt = (a-V)(V-1)V – v
dv/dt = ϵ(βV-γv-δ)
 You've approximated it numerically and you'll
be doing more of that.
 There is also another way to analyze its
behavior.
Phase Plane Analysis
•We are going to think of the solutions to the
equations as points on the (V,v) plane.
•For example, if V is .5 and v is .5, what is dv/dt?
dV/dt?
dV/dt=(0.1-0.5)(0.5-1)(0.5)-(.5)=-0.37750
dv/dt = 0.01(0.5*0.5 – 1*0.5 – 0) = -0.0025000
 So at the point (0.5, 0.5) on the (V,v) plane there
is a tangent that points in about the (-0.4, 0.0)
direction.
 In other words, if the system has the values (0.5,
0,5), its V value (the membrane potential) will be
decreasing, and v will not be changing very much.
 We can plot lots of tangents and see how the
functions behave over the plane.
 We can also see how the functions behave
when one is held at zero.
 The V nullcline is the curve that we find if
dV/dt is zero.
 The v nullcline is the curve that we find if
dv/dt is zero.
Exercise:
Find the formulas for the V and v nullclines in
terms of V.
0 = (a-V)(V-1)V – v
0 = ϵ(βV-γv-δ)
In Octave:
 Use V = -2 to 2
 Use axis to set the x axis to -2 to 2 and the
y axis to -1, 1.
 Plot the nullclines on one graph.
(a=0.1, beta=0.5, gamma=1, delta=0,
epsilon=0.01)
 We can look at a simulation of the Fitzhugh-
Nagumo phase plane at thevirtualheart.org.
 The applet on top shows the phase plane along
with the tangent lines. Click on a starting point
to see how the system behaves.
 The applet on the bottom plots V (U) and v over
time.
 http://thevirtualheart.org/java/fhnphase.html
Exercises:
 Try the parameter changes suggested on the
page.
 Try to determine, the minimum value of
delta that will make the system auto-
oscillatory.
 How does the intersection point of the two
nullclines relate to the behavior of the
system?

Mais conteúdo relacionado

Semelhante a DiffEqPresent.ppt

Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Hakka Labs
 
11Functions-in-several-variables-and-double-integrals.pdf
11Functions-in-several-variables-and-double-integrals.pdf11Functions-in-several-variables-and-double-integrals.pdf
11Functions-in-several-variables-and-double-integrals.pdfCristianBatongbakal
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help HelpWithAssignment.com
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxcroysierkathey
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxjeremylockett77
 
Using Eulers formula, exp(ix)=cos(x)+isin.docx
Using Eulers formula, exp(ix)=cos(x)+isin.docxUsing Eulers formula, exp(ix)=cos(x)+isin.docx
Using Eulers formula, exp(ix)=cos(x)+isin.docxcargillfilberto
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREShriramKargaonkar
 
signal and system Dirac delta functions (1)
signal and system Dirac delta functions (1)signal and system Dirac delta functions (1)
signal and system Dirac delta functions (1)iqbal ahmad
 
Derivación e integración de funciones de varias variables
Derivación e integración de funciones de varias variablesDerivación e integración de funciones de varias variables
Derivación e integración de funciones de varias variablesRicardoAzocar3
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcupatrickpaz
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONDhrupal Patel
 
What are free particles in quantum mechanics
What are free particles in quantum mechanicsWhat are free particles in quantum mechanics
What are free particles in quantum mechanicsbhaskar chatterjee
 
Teachingtools4kidsbasic/calculus
Teachingtools4kidsbasic/calculusTeachingtools4kidsbasic/calculus
Teachingtools4kidsbasic/calculusOpenCourse
 

Semelhante a DiffEqPresent.ppt (20)

Multiple scales
Multiple scalesMultiple scales
Multiple scales
 
Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey
 
Grupo 13 taller parcial2_nrc2882
Grupo 13 taller parcial2_nrc2882Grupo 13 taller parcial2_nrc2882
Grupo 13 taller parcial2_nrc2882
 
11Functions-in-several-variables-and-double-integrals.pdf
11Functions-in-several-variables-and-double-integrals.pdf11Functions-in-several-variables-and-double-integrals.pdf
11Functions-in-several-variables-and-double-integrals.pdf
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help Get Multiple Regression Assignment Help
Get Multiple Regression Assignment Help
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
1-11.pdf
1-11.pdf1-11.pdf
1-11.pdf
 
Using Eulers formula, exp(ix)=cos(x)+isin.docx
Using Eulers formula, exp(ix)=cos(x)+isin.docxUsing Eulers formula, exp(ix)=cos(x)+isin.docx
Using Eulers formula, exp(ix)=cos(x)+isin.docx
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
signal and system Dirac delta functions (1)
signal and system Dirac delta functions (1)signal and system Dirac delta functions (1)
signal and system Dirac delta functions (1)
 
Derivación e integración de funciones de varias variables
Derivación e integración de funciones de varias variablesDerivación e integración de funciones de varias variables
Derivación e integración de funciones de varias variables
 
Week 7
Week 7Week 7
Week 7
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcu
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
What are free particles in quantum mechanics
What are free particles in quantum mechanicsWhat are free particles in quantum mechanics
What are free particles in quantum mechanics
 
Teachingtools4kidsbasic/calculus
Teachingtools4kidsbasic/calculusTeachingtools4kidsbasic/calculus
Teachingtools4kidsbasic/calculus
 

Último

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 

Último (20)

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 

DiffEqPresent.ppt

  • 1. Analytic Analysis of Differential Equations
  • 2.  Generally real-world differential equations are not directly solvable.  That's when we use numerical approximations.  We're going to look at some simple ones to get a better understanding of the differential equations themselves.
  • 3.  Differential Equations contain the derivatives of unknown functions.  Given some simple differential equations, we can sometimes guess at the form of the function.  So we will work backwards – from the solution to the differential equation.
  • 4. A typical linear equation is the relationship between temperature in Fahrenheit and Celsius. C = (5/9)(F-32) Using Octave to plot (C,F) for F=32 to 212: octave:8> F=32:1:212; octave:9> plot(F, (5/9)*(F-32))
  • 5.
  • 6. Clearly this function is linear. If this function was given as a differential equation, it would just be the derivative of C with respect to F. It's a constant function with this initial value: dC/dF=5/9, C(32)=0 So, if the differential equation is a constant function, the solution is a linear function.
  • 7. A slightly more complex function. The position of an object, s, moving at constant acceleration is given by: s(t)=v0t+ 1/2at2 Exercise:  Given an initial velocity of 20 m/s and acceleration of 3 m/s2, use Octave to plot this function for t=0 to 10 seconds.  What is ds/dt? What do you expect that graph to look like?
  • 8. A little more complex - The value of the differential equation is dependent on the value of the function? Let's look at the growth of bacteria. Bacteria reproduce using binary fission and double in number in each time frame assuming they have enough food. So the change in the number of bacteria is dependent on the number of bacteria already present.
  • 9. Exercise:  Assume our example bacteria doubles every ten minutes and has plenty to consume.  Starting with one bacteria, use Octave to plot the number of bacteria every ten minutes for two hours. How many bacteria are there after two hours?
  • 10. This function is exponential. Its general formula is: x(t)=x0ekt where x0 is the starting value and k is the growth factor. The differential function that gives us this function is: dx/dt = kx with x(0)=x0.
  • 11.  So testing this out - another population example:  Population is not often based solely on population growth, but also on predation.  Assume there is an population of animals, x. They have a growth rate, r, that depends on their birth rate.
  • 12. What differential equation describes the change in population? Answer: dx/dt = rx We recognize this as describing an exponential function. So with no limits, the growth is exponential.
  • 13.  More realistically, a population is better modeled with two functions:  For the prey organisms, x, growth is limited by resources. There is a maximum number of organisms, max, that can be maintained in an area. As they approach that number, their growth rate decreases linearly.  This new information leads us to a new differential equation...
  • 14. dx/dt=r(1-x/max)x Notice that as x approaches max, dx/dt approaches 0. This function is called the logistic function. This is its solution: x(t)=(max*x0*ert)/(x0*ert + max – x0) I'll plot this one for you with the parameters: max = 20, r = 1 and x0=1.
  • 15. octave:71> t=0:1/32:8; octave:72> r=1; octave:73> x0=1; octave:74> max=20; octave:75> y = max*x0*exp(r*t)./(x0*exp(r*t)+max-x0); octave:76> plot(t,y);
  • 16.  This curve is called an S-curve.  The function is called the logistic function and also it's called a sigmoid function.  It shows up in many different models.  It is frequently used to model biological switching.
  • 17.  But organisms do not tend to live alone. If they are prey, they live with predators.  Now the growth of the prey, x, is affected by the number of predators, y. And the growth of the predators is affected by the number of prey.  Now we have a system of differential equations that depend on each other.
  • 18. dx/dt = rx - axy dy/dt = -my + bxy  r is the growth rate of the prey. If there are no predators, they grow exponentially.  m is the decay rate of the predators. If there is no prey, they die off.  Whenever they encounter each other, the prey decrease by a and the predators increase by b.
  • 19.  We cannot write a formula to express the solution to this system of equations.  We could use numerical methods to approximate a solution, but we can't find one analytically.
  • 20. Fitzhugh-Nagumo, is another system of equations that we've seen: dV/dt = (a-V)(V-1)V – v dv/dt = ϵ(βV-γv-δ)  You've approximated it numerically and you'll be doing more of that.  There is also another way to analyze its behavior.
  • 21. Phase Plane Analysis •We are going to think of the solutions to the equations as points on the (V,v) plane. •For example, if V is .5 and v is .5, what is dv/dt? dV/dt? dV/dt=(0.1-0.5)(0.5-1)(0.5)-(.5)=-0.37750 dv/dt = 0.01(0.5*0.5 – 1*0.5 – 0) = -0.0025000
  • 22.  So at the point (0.5, 0.5) on the (V,v) plane there is a tangent that points in about the (-0.4, 0.0) direction.  In other words, if the system has the values (0.5, 0,5), its V value (the membrane potential) will be decreasing, and v will not be changing very much.  We can plot lots of tangents and see how the functions behave over the plane.
  • 23.  We can also see how the functions behave when one is held at zero.  The V nullcline is the curve that we find if dV/dt is zero.  The v nullcline is the curve that we find if dv/dt is zero.
  • 24.
  • 25. Exercise: Find the formulas for the V and v nullclines in terms of V. 0 = (a-V)(V-1)V – v 0 = ϵ(βV-γv-δ) In Octave:  Use V = -2 to 2  Use axis to set the x axis to -2 to 2 and the y axis to -1, 1.  Plot the nullclines on one graph. (a=0.1, beta=0.5, gamma=1, delta=0, epsilon=0.01)
  • 26.  We can look at a simulation of the Fitzhugh- Nagumo phase plane at thevirtualheart.org.  The applet on top shows the phase plane along with the tangent lines. Click on a starting point to see how the system behaves.  The applet on the bottom plots V (U) and v over time.  http://thevirtualheart.org/java/fhnphase.html
  • 27. Exercises:  Try the parameter changes suggested on the page.  Try to determine, the minimum value of delta that will make the system auto- oscillatory.  How does the intersection point of the two nullclines relate to the behavior of the system?