A Linear Algebra Problem Related to Legendre Polynomials Scott - - PowerPoint PPT Presentation

a linear algebra problem related to legendre polynomials
SMART_READER_LITE
LIVE PREVIEW

A Linear Algebra Problem Related to Legendre Polynomials Scott - - PowerPoint PPT Presentation

A Linear Algebra Problem Related to Legendre Polynomials Scott Cameron Dalhousie University, Halifax, Nova Scotia, Canada June 27, 2018 Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials Introduction: Statement of the


slide-1
SLIDE 1

A Linear Algebra Problem Related to Legendre Polynomials

Scott Cameron

Dalhousie University, Halifax, Nova Scotia, Canada

June 27, 2018

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-2
SLIDE 2
  • Introduction: Statement of the Original Problem

Find f(x) such that g( 1

2) =

1 f(x)g(x)dx where f(x) and g(x) are polynomials of degree ≤ 2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-3
SLIDE 3

To solve let f(x) = ax2 + bx + c and g(x) = αx2 + βx + γ

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-4
SLIDE 4

To solve let f(x) = ax2 + bx + c and g(x) = αx2 + βx + γ Now we simply multiply these and integrate from 0 to 1. The result of this must be equal to g( 1

2).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-5
SLIDE 5

To solve let f(x) = ax2 + bx + c and g(x) = αx2 + βx + γ Now we simply multiply these and integrate from 0 to 1. The result of this must be equal to g( 1

2).

Then we just allow the coefficients of α, β, andγ to be equal and solve a system of equations.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-6
SLIDE 6

The leads to the solution f(x) = −15x2 + 15x − 3 2

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-7
SLIDE 7

The leads to the solution f(x) = −15x2 + 15x − 3 2 After finding this solution I wanted to have some fun and see how the answer changed if I made a small change to the

  • riginal problem.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-8
SLIDE 8

Here is the problem I answered next.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-9
SLIDE 9

Here is the problem I answered next. Find f(x) such that g( 1

2) =

1 f(x)g(x)dx where g(x) and f(x) are polynomials of degree ≤ 3.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-10
SLIDE 10

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-11
SLIDE 11

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-12
SLIDE 12

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-13
SLIDE 13

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

Good.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-14
SLIDE 14

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

  • Good. So then what if deg ≤ 3?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-15
SLIDE 15

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

  • Good. So then what if deg ≤ 3?

Maple responds f(x) = −15x2 + 15x − 3

2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-16
SLIDE 16

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

  • Good. So then what if deg ≤ 3?

Maple responds f(x) = −15x2 + 15x − 3

2.

?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-17
SLIDE 17

This problem is of course solved in the exact same way as the previous, however I did not want to solve the system of equations by hand, and so I taught Maple how to solve the problem and asked for some help. To test if Maple understood, I asked what if deg ≤ 2? Maple responds f(x) = −15x2 + 15x − 3

2.

  • Good. So then what if deg ≤ 3?

Maple responds f(x) = −15x2 + 15x − 3

2.

? I must have somehow accidently told Maple to assume that the degree was always ≤ 2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-18
SLIDE 18

Before checking my work I first decided to ask Maple one more question.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-19
SLIDE 19

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-20
SLIDE 20

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-21
SLIDE 21

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Oh?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-22
SLIDE 22

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Oh? deg ≤ 5?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-23
SLIDE 23

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Oh? deg ≤ 5? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-24
SLIDE 24

Before checking my work I first decided to ask Maple one more question. What if deg ≤ 4? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Oh? deg ≤ 5? Maple responds f(x) = 945

4 x4 − 945 2 x3 + 1155 4 x2 − 105 2 x + 15 8 .

Same thing again.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-25
SLIDE 25

I continued for a few more degrees, and the pattern continued as well.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-26
SLIDE 26

I continued for a few more degrees, and the pattern continued as well. I thought maybe it is somehow possible that I made a mistake that only appears for odd degrees, so I checked if the answer held up with the original problem.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-27
SLIDE 27

I continued for a few more degrees, and the pattern continued as well. I thought maybe it is somehow possible that I made a mistake that only appears for odd degrees, so I checked if the answer held up with the original problem. I asked Maple for a random polynomial of degree ≤ 3, and integrated it against f(x) = −15x2 + 15x − 3

2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-28
SLIDE 28

I continued for a few more degrees, and the pattern continued as well. I thought maybe it is somehow possible that I made a mistake that only appears for odd degrees, so I checked if the answer held up with the original problem. I asked Maple for a random polynomial of degree ≤ 3, and integrated it against f(x) = −15x2 + 15x − 3

2.

The answer was the random polynomial at x = 1

  • 2. Perhaps no

mistake was made.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-29
SLIDE 29

I continued for a few more degrees, and the pattern continued as well. I thought maybe it is somehow possible that I made a mistake that only appears for odd degrees, so I checked if the answer held up with the original problem. I asked Maple for a random polynomial of degree ≤ 3, and integrated it against f(x) = −15x2 + 15x − 3

2.

The answer was the random polynomial at x = 1

  • 2. Perhaps no

mistake was made. But why is this happening?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-30
SLIDE 30

I continued for a few more degrees, and the pattern continued as well. I thought maybe it is somehow possible that I made a mistake that only appears for odd degrees, so I checked if the answer held up with the original problem. I asked Maple for a random polynomial of degree ≤ 3, and integrated it against f(x) = −15x2 + 15x − 3

2.

The answer was the random polynomial at x = 1

  • 2. Perhaps no

mistake was made. But why is this happening? To answer this we will state the question again, but in more general terms.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-31
SLIDE 31
  • Generalizing the Problem

Find fn(x) such that g(c) = 1 fn(x)g(x)dx where g(x) and fn(x) are polynomials of degree ≤ n.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-32
SLIDE 32
  • Generalizing the Problem

Find fn(x) such that g(c) = 1 fn(x)g(x)dx where g(x) and fn(x) are polynomials of degree ≤ n. Now let us write our question in terms of the following proposition.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-33
SLIDE 33

Proposition Let fn(x) be as previously defined. Then when c = 1

2 we have

f2m+1(x) = f2m(x) for m ∈ N.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-34
SLIDE 34

Proposition Let fn(x) be as previously defined. Then when c = 1

2 we have

f2m+1(x) = f2m(x) for m ∈ N. So then let fn(x) =

n

  • k=0

akxk

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-35
SLIDE 35

Proposition Let fn(x) be as previously defined. Then when c = 1

2 we have

f2m+1(x) = f2m(x) for m ∈ N. So then let fn(x) =

n

  • k=0

akxk and g(x) =

n

  • k=0

bkxk

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-36
SLIDE 36

Proposition Let fn(x) be as previously defined. Then when c = 1

2 we have

f2m+1(x) = f2m(x) for m ∈ N. So then let fn(x) =

n

  • k=0

akxk and g(x) =

n

  • k=0

bkxk Solving in the same manner leads to

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-37
SLIDE 37

        1

1 2 1 3

. . .

1 n+1 1 2 1 3 1 4

. . .

1 n+2 1 3 1 4 1 5

. . .

1 n+3

. . . . . . . . . ... . . .

1 n+1 1 n+2 1 n+3

. . .

1 2n+1

               a0 a1 a2 . . . an        =        1 c c2 . . . cn       

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-38
SLIDE 38

        1

1 2 1 3

. . .

1 n+1 1 2 1 3 1 4

. . .

1 n+2 1 3 1 4 1 5

. . .

1 n+3

. . . . . . . . . ... . . .

1 n+1 1 n+2 1 n+3

. . .

1 2n+1

               a0 a1 a2 . . . an        =        1 c c2 . . . cn        Now write this as Ha = c.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-39
SLIDE 39

        1

1 2 1 3

. . .

1 n+1 1 2 1 3 1 4

. . .

1 n+2 1 3 1 4 1 5

. . .

1 n+3

. . . . . . . . . ... . . .

1 n+1 1 n+2 1 n+3

. . .

1 2n+1

               a0 a1 a2 . . . an        =        1 c c2 . . . cn        Now write this as Ha = c. The choice of H is because matrices of this form (Hi,j =

1 i+j−1)

are known as Hilbert matrices.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-40
SLIDE 40

To continue we need to know the inverse of the matrix H.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-41
SLIDE 41

To continue we need to know the inverse of the matrix H. Luckily Hilbert matrices have a known formula for the entries of their inverse.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-42
SLIDE 42

To continue we need to know the inverse of the matrix H. Luckily Hilbert matrices have a known formula for the entries of their inverse. (Hi,j)−1 = (−1)i+j−1(i+j−1) n + i i + j − 1 n + j i + j − 1 i + j − 2 i − 1 2 .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-43
SLIDE 43

To continue we need to know the inverse of the matrix H. Luckily Hilbert matrices have a known formula for the entries of their inverse. (Hi,j)−1 = (−1)i+j−1(i+j−1) n + i i + j − 1 n + j i + j − 1 i + j − 2 i − 1 2 . Before continuing we need a definition.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-44
SLIDE 44

Definition Let hn,i(c) be the polynomial created by taking the dot product

  • f the ith row of H−1 and c.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-45
SLIDE 45

Definition Let hn,i(c) be the polynomial created by taking the dot product

  • f the ith row of H−1 and c.

These polynomials determine the coefficients of fn(x). That is, hn,i(c) = ai−1, or fn(x) =

n+1

  • k=1

hn,k(c)xk−1

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-46
SLIDE 46

Definition Let hn,i(c) be the polynomial created by taking the dot product

  • f the ith row of H−1 and c.

These polynomials determine the coefficients of fn(x). That is, hn,i(c) = ai−1, or fn(x) =

n+1

  • k=1

hn,k(c)xk−1 Let’s do an example to clarify.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-47
SLIDE 47

Example: If n = 2, then H =   1

1 2 1 3 1 2 1 3 1 4 1 3 1 4 1 5

  .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-48
SLIDE 48

Example: If n = 2, then H =   1

1 2 1 3 1 2 1 3 1 4 1 3 1 4 1 5

  . Using our formula, H−1 =   9 −36 30 −36 192 −180 30 −180 180   .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-49
SLIDE 49

Example: If n = 2, then H =   1

1 2 1 3 1 2 1 3 1 4 1 3 1 4 1 5

  . Using our formula, H−1 =   9 −36 30 −36 192 −180 30 −180 180   . So we have n = 2 and can see that 1 ≤ i ≤ 3. Thus h2,1(c) = 9 − 36c + 30c2, h2,2(c) = −36 + 192c − 180c2, h2,3(c) = 30 − 180c + 180c2, fn(x) =h2,1(c) + h2,2(c)x + h2,3(c)x2

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-50
SLIDE 50

Now back to our problem.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-51
SLIDE 51

Now back to our problem. If n is odd, and fn(x) = fn−1(x) when c = 1

2, then the degree of

fn(x) is n − 1. This means that an = 0 in fn(x).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-52
SLIDE 52

Now back to our problem. If n is odd, and fn(x) = fn−1(x) when c = 1

2, then the degree of

fn(x) is n − 1. This means that an = 0 in fn(x). This would correspond to the polynomial formed by the bottom row of H−1 having a root at c = 1

  • 2. Using our definition, this can

be written as hn,n+1(c) having a root at c = 1

2.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-53
SLIDE 53

Now back to our problem. If n is odd, and fn(x) = fn−1(x) when c = 1

2, then the degree of

fn(x) is n − 1. This means that an = 0 in fn(x). This would correspond to the polynomial formed by the bottom row of H−1 having a root at c = 1

  • 2. Using our definition, this can

be written as hn,n+1(c) having a root at c = 1

2.

Using the formula for H−1 we can write hn,n+1(c) as hn,n+1(c) =

n+1

  • j=1

(−1)n+j+1(n + j) 2n + 1 n + j n + j n + j n + j − 1 n 2 cj−1

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-54
SLIDE 54

Rearranging, simplifying, and shifting indicies gives us

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-55
SLIDE 55

Rearranging, simplifying, and shifting indicies gives us hn,n+1(c) = (−1)n(2n + 1) 2n + 1 n

  • n
  • k=0

(−1)k n k n + k k

  • ck.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-56
SLIDE 56

Rearranging, simplifying, and shifting indicies gives us hn,n+1(c) = (−1)n(2n + 1) 2n + 1 n

  • n
  • k=0

(−1)k n k n + k k

  • ck.

This form is exactly what we need. The sum is our polynomial, and then we have a scaling factor outside.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-57
SLIDE 57

Rearranging, simplifying, and shifting indicies gives us hn,n+1(c) = (−1)n(2n + 1) 2n + 1 n

  • n
  • k=0

(−1)k n k n + k k

  • ck.

This form is exactly what we need. The sum is our polynomial, and then we have a scaling factor outside. All we need now is a definition to solve our problem.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-58
SLIDE 58

Definition The shifted Legendre polynomials, denoted ˜ Pn(x), are given by ˜ Pn(x) = (−1)n

n

  • k=0

(−1)k n k n + k k

  • xk.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-59
SLIDE 59

Definition The shifted Legendre polynomials, denoted ˜ Pn(x), are given by ˜ Pn(x) = (−1)n

n

  • k=0

(−1)k n k n + k k

  • xk.

Looking back at our expresion for hn,n+1(c), hn,n+1(c) = (−1)n(2n + 1) 2n + 1 n

  • n
  • k=0

(−1)k n k n + k k

  • ck,

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-60
SLIDE 60

Definition The shifted Legendre polynomials, denoted ˜ Pn(x), are given by ˜ Pn(x) = (−1)n

n

  • k=0

(−1)k n k n + k k

  • xk.

Looking back at our expresion for hn,n+1(c), hn,n+1(c) = (−1)n(2n + 1) 2n + 1 n

  • n
  • k=0

(−1)k n k n + k k

  • ck,

we can now see that hn,n+1(c) is just a multiple of ˜ Pn(c).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-61
SLIDE 61

The shifted Legendre polynomials are so named because they are, unsurprisingly, Legendre polynomials which have been shifted.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-62
SLIDE 62

The shifted Legendre polynomials are so named because they are, unsurprisingly, Legendre polynomials which have been shifted. The shift is given by sending x to 2x − 1. That is, if we denote the Legendre polynomials by Pn(x), then Pn(2x − 1) = ˜ Pn(x).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-63
SLIDE 63

The shifted Legendre polynomials are so named because they are, unsurprisingly, Legendre polynomials which have been shifted. The shift is given by sending x to 2x − 1. That is, if we denote the Legendre polynomials by Pn(x), then Pn(2x − 1) = ˜ Pn(x). The Legendre polynomials are known to have x = 0 as a root when their degree is odd. Therefore, the shifted Legendre polynomials must have a root at x = 1

2 when their degree is

  • dd.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-64
SLIDE 64

So, hn,n+1(c) = an and these are just multiples of the shifted Legendre polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-65
SLIDE 65

So, hn,n+1(c) = an and these are just multiples of the shifted Legendre polynomials. The shifted Legendre polynomials have a root at 1

2 when their

degree is odd.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-66
SLIDE 66

So, hn,n+1(c) = an and these are just multiples of the shifted Legendre polynomials. The shifted Legendre polynomials have a root at 1

2 when their

degree is odd. Therefore, if n is odd and c = 1

2, then an = 0. This ends up

forcing fn(x) = fn−1(x), thus answering our question.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-67
SLIDE 67

The appearance of Legendre polynomials is unsurprising since the original problem involves an inner product of polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-68
SLIDE 68

The appearance of Legendre polynomials is unsurprising since the original problem involves an inner product of polynomials. However, when I found this solution, It gave me another question.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-69
SLIDE 69

The appearance of Legendre polynomials is unsurprising since the original problem involves an inner product of polynomials. However, when I found this solution, It gave me another question. If hn,n+1(c) is always just a multiple of a shifted Legendre polynomial, what do other rows correspond to?

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-70
SLIDE 70

The appearance of Legendre polynomials is unsurprising since the original problem involves an inner product of polynomials. However, when I found this solution, It gave me another question. If hn,n+1(c) is always just a multiple of a shifted Legendre polynomial, what do other rows correspond to? That is, how does hn,1(c) change as we change n? hn,2(c)? etc.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-71
SLIDE 71
  • Another Approach to the Problem and the Other

Rows of H−1

Until now, I have been using just basic calculus and matrix

  • perations to answer these questions. There is however a

better way.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-72
SLIDE 72
  • Another Approach to the Problem and the Other

Rows of H−1

Until now, I have been using just basic calculus and matrix

  • perations to answer these questions. There is however a

better way. Theorem (Riesz Represention Theorem) If we have some finite dimensional vector space, V, and some linear functional φ on V, then there is a unique vector u ∈ V such that φ(v) = v, u for all v ∈ V.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-73
SLIDE 73
  • Another Approach to the Problem and the Other

Rows of H−1

Until now, I have been using just basic calculus and matrix

  • perations to answer these questions. There is however a

better way. Theorem (Riesz Represention Theorem) If we have some finite dimensional vector space, V, and some linear functional φ on V, then there is a unique vector u ∈ V such that φ(v) = v, u for all v ∈ V. We can interpret our problem in terms of this theorem. The integral is an inner product, g(x) corresponds to v, fn(x) corresponds to u, and evaluation at c is a linear functional.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-74
SLIDE 74

This theorem has the consequence of allowing us to write fn(x) =

n

  • k=0

˜ Pk(c)˜ Pk(x) 1 ˜ Pk(x)2dx =

n

  • k=0

(2k + 1)˜ Pk(c)˜ Pk(x)

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-75
SLIDE 75

This theorem has the consequence of allowing us to write fn(x) =

n

  • k=0

˜ Pk(c)˜ Pk(x) 1 ˜ Pk(x)2dx =

n

  • k=0

(2k + 1)˜ Pk(c)˜ Pk(x) It should be noted that this expression for fn(x) shows us that it is actually a familier concept in the study of orthogonal polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-76
SLIDE 76

This theorem has the consequence of allowing us to write fn(x) =

n

  • k=0

˜ Pk(c)˜ Pk(x) 1 ˜ Pk(x)2dx =

n

  • k=0

(2k + 1)˜ Pk(c)˜ Pk(x) It should be noted that this expression for fn(x) shows us that it is actually a familier concept in the study of orthogonal polynomials. In this form fn(x) would be called the kernel of the shifted Legendre polynomials. Therefore what I am studying can be interpreted as looking at how the coefficients of this kernel change with n, and with c.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-77
SLIDE 77

Moving back to hn,i(c), we can use the previous expression of fn(x) and the fact that fn(x) =

n+1

  • k=1

hn,k(c)xk−1

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-78
SLIDE 78

Moving back to hn,i(c), we can use the previous expression of fn(x) and the fact that fn(x) =

n+1

  • k=1

hn,k(c)xk−1 To find that hn,i(c) =

n

  • k=i−1

(−1)k+i−1 k i − 1 k + i − 1 i − 1

  • (2k + 1)˜

Pk(c)

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-79
SLIDE 79

Moving back to hn,i(c), we can use the previous expression of fn(x) and the fact that fn(x) =

n+1

  • k=1

hn,k(c)xk−1 To find that hn,i(c) =

n

  • k=i−1

(−1)k+i−1 k i − 1 k + i − 1 i − 1

  • (2k + 1)˜

Pk(c) Using this equation, I wanted to find a generating function for these polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-80
SLIDE 80

First let us focus on i = 1.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-81
SLIDE 81

First let us focus on i = 1. If i = 1 we have hn,1(c) =

n

  • k=0

(−1)k(2k + 1)˜ Pk(c).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-82
SLIDE 82

First let us focus on i = 1. If i = 1 we have hn,1(c) =

n

  • k=0

(−1)k(2k + 1)˜ Pk(c). Now we need to make use of a relationship between the shifted Legendre polynomials. (n + 1)˜ Pn+1(x) = (2n + 1)(2x − 1)˜ Pn(x) − n˜ Pn−1(x)

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-83
SLIDE 83

First let us focus on i = 1. If i = 1 we have hn,1(c) =

n

  • k=0

(−1)k(2k + 1)˜ Pk(c). Now we need to make use of a relationship between the shifted Legendre polynomials. (n + 1)˜ Pn+1(x) = (2n + 1)(2x − 1)˜ Pn(x) − n˜ Pn−1(x) Combining the two expressions, it can be shown that hn,1(c) = (−1)n(n + 1) 2c

  • ˜

Pn(c) + ˜ Pn+1(c)

  • Scott Cameron

A Linear Algebra Problem Related to Legendre Polynomials

slide-84
SLIDE 84

First let us focus on i = 1. If i = 1 we have hn,1(c) =

n

  • k=0

(−1)k(2k + 1)˜ Pk(c). Now we need to make use of a relationship between the shifted Legendre polynomials. (n + 1)˜ Pn+1(x) = (2n + 1)(2x − 1)˜ Pn(x) − n˜ Pn−1(x) Combining the two expressions, it can be shown that hn,1(c) = (−1)n(n + 1) 2c

  • ˜

Pn(c) + ˜ Pn+1(c)

  • Using this we can find a generating function for hn,1(c).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-85
SLIDE 85

Rearranging, multiplying by xn+1, and summing over n yields

  • n=0

hn,1(c)xn+1 n + 1 = −

  • n=0

1 2c

  • ˜

Pn(c)(−x)n+1 + ˜ Pn+1(c)(−x)n+1 = − 1 2c

  • −x

  • n=0

˜ Pn(c)(−x)n +

  • n=0

˜ Pn(c)(−x)n − ˜ P0(c)

  • = − 1

2c

  • (1 − x)

  • n=0

˜ Pn(c)xn − 1

  • = − 1

2c

  • 1 − x
  • 1 + 2(2c − 1)x + x2 − 1
  • .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-86
SLIDE 86

Rearranging, multiplying by xn+1, and summing over n yields

  • n=0

hn,1(c)xn+1 n + 1 = −

  • n=0

1 2c

  • ˜

Pn(c)(−x)n+1 + ˜ Pn+1(c)(−x)n+1 = − 1 2c

  • −x

  • n=0

˜ Pn(c)(−x)n +

  • n=0

˜ Pn(c)(−x)n − ˜ P0(c)

  • = − 1

2c

  • (1 − x)

  • n=0

˜ Pn(c)xn − 1

  • = − 1

2c

  • 1 − x
  • 1 + 2(2c − 1)x + x2 − 1
  • .

Now we take the derivative with respect to x of both sides which gives us the generating function.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-87
SLIDE 87

Let H1(x) be the generating function for hn,1(c).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-88
SLIDE 88

Let H1(x) be the generating function for hn,1(c). Then we have from the previous slide H1(x) = − 1 2c d dx

  • 1 − x
  • 1 + 2(2c − 1)x + x2 − 1
  • =

1 + x (1 + 2(2c − 1)x + x2)

3 2 Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-89
SLIDE 89

Now using our expression for H1(x), along with hn,i(c) =

n

  • k=i−1

(−1)k+i−1 k i − 1 k + i − 1 i − 1

  • (2k + 1)˜

Pk(c) we can find an expression for the generating function of any hn,i(c), denoted Hi(x).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-90
SLIDE 90

Sparing the details of the calculation, as it is more complicated but similar to the derivation of H1(x), the final final result is given by Hi(x) = (−x)i−1 (1 − x)((i − 1)!)2 d2i−2 dx2i−2

  • xi−1(1 − x)(1 + x)

(1 + 2(2c − 1)x + x2)

3 2

  • Scott Cameron

A Linear Algebra Problem Related to Legendre Polynomials

slide-91
SLIDE 91

Sparing the details of the calculation, as it is more complicated but similar to the derivation of H1(x), the final final result is given by Hi(x) = (−x)i−1 (1 − x)((i − 1)!)2 d2i−2 dx2i−2

  • xi−1(1 − x)(1 + x)

(1 + 2(2c − 1)x + x2)

3 2

  • If we let j = i − 1 then this takes on a nicer form of

Hj+1(x) = (−x)j (1 − x)(j!)2 d2j dx2j

  • xj(1 − x)(1 + x)

(1 + 2(2c − 1)x + x2)

3 2

  • Scott Cameron

A Linear Algebra Problem Related to Legendre Polynomials

slide-92
SLIDE 92

Sparing the details of the calculation, as it is more complicated but similar to the derivation of H1(x), the final final result is given by Hi(x) = (−x)i−1 (1 − x)((i − 1)!)2 d2i−2 dx2i−2

  • xi−1(1 − x)(1 + x)

(1 + 2(2c − 1)x + x2)

3 2

  • If we let j = i − 1 then this takes on a nicer form of

Hj+1(x) = (−x)j (1 − x)(j!)2 d2j dx2j

  • xj(1 − x)(1 + x)

(1 + 2(2c − 1)x + x2)

3 2

  • So we have accomplished our goal of finding the generating

function for the polynomials hn,i(c).

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-93
SLIDE 93

Here are the first couple generating functions.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-94
SLIDE 94

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2 Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-95
SLIDE 95

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2

H2(x) = 12x(1 + x)

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • (1 + 2(2c − 1)x + x2)

7 2 Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-96
SLIDE 96

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2

H2(x) = 12x(1 + x)

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • (1 + 2(2c − 1)x + x2)

7 2

H3(x) is a bit long so I will break it up a bit.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-97
SLIDE 97

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2

H2(x) = 12x(1 + x)

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • (1 + 2(2c − 1)x + x2)

7 2

H3(x) is a bit long so I will break it up a bit. The denominator is the same as the others but with exponent

11 2 .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-98
SLIDE 98

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2

H2(x) = 12x(1 + x)

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • (1 + 2(2c − 1)x + x2)

7 2

H3(x) is a bit long so I will break it up a bit. The denominator is the same as the others but with exponent

11 2 .

There is also the term 180x2(1 + x) which is also similar to the

  • thers.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-99
SLIDE 99

Here are the first couple generating functions. H1(x) = 1 + x (1 + 2(2c − 1)x + x2)

3 2

H2(x) = 12x(1 + x)

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • (1 + 2(2c − 1)x + x2)

7 2

H3(x) is a bit long so I will break it up a bit. The denominator is the same as the others but with exponent

11 2 .

There is also the term 180x2(1 + x) which is also similar to the

  • thers.

The part I want to show however, is the polynomial in the numerator.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-100
SLIDE 100

For H1(x) the polynomial would just be 1.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-101
SLIDE 101

For H1(x) the polynomial would just be 1. For H2(x) the polynomial would be

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-102
SLIDE 102

For H1(x) the polynomial would just be 1. For H2(x) the polynomial would be

  • (c − 1

2)x2 − (c2 − c − 1)x + c − 1 2

  • .

And for H3(x)

  • c2 − c + 1

6

  • x4 +
  • − 4

3c3 + 2c2 + 2 3c − 2 3

  • x3

− 1

3(c2 − c + 3)(c2 − c − 1)x2

+

  • − 4

3c3 + 2c2 + 2 3c − 2 3

  • x +
  • c2 − c + 1

6

  • .

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-103
SLIDE 103
  • Other Results

Now I will quickly state some other results and properties of these polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-104
SLIDE 104
  • Other Results

Now I will quickly state some other results and properties of these polynomials. First, the polynomials hn,i(c) have an interesting property with the inner product from which they came.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-105
SLIDE 105
  • Other Results

Now I will quickly state some other results and properties of these polynomials. First, the polynomials hn,i(c) have an interesting property with the inner product from which they came. 1 hn,i(c)cndc =

  • 1

if i = n + 1

  • therwise

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-106
SLIDE 106
  • Other Results

Now I will quickly state some other results and properties of these polynomials. First, the polynomials hn,i(c) have an interesting property with the inner product from which they came. 1 hn,i(c)cndc =

  • 1

if i = n + 1

  • therwise

In other words, integrating hn,i(c) against another polynomial in c of degree at least n, will be equal to the coefficient of ci−1 of the polynomial.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-107
SLIDE 107

Another representation for these polynomials is hn,i(c) = (−1)ii n + i i n + 1 i

  • 3F2(−n, n + 2, i; 1, i + 1; c)

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-108
SLIDE 108

Another representation for these polynomials is hn,i(c) = (−1)ii n + i i n + 1 i

  • 3F2(−n, n + 2, i; 1, i + 1; c)

This just gives us another representation of the polynomials which can be investigated.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-109
SLIDE 109

Another representation for these polynomials is hn,i(c) = (−1)ii n + i i n + 1 i

  • 3F2(−n, n + 2, i; 1, i + 1; c)

This just gives us another representation of the polynomials which can be investigated. Given this representation I was also able to prove the following identity 1

3F2(−n, n + 2, i; 1, i + 1; c)3F2(−m, m + 2, i; 1, i + 1; c)dc

= i2Γ(n + i + 1)Γ(m + 2 − i) (2i − 1)(n + 1)(m + 1)Γ(n + 2 − i)Γ(m + i + 1)

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-110
SLIDE 110

Next, I would like to show you some images that arise from the hypergeometric representation of the polynomials.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-111
SLIDE 111

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-112
SLIDE 112

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-113
SLIDE 113

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-114
SLIDE 114

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-115
SLIDE 115

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-116
SLIDE 116

Thanks for listening.

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials

slide-117
SLIDE 117

Special thanks to Dalhousie University and to my advisor, Karl Dilcher

Scott Cameron A Linear Algebra Problem Related to Legendre Polynomials