Lesson 23 Linear partial differential equations 1 We have seen - - PowerPoint PPT Presentation

lesson 23 linear partial differential equations
SMART_READER_LITE
LIVE PREVIEW

Lesson 23 Linear partial differential equations 1 We have seen - - PowerPoint PPT Presentation

Lesson 23 Linear partial differential equations 1 We have seen that ODEs can be reduced to almost banded infinite-dimensional equations using Chebyshev and ultraspherical polynomials These infinite-dimensional equations can be solved


slide-1
SLIDE 1

Lesson 23 Linear partial differential equations

1

slide-2
SLIDE 2

2

  • We have seen that ODEs can be reduced to almost banded infinite-dimensional

equations using Chebyshev and ultraspherical polynomials

  • These infinite-dimensional equations can be solved adaptively using Givens rota-

tions. The exact error in residual is calculated, which can be used to decide con- vergence

  • This lecture we see how these ideas can be used for linear PDEs
  • The resulting method works for arbitrary linear PDEs on a rectangle
  • The first step is to do function approximation on a square
slide-3
SLIDE 3

3

2D Function Approximation

slide-4
SLIDE 4

4

  • In 1D, we approximated functions using Chebyshev series:

f(x) ≈

n−1

  • k=0

fkTk(x) = (T0(x), . . . , Tn−1(x))

  • f0

. . . fn−1

  • Functions are identified with vectors
  • In 2D, we use a tensor product of Chebyshev series:

Functions are identified with matrices

slide-5
SLIDE 5

5

  • In 1D, we approximated functions using Chebyshev series:

f(x) ≈

n−1

  • k=0

fkTk(x) = (T0(x), . . . , Tn−1(x))

  • f0

. . . fn−1

  • Functions are identified with vectors
  • In 2D, we use a tensor product of Chebyshev series:

f(x, y) ≈

n−1

  • k=0

m−1

  • j=0

fkjTk(x)Tj(y) = (T0(x), . . . , Tn−1(x))

  • f00

· · · f0(m−1) . . . ... . . . f(n−1)0 · · · f(n−1)(m−1)

  • T0(y)

. . . Tm−1(y)

  • Functions are identified with matrices
slide-6
SLIDE 6

6

–1 1

  • In 1D, we calculated the Chebyshev series by evaluating f(x) at the Chebyshev

points xn:

  • 1.0
  • 0.5

0.5 1.0

  • 1.0
  • 0.5

0.5 1.0

y x

  • In 2D, we evaluate f(x, y) at a product of Chebyshev points xn,m := xn × x

m:

slide-7
SLIDE 7

7

  • In 1D, we have

Cnf(xn) ≈    ˇ f0 . . . ˇ fn1    where Cn can is viewed as an n × n matrix

  • We will show that in 2D we have
slide-8
SLIDE 8

8

  • In 1D, we have

Cnf(xn) ≈    ˇ f0 . . . ˇ fn1    where Cn can is viewed as an n × n matrix

  • We will show that in 2D we have

Cnf(xn,m)C

m ≈

   ˇ f00 · · · ˇ f0(m1) . . . ... . . . ˇ f(n1)0 · · · ˇ f(n1)(m1)   

slide-9
SLIDE 9

9

  • For any fixed y, we can expand

f(x, y) =

  • k=0

ˇ fk(y)Tk(x) where ˇ fk(y) =

  • 2

π 1

−1

f(x, y)Tk(x) √ 1 − x2 x

  • It follows that the smoothness of

is inherited from

  • We can thus expand
slide-10
SLIDE 10

10

  • For any fixed y, we can expand

f(x, y) =

  • k=0

ˇ fk(y)Tk(x) where ˇ fk(y) =

  • 2

π 1

−1

f(x, y)Tk(x) √ 1 − x2 x

  • It follows that the smoothness of ˇ

fk(y) is inherited from f

  • We can thus expand

ˇ fk(y) =

  • j=0

ˇ fkjTj(y)

slide-11
SLIDE 11

11

  • For any fixed y, we expand numerically

Cnf(xn, y) =:

  • ˇ

f n

0 (y)

. . . ˇ f n

n1(y)

  • We can thus expand
  • This gives us
slide-12
SLIDE 12

12

  • For any fixed y, we expand numerically

Cnf(xn, y) =:

  • ˇ

f n

0 (y)

. . . ˇ f n

n1(y)

  • We can thus expand

Cm ˇ f n

k (xm) =:

  • ˇ

f nm

k0

. . . ˇ f nm

k(m1)

  • This gives us
