1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Differential Equations

Study methods

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

Introduction to Differential Equations

Transcript

Vipul: In this talk we're going to introduce differential equations. We're not trying to going to figure out how to solve them, but we'll understand what they mean: what it means to be a differential equation, what it means to be a solution to a differential equation. Differential equations are usually written as saying there is some kind of expression in terms of an independent variable, a dependent variable, [here] x is the independent variable and y is the dependent variable and the derivatives of that dependent variable. Here x, y, y' [pronounced "y prime" and shorthand for dy/dx], y'' [shorthand for d^2y/dx^2], and there is some kind of relation between them, which means that some capital f of these which just means that there's some expression involving these which is 0. What does it mean to solve such a differential equation, to find a solution? It's a function. It's a function f such that when you put y as f(x)

and you put all these things, y' as f'(x), y'' as f''(x), and so on and when you plug them into the expression you get zero for all x in the domain of the function. It's like saying you find the function such that this equation is true as an identity in x. It is true for all x and a relational solution is something similar. We'll talk about relational solutions a bit later, but let me just give you a quick example of a differential equation. Here's one differential equation: y'+ y= x+2.

Now if I wanted to write it in this form [points at F(x,y,...) = 0] I will just bring everything to one side. I will do that here. That's the way I wrote it here, but often people write it with some stuff on the left, some stuff on the right. Any problem? Rui: No. Vipul: Okay, good. That's good. I could write like this then capital F is what? Capital F is just this whole expression. Now, what's the solution to this differential equation?

Well, I'm claiming that f(x) = x+1, solves this differential equation, which means I'm claiming that when I put y = x+1 and y' as the derivative [of (x + 1)] then this is true regardless of the value of x. Is that true? [CONFIRM!] Rui: Yeah. Vipul: Right, when I put y as x+1, I get 1+x+1-(x+2)=0 is true for all x. So y=x+1 is a functional solution. Okay good. Now, I'm not saying it's the only solution -- you could have may be other solutions, we don't know anything about that yet.

Now, there is also a concept of relational solution, here you don't write y as a function of x, you write a relation between x and y, which satisfies the differential equations. What does that mean? What does it mean to be a relational solution? Rui: It means may be y cannot be written explicitly ... Vipul: Yeah, but how would you check if I give you a relation, how would you make sense of checking this, what would you do? How do you calculate y' and y'' and so on?

Rui: You differentiate it implicitly. Vipul: You do implicit differentiation. That's a technique for differentiation when y is not explicitly a function of x, try to differentiate and you move stuff around to do the differentiation. You do that to find these derivatives. Once you found all of them then plug in and you check and you should get 0 identically for all x, for all the x and y which satisfy the relation. The next thing is a slightly trickier thing. It's called initial value problem. An initial value problem is, it's a situation where it's sort of like saying you're given the differential equation, but a single differential equation could have lots of solutions and initial value problems gives additional information about what solution you want. How does it do that? It actually gives you a point x_0, y_0, y_1, y_{k-1} these are all actual numbers and you now want to find the solution to the differential equation, which satisfies the additional condition that f(x_0) is y_0.

