LSU Number Theory Lecture 04 sumprod

CosmoLearning
21 Apr 201628:27

Summary

TLDRThe video script delves into the formalization of mathematical sums and products, essential for abstract mathematics and programming. It explains the limitations of 'magic three dots' notation and introduces summation notation for precise mathematical arguments. The script covers recursive definitions, factorials, and the binomial theorem, providing proofs for various summation properties and the formula for geometric sums. It also explores permutations, Pascal's triangle, and concludes with a proof of the binomial theorem, emphasizing the importance of number sense and induction in mathematical proofs.

Takeaways

  • 📚 The necessity of formalizing sums and products in abstract mathematics is highlighted, as traditional notation with 'magic three dots' is insufficient for precise mathematical reasoning and computer programming.
  • 🔢 Summation notation is introduced as a way to express sums mathematically, allowing for proofs by induction and precise computation, which is not possible with informal notation.
  • 📈 The concept of recursive definition is explained, which is fundamental in defining sums and is useful for proofs by induction.
  • 🔄 The ability to split off the last term in a sum is a common technique used in working with sums and products.
  • 📉 The definition of an empty sum is introduced, where a sum with a starting index greater than the finishing index is defined to be zero.
  • 📚 The script discusses the translation of 'magic three dots' notation into formal summation notation, which can sometimes be challenging.
  • 🔢 The proof of the summation formula for the sum of the first n integers using summation notation and induction is provided.
  • 📈 Properties of sums, such as re-indexing and splitting or combining sums, are introduced with an example proof for re-indexing.
  • 📉 The script explains how to encode sums in summation notation, especially when dealing with complex expressions.
  • 🎓 The importance of number sense in recognizing patterns, such as squares and roots, is emphasized for number theory applications.
  • 📘 The script covers factorials, binomial coefficients, and the binomial theorem, showing their definitions and the proof of the binomial theorem using induction.
  • 📙 The concept of Pascal's triangle is introduced as a visual representation of binomial coefficients and its relation to the binomial theorem.
  • 🔑 The script also touches on the proof that binomial coefficients are natural numbers and the properties of sigma functions in rearranging terms of sums.

Q & A

  • Why is it necessary to formalize sums and products in advanced mathematics?

    -Formalizing sums and products is essential because the 'magic three dots' notation used in basic calculus has limited applicability and cannot be used for precise mathematical arguments or programming computations.

  • What is the significance of summation notation in programming?

    -Summation notation allows for mathematically correct arguments for sums and products, which can then be used to program computations accurately, unlike the ambiguous 'magic three dots' notation.

  • Can you explain the recursive definition of a sum?

    -A recursive definition of a sum starts by defining the sum for the simplest case (e.g., sum from J=1 to 1) and then defines the sum for subsequent cases by adding the next term to the previously defined sum (e.g., sum from J=1 to n+1 is the sum from J=1 to n plus the term at J=n+1).

  • What is an empty sum in mathematics, and what is its value?

    -An empty sum occurs when the starting index of a sum is greater than the finishing index. By definition, an empty sum is equal to zero.

  • How can the summation notation be used to express a sum with a given pattern?

    -Summation notation can express a sum by defining the index of summation, the starting and ending values of the index, and the formula for each term in the sum. This allows for a clear and unambiguous representation of the sum.

  • What is the difference between the summation of the first n integers and the sum using 'magic three dots'?

    -The summation of the first n integers uses a clear formula (n*(n+1))/2, whereas the 'magic three dots' notation lacks precision and does not provide a formula for calculating the sum, especially when the number of terms is not explicitly given.

  • How can you prove properties of sums using induction?

    -Properties of sums can be proven using induction by establishing a base case and then using the induction hypothesis to prove the property for the next case, often by reindexing sums or breaking them up and combining them in a way that demonstrates the property holds.

  • What is the formula for the sum of a geometric series, and how is it derived?

    -The formula for the sum of a geometric series is derived by considering the sum S = 1 - q^(n+1) and then using the properties of sums to show that S can be expressed as a fraction (1 - q^(n+1)) / (1 - q), where q is the common ratio of the series.

  • What is a factorial, and how is it defined mathematically?

    -A factorial, denoted as n!, is the product of all positive integers from 1 to n. It is defined mathematically as the product of n down to 1, and by convention, 0! is equal to 1.

  • What is the binomial theorem, and how does it relate to Pascal's triangle?

    -The binomial theorem states that (a + b)^n is equal to the sum of n choose k * a^k * b^(n-k) for k from 0 to n. It relates to Pascal's triangle because the coefficients of the terms in the expansion are the binomial coefficients, which form the triangle.

Outlines

00:00

📚 Introduction to Summation and Product Notation

This paragraph introduces the need for formalizing mathematical sums and products beyond the basic understanding from calculus. It highlights the limitations of the traditional notation with 'magic three dots' and emphasizes the utility of summation and product notation in creating mathematically rigorous arguments and programming computations. The paragraph also touches on factorials and the binomial theorem, setting the stage for a deeper exploration of these concepts. The recursive definition of a sum is explained, and the concept of an empty sum being equal to zero is introduced.

05:01

🔢 Summation Notation and Its Applications

The paragraph delves into the specifics of summation notation, explaining how to express sums with varying starting indices and how to handle empty sums. It provides examples of summation expressions and illustrates the process of translating sums from 'magic three dots' notation to formal summation notation. The paragraph also discusses the properties of sums, such as reindexing and splitting or combining sums, and includes a proof of the summation formula for the sum of the first n integers using induction.

10:03

📈 Advanced Summation Techniques and Proofs

This section explores more advanced techniques in summation, including the use of bijections to rearrange terms in a sum and the concept of telescoping sums. It presents a formal proof for the property of sums that allows for arbitrary reordering of terms, using induction and the concept of a bjective function. The paragraph also covers the proof of the formula for geometric sums and introduces the idea of summing sums, demonstrating how to break up or combine these expressions with proofs.

15:05

📘 Transition to Product Notation and Factorials

The focus shifts to product notation and its similarities to summation, with an emphasis on the properties of multiplication. The paragraph defines the product index, empty product, and factorials, explaining their mathematical significance and how they are used in calculations. It also introduces binomial coefficients and proves that the quotient in the binomial coefficient formula results in a natural number, setting the stage for further exploration of combinatorics.

20:07

🎲 Pascal's Triangle and Binomial Theorem

This paragraph discusses Pascal's triangle and its connection to the binomial theorem. It explains the concept of binomial coefficients and how they are derived from factorials. The paragraph presents a proof that the sum of two adjacent binomial coefficients equals the next coefficient in the sequence, which is a fundamental property of Pascal's triangle. It also connects this property to the process of expanding binomials, leading to the binomial theorem.

25:10

📚 Proof of the Binomial Theorem and Conclusion

The final paragraph provides a comprehensive proof of the binomial theorem using induction. It explains the process of expanding (a + b)^n and shows how the binomial coefficients arise from the sum of specific terms. The proof involves reindexing sums, applying Pascal's triangle, and demonstrating the pattern that leads to the binomial theorem's formula. The paragraph concludes with a summary of the importance of understanding these mathematical concepts and proofs for dealing with complex sums and products.

Mindmap

Keywords

💡Abstract Mathematics

Abstract mathematics refers to a higher level of mathematical reasoning that often deals with concepts that are not directly related to physical objects or practical applications. In the context of the video, abstract mathematics is the focus as the script delves into formalizing sums and products beyond the 'magic three dots' used in basic calculus. The theme of the video is to understand and formalize these concepts to create mathematically rigorous arguments.

💡Summation Notation

Summation notation is a method used in mathematics to express the sum of a sequence of terms in a concise form. The script discusses the need to formalize sums using summation notation, which is essential for creating mathematically correct arguments and for programming computations. An example from the script is the sum J = 3 to 5 of J * Jus 1, which is calculated using summation notation to be 38.

💡Recursive Definition

A recursive definition is a method of defining a sequence or series where each term is defined in terms of the previous ones. The script introduces the concept of a recursive definition when explaining how to define the sum of a series, which is crucial for proofs by induction, a common technique in mathematics.

💡Factorials

Factorials are a mathematical concept where the factorial of a non-negative integer n is the product of all positive integers less than or equal to n. The script mentions factorials as a topic that needs to be understood, as they are fundamental in various mathematical applications, including the binomial theorem discussed later in the video.

💡Binomial Theorem

The binomial theorem is a key concept in algebra that provides a way to expand expressions of the form (a + b)^n. The video script discusses the importance of understanding the binomial theorem, as it is a tool used in various mathematical applications. The theorem is proven in the script using induction, showcasing its significance in the study of abstract mathematics.

💡Induction

Induction is a method of mathematical proof, typically used to establish that a given statement holds for all natural numbers. The script frequently refers to proofs by induction, such as proving the summation formula for the first n integers and the binomial theorem, highlighting its importance in abstract mathematical reasoning.

💡Empty Sum

An empty sum is a sum where the starting index is greater than the finishing index, which by definition is set to be zero in mathematics. The script explains the concept of an empty sum when discussing summation notation, emphasizing the importance of formalizing mathematical concepts even for cases that may seem trivial.

💡Geometric Sums

Geometric sums refer to the sum of a geometric series, where each term is a constant multiple of the previous term. The script discusses the formula for the summation of geometric sums, demonstrating how mathematical notation can be used to express and prove properties of such series.

💡Bijective Function

A bijective function, also known as a one-to-one correspondence, is a function that is both injective (one-to-one) and surjective (onto). The script mentions bijective functions in the context of rearranging the terms of a sum, showing that the sum remains unchanged under such transformations, which is a fundamental property in the study of abstract mathematics.

💡Pascal's Triangle

Pascal's triangle is a triangular array of numbers where each number is the sum of the two numbers directly above it. The script connects Pascal's triangle to the binomial coefficients and explains how it is used to generate the coefficients in the binomial theorem, illustrating the visual and practical aspects of abstract mathematical concepts.

💡Binomial Coefficients

Binomial coefficients, often represented as 'n choose k', are numbers that represent the number of ways to choose k elements from a set of n elements without regard to the order. The script defines binomial coefficients in the context of factorials and uses them in the proof of the binomial theorem, showing their relevance in combinatorics and algebra.

Highlights

The need to formalize sums and products in abstract mathematics beyond the use of 'magic three dots'.

Limitations of 'magic three dots' in expressing sequences for computational purposes.

Summation and product notation allows for mathematically correct arguments and programming computations.

Recursive definition of sums and its accessibility to proofs by induction.

The concept of empty sums and their definition as zero in mathematics.

The challenge of converting sums expressed with 'magic three dots' into summation notation.

Encoding sums in summation notation with alternating signs and roots as an example.

Importance of number sense in recognizing patterns like squares and roots in number theory.

The summation formula for the sum of the first n integers and its proof using induction.

Properties of sums, including re-indexing and splitting or combining sums.

Proof of the formula for geometric sums using telescoping sums.

The use of bijections in rearranging the terms of a sum.

Defining factorials and their role in Pascal's triangle and the binomial theorem.

Proving that binomial coefficients are natural numbers using factorials.

Pascal's triangle and its connection to the binomial theorem through the addition of adjacent numbers.

The binomial theorem and its proof by induction, involving the expansion of (a + b)^n.

The importance of practice in working with induction for dealing with complex sums.

Transcripts

play00:01

as we go deeper into abstract

play00:03

mathematics we need to formalize sums

play00:06

and products beyond what you may have

play00:08

seen in the Calculus class where you use

play00:10

what I would always call Magic three

play00:11

dots to say how a sum goes on and uh

play00:15

well one of the first things that you

play00:16

would then ask yourself is why do we

play00:19

need to formalize sums and products well

play00:22

the thing is that these magic thre dots

play00:24

that we use in sums um are just have

play00:27

limited limited range basically

play00:31

and they're usess for programming right

play00:32

I can't give a computer the first couple

play00:35

of terms of a sequence and put three

play00:37

dots in there and the computer somehow

play00:40

gives me the sequence so sumon product

play00:43

notation allow us to produce

play00:44

mathematically correct Arguments for

play00:46

sums and products and uh we can also use

play00:50

that notation to then program the

play00:52

computations if necessary which is

play00:54

something that we cannot do with the

play00:56

magic 3 dots we'll also talk about

play00:59

factorials and the binomial theorem here

play01:01

because we just well we need to get used

play01:03

to factorials and the binomial theorem

play01:05

is something that well every so often we

play01:07

will need it and and when you need it

play01:09

you just are lost without it so we might

play01:11

as well knock it out right here okay so

play01:14

the definition of a sum is for every J

play01:18

we let AJ be a number and we Define the

play01:20

sum of AJ where J goes from 1 to one to

play01:23

be

play01:24

A1 and for n element n we Define the sum

play01:28

from J = 1 to n plus one of of the AJ to

play01:30

be the sum Jal 1 to n of the AJ plus the

play01:34

N plus first term so this is what is

play01:36

called a recursive definition this is

play01:38

the kind of thing that is accessible to

play01:41

proofs by induction which is really nice

play01:44

one of the standard tricks that you are

play01:46

going to see working with sums as well

play01:48

as with products is this exactly this

play01:51

splitting off the last term and uh well

play01:54

the sum the parameter is also called the

play01:56

summation index here and uh sums where

play02:00

the starting index is greater than one

play02:03

are defined similarly you just have the

play02:05

sum jals K to K being a k and then from

play02:08

K to n+1 you define recursively as is

play02:12

done over here uh for example well the

play02:16

sum J = 3 to 5 of J * Jus 1 well that's

play02:20

3 * 2 right for J = 3 + 4 * 3 for J = 4

play02:25

+ 5 * 4 for J = 5 so that would be 6 +

play02:30

12 + 20 that ought to be 38 yes and uh

play02:34

well then if you write the sum

play02:36

differently if you take the sum J = 5 to

play02:39

3 J * Jus 1 that's zero because

play02:43

basically a sum in which the starting

play02:46

index is greater than the finishing

play02:49

index that is something that in

play02:51

mathematics we call an empty sum in an

play02:53

empty sum is set is defined to be zero

play02:57

and what else do we have if I take the

play02:59

sum J equals = 3 3 to 3 J * Jus 1

play03:04

that'll be 3 * 2 and that's 6 Ah that's

play03:07

not hard but this is what often is

play03:10

problematic with magic 3 dots because

play03:12

with magic 3 dots the sum would be 3 * 2

play03:15

+ 4 * 3 plus dot dot dot plus n * n

play03:18

minus one where n is three so then what

play03:21

what happens with the four * 3 well it's

play03:23

not there and in summation notation that

play03:27

is really uh expressed that way too now

play03:31

one of the things that we then want to

play03:33

be able to do is we want to be able to

play03:34

encode sums in summation notation and uh

play03:39

if a sum like this for example is given

play03:41

with the magic three dots we need to

play03:42

write that in summation notation that

play03:44

that can be hard and it can be easy this

play03:46

one is an easy one I think because every

play03:48

term is of the form number divided by

play03:50

the next number right it's 2 over 3 3

play03:53

over 4 4 over 5 okay and we start at two

play03:57

sure because we start with 2 over 2 + 1

play04:00

we end at 14 because we end up with 14 +

play04:03

14 over 1 and so that means that the sum

play04:06

is the sum JAL 2 14 J over J + 1 if you

play04:10

want to write the sum 1 - < tk2 + 3un of

play04:14

9 - 4 root of 64 plus 5ifth root of 625

play04:18

minus 6th root of

play04:22

7,776 in summation notation well that's

play04:25

when you may want to have somebody else

play04:28

do it but that's not an option

play04:30

uh because you're supposed to do your

play04:31

own homework so let's take a look at

play04:34

that we've got alternating signs here

play04:36

right and so every term is therefore of

play04:38

the form negative 1 to the J negative 1

play04:40

to the J always encodes alternating

play04:43

signs right but the first term is

play04:46

positive and so negative 1 to the 1

play04:49

would be negative so it's actually

play04:50

negative 1 to the J + 1 so sometimes you

play04:53

just you write down what you need and

play04:55

then you adjust that's one of the ways

play04:57

to deal with these things times some

play04:59

thing and we're always taking the jth

play05:01

root right we're taking the first root

play05:02

of this one the second root of that one

play05:04

the third root the fourth root the fifth

play05:05

root the sixth root and so on so now we

play05:08

still need to figure out what that is

play05:09

here inside the root well what's inside

play05:11

the root it's

play05:12

one it's two it's 9 it's 64 okay so 9 is

play05:21

3 squar 64 is 4 cubed 2 is 2 to the 1st

play05:26

625 is 25 s is 5 to the 4th Okay so goes

play05:30

1 2 3 4

play05:32

5 but it's not 5 to the 5th it's 5 to

play05:35

the 4th it's 4 to the 3r it's 3 squar

play05:38

it's 2 to the 1st and then here uh one

play05:41

to the zero actually is is one and this

play05:45

wi once you check it this actually is 6

play05:48

to the 5th and so that means the three

play05:51

dots here and and those are not three

play05:52

dots that say oh well you know you're

play05:54

you're doing something I just needed a

play05:55

placeholder that is J to the J minus one

play05:58

and that means when we start with 1 and

play06:00

we finish with six the sum of these

play06:02

things is the sum J = 1 to 6 -1 to the J

play06:06

+ 1 J to the J minus one/ J okay so you

play06:11

want to get your number sense back to

play06:15

the point where you can factor numbers

play06:16

where you can recognize squares and

play06:18

things like that because every so often

play06:20

you really do need that in number

play06:22

Theory um okay

play06:24

so let's revisit the summation formula

play06:28

that we had in the induction

play06:30

presentation of the sum of the first n

play06:32

integers which is n n + one well if I

play06:35

want to prove that that's the case with

play06:36

summation notation I still use induction

play06:38

it's a base step but the base step now

play06:41

is that the sum Jal 1 to one of J is 1

play06:44

and that's 1 12 1+ 1 so that's right and

play06:48

so everything is is completely

play06:50

unambiguous here the induction step in

play06:52

going to n plus one is that we take the

play06:55

sum J = 1 to n + 1 of J and we know that

play06:58

that's a sum J 1 to n of J plus n + 1 by

play07:02

itself by induction hypothesis we know

play07:05

that this is n n + 1 plus n + 1 is kept

play07:10

and uh well then I just factor out the N

play07:12

plus 1 so I get n + 1 * n + 1 and that's

play07:15

n + 2 / 2 * n + 1 and that is nothing

play07:19

but this n + one put here and the n + 2

play07:26

turned into n + 1 + 1 sorry the

play07:29

highlighting sometimes doesn't work too

play07:31

well on these slides but either way this

play07:34

is the induction proof of the summation

play07:37

formula for the first in integers now uh

play07:42

we can also prove properties of sums now

play07:45

so for example if AJ and BJ are numbers

play07:48

then we have the following we've got

play07:49

that the sum J equals 1 to in aj+ K is

play07:53

the sum I equals k + 1 to k + n of a I

play07:58

so that's this re indexing of sums that

play08:01

you may have seen in a differential

play08:03

equations class when you solve

play08:06

differential equations with SE with

play08:09

series or with the method of

play08:11

fenus uh we also have that as long as m

play08:15

is smaller than n we can break up a sum

play08:17

in the middle or combine them so the sum

play08:19

J = 1 to M of AJ plus the sum j = m + 1

play08:23

to in of the AJ is just the sum Jal 1 to

play08:26

in of the AJ and we're going to prove

play08:29

only part one here so let's see base

play08:31

step if you've got the sum J = 1 to n j

play08:34

= 1 to 1 of A J + K well then that is A1

play08:39

Plus K and that's a k + 1 and that's the

play08:41

sum I equals k + 1 to k + one of a I so

play08:45

that that's not that bad induction Step

play08:47

n to n+ 1 well you take the Su J = 1 to

play08:50

n+ 1 A J +

play08:52

K and you know that that's the sum Jal 1

play08:55

to n a j plus K plus the last term split

play08:57

off which is a in plus one quty plus K

play09:02

and I can just shift the plus one around

play09:04

right so and okay so by induction

play09:06

hypothesis I know that the first sum is

play09:08

the sum IAL k + 1 to K plus n of a i and

play09:12

in the second term I just shift the plus

play09:14

one or I just commute the index here

play09:16

yeah I just say that this is a K plus n

play09:19

plus

play09:20

one and uh well of course that then is

play09:23

the sum I equal k + 1 to k+ n + 1 of the

play09:27

AI and uh that's the proof of

play09:29

that uh we can also then use summation

play09:33

notation to prove something like the

play09:35

formula for geometric sums that's an

play09:37

application of what we've just done

play09:39

because if I have 1 minus Q to the n + 1

play09:43

well that is just the sum i = 0 to n q

play09:47

to the I minus the sum I = 1 to n +1 Q

play09:51

to the I these setups here are also

play09:53

called telescoping sums because

play09:54

basically what happens is the sum the

play09:57

terms IAL 1 I 2 all the way through IAL

play10:00

n cancel between these two the only

play10:03

terms that survive are the term I equals

play10:05

0 which is the one and the term IAL n+ 1

play10:09

which is the Q to the n+ one

play10:11

right but these sums I can now go ahead

play10:15

and rewrite I keep the first sum with

play10:18

just an index I equals J so this is

play10:20

still the sum J equals 0 to n q to the J

play10:23

but here I'll I'll shift the index and I

play10:27

shift the index backwards so this is is

play10:30

well this sum starts with Q to the 1 and

play10:32

ends with Q to the n + 1 this sum starts

play10:34

with Q to the 0 + 1 which is Q to the

play10:36

1st and it ends at n with Q to the n +

play10:39

one so this sum and that sum are the

play10:42

same and now well now I can factor out a

play10:45

q out of the latter sum here right and

play10:48

so that gives us sum Jal 0 to NQ to the

play10:50

J minus Q * the sum Jal 0 to n q to the

play10:54

J and that's 1 - Q * the sum Jal 0 to n

play10:58

q to the J

play10:59

and now I can just solve for the sum Jal

play11:02

0 to the N to n q to the J and that's 1

play11:05

minus Q to the n + 1 over 1 minus q and

play11:09

that's the formula for the summation of

play11:11

geometric sums what else can I do uh

play11:14

well we can again take numbers AJ and

play11:16

BJ and if Sigma is a bjective function

play11:20

so it's a function that is one to one

play11:22

and on to from the index set to itself

play11:25

so this is something that just basically

play11:26

rearranges the terms where well then you

play11:30

can rearrange the terms of the sum uh

play11:33

you can also take a sum that is a sum of

play11:37

sums of terms and break up the sum and

play11:41

again we're only going to prove the

play11:43

first part and I think this is where

play11:46

this presentation is coming out of

play11:48

another class actually where we are a

play11:51

little bit more formal so this proof

play11:53

definitely is a bit on the formal side

play11:57

for this number Theory class but we

play11:58

might have as well work our way through

play12:01

it why is it all right to reorder the

play12:04

sums in an arbitrary way in a a sum that

play12:07

is arbitrarily long of course our

play12:09

feeling for numbers tells us that ought

play12:11

to be the case right I mean 3 + 5 is 5 +

play12:14

3 we've known that forever and that

play12:16

should work the same way if we've got

play12:18

25,000 terms or so but we can formally

play12:21

prove that uh the summation as defined

play12:24

actually has this property so let's take

play12:26

a look at that the base step is quite

play12:29

trivial because if n is equal to one

play12:31

well how many ways can you rearrange one

play12:34

object you can arrange it in one way

play12:35

only and so there's nothing to be done

play12:38

if you take the induction step from n to

play12:40

n+ one well that's where you take this

play12:44

bcor function there's reordering of the

play12:46

index sets and you take that to be

play12:49

arbitrary and well if the end term stays

play12:54

where it was then the whole thing isn't

play12:56

that bad because then the sum J equals 1

play12:58

to + 1 a sigma of J is the sum J = 1 to

play13:02

n a sigma of J plus a n + 1 CU a n + 1

play13:06

is a sigma n plus one right and then I

play13:08

know that this one here by induction

play13:11

hypothesis is the sum Jal 1 to n AJ plus

play13:14

the a n+ 1 from the previous one and

play13:17

then by definition that is just the sum

play13:18

J = 1 to n + one of the a

play13:22

subj all right however if this is a

play13:27

little bit more complicated if the N

play13:28

plus first term is actually scrambled

play13:30

into the first in terms so if Sigma n +

play13:33

1 is less than or equal than n then I

play13:35

let I to be exactly that place where the

play13:38

N plus first term goes and I argue as

play13:41

follows I take the sum Jal 1 to n plus 1

play13:44

a sigma of J and that's the sum J = 1 to

play13:47

i - 1 a sigma J plus a sigma I plus the

play13:51

sum j = i + 1 2 N +1 a sigma of

play13:56

J and uh well now I know because uh

play14:01

numbers commute I can put the sigma of I

play14:03

to the end right so that's that's all

play14:07

that's been done here and then I know

play14:11

that this one here Sigma of I was n plus

play14:13

one so a sigma of I is a n + one and I

play14:18

can also I kept the first summand and I

play14:22

can reindex the sum so now this is the

play14:24

sum Jal I to n a sigma of J + 1

play14:29

but that is now basically saying that my

play14:33

first J numbers are being mapped to

play14:35

Sigma of J which is within the set 1

play14:37

through n and the numbers after I are

play14:42

being mapped to Sigma of J + one which

play14:47

is also in one through in and so that is

play14:49

now just another bjective function from

play14:51

the set one through in to itself I call

play14:53

that thing to and so to of J is Sigma of

play14:57

J as long as we're below I and to of J

play15:00

is Sigma of J + 1 once we are passing I

play15:04

and so that's just the sum Jal 1 to n a

play15:07

tow of J plus a n + 1 and we know that

play15:09

that is the sum Jal 1 to n + 1 A J

play15:12

because this to here is doing not doing

play15:16

anything this is the sum Jal 1 to n a j

play15:20

okay that one was a little bit of a side

play15:23

step into permutations that is something

play15:26

that I don't think we'll be messing with

play15:28

too much but basically is one of those

play15:30

if you can follow something like this

play15:31

the rest shouldn't be that bad okay so

play15:34

what else can we do if I take numbers

play15:37

and if I take a sum where every number

play15:40

is multiplied by the same number well

play15:42

then I can factor out that number that

play15:44

proof is a really nice exercise I

play15:47

certainly recommend that to you if you

play15:48

want to practice induction but we move

play15:50

on products for products I don't think

play15:53

we are going to prove that many

play15:55

statements but basically what we should

play15:58

realize here is that even though

play16:00

products aren't something that we have

play16:02

commonly worked with that much in

play16:03

calculus uh they work just like sums

play16:06

only that we have to work with the

play16:08

vagaries of multiplication rather than

play16:10

addition so let the ajs be numbers I

play16:13

Define the product J equals 1 AJ to be

play16:16

A1 I Define the product for JAL 1 to n +

play16:19

one of the ajs to be the product Jal 1

play16:22

to n of AJ * a n + 1 the parameter is

play16:25

the product index and uh yeah that's

play16:29

just the product of these numbers right

play16:32

and we Define the power a to the N to be

play16:34

just the product Jal 1 to n of a with

play16:37

itself and then also the empty product

play16:40

we will run into that every so often so

play16:41

if I have a product index where the

play16:43

starting index is larger than the ending

play16:45

index the empty products actually

play16:47

assumed to be

play16:49

one okay now we Define factorials

play16:53

because we want to go into Pascal's

play16:54

triangle and then ultimately the

play16:56

binomial theorem for all natural num we

play16:59

Define in factorial to be the product of

play17:01

the first in integers that looks

play17:05

different than what you may have seen

play17:06

before with the magic three dots where n

play17:09

factorial is n * n- 1 * nus 2 and so on

play17:13

all the way down to one but this is the

play17:16

same thing

play17:17

right and we call that the factorial we

play17:20

set Z factorial equal to 1 and that's

play17:23

again if the starting index is greater

play17:26

than the ending index and then an empty

play17:28

product is set equal to 1 and we're also

play17:31

defining binomial coefficients where

play17:33

we're taking numbers in in subzero so

play17:35

natural numbers or zero so that K is

play17:38

less than or equal than n and we Define

play17:40

the binomial coefficient as and this is

play17:42

r n choose K it is n factorial / K

play17:46

factorial time n minus K factorial it's

play17:49

called n choose K because this is number

play17:51

of ways you can choose K objects out of

play17:53

n objects if the order of the objects

play17:57

does not matter

play17:59

okay now we need a little Lemma and uh

play18:02

basically we're first going to prove

play18:04

that the quotient in choose K is a

play18:06

natural number well that ought to make

play18:08

sense because if this interpretation is

play18:11

correct if this is the number of ways

play18:13

you can choose K object out of n objects

play18:15

that's got to be an integer that's got

play18:17

to be a natural number but how do you

play18:18

prove that of the formula well it you

play18:21

prove it in a way that gets us used to

play18:24

working with factorials and that's

play18:25

something that we need to do here also

play18:27

so for all natural numbers we have that

play18:30

in choose zero and in choose in are

play18:32

nothing but in factorial divided 0

play18:35

factorial over in factorial right if K

play18:37

is zero it goes directly if K is n well

play18:41

then the N factorial is on the left and

play18:42

the zero is on the right but either way

play18:44

you end up with n factorial over 1 * n

play18:46

factorial and that's one so we only need

play18:49

to consider a k between 1 and N minus

play18:52

one and for that well in a base step for

play18:55

n equals 1 we have that 1 choose 0 is 1

play18:58

choose

play18:59

one and they're both 1 factorial over 0

play19:02

factorial * 1 factorial and uh that's

play19:06

one but when we go from n to n+ 1 we let

play19:10

K to be between 1 and N which is n + 1

play19:13

minus

play19:14

1 and we know that in choose K minus one

play19:17

and in choose K are natural numbers that

play19:20

is something that comes from the

play19:22

induction hypothesis because we already

play19:24

know that things work for n there's n

play19:29

and that means that their sum is

play19:31

contained in in okay so if the element

play19:33

sign is flipped around that just means

play19:34

that the natural numbers own this

play19:37

number and we know that n choose K-1 is

play19:40

n factorial over K-1 factorial time nus

play19:43

K-1 quantity factorial and N chose K is

play19:47

n factorial over K factorial / n minus K

play19:52

factorial and now well now we need to

play19:55

find a common denominator here because

play19:58

we want to add these things up um and so

play20:02

I need an extra

play20:04

K and I need an

play20:06

extra uh n- K minus one because n minus

play20:10

quantity K-1 is n minus k + 1 actually

play20:14

and so that means the first one is

play20:16

expanded with K so we get a k factorial

play20:18

here the N minus k + 1 factorial is n +

play20:23

1 minus K factorial here right and uh

play20:27

then the denominator that I need here is

play20:29

I get the K factorial and if I need an

play20:32

extra n + one minus K well I just put

play20:35

that in there and I keep the N factorial

play20:38

because we have a common denominator K

play20:39

factorial n + 1 minus K quantity

play20:42

factorial we have uh we we can add the

play20:45

two and so we end up with an N factorial

play20:48

in the numerator that can be factored

play20:49

out and we have a K plus the N minus one

play20:53

n+ one minus K which we have here and of

play20:57

course the K and the minus K cancel out

play21:00

and that means we've got n factorial n+

play21:02

one in the numerator and that's n plus1

play21:04

factorial the denominator doesn't change

play21:06

and now we realize that this is n plus

play21:08

one choose K and so as we claimed for

play21:12

any K between one and N we have that n

play21:15

plus one choose K is an element of the

play21:17

natural numbers okay so that's another

play21:19

one of those proofs where you really

play21:21

first have to follow the steps this is

play21:24

how the logical argument would progress

play21:25

right we first know this and then we

play21:27

know everything else

play21:29

um however you pretty much have to have

play21:33

some kind of an incling that this

play21:35

equation works and in fact this equation

play21:38

is quite important it is called Pascal

play21:41

triangle and that is that the equation

play21:43

in choose K minus one plus n choose k

play21:45

equal n + 1 choose K holds for all

play21:48

natural numbers n and K with K smaller

play21:51

equal than n and uh well the proof we

play21:54

just gave the proof right the only thing

play21:57

that is a little bit in doubt here is

play21:59

why on Earth do you call that thing a

play22:01

triangle because after all there is no

play22:03

triangle here unless you start writing

play22:05

it up here's in choose zero which is one

play22:08

here's in choose okay here's zero choose

play22:11

zero that's one one choose zero and one

play22:13

choose one are both one one two choose

play22:16

one uh two choose zero is one two choose

play22:20

one is two there's one way to choose one

play22:23

there are two ways to choose one object

play22:25

out of two and then two choose two is

play22:28

one again three choose one is one three

play22:33

three choose zero is one three choose

play22:35

one is three three choose two is three

play22:38

three choose three is one and uh if you

play22:43

keep going like that you realize that's

play22:45

what you've learned in school to be

play22:46

Pascal's triangle because that's how you

play22:48

get the coefficients for multiplying out

play22:52

binomials and how do you generate Pascal

play22:54

triangles well you you always take the

play22:58

sum of the two numbers that are adjacent

play23:01

to the top to work things out and well

play23:04

if this is n plus one choose K well then

play23:08

n choose K is here and N choose K minus

play23:10

one is here and the sum of these two has

play23:12

to be n plus one choose K and so that's

play23:14

exactly what is happening here so that's

play23:16

why this is called Pascal's triangle

play23:19

Pascal's triangle of course is connected

play23:21

to the binomial theor and that's the

play23:23

last thing we're going to prove here the

play23:26

binomial theorem for any number a and

play23:29

all natural numbers we have that a plus

play23:31

b quantity to the N is the sum k equal 0

play23:35

to n n choose k a to the k b to the N

play23:39

minus K this is exactly what you've

play23:40

learned in school you count up in the

play23:43

powers of a you count down in the powers

play23:45

of B the sum of the exponent must be in

play23:49

and the coefficients come from Pascal

play23:51

triangle but why is that true well again

play23:54

we can prove it by induction and uh well

play23:56

the base step is quite easy a plus b to

play23:58

the 1 well that's a plus b and that's 1

play24:02

choose 0 a to the 0 B the 1 minus 0 plus

play24:05

1 choose 1 a to the 1 B2 1 minus one if

play24:08

you really need to write it all up and

play24:11

that is the sum k equal 1 k equals 0 to

play24:14

1 1 choose k a to the k b to the 1 minus

play24:17

K so that works out perfectly and the

play24:21

induction step it's going to be a little

play24:23

longer that's why we need a new panel

play24:25

but if you take a plus b to the n+ 1

play24:27

what's the standard trick you split off

play24:28

the last term so this is A + B * a plus

play24:31

b to the N we know what a plus b to the

play24:33

N is by the binomial theorem and by the

play24:36

uh induction hypothesis for the binomial

play24:38

theorem so this is a plus b * the sum k

play24:42

equal 0 to n n choose k a to the k b to

play24:45

the N minus K all right now we can

play24:48

multiply this out right so this is If I

play24:50

multiply this uh a with the with the

play24:54

summation I get sum k equals 0 to n n

play24:56

choose k a to the k + 1 B to the N minus

play24:59

K plus and If I multiply the B with that

play25:01

thing I get sum k equal 0 to n n choose

play25:05

k a to the k b to the N plus one minus K

play25:09

all right so what do we have here in

play25:12

this

play25:14

one the powers look like they

play25:16

should and in this one well in this one

play25:19

they do not because you don't want to

play25:21

have a K plus one and you don't want to

play25:23

have an N minus K here you want to have

play25:25

an N plus one so I've got to shift the

play25:27

index in the first first sum and I can

play25:30

do that if I shift up the index by one

play25:32

so if I

play25:34

say uh k equals J minus one well then I

play25:38

get a j minus one here I get J minus one

play25:40

+ one here so that's a j if K is J minus

play25:44

one the minus minus one has to be

play25:46

compensated and I get a plus one so that

play25:48

works out too and if K is J minus one

play25:51

well then J has to be one to get k

play25:54

equals z to start and J has to run to n

play25:57

plus1 to capture k equal n so that's how

play25:59

I reindex that sum the other sum stays

play26:02

the same now in order to add them I have

play26:04

to split off the last term here and the

play26:06

last term here is n choose n + 1 minus

play26:09

one so n choose n a to the n + 1 B to

play26:12

the n + 1 minus n plus one so that's uh

play26:16

B to the zero plus in chose Zer I need

play26:19

to split off the zeroth term here right

play26:21

so in chose z a to the 0 B to the n + 1

play26:24

minus 0 here plus the sum Jal 1 to n and

play26:27

I'm just going to put everything

play26:29

together because now you realize that

play26:31

the powers here are the same so I can

play26:34

Factor those out and so from the first

play26:35

sum I get the in choose J minus one from

play26:38

the second sum I get the N choose J and

play26:40

the factored out powers are back here

play26:44

now by Pascal's triangle I know that

play26:45

that is n plus one choose J so that

play26:49

means well the first one n choose n is

play26:52

the same as n plus1 choose n plus1

play26:53

everything else stays the same n choose

play26:56

zero is the same as n plus1 choose Z

play26:58

everything else stays the same and this

play27:00

summation is the summation J = 1 to n n

play27:02

+ 1 choose J A to the J B the n + 1

play27:05

minus J and this term fits the pattern

play27:09

for the zeroth term in this sum and this

play27:11

term fits the pattern for the N plus

play27:13

first term in this sum and so this is

play27:16

nothing but the sum J equals 0 to n + 1

play27:19

n + 1 choose J A to the J B to the n + 1

play27:22

minus J and that is the end of the proof

play27:27

of the binomial theorem all right so

play27:32

here you had a bunch of examples of how

play27:34

to work induction with sums and that is

play27:37

also certainly important for us to work

play27:40

with because every so often we will need

play27:43

to deal with some summations it's a

play27:46

matter of practice um as you also have

play27:48

seen there are various degrees of

play27:50

difficulties from the summation of the

play27:54

first in integers which is a standard

play27:56

example through the binomial theorem

play27:59

which is an important theorem but where

play28:01

the proof certainly gets a bit harder

play28:03

all the way to that strange sum where I

play28:06

talked about the sigma rearranging the

play28:08

terms which is more on the abstract side

play28:10

and well you want to be on top of all of

play28:13

those reasonably well so that you can uh

play28:15

so that it won't bother you when you

play28:17

actually have to deal with a rather ugly

play28:19

sum at some point in time okay with that

play28:22

you get to the homework thanks

Rate This

5.0 / 5 (0 votes)

Связанные теги
Summation NotationFactorialsBinomial TheoremMathematicsInduction ProofPascal's TriangleAbstract MathCalculus ClassNumber TheoryEducational Content
Вам нужно краткое изложение на английском?