slide-13
SLIDE 13

13

  • For any fixed y, we expand numerically

Cnf(xn, y) =:

  • ˇ

f n

0 (y)

. . . ˇ f n

n1(y)

  • We can thus expand

Cm ˇ f n

k (xm) =:

  • ˇ

f nm

k0

. . . ˇ f nm

k(m1)

  • This gives us

Cnf(xn, xm)C

m =

  • ˇ

f n

0 (x m)

. . . ˇ f n

n1(x m)

  • C

m

slide-14
SLIDE 14

14

  • For any fixed y, we expand numerically

Cnf(xn, y) =:

  • ˇ

f n

0 (y)

. . . ˇ f n

n1(y)

  • We can thus expand

Cm ˇ f n

k (xm) =:

  • ˇ

f nm

k0

. . . ˇ f nm

k(m1)

  • This gives us

Cnf(xn, xm)C

m =

  • ˇ

f n

0 (x m)

. . . ˇ f n

n1(x m)

  • C

m

= Cm ˇ f n

0 (xm), . . . , ˇ

f n

n1(xm)

  • =
  • ˇ

f nm

00

· · · ˇ f nm

0(m1)

. . . ... . . . ˇ f nm

(n1)0

· · · ˇ f nm

(n1)(m1)

slide-15
SLIDE 15

15

Partial derivatives

slide-16
SLIDE 16

16

slide-17
SLIDE 17

17

slide-18
SLIDE 18

18

slide-19
SLIDE 19

19

slide-20
SLIDE 20

20

slide-21
SLIDE 21

21

slide-22
SLIDE 22

22

slide-23
SLIDE 23

23

  • The mixed partial derivative

∂λ+µf ∂xλ∂yµ with a change of basis to C(λ) k (x) × C(µ) j

(y) series takes the form DλFD

µ

  • By the same arguments, the conversion operator from

to takes the form where is the 1D conversion operator, defined in terms of that convert a series to a series

slide-24
SLIDE 24

24

  • The mixed partial derivative

∂λ+µf ∂xλ∂yµ with a change of basis to C(λ) k (x) × C(µ) j

(y) series takes the form DλFD

µ

  • By the same arguments, the conversion operator from Tk(x)×Tj(y) to C(λ)

k (x)×

C(µ)

j

(y) takes the form S0λFS

where S0λ := Sλ1 · · · S0 is the 1D conversion operator, defined in terms of Sλ that convert a C(λ) series to a C(λ+1) series

slide-25
SLIDE 25

25

slide-26
SLIDE 26

26

slide-27
SLIDE 27

27

0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .F. 1 …

1 4

  • 2

3 1 6

  • 3

8 1 8

1 6

  • 4

15

1 8

  • 5

24

… Å Å Å Å Å + 1

  • 2

3 1 6

1 4

  • 3

8 1 8

1 6

  • 4

15 1 10

1 8

  • 5

24 1 12

… Å Å Å Å Å Å Å Å Å .F. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å

=

slide-28
SLIDE 28

28

Boundary conditions

slide-29
SLIDE 29

29

u(−1, y) = g1(y), u(1, y) = g2(y) u(x, −1) = h1(x), u(x, 1) = h2(x) ∆u(x, y) = f(x, y) u

slide-30
SLIDE 30

30

u(x, y) = (T0(x), T1(x), . . .)U

  • T0(y)

T1(y) . . .

  • u(−1, y)

u(1, y)

  • =
  • T0(−1)

T1(−1) . . . T0(1) T1(1) . . .

  • U
  • T0(y)

T1(y) . . .

  • T (y)
slide-31
SLIDE 31

31

u(x, y) = (T0(x), T1(x), . . .)U

  • T0(y)

T1(y) . . .

  • u(−1, y)

u(1, y)

  • =
  • T0(−1)

T1(−1) . . . T0(1) T1(1) . . .

  • U
  • T0(y)

T1(y) . . .

  • =
  • 1

−1 . . . 1 1 . . .

  • U
  • T0(y)

T1(y) . . .

  • =: BU
  • T0(y)

T1(y) . . .

slide-32
SLIDE 32

32

u(−1, y) u(1, y)

  • =

g1(y) g2(y)

  • BU = G
  • G = (ˇ

g1, ˇ g2) =

  • ˇ

g10 ˇ g20 ˇ g11 ˇ g21 . . . . . .

slide-33
SLIDE 33

33

u(x, −1) u(x, 1)

  • =

h1(x) h2(x)

  • UB = H
  • H =

