< Return to Video

Integral of product of cosines

  • 0:00 - 0:02
    - [Voiceover] We've been
    doing several videos now
  • 0:02 - 0:06
    to establish a bunch of
    truths of definite integrals
  • 0:06 - 0:10
    of various combinations
    of trigonometric functions
  • 0:10 - 0:13
    so that we will have a really
    strong mathematical basis
  • 0:13 - 0:15
    for actually finding
    the fourier coefficients
  • 0:15 - 0:17
    and I think we only have
    one more video to go.
  • 0:17 - 0:20
    In the last video, we said hey,
    if you take any combinations
  • 0:20 - 0:24
    of signs where M and N
    are integers that either
  • 0:24 - 0:26
    don't equal each other or don't equal
  • 0:26 - 0:27
    the negative each other,
    then you're gonna get that,
  • 0:27 - 0:29
    integrals gonna be equal to zero
  • 0:29 - 0:30
    and then if they did equal to each other,
  • 0:30 - 0:33
    well it's just gonna be the
    same thing as sine squared
  • 0:33 - 0:36
    of some multiple of T
    and then that actually
  • 0:36 - 0:38
    over the interval from zero to two pi
  • 0:38 - 0:40
    is going to be equal to pi.
  • 0:40 - 0:43
    Just to be clear, I wasn't
    as clear as I should've been
  • 0:43 - 0:45
    in the last video, this
    is going to be true
  • 0:45 - 0:48
    where M is a non zero integer.
  • 0:48 - 0:51
    If M was zero, then the
    inside of this integral
  • 0:51 - 0:53
    would just simplify the zero
  • 0:53 - 0:54
    and then the integral would be zero.
  • 0:54 - 0:56
    So M has to be
  • 0:56 - 0:58
    a non-zero integer
  • 0:59 - 1:02
    for this right over here to be true.
  • 1:02 - 1:03
    Now what we want to do in this video
  • 1:03 - 1:06
    is do the same thing we
    did in the last video
  • 1:06 - 1:10
    but now do it for cosines but
    the product of two cosines
  • 1:10 - 1:13
    where M and N are different integers
  • 1:13 - 1:15
    or they're not the negative of each other,
  • 1:15 - 1:18
    that's going to be zero, but
    they are the same integer
  • 1:18 - 1:21
    and they are not zero
    so that will boil down
  • 1:21 - 1:25
    to cosine square of MT then
    that is going to be equaled,
  • 1:25 - 1:28
    this definite integral, is
    going to be equal to pi.
  • 1:28 - 1:29
    We're gonna do it the same way that
  • 1:29 - 1:32
    we did it with the signs
    we are going to use
  • 1:32 - 1:33
    some of our trigonometric,
  • 1:33 - 1:36
    some of our trigonometric identities
  • 1:36 - 1:39
    and so let's rewrite, let's
    rewrite this right over here.
  • 1:39 - 1:42
    What we're trying to take the integral of
  • 1:42 - 1:46
    and so this is going to be the
    integral from zero to two pi
  • 1:48 - 1:50
    so cosine MT times cosine NT
  • 1:51 - 1:54
    using a product to sum trig identity.
  • 1:54 - 1:55
    Now if this is unfamiliar,
  • 1:55 - 1:57
    you can review it on Khan Academy,
  • 1:57 - 2:00
    that is going to be one half
  • 2:00 - 2:04
    times cosine of the
    difference of MT minus NT
  • 2:06 - 2:08
    so I can write that as M minus MT,
  • 2:08 - 2:09
    M minus NT
  • 2:12 - 2:13
    plus cosine
  • 2:15 - 2:19
    plus cosine of MT plus
    NT, which I can write as
  • 2:19 - 2:20
    M plus NT
  • 2:22 - 2:23
    DT
  • 2:24 - 2:25
    D
  • 2:25 - 2:27
    DT
  • 2:27 - 2:29
    So let's think about two situations.
  • 2:29 - 2:31
    Let's think about the first situation.
  • 2:31 - 2:34
    When, let me redo that DT in blue.
  • 2:34 - 2:35
    So DT.
  • 2:36 - 2:40
    So when, actually let me now
    use some integration properties
  • 2:40 - 2:42
    to expand this out a little bit.
  • 2:42 - 2:44
    This is going to be equal to,
  • 2:44 - 2:46
    so I'm a write this as
    two different integrals.
  • 2:46 - 2:49
    So one integral from zero to two pi
  • 2:49 - 2:51
    and we'll put the DT right over here
  • 2:51 - 2:55
    and then have another
    integral from zero to two pi
  • 2:55 - 2:58
    then I'm a throw that DT out here
  • 2:58 - 3:01
    and so, just using some
    integration properties,
  • 3:01 - 3:03
    we're gonna do one half
    times this integral
  • 3:03 - 3:04
    of cosine of
  • 3:06 - 3:07
    M minus NT DT
  • 3:09 - 3:12
    and then plus, I'm just
    distributing the one half
  • 3:12 - 3:14
    and using some integration
    properties, one half,
  • 3:14 - 3:16
    and now this integral
    is going to be cosine
  • 3:16 - 3:17
    of M plus N.
  • 3:18 - 3:19
    M plus NT
  • 3:21 - 3:22
    DT
  • 3:22 - 3:24
    Now let's think about it.
  • 3:24 - 3:28
    When M and N are integers
    that don't equal each other,
  • 3:28 - 3:30
    don't equal their negative,
  • 3:30 - 3:33
    so let's think about M not equaling N
  • 3:33 - 3:38
    or M not equaling negative
    N and we're always assuming
  • 3:38 - 3:41
    that these things are
    going to be integers.
  • 3:41 - 3:44
    M and N, well in that situation
  • 3:44 - 3:49
    this right over here is going
    to be a non zero integer
  • 3:49 - 3:52
    and this right over here
    is going a non zero integer
  • 3:52 - 3:56
    and we've already established,
    we've already established
  • 3:56 - 3:57
    that if you have a non
    zero coefficient here
  • 3:57 - 3:59
    that this definite integral
    is going to be equal to zero.
  • 3:59 - 4:02
    The definite integral from zero to two pi
  • 4:02 - 4:05
    of cosine of some non
    zero integer times T DT.
  • 4:05 - 4:09
    Well that's exactly what
    both of these integrals are.
  • 4:09 - 4:12
    This is the integral from
    zero to two pie of cosine
  • 4:12 - 4:14
    times some non zero integer T
  • 4:14 - 4:17
    or non zero integer times T DT.
  • 4:17 - 4:20
    So in this case where M and N are integers
  • 4:20 - 4:21
    that don't equal each other,
  • 4:21 - 4:22
    don't equal the negatives of each other,
  • 4:22 - 4:24
    both of these integrals
    are going to be zero.
  • 4:24 - 4:26
    Then you're going to
    multiply that times one half,
  • 4:26 - 4:28
    one half times zero zero,
    one half times zero zero,
  • 4:28 - 4:30
    it's all gonna end up being zero.
  • 4:30 - 4:32
    So that should hopefully
  • 4:33 - 4:38
    make you feel pretty good
    about the case, this first case
  • 4:38 - 4:40
    and now let's think about the second case
  • 4:40 - 4:43
    where M is a non zero
    integer, or we can say,
  • 4:43 - 4:47
    were M is equal to N, so in that situation
  • 4:47 - 4:50
    N and M are the same and
    they are not equal to zero.
  • 4:50 - 4:52
    So let's just take that situation,
  • 4:52 - 4:53
    especially because when we're looking
  • 4:53 - 4:56
    at fourier coefficients, we care about
  • 4:56 - 4:59
    the non-negative
    coefficients, at least the way
  • 4:59 - 5:03
    we have defined so let's just
    assume that M is equal to N
  • 5:03 - 5:06
    and that M is not equal to zero
  • 5:08 - 5:11
    and that would just resolve,
    that would take this integral
  • 5:11 - 5:13
    and turn it into that integral.
  • 5:13 - 5:17
    Well in that situation,
    what's gonna happen?
  • 5:17 - 5:19
    Well, this first integral right over here,
  • 5:19 - 5:23
    if M is equal to N and
    M is not equal to zero,
  • 5:23 - 5:26
    well it's going to be M minus N,
  • 5:26 - 5:29
    this is gonna be zero
    T so this whole thing
  • 5:29 - 5:32
    is going to simplify to one
    and then this right over here
  • 5:32 - 5:37
    gonna have M plus N, that's
    going to simplify to two M.
  • 5:37 - 5:39
    So let's rewrite the integrals here.
  • 5:39 - 5:41
    This is going to be equal to one half
  • 5:41 - 5:45
    times the definite integral
    from zero to two pi.
  • 5:48 - 5:52
    Zero to two pi of one times,
    I'll write that one here,
  • 5:52 - 5:53
    one DT
  • 5:56 - 5:58
    plus one half, plus one half,
  • 6:00 - 6:03
    that's a new color, times the integral
  • 6:03 - 6:05
    from zero to two pi of cosine
  • 6:08 - 6:10
    let me do that the same,
  • 6:11 - 6:12
    of cosine of
  • 6:14 - 6:15
    two MT DT.
  • 6:17 - 6:18
    Two MT D
  • 6:19 - 6:20
    DT
  • 6:22 - 6:23
    DT
  • 6:23 - 6:26
    So once again, we're assuming
    M is not equal to zero,
  • 6:26 - 6:27
    this is the definitive integral
  • 6:27 - 6:29
    from zero to two pi of cosine times
  • 6:29 - 6:32
    some non zero coefficient times T.
  • 6:33 - 6:36
    Well once again, we have
    established multiple times
  • 6:36 - 6:38
    that this is going to be zero
    so this whole second term
  • 6:38 - 6:41
    is going to be zero and this first one
  • 6:41 - 6:43
    is going to be equal to,
    let's go to neutral color,
  • 6:43 - 6:46
    it's going to be one half times
    the anti derivative of one,
  • 6:46 - 6:50
    now that just T evaluated
    from zero to two pi
  • 6:50 - 6:53
    so that's going to be equal to one half
  • 6:53 - 6:55
    times two pi minus zero
  • 6:55 - 6:59
    two pi minus zero, well
    that's just one half two pi
  • 6:59 - 7:01
    which is equal to pi.
  • 7:01 - 7:04
    So we have now established
    this one as well
  • 7:04 - 7:06
    and now we have a full toolkit.
  • 7:06 - 7:08
    We now have a full toolkit
  • 7:08 - 7:10
    for evaluating the fourier coefficients
  • 7:10 - 7:12
    which we will now do in the next video
  • 7:12 - 7:14
    which is very exciting.
Title:
Integral of product of cosines
Description:

more » « less
Video Language:
English
Duration:
07:15

English subtitles

Revisions