< Return to Video

Formula for arithmetic series

  • 0:00 - 0:01
  • 0:01 - 0:05
    Let's write an arithmetic
    sequence in general terms.
  • 0:05 - 0:08
  • 0:08 - 0:11
    So we can start
    with some number a.
  • 0:11 - 0:13
    And then we can
    keep adding d to it.
  • 0:13 - 0:15
    And that number
    that we keep adding,
  • 0:15 - 0:17
    which could be a positive
    or a negative number,
  • 0:17 - 0:19
    we call our common difference.
  • 0:19 - 0:22
    So the second term in our
    sequence will be a plus d.
  • 0:22 - 0:26
    The third term in our
    sequence will be a plus 2d.
  • 0:26 - 0:30
    So we keep adding d all
    the way to the n-th term
  • 0:30 - 0:31
    in our sequence.
  • 0:31 - 0:33
    And you already see here
    that in our first term,
  • 0:33 - 0:36
    we added d zero times.
  • 0:36 - 0:40
    Our second term,
    we added d once.
  • 0:40 - 0:42
    In our third term,
    we added d twice.
  • 0:42 - 0:44
    So you see, whatever the
    index of the term is,
  • 0:44 - 0:48
    we're adding d one less
    than that many times.
  • 0:48 - 0:52
    So if we go all the
    way to the n-th term,
  • 0:52 - 0:54
    we're going to add d
    one less than n times.
  • 0:54 - 0:59
    So it's going to be
    n minus 1 times d.
  • 0:59 - 0:59
    Fair enough.
  • 0:59 - 1:00
    And let me write that.
  • 1:00 - 1:04
    This right over here
    is our n-th term.
  • 1:04 - 1:05
    Now what I want to do
    is think about what
  • 1:05 - 1:08
    the sum of this arithmetic
    sequence would be.
  • 1:08 - 1:09
    And the sum of an
    arithmetic sequence
  • 1:09 - 1:12
    we call an arithmetic series.
  • 1:12 - 1:13
    So let me write that in yellow.
  • 1:13 - 1:17
  • 1:17 - 1:19
    Color changing is
    sometimes difficult.
  • 1:19 - 1:26
    So the arithmetic
    series is just the sum
  • 1:26 - 1:28
    of an arithmetic sequence.
  • 1:28 - 1:32
    So let's call my
    arithmetic series s sub n.
  • 1:32 - 1:34
    And let's say it's going to
    be the sum of these terms,
  • 1:34 - 1:44
    so it's going to be a plus
    d, plus a plus 2d, plus all
  • 1:44 - 1:51
    the way to adding the n-th term,
    which is a plus n minus 1 times
  • 1:51 - 1:52
    d.
  • 1:52 - 1:54
    Now I'm going to
    do the same trick
  • 1:54 - 1:57
    that I did when I did the most
    basic arithmetic sequence.
  • 1:57 - 1:59
    I'm going to add this
    to itself, but I'm
  • 1:59 - 2:02
    going to swap the order
    in which I write this sum.
  • 2:02 - 2:05
    So s sub n I can
    write as this, but I'm
  • 2:05 - 2:06
    going to write it
    in reverse order.
  • 2:06 - 2:08
    I'm going to write
    the last term first.
  • 2:08 - 2:15
    So the n-th term is a
    plus n minus 1 times d.
  • 2:15 - 2:17
    Then the second to
    last term is going
  • 2:17 - 2:22
    to be a plus n minus 2 times d.
  • 2:22 - 2:30
    The third to last is going to
    be a plus n minus 3 times d.
  • 2:30 - 2:32
    And we're going to
    go all the way down
  • 2:32 - 2:36
    to the first term,
    which is just a.
  • 2:36 - 2:38
    Now let's add these
    two equations.
  • 2:38 - 2:42
    We are going to get, on the
    left hand side, s sub n plus s
  • 2:42 - 2:43
    sub n.
  • 2:43 - 2:48
    You're going to get
    2 times s sub n.
  • 2:48 - 2:53
    Well, what's the sum of
    these two first terms
  • 2:53 - 2:54
    right over here?
  • 2:54 - 2:57
    I'm going to have a plus
    a plus n minus 1 times d.
  • 2:57 - 3:03
    So it's going to be 2a
    plus n minus 1 times d.
  • 3:03 - 3:06
    Now let's add both of
    these second terms.
  • 3:06 - 3:08
    So if I were to add both
    of these second terms,
  • 3:08 - 3:09
    what do I get it?
  • 3:09 - 3:13
    I'm going to get 2a plus 2a.
  • 3:13 - 3:17
    And what's d plus
    n minus 2 times d?
  • 3:17 - 3:19
    So you could view
    it several ways.
  • 3:19 - 3:20
    Let me write this over here.
  • 3:20 - 3:25
    What is d plus n
    minus 2 times d?
  • 3:25 - 3:26
    Well, this is just
    the same thing
  • 3:26 - 3:29
    as 1d plus n minus 2 times d.
  • 3:29 - 3:30
    And so you could just
    add the coefficients.
  • 3:30 - 3:35
    So this is going to be n
    minus 2 plus 1 times d, which
  • 3:35 - 3:40
    is equal to n minus 1 times d.
  • 3:40 - 3:51
    So the second term also becomes
    2a plus n minus 1 times d.
  • 3:51 - 3:53
    Now let's add the third term.
  • 3:53 - 3:54
    I'll do it in green.
  • 3:54 - 3:56
    The third terms, I should say.
  • 3:56 - 3:58
    And I think you're going
    to see a pattern here.
  • 3:58 - 4:02
    It's 2a plus 2a.
  • 4:02 - 4:06
    And if I have 2 plus n minus 3
    of something and then I add 2,
  • 4:06 - 4:08
    I'm going to have n minus
    one of that something.
  • 4:08 - 4:12
    So plus n minus 1 times d.
  • 4:12 - 4:14
    And you're going to keep
    doing that all the way
  • 4:14 - 4:17
    until your n-th pair
    of terms, all the way
  • 4:17 - 4:19
    until you add these two
    characters over here, which
  • 4:19 - 4:25
    is just 2a plus n
    minus 1 times d.
  • 4:25 - 4:28
    So you have this
    2a plus n minus 1 d
  • 4:28 - 4:30
    being added over and over again.
  • 4:30 - 4:32
    And how many times
    are you doing that?
  • 4:32 - 4:34
    Well, you had n
    pairs of terms when
  • 4:34 - 4:36
    you were adding
    these two equations.
  • 4:36 - 4:38
    In each of them,
    you had n terms.
  • 4:38 - 4:40
    This is the first term,
    this is the second term,
  • 4:40 - 4:43
    this is the third term, all
    the way to the n-th term.
  • 4:43 - 4:48
    So I can rewrite 2
    times the sum 2 times
  • 4:48 - 4:52
    s sub n is going to be
    n times this quantity.
  • 4:52 - 5:03
    It's going to be n times
    2a plus n minus 1 times d.
  • 5:03 - 5:05
    And then if we want
    to solve for s sub n,
  • 5:05 - 5:07
    you just divide both sides by 2.
  • 5:07 - 5:10
    And you get s sub n is equal
    to, and we get ourselves
  • 5:10 - 5:12
    a little bit of
    a drum roll here,
  • 5:12 - 5:18
    n times 2a plus n
    minus 1 times d.
  • 5:18 - 5:20
    All of that over 2.
  • 5:20 - 5:24
    Now, we've come up
    with a general formula,
  • 5:24 - 5:26
    just a function of
    what our first term is,
  • 5:26 - 5:28
    what our common difference
    is, and how many terms we're
  • 5:28 - 5:29
    adding up.
  • 5:29 - 5:34
    And so this is the generalized
    sum of an arithmetic sequence,
  • 5:34 - 5:36
    which we call an
    arithmetic series.
  • 5:36 - 5:38
    But now, let's ask
    ourselves this question.
  • 5:38 - 5:39
    This is hard to remember.
  • 5:39 - 5:44
    The n times 2a plus n
    minus 1 times d over 2.
  • 5:44 - 5:47
    But in the last video, when I
    did a more concrete example,
  • 5:47 - 5:53
    I said well, it looks like the
    sum of an arithmetic sequence
  • 5:53 - 5:58
    could be written as
    perhaps the average
  • 5:58 - 6:01
    of the first term a1 plus an.
  • 6:01 - 6:06
    The average of the first
    term and the last term
  • 6:06 - 6:09
    times the number of
    terms that you have.
  • 6:09 - 6:12
    So is this actually the case?
  • 6:12 - 6:15
    Do these two things gel?
  • 6:15 - 6:16
    Because this is very
    easy to remember--
  • 6:16 - 6:19
    the average of the first and
    the last terms multiplied
  • 6:19 - 6:21
    by the number of terms
    you had and actually makes
  • 6:21 - 6:23
    intuitive sense,
    because you're just
  • 6:23 - 6:25
    increasing by the same
    amount every time.
  • 6:25 - 6:31
    So let's just average the
    first and the last term
  • 6:31 - 6:34
    and then multiply times the
    number of terms we have.
  • 6:34 - 6:36
    Well, all we have to do is
    rewrite this a little bit
  • 6:36 - 6:39
    to see that it is indeed
    the exact same thing as this
  • 6:39 - 6:40
    over here.
  • 6:40 - 6:42
    So all we have to do
    is break out the a.
  • 6:42 - 6:43
    So let me rewrite it.
  • 6:43 - 6:47
    So, this could be
    rewritten as s sub
  • 6:47 - 6:57
    n is equal to n times a plus
    a plus n minus 1 times d.
  • 6:57 - 7:00
    I just broke up this
    2a into an a plus a.
  • 7:00 - 7:04
    All of that over 2.
  • 7:04 - 7:07
    And you see, based on how
    we defined this thing,
  • 7:07 - 7:12
    our first term a1 is a.
  • 7:12 - 7:20
    And then our last term, a sub
    n, is a plus n minus 1 times d.
  • 7:20 - 7:26
    So this whole business
    right over here
  • 7:26 - 7:35
    really is the average of
    the first and last terms.
  • 7:35 - 7:37
    I got my first term,
    adding it to my last term,
  • 7:37 - 7:38
    dividing it by 2.
  • 7:38 - 7:41
    And then I'm multiplying by
    the number of terms we have.
  • 7:41 - 7:44
    And that's true for any
    arithmetic sequence,
  • 7:44 - 7:46
    as we've just shown here.
Title:
Formula for arithmetic series
Video Language:
English
Duration:
07:47

English subtitles

Revisions