ˇ h1, ˇ h2

  • =
  • ˇ

h10 ˇ h20 ˇ h11 ˇ h21 . . . . . .

slide-34
SLIDE 34

34

u(−1, y) = g1(y), u(1, y) = g2(y) u(x, −1) = h1(x), u(x, 1) = h2(x) ∂2u ∂x2 + ∂2u ∂y2 = f(x, y)

  • BU = G,

UB = H, D2US

02 + S02UD 2

= F

slide-35
SLIDE 35

35

u(−1, y) = g1(y), u(1, y) = g2(y) u(x, −1) = h1(x), u(x, 1) = h2(x) ∂2u ∂x2 + ∂2u ∂y2 + k2u = f(x, y)

  • BU = G,

UB = H,

  • D2 + k2S

02

  • US

02 + S02UD 2

= F

slide-36
SLIDE 36

Sylvester matrix equations

36

slide-37
SLIDE 37

37

AX + XB = F A, B, F n × n

slide-38
SLIDE 38

38

AX + XB = F A, B, F n × n AXC + DXB = F C D

  • D−1AX + XBC−1 = D−1FC−1
slide-39
SLIDE 39

39

AX + XB = F A, B, F n × n AXC + DXB = F C D

  • D−1AX + XBC−1 = D−1FC−1

D C O(n) A B F O

  • n2
slide-40
SLIDE 40

40

AX + XB = F A = V ΛV −1 B = WΩW −1

slide-41
SLIDE 41

41

AX + XB = F A = V ΛV −1 B = WΩW −1 Y = V −1XW V ΛV −1X + XWΩW −1 = V ΛY W −1 + V Y ΩW −1 = F

slide-42
SLIDE 42

42

AX + XB = F A = V ΛV −1 B = WΩW −1 Y = V −1XW V ΛV −1X + XWΩW −1 = V ΛY W −1 + V Y ΩW −1 = F ΛY + Y Ω = V −1FW

slide-43
SLIDE 43

43

ΛY + Y Ω =    λ1y00 · · · λ1y0(n−1) . . . ... . . . λny(n−1)0 · · · λny(n−1)(n−1)    +    ω1y00 · · · ωny0(n−1) . . . ... . . . ω1y(n−1)0 · · · ωny(n−1)(n−1)     

slide-44
SLIDE 44

44

ΛY + Y Ω =    λ1y00 · · · λ1y0(n−1) . . . ... . . . λny(n−1)0 · · · λny(n−1)(n−1)    +    ω1y00 · · · ωny0(n−1) . . . ... . . . ω1y(n−1)0 · · · ωny(n−1)(n−1)    =    (λ1 + ω1)y00 · · · (λ1 + ωn)y0(n−1) . . . ... . . . (λn + ω1)y(n−1)0 · · · (λn + ωn)y(n−1)(n−1)   

slide-45
SLIDE 45

45

ΛY + Y Ω =    λ1y00 · · · λ1y0(n−1) . . . ... . . . λny(n−1)0 · · · λny(n−1)(n−1)    +    ω1y00 · · · ωny0(n−1) . . . ... . . . ω1y(n−1)0 · · · ωny(n−1)(n−1)    =    (λ1 + ω1)y00 · · · (λ1 + ωn)y0(n−1) . . . ... . . . (λn + ω1)y(n−1)0 · · · (λn + ωn)y(n−1)(n−1)    ΛY + Y Ω = P yij = pij λi + ωj

slide-46
SLIDE 46

46

ΛY + Y Ω =    λ1y00 · · · λ1y0(n−1) . . . ... . . . λny(n−1)0 · · · λny(n−1)(n−1)    +    ω1y00 · · · ωny0(n−1) . . . ... . . . ω1y(n−1)0 · · · ωny(n−1)(n−1)    =    (λ1 + ω1)y00 · · · (λ1 + ωn)y0(n−1) . . . ... . . . (λn + ω1)y(n−1)0 · · · (λn + ωn)y(n−1)(n−1)    ΛY + Y Ω = P yij = pij λi + ωj ΛY + Y Ω = V −1FW X = V Y W −1

slide-47
SLIDE 47

47

Complexity

A = V ΛV −1 B = WΩW −1 V −1FW ΛY + Y Ω = V −1FW X = V Y W −1 O

  • n3

O

  • n3

O

  • n3

O

  • n3

O

  • n3
slide-48
SLIDE 48

Reducing PDEs to Sylvester equations

48

slide-49
SLIDE 49

1

  • 2

3 1 6

1 4

  • 3

8

1 6

  • 4

15

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

= F

K 1 -1 1 -1 … 1 1 1 1 … O.U

=

U. 1 1

  • 1 1

1 1

  • 1 1

Å Å

= GT H

slide-50
SLIDE 50

1

  • 2

3 1 6

1 4

  • 3

8

1 6

  • 4

15

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

= F

K 1 -1 1 -1 … 1 1 1 1 … O.U

=

U. 1 1

  • 1 1

1 1

  • 1 1

Å Å

= GT H Row reduction

1 2 1 1 −1 1

  • 1

2 1 1 −1 1

  • 1

2 1 −1 1 1

  • 1

2 1 −1 1 1

slide-51
SLIDE 51

1

  • 2

3 1 6

1 4

  • 3

8

1 6

  • 4

15

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

= F = = PT R

K 1 0 1 0 … 0 1 0 1 … O.U

U. 1 0 0 1 1 0 0 1 Å Å

slide-52
SLIDE 52

1

  • 2

3 1 6

1 4

  • 3

8

1 6

  • 4

15

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

= F = PT

K 1 0 1 0 … 0 1 0 1 … O.U

= R

U. 1 0 0 1 1 0 0 1 Å Å

1

1 4

  • 1

1 4

  • D

2

D

2

slide-53
SLIDE 53

1

  • 2

3 1 6

1 4

  • 3

8

1 6

  • 4

15

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

= F PT

K 1 0 1 0 … 0 1 0 1 … O.U

= R

U. 1 0 0 1 1 0 0 1 Å Å

1

1 4

  • 1

1 4

  • D

2

D

2

– –

slide-54
SLIDE 54

= = R

U. 1 0 0 1 1 0 0 1 Å Å

˜ F

0 0 - 5

3

  • 5

6

… 0 0

  • 5

8

… 0 0

1 6

  • 4

15

… 0 0

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

slide-55
SLIDE 55

= = R

U. 1 0 0 1 1 0 0 1 Å Å

˜ F

0 0 - 5

3

  • 5

6

… 0 0

  • 5

8

… 0 0

1 6

  • 4

15

… 0 0

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. 1 Å

1 4

Å

  • 2

3 1 6

Å

  • 3

8 1 8

Å … … … … Å

slide-56
SLIDE 56

=

˜ F

0 0 - 5

3

  • 5

6

… 0 0

  • 5

8

… 0 0

1 6

  • 4

15

… 0 0

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. Å Å

  • 5

3 1 6

Å

  • 5

8 1 8

Å … … … … Å

slide-57
SLIDE 57

=

˜ F

0 0 - 5

3

  • 5

6

… 0 0

  • 5

8

… 0 0

1 6

  • 4

15

… 0 0

1 8

… Å Å Å Å Å Å .U. 0 0 0 Å 0 0 0 Å 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 0 0 4 0 0 … 0 0 0 6 0 … 0 0 0 0 8 … 0 0 0 0 0 10 … Å Å Å Å Å Å Å .U. Å Å

  • 5

3 1 6

Å

  • 5

8 1 8

Å … … … … Å

U = U11 U12 U21 U22

  • 2 × 2

2 × ∞ ∞ × 2 ∞ × ∞

slide-58
SLIDE 58

=

˜ F U = U11 U12 U21 U22

  • 2 × 2

2 × ∞ ∞ × 2 ∞ × ∞

  • 5

3

  • 5

6

  • 5

8

1 6

  • 4

15

1 8

… Å Å Å Å .U22. 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 4 0 0 … 0 6 0 … 0 0 8 … 0 0 0 10 … Å Å Å Å Å .U22.

  • 5

3 1 6

Å

  • 5

8 1 8

Å … … … … Å

slide-59
SLIDE 59

=

˜ F U = U11 U12 U21 U22

  • 2 × 2

2 × ∞ ∞ × 2 ∞ × ∞

  • 5

3

  • 5

6

  • 5

8

1 6

  • 4

15

1 8

… Å Å Å Å .U22. 4 0 0 Å 0 6 0 Å 0 0 8 Å 0 0 0 10 Å … … … … Å + 4 0 0 … 0 6 0 … 0 0 8 … 0 0 0 10 … Å Å Å Å Å .U22.

  • 5

3 1 6

Å

  • 5

8 1 8

Å … … … … Å

Truncate to get Sylvester’s equation!

slide-60
SLIDE 60

60

Recover solution

slide-61
SLIDE 61

61

U22 U11, U12 U21 P =

  • 1

1 · · · 1 1 · · · U11 U12 U21 U22

slide-62
SLIDE 62

62

U22 U11, U12 U21 P =

  • 1

1 · · · 1 1 · · · U11 U12 U21 U22

  • =
  • U11 +
  • 1

1 · · · 1 1 · · ·

  • U21

U12 +

  • 1

1 · · · 1 1 · · ·

  • U22
slide-63
SLIDE 63

63

U22 U11, U12 U21 P =

  • 1

1 · · · 1 1 · · · U11 U12 U21 U22

  • =
  • U11 +
  • 1

1 · · · 1 1 · · ·

  • U21

U12 +

  • 1

1 · · · 1 1 · · ·

  • U22
  • P = (P1, P2) P1 2 × 2 P2 2 × ∞

U12 = P2 −

  • 1

1 · · · 1 1 · · ·

  • U22
slide-64
SLIDE 64

64

R =

  • U11

U12 U21 U22

  • 1

1 1 . . . . . .

slide-65
SLIDE 65

65

R =

  • U11

U12 U21 U22

  • 1

1 1 . . . . . .

  • =
  • U11 + U12
  • 1

1 1 . . . . . .

  • U21 + U22
  • 1

1 1 . . . . . .

slide-66
SLIDE 66

66

R =

  • U11

U12 U21 U22

  • 1

1 1 . . . . . .

  • =
  • U11 + U12
  • 1

1 1 . . . . . .

  • U21 + U22
  • 1

1 1 . . . . . .

  • R =
  • R1

R2

  • U21 = R2 − U22
  • 1

1 1 . . . . . .

slide-67
SLIDE 67

67

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21
slide-68
SLIDE 68

68

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21

= R1 − U12

  • 1

1 1 . . . . . .

slide-69
SLIDE 69

69

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21

= R1 − U12

  • 1

1 1 . . . . . .

  • P1 − ˜

BU21 = P1 − ˜ B

  • R2 − U22 ˜

B

slide-70
SLIDE 70

70

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21

= R1 − U12

  • 1

1 1 . . . . . .

  • P1 − ˜

BU21 = P1 − ˜ B

  • R2 − U22 ˜

B = R1 −

  • P2 − ˜

BU22

  • ˜

B = R1 − U12 ˜ B

slide-71
SLIDE 71

71

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21

= R1 − U12

  • 1

1 1 . . . . . .

  • P1 − ˜

BU21 = P1 − ˜ B

  • R2 − U22 ˜

B = R1 −

  • P2 − ˜

BU22

  • ˜

B = R1 − U12 ˜ B ˜ BR = P ˜ B

slide-72
SLIDE 72

72

U11 = P1 − 1 1 · · · 1 1 · · ·

  • U21

= R1 − U12

  • 1

1 1 . . . . . .

  • P1 − ˜

BU21 = P1 − ˜ B

  • R2 − U22 ˜

B = R1 −

  • P2 − ˜

BU22

  • ˜

B = R1 − U12 ˜ B ˜ BR = P ˜ B BH = GB

slide-73
SLIDE 73

73

B(h1, h2) = h1(−1) h2(−1) h1(1) h2(1)

  • g1

g2

  • B =

g1(−1) g1(1) g2(−1) g2(1)

slide-74
SLIDE 74

74

B(h1, h2) = h1(−1) h2(−1) h1(1) h2(1)

  • g1

g2

  • B =

g1(−1) g1(1) g2(−1) g2(1)

  • h1(−1) =

x1 u(x, −1) = y1 u(−1, y) = g1(−1)

slide-75
SLIDE 75

75

B(h1, h2) = h1(−1) h2(−1) h1(1) h2(1)

  • g1

g2

  • B =

g1(−1) g1(1) g2(−1) g2(1)

  • h1(−1) =

x1 u(x, −1) = y1 u(−1, y) = g1(−1)

h2(−1) =

x1 u(x, 1) = y1 u(−1, y) = g1(1)

h1(1) =

x1 u(x, −1) = y1 u(1, y) = g2(−1)

h2(1) =

x1 u(x, 1) = y1 u(1, y) = g2(1)

slide-76
SLIDE 76

76

  • We warned last lecture not to use eigenvalue decomposition for non-symmetric

matrices! The algorithm for solving PDEs can be changed to use the Schur decompo- sition

  • The approach only works for PDEs that are a sum of two terms

Other PDEs can be solved by forming a kronecker product matrix, with re- duces complexity to O

  • n4
  • Complicated geometries can be handled via domain decomposition methods (I

hope)

  • Higher dimensions?