The first derivative of x_0 [i.e., f'(x_0)] should be the number y_1, the second derivative of x_0 should be the number y_2 and you go on until y_k-1. If the differential equation has order k that means it goes up to the kth derivative the initial value problem you typically specify only up to the (k-1)th derivative. In some sense, the reason is that because you have this relation anyway once you specify that up to the (k-1)th derivative the kth derivative would also get specified because of the relation, that's our intuition. What this means is you actually have numbers here and you want to find the function, functional solution, or relation solution where actually if you plug in the number x_0 you get the number y_0 for the function value with y_1 for the first derivative and so on. Ignore this [pointing at another differential equation written below] for now.

Just going up here, what kind of, what initial value problem would have this as the solution? This is a differential equation; can you give an initial value condition such that this is a solution to that initial value condition? [ANSWER! (non-unique)] Rui: 1, 2. Vipul: 1, 2, right. When x=1, y=2, x=1 and y=2, we'll just write it explicitly then this is a functional solution which satisfies this condition right? If I give you this differential equation and gave

you x=1 and y=2, then this would be solution to the initial value problem and because you are going only up to the first derivative here for the differential equation you actually need to only specify up to y_0. Actually, this is a complete initial value problem. Because you have to go up to one less than the number of derivatives you have here. [end section] Vipul: Now, a couple of additional remarks, now. The differential equations are not -- this you have to be very

careful -- the differential equation you're not trying to solve for x or solve for y. They're not equations that you're solving for the variables. The differential equation -- remember -- is true for all values of x, right? The solution, right? You're not solving for x. What are solving for? You're solving for the relationship between the variables, i.e., the functional relationship. They're actually equations which you're solving for *functions*. Equations where you're trying to solve for a

function are called functional equations. An example of a functional equation which is not a differential equation, just to illustrate, is like f of [writes] So this is actually a different set up. These x and y have nothing to do with those x and y, just saying find the function f so that this is true for all x,y in the domain. This is a functional equation. It's nothing to do with differential equations per se. I'm just showing you how functional equations could look like.

We're trying to solve this for what? [ANSWER!] Rui: For x and y. Vipul: No. We're trying to solve this for f. We have a relation here and we need to find the functions f so that this is true for all x and y. Rui: Okay. But if you don't tell me about it I don't know why you're solving for. You might just well be solving for ... Vipul: I couldn't be solving with x and y because I already said for all x, y. Right? I'm saying find the function f so that this relation is true for all x and y.

Rui: Okay. Vipul: Okay. For example, what's the solution to this where f(x)=5x as the solution. This is an example of a functional equation and differential equations are also examples of functional equations, that's what I'm trying to say. They're not functional equations of this type, but they are different types of function equations because when you're given a differential equation you're not trying to solve for x and y. You're trying to really solve for the function relating x and y.

If you look at this, right? This is an equation. You're not trying to solve the equation for x. You're trying to solve the equation for the function f. Differential equations are functional equations, but not all functional equations are differential equations. In fact, differential equations have a very peculiar type of behavior. They capture behavior only at a single point. Notice that when I write the differential equation in this form, all the function evaluations and all the derivative evaluations are happening only at that same point x. Right? Rui: Yeah. Vipul: Okay. That's a peculiar behavior of differential equations. If I gave you let's say this functional equation. It doesn't matter what I write down, but just for consistency [I'll follow my notes] so f(x)+(f'(x))^3. Okay, this is a differential equation, right? Because you're doing, here we have a relation between x, f(x), and f prime (x).

I haven't written it in the xy notation I've written it in f(x) notation, but it's still the same, right? This is a differential equation. Vipul: Now suppose I give you x^2= f(x)+ f prime (1-x). Is this a differential equation? [ANSWER!] Rui: Yes. Vipul: No. Or [rather] not differential equation as in the way I've defined it, why? Rui: It is a differential equation if you substitute 1-x. Vipul: But now you have more than one independent variable, right? You do want to keep that this is 1-x.

This is not a differential equation the way I have said it because it's really, you're evaluating the function at two different points. Right? You have 1-x and you have x. It's really relating the behavior of the function at two far away points okay? And the way I'm trying to define differential equation is that that's not allowed. You can only relate the behavior of the derivatives all at a single point. Rui: Okay. Vipul: Actually there are generalizations of differential equations, which include these. It is not these are never studied. There is something called delayed differential equations, which do this type of thing, but the point I'm trying to make is that the techniques we develop for differential equations will not apply directly to these. Okay, because here you're doing the function evaluation at different points. [CONFIRM!] Rui: Okay. Vipul: The function and the derivative evaluations. Differential equations are functional equations where all the

evaluations are happening at a single point, function and its derivatives. Finally, I want to say it does not make sense to ask if a point satisfies a differential equation. Let's come back here, some other example. Let's say I give you a differential equation x^2=y+y'. Then I ask you does the point x=2 and y=3, does it satisfy this differential equation. What's your answer? Rui: No. Vipul: Well, I'm ... Rui: Oh are you just asking me whether it satisfied, yes, because they are both zero.

Vipul: They're both zero? Rui: Oh, they're not zero. 2 +0, 3 + 0. Vipul: No I am saying, is this point? Rui: No. Vipul: Okay. It actually doesn't make sense to ask a question whether the point satisfies the differential equation right? What I really should be specifying is what's the relation between y and x. Okay, that's what I was saying, this doesn't make sense. Question doesn't make sense. That's why you're confused because I asked a nonsense question. I should really be asking, here, I should really be specifying a functional relationship between x and y. I should really be saying y is this function of x and does that satisfy the differential equation that would be a legitimate question. [CONFIRM!] Rui: Okay. Vipul: Just giving a point and saying does it satisfy the equation doesn't make sense. That's what I was saying. Differential equations are functional equations. A solution to that is a function. It's not a point. Okay good.

We covered all these three things. Right. Rui: Yeah. [end section] Vipul: Now order of a differential equation is just the largest k which appears in the [differential equation] so that's the largest order of derivative appearing in the highest order of derivative in the differential equation. The degree of a differential equation -- if the differential equation is polynomial in the highest order derivative -- then its degree is just the degree of the polynomial.

Let's now start writing down some examples and see. Let's do fancy examples. Here's one: y +xy''' +(y'')^2=sin (y'). You don't have to solve this. Differential equations are not usually meant to be solved. They're meant to be appreciated. [background laughter] Let's appreciate it. What is the order of this differential equation? [ANSWER!] Rui: 3. Vipul: Because that's the largest order derivative. Order is 3. Okay, now degree of a differential equation is,

think about it just in terms of its highest order derivative. If it's a polynomial in the highest order derivative that is just think of the rest of things like constants. It's a polynomial in the highest order derivative then the degree of that polynomial is defined as the degree of the differential equation. What's the degree? [ANSWER!] Rui: 1. Vipul: Let's take another example ... if any of you were watching find these equations please don't try to solve them.

I'm not writing equations that can be solved. May be by chance you can solve one of them, but that's unlikely. Here's another example. What's the order of this differential equation? [ANSWER!] Rui: 3. Vipul: And the degree? [ANSWER!] Rui: 2. Vipul: 2 because that's the exponent on the ... Rui: Highest order. Vipul: Highest order term. We don't care that y' that is with the power. Okay, the reason why this is important because we'll often restrict our attention to degree 1 differential equations.

Degree 1 differential equation basically means that the highest order derivative just sort of, it's sort of you can solve for that in terms of the other. Right? It's a linear thing in that. You can actually solve for the highest order derivative in terms of the others. And degree 1 differential equations are reasonably nice, even if they're very high order, I mean they're nicer than not degree one. The next concept is ... [self intrerupt] I'll write it here, the highest, it's the

degree of as a polynomial in the highest order and if it's not a polynomial in the highest order derivative then it does not make sense to ask for the degree. Autonomous differential equation, this is an important concept. What does autonomous mean? You know? What does it mean, autonomous differential equation? Rui: It means ... Vipul: If you don't know say you don't know. Rui: It means you just express y' in terms of x. Vipul: No. Rui: Oh! Okay, I remember it. What autonomous is.

Vipul: What is it? Rui: It means x doesn't show. Vipul: Yes, the independent variable, that was a very inspired guess, have you seen this before. Rui: Yes. Vipul: The independent variable doesn't appear at all explicitly. This F here [points at beginning line of video F(x,y,y',...) = 0], so that x does not appear in the description. Do you happen to why that's significant? Rui: Yes. Vipul: Can you give a one-line explanation? Rui: Because ... Vipul: Typically autonomous differential equations

are written as equations where the dependent variable is you denoted x, the independent variable is denoted p. They are equations where you're doing something with respect to time and the autonomous condition just says that if you translate time it does not matter. Rui: The value doesn't change. Vipul: The equation itself is invariant than the time transition. That's a topic for another day. If you're seeing this in review, it may make sense, but otherwise ignore what I said. Here's an example of an autonomous differential equation. Cosine of yy'y''', don't be tempted to solve this again. This is just an example where the x doesn't appear. That's an autonomous equation and then we have linear differential equation. This means that the differential equation is linear in terms of y and all its derivatives. It need not be linear in x. F, the expression, is linear in y, y',..., but it need not be linear in x.

What's an example of a linear differential equation where ... there I have one. So e^x y''' + x^2 y'' + sin (x) y' + 3y= x^2-2x+5. Okay, so it's some constant times y'''. Well constant as in some function of x times y''' plus some function of x times y'' plus some function of x times y' plus some function of x times y is some function of x. That's what a linear equation is. Linear here, it includes coefficients could be functions of x. Now, there's another version of linear which says linear

with constant coefficients where the coefficients all have to be actually constants. There could still be a function of x on the other side and there's some complications there. This is a general definition of linear differential equation. So far so good. [end section!] Vipul: I'll just state a couple more terms. Particular solution is just a single solution, either functional or relational. Solution family is a family of solutions with one or more parameters. You actually have parameters.

If you fix certain values of the parameters you get actual particular solutions. A quick example of that. I cannot explain right now why you have this concept; that's the next video. And the general solution is like a solution family that covers all solutions. When I say all, I don't really mean all, it could miss a few really terrible solutions, but ... I mean many will use the word general solution for something even if it misses one or two bad solutions.

You can just think of it as something which covers all solutions. Let's write down a solution family. Let's say you have y^2+(y')^2=1. Now, if I just asked you for a particular solution you could have said y is sin x, is a particular solution, right? But now I ask you for a solution family. Well, you say, or rather I say, "take this!" [points at y = sin(x + C)] Now what this is really saying is that if you fix any single value of

C then once you fix the value of C then that gives you a solution to the differential equation and different values of C will therefore give you different solutions, so this is a solution family. Okay, let's just check if it's a solution family. If y=sin(x + C), what is y'? Rui: cos(x+C). Vipul: cos(x+C). When you plug in it will satisfy this? [CONFIRM!] Rui: Yes. Vipul: This is a solution. Right? Regardless of the value of C, you get a solution.

You get actually, you get infinitely many different solutions. It's a solution family and how many parameters does it have? One. One parameter. Good. Now, general solution would be a solution family that covers all solutions. Now for instance in this case you may be wondering -- are there any more solutions or does this actually give you all the functional solutions. Right? That's the kind of question we cannot answer yet, but the point of

general solution is it should be a solution family that covers all solutions, sometimes it may miss a couple really weird ones, singular ones, but typically you want to include all, right? That's the notion of differential equation. We now understand what a differential equation is and what a solution is, means, and various terms associated with the solution. We don't yet know how to what? Rui: Solve differential equations. Vipul: Let's not spoil the suspense now. We'll do that next time.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent