Open in TheBrain

Solving Polynomial Equations 4: The pattern with the cubic case

Wild Egg Maths

4.25K subscribers

We begin a careful look at our simplest power series solution to the general cubic equation. Which terms appear? What are the signs in front of them? And what are the coefficients that come with them? These are little puzzles that we must solve to make progress on the bigger problem of finding a general solution.

00:02

hello everyone

00:03

i'm noah wahlberger and thank you for

00:05

joining me

00:06

on this exploration of mathematics

00:10

we're looking at solving polynomial

00:12

equations

00:13

we've introduced a new way of thinking

00:15

about the quadratic case using

00:17

power series rather than radicals

00:20

and we've moved to the cubic case where

00:23

we've gotten some initial

00:24

interesting kind of formulas so we

00:27

started off

00:28

with this as our cubic t plus c one x

00:31

plus c two x squared plus

00:33

c three x cubed so we had replaced the

00:35

earlier

00:36

c zero with t for convenience because

00:39

our orientation at this point is to

00:41

look for a solution which is a power

00:43

series in t

00:45

and we tried x equals the sum of powers

00:48

of t

00:48

up to t to the seven with some

00:50

undetermined coefficients

00:52

a0 up to a7 we saw that one

00:55

of the conditions on a0 was that it was

00:58

actually equal to zero

00:59

and if we looked at that path so a0

01:03

equals zero then we were able to

01:05

uniquely solve for all of the other

01:08

subsequent values of a and here are what

01:11

we got we got a1 equals minus 1 over c1

01:14

a2 equals minus 1 over

01:15

c1 cubed times c2 and so on involving

01:19

powers of c1 actually odd powers of c1

01:23

in the denominator

01:24

that's actually familiar that's the same

01:26

kind of thing that was happening in the

01:27

quadratic situation

01:30

and then we got in the numerator these

01:32

polynomials

01:34

in c

01:37

1 c 2 c 3 these coefficients that are

01:40

appearing here in the original cubic

01:43

along with of course t now we want to

01:45

make sense of this okay so this is um

01:48

an interesting thing that happens in

01:49

mathematics quite a lot where

01:51

we've gotten some some results of a

01:54

computation or maybe a

01:56

series of computations we have some data

01:58

typically in this case a family of

02:02

expressions and we want to see what the

02:05

pattern is

02:05

so that's so important to be able to

02:08

to look at something and to say okay

02:10

what's the pattern here how can we

02:12

you know predict what's going to happen

02:14

if we extend this for example if we went

02:16

a couple of degrees higher say

02:18

introduced a

02:19

sub 8 times t to the eight we would

02:21

expect to get an ace of eight a formula

02:23

for that

02:24

can we predict what the formula for a

02:26

sub eight would be

02:27

okay so it's like a sudoku kind of

02:30

challenge it's a

02:31

a separate little investigation that we

02:33

now have to stop and pause and try to

02:35

figure out

02:36

what the pattern is here okay so what do

02:39

we know

02:40

well we know that the first entries

02:43

in these polynomials here in the

02:45

numerator are the

02:46

catalan numbers okay the 1 1 2

02:50

5 14 42 132 so that part of it is

02:53

is known and that also emboldens us

02:57

because it means that that part of the

02:59

pattern has

03:00

a a nice a nice expression or a nice

03:05

you know formula that that generates it

03:08

and that makes us hopeful that maybe the

03:10

rest of the pattern

03:11

could also be you know explained with

03:14

some

03:14

say pleasant formula now the catalan

03:18

numbers are appearing as the

03:20

coefficients of powers of

03:22

c2 just pure powers of c2

03:26

the other terms which we have now yet to

03:28

explain

03:29

involve also the variable c3

03:32

all of them involve c3 and then also c1

03:36

and some c2s as well so we want to

03:38

figure out two

03:40

kinds of things here let's write this

03:42

down

03:43

so we want to figure out

03:47

what kinds of terms

03:50

appear in one of these numerators

03:56

right like why do we get c1 squared c2

03:58

squared c3 squared and not some

04:00

some other thing why do we get c1 c2 the

04:03

fourth c3 and not some other thing

04:06

why do we execute exactly these three

04:08

things in addition to this power of

04:11

c2 and

04:14

we want to figure out what are

04:17

the coefficients that

04:20

appear with these terms

04:24

in other words why does this term that's

04:26

appearing have a coefficient of 180 in

04:29

front of it what's the significance of

04:30

180

04:33

okay so these are two um great problems

04:36

and

04:37

if you're really keen you might like to

04:39

pause

04:40

the video for an hour or a day

04:43

or a week okay and see if you can

04:46

just from this data here if you can

04:48

figure out

04:50

what the pattern is

04:53

it might be that you know we'll be

04:55

tempted to

04:56

find some more data like to push this up

04:59

a little bit

05:00

to redo the calculation going up some

05:03

more terms so that we actually get more

05:04

damage so we can see

05:06

more of the pattern making it a little

05:07

bit easier to see what's going on

05:09

but let's at first let's sort of see

05:11

what we can

05:12

deal with here okay so what can we say

05:16

about

05:16

about these things here well um

05:20

let's say start with this one this is

05:21

the first one that appears c1

05:23

times c3 okay and then

05:26

this one is c1 c2 c

05:30

3 and then here we have c1 squared c3

05:33

squared

05:34

here we have c1 c2 squared c3

05:38

c1 c2 cubed c3 c1 squared c2 c3 squared

05:42

are we seeing any kind of pattern

05:44

yes we are it appears that

05:48

the terms involved

05:52

in say a

05:55

a sub k are all of the same degree

06:01

the same total degree okay total degree

06:04

namely what is that total degree so a5

06:07

all the terms appear to be a degree four

06:12

namely k minus one so let's just check

06:16

so with a7 all the terms are of degree

06:18

six

06:19

yes they are a6 all the terms are degree

06:23

five

06:24

a three all the terms are degree two a

06:26

two

06:28

all the terms are of degree one

06:31

a one all the terms all in the numerator

06:34

are degree

06:35

zero in other words constant so yeah

06:37

that that

06:38

jives with the data that we've got so

06:41

far

06:42

but not all terms of

06:45

that total degree are appearing so um

06:49

you know that's one possible expression

06:51

in

06:52

in the c's that is of degree four but we

06:54

could also have say

06:55

c1 times c2 times c3 squared

06:59

that's not appearing why is it not

07:01

appearing

07:07

well no now

07:11

you you have to do something that um

07:16

that mathematicians you know routinely

07:18

have to do you have to try to

07:21

stare at this and try different things

07:24

okay you just say okay you assume that

07:26

there is some kind of pattern

07:28

okay that's usually the working

07:29

assumption and you have to sort of see

07:31

well what

07:31

what could possibly be maybe there's

07:33

some relatively simple

07:35

thing that that explains why these terms

07:38

are appearing and not

07:40

the other ones okay so to see what that

07:43

might be

07:44

um let's look at say a six

07:48

okay c to the fifth c one c two

07:51

cubed c three c one squared c

07:54

two c three squared

08:00

so one thing that you might eventually

08:04

come around to realizing is that these

08:06

terms all have

08:07

an additional property namely that if

08:10

you take this

08:10

exponent here this exponent is 5 and you

08:13

look at the index which is 2 the product

08:16

of 5 and 2 is

08:17

  1. okay if you look over here

08:20

the products of the the indices

08:24

and their exponents are what here

08:27

there's a total of one

08:28

here there's a total of six namely two

08:30

times three and here's a total of

08:32

three because the c is well c three is

08:35

appearing with an

08:36

exponent of one so we're having one

08:39

6 and 3. now 1 6 and 3

08:43

totals to 10 which is the same

08:46

total that we got here so what about

08:48

this one here

08:50

c1 squared so that total would be two

08:53

like if you multiply the degree

08:55

times the index here we have another two

08:58

and here we have a six that's also

09:02

ten so all these terms here have the

09:06

property

09:06

in addition to the one that we've just

09:08

mentioned that

09:10

in addition it appears

09:13

that the

09:17

we have to now introduce this kind of

09:18

new uh concept of degree right that's

09:20

that's sort of what we're being

09:22

what's suggested here that we want to

09:24

define this new concept

09:26

which is not a degree but it's some kind

09:28

of souped-up degree

09:30

that involves the real degrees and also

09:33

the

09:33

the indices okay so let me remind you

09:37

the indices here are are really coming

09:39

from

09:39

from the coefficients here and and where

09:42

they fit in the original

09:45

cubic equations that's c1 is a

09:47

coefficient of x

09:49

2 is the coefficient of x squared c 3 is

09:50

the coefficient of x cubed so

09:52

these these indices here are really are

09:55

quite intimately connected

09:56

with the the algebraic nature of the

09:59

problem they're not just sort of random

10:00

okay so often indices are maybe of sort

10:03

of random you just

10:04

say well let's let this one be a1 and

10:05

this would be a2 and this one be a3 and

10:06

so on

10:07

but that's not what's happening here

10:08

they're actually the indices are closely

10:11

connected with the actual position of

10:13

these objects in the

10:14

the thing so so it makes sense that that

10:16

some formula involving

10:18

the degrees and the indices you know

10:20

might conceivably have some some value

10:22

in it and

10:23

that's what's appearing here so let's

10:24

define that the

10:26

the following quantity

10:29

let's give it a name what should we call

10:30

it okay it involves indices

10:33

and it involves degrees

10:37

let's define the

10:40

index degree how about that okay maybe

10:43

the simplest thing i can think of

10:44

the index degree where is our bold

10:49

uh bold uh

10:52

i think my tool with bold is not around

10:55

here let's

10:56

view it let me get maybe i can just do

10:58

it directly

10:59

how do i make a bold i need another

11:03

toolbar let me just have a look here

11:05

another toolbar

11:10

editing editing sounds reasonable

11:13

let's where's the editing one

11:19

oh it's down here okay i don't know okay

11:22

there it is um i need to put it

11:24

somewhere

11:24

let me put it up here

11:33

so when you first open scientific

11:35

workplace

11:36

these things up here are not populated

11:38

so these are tools and they're

11:41

obtained from from view here

11:44

toolbars you see these toolbars here you

11:46

click that and you have a whole list of

11:48

toolbars

11:49

and the ones that i've checked are the

11:50

ones that have

11:52

appeared and i've been able to put them

11:54

where i want okay you may have to do

11:56

something like i did sort of

11:57

manipulate them a little bit but now

11:59

i've just added the edit

12:01

tool there it is there and that that one

12:04

there it allows me to make something

12:06

bold so i'm going to put b

12:07

for bold and there we get a nice ball so

12:10

i like to

12:11

make my definitions in bold that's a

12:13

relatively simple way of

12:15

denoting the fact that we're defining

12:16

something so define the index degree

12:19

of a term of a term okay now i don't

12:22

want to continue with that ball so let

12:24

me make that

12:25

normal okay so what

12:28

what's the general kind of thing so

12:31

suppose we have say um

12:32

c sub 1 to the

12:36

power i don't know m sub 1

12:39

okay and then something with c2 and

12:42

something with c3

12:44

so we'll change these ones to twos

12:48

and this three c

12:51

sub three super m

12:55

sub three okay so there's a term

12:58

consisting of c ones

12:59

c two c threes we'll define the index

13:01

degree of a term

13:02

thing to be the sum

13:06

of the products of the

13:11

indices and the degrees

13:15

of each of the constituent

13:22

variables

13:26

i.e in this case it would be

13:30

1 times

13:34

m sub 1 plus 2 times

13:37

m sub 2 plus 3 times

13:41

m sub 3.

13:45

okay that's the index degree of this

13:47

term

13:48

and we're claiming in addition appears

13:50

that the following quantity namely that

13:51

thing

13:52

is constant

13:56

is constant

14:00

in each expression

14:05

in each of the ais let's say

14:14

let's check that with the other ones

14:16

just to make sure that's true

14:18

okay so for a3 the index degree here is

14:22

two the index degree here is

14:24

one times one plus one times three sorry

14:26

the index degree here is

14:28

uh two times two that's 4. the index

14:30

degree here is 1

14:31

times 1 and 3 times 1 that's a

14:34

total of 4. yes so the index degree of

14:36

all the terms here is 4.

14:38

the ordinary degree of of both these

14:40

terms is 2.

14:41

the index degree is how about over here

14:44

the index degree is six and here we have

14:46

one plus two plus three which is also

14:48

six

14:51

uh the ordinary degree is three

14:54

uh here the index degree is eight

14:58

two plus six is eight

15:01

one plus four plus three that's also

15:03

eight well the ordinary degree

15:05

is a four

15:08

so it appears let me add this it appears

15:12

then that the

15:15

index degree

15:19

is always exactly twice

15:25

the usual degree

15:28

okay let's carry on not just checking if

15:29

that's true so for a6

15:31

we have degree index degree 10

15:34

index degree 1 plus 6 plus 3 which is

15:37

also 10 and index degree

15:38

2 plus 2 plus 6 which is also 10 which

15:41

is twice the degree which is 5.

15:43

okay and for a7 an index degree of 12

15:46

for this one

15:47

3 plus 9 that's also 12 and here 2

15:51

plus 4 plus 6 which is also 12

15:54

and here 1 plus 8 plus 3 which is also

15:58

12

15:58

and they all have degree otherwise

16:02

6.

16:06

now are we getting

16:09

all such

16:12

we've said that that all the terms that

16:14

are appearing here

16:16

are are of of degree whatever they are

16:22

and then to end of index degree whatever

16:24

they are so for a seven the the total

16:27

degree was

16:28

six

16:31

so let's say so the total degree

16:35

or the the usual degree is

16:40

k minus one while the

16:43

index degree is

16:47

two times k minus one so when

16:50

k is 7 the usual degrees are

16:53

6 of all these terms while the index

16:55

degree is

16:57

2 times 6 which is 12.

17:00

but do all

17:04

terms that have

17:08

this property actually

17:12

appear

17:15

so each of the terms that are appearing

17:17

here has this property that the

17:20

degree is a certain thing and the index

17:21

degree is something but maybe there's

17:23

some other term

17:24

that's not on this list which also has

17:26

this property

17:27

or are these exactly the four

17:31

uh terms that have the property that

17:34

they're

17:34

you know their index degree is six

17:37

and they're sorry their usual degree is

17:40

six and their index degree is 12.

17:43

okay so that's something that we would

17:44

have to kind of check and i'm going to

17:48

leave this as a little exercise so you

17:50

can

17:51

a question is this

17:54

the case

18:00

so um if it is then we're in a kind of a

18:04

happy situation

18:05

because then now we've sort of solved

18:07

half of the problem that we wanted to

18:09

understand we want uh to understand

18:12

which of these terms appears and now we

18:13

have a

18:14

kind of a reasonable you know guess at

18:17

least as to

18:17

how to predict which kinds of terms are

18:20

going to appear

18:21

for one of these a's great

18:24

now the second part of the problem is to

18:26

figure out the coefficients

18:28

that are in front of those terms

18:32

so now we want to understand the

18:33

coefficients

18:35

and perhaps the first thing to do is to

18:37

observe that

18:38

whatever coefficients are happening here

18:41

some of them have

18:42

plus signs and some of them have minus

18:43

signs in front of them so that might be

18:45

a first thing to figure out

18:47

which ones have the plus signs and which

18:49

ones the minus signs

18:50

there's a little bit of inconsistency

18:51

the way we're writing things here

18:52

because there's minus signs in front of

18:54

all these ones except for this one

18:56

so let's just adjust this so it's a

18:57

little bit more in keeping with

18:59

the other things so scientific workplace

19:01

just says some automatic default ways of

19:04

expressing things and sometimes you just

19:05

have to adjust so that

19:07

things are looking a little bit more

19:08

consistent from your point of view so

19:10

now

19:10

things are a little bit more consistent

19:12

and now we can ask okay there's

19:14

these minus signs in front here but say

19:15

in these terms here

19:17

which terms have plus signs

19:20

in front of them which ones have

19:21

negative signs in front of them so how

19:22

about the negative signs

19:24

here there's a negative sign in front of

19:26

c1 and c3

19:27

here also in front of c1 c2 c3

19:30

here in front of c1 c2 squared c3

19:34

here in front of c1 c2 cube c3

19:39

here in front of c1 cubed c3 cubed

19:42

and here in front of c1c to the 4th

19:45

c3

19:48

it appears oops

19:52

it appears that the sign

19:56

of the terms

20:01

is determined by

20:07

well i think it's not too hard to figure

20:10

out what it is at least

20:11

sort of what suggested it's c1 which is

20:15

controlling this

20:16

is determined by um the

20:20

power of c1

20:23

appearing in the term

20:28

uh if there is

20:31

an even power then we get

20:35

well it depends on whether we're

20:36

including this minus sign but if we're

20:38

just including

20:38

just looking at these terms here uh an

20:40

even power then we

20:42

for example this

20:45

this one here is an even power no this

20:48

one here is an even power

20:49

it looks like we get a plus sign

20:53

[Music]

20:55

and with an odd power

21:00

we get a minus sign

21:04

so this is not including the common

21:11

minus sign out front just so we don't

21:16

get confused

21:17

so i think it's reasonably we have a

21:20

reasonable

21:21

guess as to what determines the sign so

21:23

that's also

21:24

making us more confident right there is

21:27

a pattern here it's not just some kind

21:28

of random thing

21:29

it's not like we're talking about prime

21:30

numbers you know some kind of randomness

21:32

now it appears that there's perhaps some

21:34

kind of formula here so now we have to

21:36

get to grips with

21:37

the actual numbers that appear so

21:41

to get to grips

21:44

with the numbers that appear

21:50

as coefficients let's

21:55

first just write them down

22:00

in a nice way so there's a

22:03

kind of an array of of numbers here it's

22:05

kind of a triangular right but the

22:06

these numbers these coefficients are

22:08

getting a little bigger as we go down so

22:11

we're going to use a matrix to

22:14

to do that now one way of doing a matrix

22:16

is to use this sign right here you see

22:18

this symbol here

22:19

so if i pop that up there then i get a

22:22

possibility of creating a matrix of a

22:24

certain dimension

22:25

and that's quite useful but i'm going to

22:27

do it in another way

22:28

i'm going to go to the compute tab here

22:32

and go down to matrices okay

22:35

you see that there's a whole bunch of

22:37

tools for matrices so you can learn a

22:39

lot

22:40

of say linear algebra just by playing

22:42

around with these

22:44

these tools okay but we're going to go

22:46

to fill matrix

22:49

so we're going to create a matrix of a

22:51

certain size

22:52

that's filled with with something okay

22:55

and

22:55

let's fill it with zeros to start with

22:58

just so it's filled with something

22:59

and how big is this thing going to be

23:02

um well we're going down to

23:06

one two three four and then three and

23:08

then

23:09

and this one also has three and then

23:11

this one has two and then this is one

23:12

and one and one so it looks like maybe

23:14

um

23:16

uh well there's seven seven of these so

23:18

seven rows

23:19

okay maybe some might make it seven rows

23:22

and

23:22

uh and it looks like we are going to

23:24

have four columns that might

23:27

might do the trick

23:31

and um okay you can see there there's

23:33

that matrix

23:34

i'm going to just move it actually for

23:36

convenience just temporarily

23:39

i'm going to move it up here somewhere

23:44

so i can manipulate it and fill it in

23:47

with the things here

23:48

i'll put a few spaces

23:52

okay i also prefer to have my matrices

23:55

with

23:56

parentheses so i'm going to go to

23:58

properties this magnifying glasses

24:00

properties so now i can adjust the look

24:02

of this matrix looks a bit more like a

24:05

matrix now to me

24:06

okay so i'm going to populate this with

24:08

the coefficients with just the

24:10

coefficients that are appearing

24:12

okay there's a 1 there's a 1

24:15

and i'm going to ignore the the signs

24:18

two

24:18

and one appearing there and then on the

24:20

next row

24:22

we have a five and another five

24:25

and then a 14 and a three

24:28

and a 21 and then

24:34

42 and 84

24:39

28

24:44

132 a 12

24:48

180 and a 330

24:52

okay that's really capturing the

24:55

the coefficients that appear and the

24:57

first column of this

24:58

we are happy with those are the catalan

25:02

numbers

25:03

now as for these other ones along each

25:06

row the numbers are determined

25:08

but the actual order along the row is a

25:10

little bit random right a scientific

25:12

workplace has just

25:13

spewed out these polynomials in some

25:15

fashion it's not entirely clear

25:17

what you know what the mechanism is but

25:20

we don't have to concern ourselves with

25:21

that we just have to recognize that this

25:22

is not a god-given order so

25:24

it might be that it's convenient to

25:26

rearrange the entries

25:28

along a given row okay so

25:31

let's grab that again and bring it down

25:33

here somewhere

25:36

okay and and now

25:41

for the coefficients

25:47

okay there's that matrix so we want to

25:49

um

25:50

come to grips we want to explain what

25:52

are these things so

25:54

the first column

25:57

first column are catalan numbers

26:02

and i remind you that they are like what

26:04

we call c sub uh

26:07

n and that was fraction 1 over

26:12

n plus 1 times the binomial coefficient

26:16

which is down here

26:18

binomial coefficient 2n choose

26:22

n and if we want to write that out it's

26:25

the same as a

26:26

2n factorial divided by

26:32

n plus 1 factorial times n

26:36

factorial

26:42

okay what are we gonna do well

26:45

we have to stare at these numbers okay

26:47

let's see if we can you know make some

26:49

sense

26:50

of them and

26:54

one natural thing to do is

26:58

to look at the factorization of these

27:02

numbers into

27:03

into primes so that's that's a general

27:06

kind of

27:06

you know idea that you can do you're

27:09

looking for some formula

27:11

if the formula is going to involve

27:13

factorials or

27:14

products of factorials or something like

27:16

that then

27:18

the prime power decomposition of the

27:20

numbers

27:21

is something that's going to help you in

27:23

identifying that

27:25

so the advantage in having them all here

27:27

in a matrix

27:28

is that we can factor them

27:32

we can factor them all at the same time

27:36

and now we are

27:39

kind of happy because look at the

27:41

factorizations even though some of the

27:43

numbers are big

27:44

the prime factors that appear are all

27:48

relatively small in fact the highest

27:50

prime factor is eleven

27:53

two times three times five times eleven

27:55

here we have two squared three squared

27:57

five

27:57

two squared seven three times seven two

28:00

squared 3

28:01

and so on so this is quite a nice

28:05

and now what we're this suggests that a

28:09

formula like this a catalan type formula

28:13

might very well be explaining these

28:16

additional coefficients that are

28:18

appearing here

28:20

so that's good we're happy with that we

28:22

want to find

28:23

such um you know such a

28:26

formula so for that we want to go back

28:29

to our

28:30

our list of actual

28:34

numbers

28:40

and stare at them a little bit more so

28:44

what we want to do is we want to

28:45

associate you know these numbers here

28:47

with these terms

28:49

so we know what the first column so what

28:51

i'm going to do is i'm going to just

28:52

sort of

28:52

put the the relative the relevant um

28:56

pieces of data together so i'm just

28:58

going to put the terms

28:59

that uh that go with the uh the numbers

29:03

uh beside the numbers so we can kind of

29:05

stare at them

29:06

maybe that'll give us some kind of clue

29:08

as to how to get

29:10

the numbers from from the terms

29:15

21 that's that one there um

29:18

the 84 was this one here

29:25

and here

29:28

[Music]

29:38

and

29:50

okay we'll put that right there okay

29:55

so now what we want to do is we want to

29:58

try to explain the numbers that are

29:59

appearing here

30:02

in terms of the terms how can we predict

30:05

that this is going to be 3 times 7 from

30:07

from

30:08

from this so let's let's go down this

30:11

column since we sort of understand this

30:12

column and maybe it's actually helpful

30:14

for us to actually

30:15

put that first column in as well right

30:17

so that there's c2

30:19

and then there's c2 squared

30:24

and c2 cubed

30:28

[Music]

30:29

and c2 to the fourth

30:36

and all the way up to c2 to 6. so now

30:38

we've got all the information so we

30:39

shouldn't disregard this because this is

30:41

you know what we know about so whatever

30:43

connection that

30:45

the 5 has to the c2 cubed

30:48

might give us some insight into you know

30:50

these other ones

Attachments