







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Banking is an ever green field of study. In these slides of Banking, the Lecturer has discussed following important points : Numerical Solution of Pdes, Numerical Solution of Differential Equations, Numerical Solution, Differential Equations, Approximate Solution, Leave Boundary, Poisson Equation, Expansion Coefficients, Connection Coefficients, Scaling Function
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!
¦¦¦ φφφ
∂∂∂ μμμ ∂∂∂
φφφ
Numerical Solution of Differential Equations
Main idea: look for an approximate solution that lies in Vj. Approximate solution should converge to true solution as j → ∞. Consider the Poisson equation
∂^2 μ leave boundary ∂x^2 = f(x) --------------- ^
© (^) conditions till later
Approximate solution:
uapprox(x) = ¦ c[k]2 j/2^ φ(2 j^ x – k) -----------
φj,k(x) trial functions
2
δδδ
∂ ∂∂ ∂∂∂
φφφ ∈∈∈
Method of weighted residuals: Choose a set of test functions, gn (x), and form a system of equations (one for each n).
³
∂^2 u (^) approx gn (x)dx = ³ f(x)gn (x) dx ∂x^2 One possibility: choose test functions to be Dirac delta functions. This is the collocation method.
gn (x) = δ(x – n/2 j) n integer
¦¦¦¦ c[k]φφφφj,k″″″″(n/2 j) = f(n/2 j) ---------------------------- k
3
Second possibility: choose test functions to be scaling functions.
e.g. Petrov-Galerkin ~ ~ gn (x) = φj,n (x) ∈ V (^) j
¦¦¦¦ c[k] ³³³³ φφφφj,k(x). φφφφj,n (x) dx = ³³³³ f(x)φφφφj,n (x) dx
k - ∞∞∞∞^ - ∞∞∞∞
∂∂∂∂^2 ∂∂ ∂∂x^2
4
∂∂∂ ∂∂∂ ωωω
∂∂∂ ∂∂∂ ∂∂∂ ∂∂∂ (^) ∂∂∂ ∂∂∂ ωωω ωωω
∂∂∂ ∂∂∂ ³³³^ φφφ^ φφφ
φφφ
φφφ ¦¦¦ φφφ φ″φ″φ″ ¦¦¦ φ″φ″φ″ φφφ ¦¦¦ """ φφφ """
∞ ∞∞ ∞∞∞
"""
"""
"
Solve a deconvolution problem to find c[k] and then find uapprox using equation .
Note: we must allow for the fact that the solution may be non-unique, i.e. H∂^2 /∂x^2 (ω) may have zeros.
Familiar example: 3-point finite difference operator h∂^2 /∂x^2 [n] = {1, -2, 1} H∂^2 /∂x^2 (z) = 1 –2z –1^ + z –2^ = (1 – z –1)^2 H∂^2 /∂x^2 (ω) has a 2 nd^ order zero at ω = 0. Suppose u 0 (x) is a solution. Then u 0 (x) + Ax + B is also a solution. Need boundary conditions to fix uapprox(x).
7
Determination of Connection Coefficients ∞ (^) ~ h∂^2 /∂x^2 [n] = (^) - ∞³ φ ″(t) φ(t – n)dt Simple numerical quadrature will not converge if φ″(t) behaves badly.
Instead, use the refinement equation to formulate an eigenvalue problem. φ(t) = 2 ¦ f 0 [k]φ(2t – k) k φ″(t) = 8 ¦ f 0 [k]φ″(2t – k) (^) Multiply and ~ k ~ φ(t – n) = 2 ¦ h 0 ["]φ(2t – 2n - ") Integrate So h∂^2 /∂x^2 [n] = 8 ¦ f 0 [k] ¦ h 0 ["]h∂^2 /∂x^2 [2n + " - k] k (^) " 8
9
Daubechies 6 scaling function
First derivative of Daubechies 6 scaling function
10
Reorganize as
h∂∂∂∂^2 /∂∂∂∂x^2 [n] = 8¦¦¦¦ h 0 [m – 2n](¦¦¦¦ f 0 [m – k]h∂∂∂∂^2 /∂∂∂∂x^2 [k])
Matrix form
h∂∂∂∂^2 /∂∂∂∂x^2 = 8 A B h∂∂∂∂^2 /∂∂∂∂x^2 eigenvalue problem
Need a normalization condition use the moments of the scaling function:
If h 0 [n] has at least 3 zeros at ππππ, we can write
¦¦¦¦ μμμμ 2 [k]φφφφ(t – k) = t^2 ; μμμμ 2 [k] = ³³³³ t^2 φφφφ(t – k)dt
Differentiate twice, multiply by φφφφ(t) and integrate:
¦¦¦¦ μμμμ 2 [k]h∂∂∂∂^2 /∂∂∂∂x^2 [- k] = 2! Normalizing condition
m k
k - ∞∞∞∞ ~
k
m = 2n +""""
φφφ ¦¦¦ φφφ
φφφ ωωω πππ
¦¦¦ φφφ
Convergence
Synthesis scaling function:
φ(x) = 2 ¦ f 0 [k]φ(2x – k) k
We used the shifted and scaled versions, φj,k(x), to synthesize the solution. If F 0 (ω) has p zeros at π, then we can exactly represent solutions which are degree p – 1 polynomials.
In general, we hope to achieve an approximate solution that behaves like
u(x) = ¦ c[k]φj,k(x) + O(h p^ ) k where
h = = spacing of scaling functions 1 2 j 13
Reduction in error as a function of h
14
15
Multiscale Representation
e.g. ∂∂∂∂^2 u/∂∂∂∂x 2 = f Expand as
u = ¦¦¦¦ c (^) kφφφφ(x – k) + ¦¦¦¦ ¦¦¦¦ dj,kw(2 j^ x-k)
Galerkin gives a system
Ku = f
with typical entries
Km,n = 2 2j^ ³³³³ w(x – n)w(x-m)dx
k (^) j=0 k
J
∞∞∞∞
∂∂∂∂^2 ∂∂∂∂x^2
16
Effect of Preconditioner
»
»
»
»
»
»
»
»
»
¼
º
«
«
«
«
«
«
«
«
«
¬
ª
=
(^14)
(^14)
(^14)
(^12)
(^12)
1
1
D
Simple diagonal preconditioner
19
20
21
22
>> helmholtz slope = 5.
25