< Return to Video

Introduction to differential equations

  • 0:01 - 0:04
    Welcome to this first video, and
    actually the first video
  • 0:04 - 0:07
    in the playlist on differential
    equations.
  • 0:07 - 0:10
    I know I touched on this before
    when we did harmonic
  • 0:10 - 0:11
    motion, and I think I
    might have touched
  • 0:11 - 0:12
    on it in other subjects.
  • 0:12 - 0:16
    But now, because of your
    request, we'll do a whole
  • 0:16 - 0:17
    playlist on this.
  • 0:17 - 0:20
    And that's a fairly useful
    thing, because differential
  • 0:20 - 0:27
    equations is something that
    shows up in a whole set of
  • 0:27 - 0:28
    different fields.
  • 0:28 - 0:30
    I've been requested by someone
    who's starting an economics
  • 0:30 - 0:33
    PhD program to do this; I've
    been requested by some people
  • 0:33 - 0:36
    who are going into physics, some
    people who are going into
  • 0:36 - 0:36
    engineering.
  • 0:36 - 0:40
    So it's a widely applicable
    area of study.
  • 0:40 - 0:43
    So let's just get started,
    before I keep going off on
  • 0:43 - 0:44
    useless stuff.
  • 0:44 - 0:45
    So the differential equations.
  • 0:45 - 0:48
    So the first question is: what
    is a differential equation?
  • 0:48 - 0:50
    You know what an equation is.
  • 0:50 - 0:52
    What is a differential
    equation?
  • 0:52 - 0:56
    Well, a differential equation
    is an equation that involves
  • 0:56 - 0:58
    an unknown function and
    its derivatives.
  • 0:58 - 0:59
    So what do I mean by that?
  • 0:59 - 1:10
    Well, let's say that I said that
    y prime plus y is equal
  • 1:10 - 1:13
    to x plus 3.
  • 1:13 - 1:15
    Here, the unknown
    function is y.
  • 1:15 - 1:18
    We could have written it as y of
    x, or we could have written
  • 1:18 - 1:25
    this as dy dx, the derivative
    of y with respect to x plus
  • 1:25 - 1:29
    this unknown function y
    is equal to x plus 3.
  • 1:29 - 1:35
    We also could have written f
    prime of x plus f of x is
  • 1:35 - 1:37
    equal to x plus 3.
  • 1:37 - 1:40
    All of these would have been
    valid ways of writing this
  • 1:40 - 1:42
    exact same differential
    equation.
  • 1:42 - 1:46
    And what's interesting here,
    and how this is a departure
  • 1:46 - 1:49
    from what we've learned before
    about just regular equations
  • 1:49 - 1:51
    is that-- let me write down
    a regular equation just to
  • 1:51 - 1:52
    remind you what they
    look like.
  • 1:52 - 1:55
    So a regular equation, if we had
    one variable, would look
  • 1:55 - 1:56
    something like this.
  • 1:56 - 2:02
    I don't know, x squared plus
    the cosine of x is equal to
  • 2:02 - 2:04
    the square root of x.
  • 2:04 - 2:05
    I just made that up.
  • 2:05 - 2:08
    Here, the solution is a number,
    or sometimes it's a
  • 2:08 - 2:09
    set of numbers.
  • 2:09 - 2:10
    Sometimes there's more
    than one, right?
  • 2:10 - 2:12
    If you have a polynomial, you
    could have more than one
  • 2:12 - 2:15
    values of x that satisfy
    this equation.
  • 2:15 - 2:18
    Here, for a differential
    equation, the
  • 2:18 - 2:20
    solution is a function.
  • 2:20 - 2:25
    Our goal is to figure out what
    function of x, and here I
  • 2:25 - 2:28
    wrote f of x explicitly, but
    what function of x explicitly
  • 2:28 - 2:33
    satisfies this relationship
    or this equation.
  • 2:33 - 2:35
    So let me show you what
    I mean by that.
  • 2:35 - 2:38
    And I have my differential
    equations book from college,
  • 2:38 - 2:41
    so I'm going to use
    that as we go.
  • 2:41 - 2:44
    So let's say that-- I'm
    just writing now.
  • 2:44 - 2:48
    See, they have this as a
    differential equation.
  • 2:48 - 2:51
    And I'm not going to show you
    necessarily how to solve them
  • 2:51 - 2:54
    just yet, because we have to
    learn some tricks first. But I
  • 2:54 - 2:57
    think a good place to start is
    just so you understand what a
  • 2:57 - 3:00
    differential equation is, so
    you don't get confused with
  • 3:00 - 3:01
    the traditional equation.
  • 3:01 - 3:04
    So, they have this differential
    [? derivative. ?]
  • 3:04 - 3:06
    y prime prime.
  • 3:06 - 3:10
    So the second derivative of y
    with respect to x, plus 2
  • 3:10 - 3:16
    times the first derivative of y
    with respect to x, minus 3 y
  • 3:16 - 3:18
    is equal to 0.
  • 3:18 - 3:21
    And they give us the solutions
    here, and what they want us to
  • 3:21 - 3:22
    do is show that these
    are solutions.
  • 3:22 - 3:24
    And I think this is a good
    place to just at least
  • 3:24 - 3:27
    understand what a differential
    equation is, and what its
  • 3:27 - 3:28
    solution means.
  • 3:28 - 3:34
    So they say y1 of x is equal
    to e to the minus 3x.
  • 3:34 - 3:36
    So they claim that this
    is a solution of this
  • 3:36 - 3:37
    differential equation.
  • 3:37 - 3:39
    So let me show to you
    that this is.
  • 3:39 - 3:45
    Well, if this is soon. y1,
    what's y-- well, let
  • 3:45 - 3:46
    me just write y1.
  • 3:46 - 3:47
    What's y1 prime?
  • 3:47 - 3:49
    What's the derivative of this?
  • 3:49 - 3:51
    Well, just do the chain rule.
  • 3:51 - 3:55
    The derivative of the whole
    function, with respect to this
  • 3:55 - 3:58
    part of it, is just
    e to the minus 3x.
  • 3:58 - 4:00
    And then you take the derivative
    of the inside.
  • 4:00 - 4:02
    So that's just the derivative
    of the outside, e
  • 4:02 - 4:03
    to the minus 3x.
  • 4:03 - 4:08
    And the derivative of the
    inside is minus 3.
  • 4:08 - 4:13
    And the second derivative of
    y1 is equal to-- we'll just
  • 4:13 - 4:15
    take the derivative of this, and
    that's just equal to plus
  • 4:15 - 4:19
    9-- minus 3 times minus
    3-- e to the minus 3x.
  • 4:19 - 4:24
    Now, let's verify that if
    we substitute y1 and its
  • 4:24 - 4:28
    derivatives back into this
    differential equation, that it
  • 4:28 - 4:29
    holds true.
  • 4:29 - 4:31
    So y prime prime, that's this.
  • 4:31 - 4:39
    So we get nine e to the minus
    3x, plus 2y prime.
  • 4:39 - 4:41
    Plus 2 times y prime.
  • 4:41 - 4:43
    Well, this is y prime.
  • 4:43 - 4:50
    So 2 times minus 3 e to the
    minus 3x plus-- oh sorry,
  • 4:50 - 4:52
    minus-- 3 times y.
  • 4:52 - 4:53
    Well, y is this.
  • 4:53 - 4:58
    So minus 3 times e
    to the minus 3x.
  • 4:58 - 5:00
    Well, what does that equal?
  • 5:00 - 5:09
    We get 9 e to the minus 3x,
    minus 6 e to the minus 3x,
  • 5:09 - 5:12
    minus 3 e to the minus 3x.
  • 5:12 - 5:13
    Well, what does that equal?
  • 5:13 - 5:15
    We have 9 of something
    minus 6 of
  • 5:15 - 5:16
    something minus 3 of something.
  • 5:16 - 5:17
    So that just equals 0.
  • 5:17 - 5:20
    It doesn't matter
    of 0 whatever.
  • 5:20 - 5:21
    So that equals 0.
  • 5:21 - 5:27
    So we verified that for this
    function, for y1 is equal to e
  • 5:27 - 5:31
    to the minus 3x, it satisfies
    this differential equation.
  • 5:31 - 5:33
    Now there's something
    interesting here, and you've
  • 5:33 - 5:35
    kind of touched on this with
    regular equations, is that
  • 5:35 - 5:38
    this might not be the
    only solution.
  • 5:38 - 5:43
    In fact we'll learn, in maybe a
    video or two, that often the
  • 5:43 - 5:44
    solution is not just
    a function.
  • 5:44 - 5:46
    It could be a class of functions
    where usually
  • 5:46 - 5:50
    they're all kind of the same
    function, but you have a
  • 5:50 - 5:51
    difference of constants.
  • 5:51 - 5:52
    But I'll show you that
    in a second.
  • 5:52 - 5:54
    But here, they actually show
    us that there's another
  • 5:54 - 5:58
    solution, that this will
    actually work with, we could
  • 5:58 - 6:04
    try the equation y2 of x
    is equal to, well, just
  • 6:04 - 6:06
    simple e to the x.
  • 6:06 - 6:08
    And we could verify
    that, right?
  • 6:08 - 6:10
    What's the first and second
    derivatives of e to the x?
  • 6:10 - 6:11
    Well, they're just e to the x.
  • 6:11 - 6:16
    So the second derivative of y2
    is just e to the x plus 2
  • 6:16 - 6:23
    times the first derivative
    is what?
  • 6:23 - 6:25
    Well the first derivative of e
    to the x is still e to the x,
  • 6:25 - 6:28
    2 e to the x, minus 3
    times a function.
  • 6:28 - 6:30
    Minus 3e to the x.
  • 6:30 - 6:34
    Well, 1 plus 2 minus 3, well
    that equals 0 again.
  • 6:34 - 6:42
    So this was also a solution to
    this differential equation.
  • 6:42 - 6:45
    Now before we go on, in the next
    one I'll show you some
  • 6:45 - 6:46
    fairly straightforward
    differential
  • 6:46 - 6:49
    equations to solve.
  • 6:49 - 6:51
    I think it's a good time now,
    now that you hopefully have a
  • 6:51 - 6:55
    grasp of what a differential
    equation is, and what its
  • 6:55 - 6:55
    solution is.
  • 6:55 - 6:58
    And its solution isn't a number,
    its solution is a
  • 6:58 - 7:00
    function, or a set
    of functions,
  • 7:00 - 7:01
    or a class of functions.
  • 7:01 - 7:03
    It's a good time to just
    go over a little bit of
  • 7:03 - 7:04
    terminology.
  • 7:04 - 7:07
    So there's two big
    classifications.
  • 7:07 - 7:10
    Well actually, there's a first
    big one, ordinary and partial
  • 7:10 - 7:11
    differential equations.
  • 7:11 - 7:13
    I think you might have already
    guessed what that means.
  • 7:13 - 7:15
    An ordinary differential
    equation is what I wrote down.
  • 7:15 - 7:20
    It's one variable with respect
    to another variable, or one
  • 7:20 - 7:22
    function with respect you to,
    say, x and its derivatives.
  • 7:22 - 7:24
    Partial differential equations
    we'll get into later.
  • 7:24 - 7:25
    That's more complicated.
  • 7:25 - 7:28
    That's when a function
    can be a function of
  • 7:28 - 7:29
    more than one variable.
  • 7:29 - 7:31
    And you can have the derivative
    with respect to x,
  • 7:31 - 7:32
    and y, and z.
  • 7:32 - 7:34
    We won't worry about
    that right now.
  • 7:34 - 7:37
    If your functions and their
    derivatives are a function of
  • 7:37 - 7:39
    only one variable, then we're
    dealing with an ordinary
  • 7:39 - 7:39
    differential equation.
  • 7:39 - 7:45
    That's what this playlist
    will deal with, ordinary
  • 7:45 - 7:50
    differential equations.
  • 7:50 - 7:54
    Now within ordinary differential
    equations,
  • 7:54 - 7:56
    there's two ways of
    classifying, and
  • 7:56 - 7:57
    they kind of overlap.
  • 7:57 - 8:00
    You have your order, so what
    is the order of my
  • 8:00 - 8:01
    differential equation?
  • 8:01 - 8:06
    And then you have this notion
    of whether it is linear or
  • 8:06 - 8:08
    non-linear.
  • 8:08 - 8:11
    And I think the best way to
    figure this out is just to
  • 8:11 - 8:12
    write down examples.
  • 8:12 - 8:16
    So let me write down one.
  • 8:16 - 8:18
    And I'm getting this
    from my college
  • 8:18 - 8:20
    differential equations book.
  • 8:20 - 8:26
    x squared times the second
    derivative of y with respect
  • 8:26 - 8:33
    to x, plus x times the first
    derivative of y with respect
  • 8:33 - 8:41
    to x, plus 2y is equal
    to sine of x.
  • 8:41 - 8:43
    So the first question here
    is: what is the order?
  • 8:43 - 8:47
    All the order is is the highest
    derivative that exists
  • 8:47 - 8:49
    in your equation.
  • 8:49 - 8:50
    The highest derivative
    of the function
  • 8:50 - 8:51
    under question, right?
  • 8:51 - 8:56
    The solution of this is going to
    be a y of x, that satisfies
  • 8:56 - 8:57
    this equation.
  • 8:57 - 9:00
    And the order is the highest
    derivative of that function.
  • 9:00 - 9:04
    Well, the highest derivative
    here is the second derivative.
  • 9:04 - 9:06
    So this has order 2.
  • 9:09 - 9:12
    Or as you could call this,
    a second order ordinary
  • 9:12 - 9:13
    differential equation.
  • 9:13 - 9:16
    Now the second thing we have to
    figure out: is this linear
  • 9:16 - 9:19
    or is this a non-linear
    differential equation?
  • 9:19 - 9:24
    So a differential equation is
    linear if all of the functions
  • 9:24 - 9:28
    and its derivatives are
    essentially, well for lack of
  • 9:28 - 9:29
    a better word, linear.
  • 9:29 - 9:30
    What do I mean by that?
  • 9:30 - 9:33
    I mean you don't have a y
    squared, or you don't have a
  • 9:33 - 9:37
    dy over dx squared, or you
    don't have a y times the
  • 9:37 - 9:38
    second derivative of y.
  • 9:38 - 9:43
    So this example I just wrote
    here, this is a second order
  • 9:43 - 9:47
    linear equation, because you
    have the second derivative,
  • 9:47 - 9:50
    the first derivative, and y, but
    they're not multiplied by
  • 9:50 - 9:51
    the function or the
    derivatives.
  • 9:51 - 10:00
    Now if this equation were-- if
    I rewrote it as x squared d,
  • 10:00 - 10:06
    the second derivative of y with
    respect to x squared, is
  • 10:06 - 10:11
    equal to sine of x, and let's
    say I were to square this.
  • 10:11 - 10:14
    Now, all of the sudden,
    I have a non-linear
  • 10:14 - 10:15
    differential equation.
  • 10:15 - 10:16
    This is non-linear.
  • 10:16 - 10:17
    This is linear.
  • 10:17 - 10:21
    Because I squared, I multiplied
    the second
  • 10:21 - 10:25
    derivative of y with respect--
    I multiplied it times itself.
  • 10:25 - 10:28
    Another example of a non-linear
    equation is if I
  • 10:28 - 10:35
    wrote y times the second
    derivative of y with respect
  • 10:35 - 10:38
    to x is equal to sine of x.
  • 10:38 - 10:42
    This is also non-linear, because
    I multiplied the
  • 10:42 - 10:44
    function times its second
    derivative.
  • 10:44 - 10:46
    Notice here, I did multiply
    stuff times the second
  • 10:46 - 10:49
    derivative, but it was the
    independent variable x that I
  • 10:49 - 10:50
    multiplied.
  • 10:50 - 10:53
    But anyway, I've run out of
    time, and hopefully that gives
  • 10:53 - 10:55
    you a good at least
    survey of what a
  • 10:55 - 10:56
    differential equation is.
  • 10:56 - 11:00
    In the next video, we'll start
    actually solving them.
  • 11:00 - 11:01
    See you soon
Title:
Introduction to differential equations
Description:

What a differential equation is and some terminology.

more » « less
Video Language:
English
Duration:
11:02

English subtitles

Revisions