1. Home
  2. Explore
  3. Mathematics
  4. Continuous and Discrete Dynamical Systems

Study methods

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

Continuous and Discrete Dynamical Systems

Transcript

so what do we start off with those first  couple lectures are about some generalities most important of those generalities  emphasize how differential equations are continuous dynamical systems and  difference equations are discrete differential equations are continuous i said dynamical systems basically systems  that change over time is what that means i'll go ahead and use that  phrase dynamical systems t is the independent variable  where t is a real number

and okay this is unfortunately difference  equation has the difference equations has the   same abbreviation okay so this is differential  differential equations and difference equations that's discrete dynamical systems where the independent variable is a whole number zero one two three four five six etcetera  sometimes called a non-negative integer why do we talk about both in this course  i mean the course is called differential   equations in linear algebra it's not called  differential equations and difference equations

it's not called dynamical systems  though you could call it that i think   the reason is because these two things are  tied together and in the linear algebra   part of this course there are very natural  ways of talking about difference equations and tying them to differential equations the most basic examples of differential  equations and that's the word differential   if you can't quite tell differential equations and  difference equations are fortunately the simplest in the very simplest for differential equations  is dy dt equals some function of t and that does   come up in the simplest example of free fall  with no air resistance but i want to focus on   more importantly when the right hand side  is dependent on y an autonomous equation

the most important here is  d y d t equals some constant   i'm going to call it little a times y sometimes  i've called it little k little a times y that's as simple of a linear differential  equation in y that you can write down its general solution can be found by separation  of variables but i do want you to just know it you're looking for a function whose derivative  with respect to t is always a times the function   and know that that way of thinking about the  differential equation i'm looking for a function   of time where t is a real number where that  function's derivative that rate of change with   respect to time is always a constant a times  the function itself y is the function itself

general solution is y equals  c times e to the a t power where c is an arbitrary constant arbitrary constant a is a specific constant it's got  to match that a if that a is 5   that a's got to be 5. but c can be anything any function like this solves the  differential equation you should   certainly be able to check that it's  pretty easy moreover any solution of   the differential equation should be able to be  put in that form that's harder harder to prove if you add a generic initial condition  y of zero equals y sub zero where y   sub 0 or y naught is a specific number a  specific constant not an arbitrary constant

you can solve for c c has to equal y 0 we've  seen that right use that initial condition   and get your unique solution of the ivp y equals okay you should you should  feel okay with fee of t notation as well function name is fee here that's not you don't  find that in the differential equations book but   i do use that sometimes in the lectures you should  start working at feeling comfortable with that y 0 e to the a t sometimes  i even put a subscript of y   0 there to emphasize the initial value is y 0. this general solution represents  infinitely many answers

this unique solution of the ivp represents  one function because a is a fixed number and   a y 0 is a fixed number i'm not saying what  they are i'm just imagining them to be fixed what's the related difference equation  the related difference equation is y n equals a times y n minus 1 or if you  prefer y sub n plus 1 equals a times y n whereas you solve a differential equation by  separating variables or in this case guessing   educated guessing you can't integrate that n is a whole number zero one two three  well i guess if i got an n minus one   there would start at one though the first  subscript could be zero my initial condition the initial condition will be

y zero y zero equals itself y zero equals y zero just some number i could think of this as an initial  value problem as a difference equation what's the unique solution of that ivp it does not involve e or at  least that's not the simplest way to write it what's a formula for y sub n here that will equal y sub zero  when n is zero anybody remember taylor series is that what you said uh you   maybe could use a taylor series  to help you but you don't need to

a to the yeah n power y  zero times a to the n power y why does that work well certainly when n is zero a to the zero is one y zero times one is y  zero it's got the right initial condition does it satisfy the difference equation does y n  equal a times y n minus 1 no matter what n is yeah use the property of exponents to write that bring this a to the first out as an a in front

and then this thing is y sub n minus one if  y sub n is this then this is y sub n minus 1   because i'm just replacing n with n minus 1. it's  a little weird a little confusing perhaps but   at its heart when you get  it it's very easy actually no integration necessary if you didn't know what to guess how  would you solve it if you didn't know   what to guess i mean somebody one of you knew  what to guess don't integrate instead iterate use this equation over and over  again y n equals a times y n   minus 1. but y n minus 1  equals a times y n minus 2

y sub n minus 2 equals a times y sub n minus 3. y sub n minus three equals a  times y sub n minus four what's n   i don't know but we see a pattern here that pattern evidently continues in the end we want a y 0 there so i'd have to have y  sub n minus n and the pattern is whatever i   subtract has to be the exponent there this is  the same as a to the n times y sub n minus n

which is the same as y sub zero times a to the n  same thing that i wrote there you don't need to   integrate with difference equations you should not  integrate you should use the recursive equation   the difference equation over and over again look  for patterns that does get complicated sometimes   you did have that one homework problem where you  had to use a geometric series the cooling coffee would i put a problem like that that hard on  the test not in the in class maybe to take home by the way in the old exams from moodle and  the video i made last year not guaranteeing   all your problems are going to be like those  but i'm sure a lot of them will be similar

this is the heart of the first couple lectures  in the simplest examples i of course i talk   about higher bigger ideas like pendulum  and stuff and phase plane but those are   more difficult kinds of abstract things um  this is the most important concrete things does this come up in the  textbook well this part is does in section 1.1 not in the exact same way that  i've done it here because there's no fee of t   for example and i don't talk about in the textbook  doesn't talk about generic initial conditions so they talk about exponential growth  and decay models that's what these are coming back to focusing on what  the textbook emphasizes and then   i did emphasize in the lectures in the next  section we talk about separation of variables

separation i can't spell separation of variables you did an example the implicit solution for the  class participation today separation of variables for differential equations i  don't know if you notice but essentially all separation of variables are  those differential equations where the right   hand side function in general depends on t and  y and can be written as a product say g of t   times h of y you need a product on the right  hand side to be able to separate variables

and in this abstract situation you would separate  variables by dividing both sides by h of y   and again pretending to multiply both sides  by dt this would be equivalent to saying d y   over h of y equals g of t dt and then you'd  integrate both sides and go from there   ultimately hoping you can solve for  y as a function of t as you often can like you always can in section 1.2 we  could not in the class participation today   so we needed just an implicit solution  we did the integral and then we stopped i guess we used the initial condition as well actually you could get stuck here too right  these integrals could be really hard if not   impossible to do so it's possible you could have  a problem where you could separate variables   and get to the integrals then you just i don't  know what to do i don't know how to do these   integrals i have mathematica try so there's  just some integrals that you can't really do

for example integrate sine of t squared  mathematica what's the answer oh fresno s what's going on there the reason it says fresnel s is because there's  no ordinary function that you're used to that is   the answer and that can actually be proved you  have to create a new function and say that's   the answer somebody named fresnel created this  function and got it named after him fresno asset   maybe s is because of the sign if i change  the sign to cosine is it fresno c i think so fresno c they're related to sine and cosine

they're non-elementary functions so you  could make up your very own integral   function using an integral and give it your  own name maybe you can even patent it i think   you can i think you can patent functions  that nobody's ever named before of course   you'd have to pay money to patent it and probably  nobody would care so that's probably not worth it okay but you get the idea it's a method  to solve the differential equation that   goes beyond just guessing when guessing  seems too hard we don't have really other   any other methods so far other than  guessing and separation of variables   here for exam one will we for example  yeah there are more methods coming

the main two other methods that come  in chapter one are something called   integrating factors and uh another one that is  more guessing better guessing you might call it   better educated guessing in harder situations and then in chapter three especially in the  book we're going to be dealing with systems   of linear equations linear differential  equations not just algebra equations and we'll be solving those using matrices  and vectors that's where the linear algebra   comes into play in the biggest way in  the class something called eigenvalues   and eigenvectors are very prominent there in  chapter 3. that comes on exam three i think about six weeks from now so do we give give up after that point  in chapter one no what's the next topic

remember without looking sl oh yeah slope fields what are slope fields about slow fields  are a way to use technology essentially to   sketch solutions without finding formulas for them i mean you could do it without technology  but that would be a real big pain but the idea is you've got a  first order differential equation first order means there's just a first derivative   there are second order equations as we will  see fairly soon that involve second derivatives

actually with free fall if you write  the differential equation in terms of   the velocity that's a first order equation  but if you write it in terms of the height   that's actually a second-order equation so it's a  pretty simple second-order differential equation the right-hand side function in  general depends on both t and y if i give you a slope field you  should be able to sketch solutions what i have you sketch a slope field from  scratch probably not in the in-class portion too time-consuming maybe a couple of line segments  i wouldn't have you draw more than a couple but the idea is you've got a t y plane pretend this right hand side function here

by the way the right hand side functions are  they're not solutions right they just define   the differential equation that's all they  do and they define the slope field solutions are not the f's they're the fees you solve for  y as a function of t sometimes call it theot solutions have to follow the slope field at every  single point in the plane take a given point   what are its coordinates t y make a little  line segment centered at that point whose slope this says slope if it's not big  enough for you there is f of t y solutions have to follow the slope field  so if a solution passes through that point   this little line segment's got  to be tangent to the solution

say it like that i drew that concave  down i could have drawn the concave   up not saying anything about this  general situation it could be either and it's got to do that for all points  so the other points it passes through   if you look at their line segments from the  slope field they have to be tangent as well and that can help you sketch  solutions that's the purpose and if you can sketch solutions that means you   can you can describe the real life  behavior of whatever it's modeling in the long run at least without doing without finding formulas just looking at  graphs that's a useful thing sometimes oftentimes because oftentimes differential  equations are just too hard to solve explicitly

you have to rely on slope fields or euler's  method or something better than earlier's   method there are plenty of numerical  methods better than euler's method if the right hand side function just depends on t it's an f of t that is technically the simplest  kind of differential equation though we're more interested in situations where  the right hand side does depend on the y as well

you're looking for a function whose derivative  with respect to t is always f of t you're looking   for an anti-derivative of f of t in calculus  you always call it capital f here we can call it   phi or capital f and you know from calculus  that solutions integrals like this always have   plus c's when you integrate them and that means  solutions are vertical translations of each other   and for the slope field that means the  slope field is constant along vertical lines on any vertical line all the slope  marks are going to have the same slope different vertical lines they  might have a different slope   and there's a geometric reason all the solutions  are vertical translations of each other on the other hand for an autonomous equation  which we're really more interested in   where the right hand side depends just on  why this is called the autonomous equation

you know the generic meaning of the  word autonomous means independent here it's saying we're saying it's  autonomous because it's independent   of time it's not changing over time  is the reason for the terminology there the slope field marks our  constant long horizontal lines and solutions are going to be  horizontal translations of each other and you often have equilibrium solutions  maybe here and here equilibrium solutions   which are constant functions that  solve the differential equation that says equilibrium solutions  and you can't quite read it

for this kind of differential equation i call  it a pure anti-derivative problem you're just   looking for an antiderivative of little f and  solutions are vertical translations of each other the book doesn't give us a name pure  anti-derivative problem is my name   autonomous that's in the book solutions are horizontal  translations of each other like this we're more interested in thinking about  autonomous equations because they're   more interesting that's why do they come up in  more applications yeah at least in this class equilibrium solutions again are constant  functions to solve the differential equation

again in in both of these  pictures t is horizontal y   is vertical but another big theme is you  should be able to for autonomous equations   graph the right hand side function and use  that to draw the slope field roughly speaking and when you make such a graph  y becomes the horizontal axis and you could say d y d t is the vertical axis  p y d t equals f y and for a situation like this   maybe the graph looks like this in fact this is  the kind of thing you see for a logistic model logistic model is something you should know if you   look at last year's take-home exam  i put a logistic model problem on it it's a population model more  complicated than exponential growth this is not a solution of  the differential equation

all it is is a graph of the  right hand side function   which helps you draw the  slope field that's its purpose y is horizontal here and vertical there that's a   good idea to have it horizontal  here because you're graphing f   y it's a good idea to have y vertical here  because y is going to be a function of t you got to be able to go back  and forth between these pictures you're going to have equilibrium solutions  at the values of y where this right hand side   function is 0. like y equals 0 and say this is  y equals 5 there if that's y equals 5 there and   this is the slope field for this differential  equation this is going to be y equals 5 there where you have an equilibrium  solution where this function equals 0.

can i clarify anything there i know i'm going  kind of fast that i'm assuming you know you've   thought about this sound and you've worked on  some problems you've done the reading you've watched the lectures if this were there really f of y i'd also continue  the slope field when y is bigger than five or less   than zero you see the outputs here are negative  so the slope field must have negative slopes but again be constant along horizontal lines more solutions you drew them in here  would look like this and like this there's always still infinitely many solutions of the general differential equation  though if you have an initial condition   there's going to be just one typically except  there's that existence uniqueness section as well

okay that's qualitative stuff that's  slope field section 1.3 and i hint to   that existence in uniqueness  we also have euler's method we haven't done taken the time to  do euler's method example in class   but certainly simple examples  could show up on the test i also do want you to know the mathematica   method for implementing euler's method  using nest list that came up on homework a little weird but it it works  and it's probably the best way   to do it in mathematics so there's euler's method it's a numerical approximation method  approximating solutions of differential equations   it involves a difference equation  i'm not going to write it down

because we got to get some linear algebra  here too and we only have 15 minutes left existing uniqueness is some theory  that comes up in section 1.5 uniqueness and the most important things to realize is that if the right hand side function is nice um okay let's write the initial condition more  generically y of t zero equals y zero if this f of   t y is nice near the point with coordinates t 0 y  0 t 0 is usually 0. what does nice mean continuous

as an example of what it means for the  right-hand side function to be nice solutions will definitely exist a solution of  this initial value problem will definitely exist for example when you're using euler's method   you're not approximating something  that doesn't exist that's good to know with uniqueness seeking a unique  solution of the initial value problem   you do need an extra hypothesis not only should this function  be continuous near the point but its partial derivative with respect to  y should be continuous that comes up as well the derivative of f with respect  to y still a function of t n y is an assuming that's continuous  excuse me near the point

is one hypothesis that you  can make that will guarantee not only will the solution to that point  exist but it will also be unique no other   functions will solve it in the reading and in the  lecture there is at least one maybe two examples where uniqueness fails because this partial  derivative fails to be continuous near the point the most important consequence of  uniqueness when it applies when this   function and this function are continuous is  that distinct solutions can't touch each other that's the most important practical  consequence it is a useful consequence   because sometimes you might know certain  solutions but not other solutions

and if you know two solutions are  you know ones higher than the other   and you got an initial condition between them then  the unique solution of that initial value problem   has got to stay between them for all time because  the graphs can't touch and that's useful sometimes then there's the implicit solutions like we did  an example of here at the beginning of class that's not in our textbook but it's something  that i want you to learn about from the lectures i also talk about in kindred this in conjunction with slope  fields as well using mathematica to make contour   plots contour maps that help you draw  slope fields essentially you're drawing

curves in the plane where this function  is constant simplest example was is when   that's a linear function of t and y we did  an example of this in class about a week ago we drew some lines on the board and we drew  those were not it was in the slope field   but those lines were not the slope field of  the marks themselves they helped us draw the   slope field to figure out where the slope  was zero where it was one where it was two about a week ago that helps you draw the  slope in the case especially where the   right hand side depends on both t and y which  is not this case and it's also not that case this big broad overview of stuff okay  let's finish talking about linear algebra

linear algebra these subjects are not  really coming together at the moment they come together in a real big way in october what have we talked about in linear algebra visual linear algebra online and also the lectures   uh the starting focus initial focus was  fairly simple just coordinate systems including the basic idea of a skewed  coordinate coordinate system including skewed coordinates

and you've got an x y coordinate system describing  points in the plane but well your axes don't have   to be horizontal and vertical and they actually  don't have to be at 90 degree angles from   each other you could add a u-axis and a v-axis  like this and that defines slanted graph paper that could also be used to identify points in  the plane and make graphs and that kind of thing seems like a really weird idea like  why would you ever do such a thing   but we'll see is in chapter three it's actually  very useful to give yourself the flexibility to do   that because some problems are more easily solved  in skewed coordinates than in ordinary coordinates then we talked about vectors

certainly the basics of graphing them  and adding them and subtracting them   and multiplying them by scalars vector algebra and geometric interpretation related to that we also got into dot products both how to compute them if you've got the  components of the vector and the geometric meaning v dot w is the length of v times the length of  w times the cosine of the angle between them   to help you figure out the angle  between them if you need to related to that is also projection vectors in one of the lectures i emphasized application  of projection vectors to a physics problem

mass on an inclined plane your force is not  parallel to that plane it's in some other   direction to find the work done you got to figure  out the projection vector along the plane in well that's one way to do it or you can actually  just dot the force with the displacement vector and we've been talking about projection vectors  recently the formula the projection of v along   the line through w again is v dot w divided by  w dot w times w and realize this is a vector   this thing in parenthesis is a scalar but it's  times a vector so the whole thing is a vector

rejection vectors are really  useful not just for physics   another example of a situation where  projection vectors are useful as   statistics actually they actually  end up being useful in statistics um and then this generalizes as we  go through the course as well in class on wednesday you dealt with  projection vectors to try to figure out a   linear transformation that did a reflection if  you look at last year's take-home exam i gave   them a problem like that not guaranteeing  it'll be on your test but it could be what else comes up systems of linear equations if it's two equations and two unknowns that's  definitely the easiest kind of system to solve

real quick summary if one equation is  a constant multiple the other there's   going to be infinitely many solutions because  they're both going to represent the same line if they're not multiples of each  other then they're different lines   and there's just going to be a single  solution one point of intersection but then we do more recently starting to get  into higher dimensional systems for example   three equations and three unknowns and you should  make sure you can do row reduction to solve those well let you use your calculator possibly rref  reduced row echelon form on the calculator   but you should be able to do it by hand  if i ask you to the row reduction steps to reduce row echelon form it's  it's simplest in the 2x2 or 3x3 case

if that's not sounding familiar to you  you've got some studying to do there linear transformations come up as well section 1.4 it's in two-dimensional r2 to itself  examples included reflections rotations shears there are more complicated examples  too but those basic examples and   what you should be like reading  right now and or over the weekend is higher dimensional ones like from  three-dimensional space to itself with a focus on things called kernels

and images maybe you haven't  quite gotten to that subject yet what are kernels and images if you've got a linear  transformation t which is a function say from three-dimensional space to itself and it's a linear transformation the kernel of t is defined to be all the vectors all  the points if you prefer in the domain   that get mapped to the zero vector in  the codomain all the vectors column x in

the domain both the domain and codomain are  three-dimensional space in this example but   you think of the domain is going there with  the property that t of x equals the zero vector   where that's the zero vector in the codomain  which also happens to be three-dimensional space all the vectors that get mapped to the zero vector that ends up being equivalent to the solution  set of what's called a homogeneous system of   linear equations where the right  hand side numbers are all zero and it's fundamental to understanding  solutions in situations where the right   hand sides are not all zero it turns out so  very important concept there and the image of t is the set of all outputs of the function you   could call this the range of t  as well i prefer the word image

what are all the outputs of this function all the outputs t of x where that x  you think of as being in the domain as x ranges yeah over the domain t of x itself the output is in the co  domain both the domain and codomain   happen to be three-dimensional space  in this example that i'm imagining here what are all the outputs last thing to mention related to this  is the idea of a one-to-one function and an onto function which technically speaking are ideas you  should have learned about back in high school maybe you forgot one-to-one functions

distinct inputs get mapped to distinct outputs  that's not the same as what a function is excuse me yeah for a function every  input gets mapped to one output   for a one-to-one function every output  had has one input that gets mapped to it so distinct inputs get mapped to distinct  outputs not the same x squared is not a   one to one function two squared equals four  but negative two squared also equals four linear transformations are going to be one to   one if and only if their kernels  are trivial just the zero vector the only thing that gets mapped to zero is zero  onto means the image is the entire codomain

every element of the codomain is a possible output  of the function so yeah i know i went very quick   over a lot of ideas that  are pretty subtle sometimes okay keep working have a good weekend

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent