

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


(^) , b =
(c) Compute the 2-norm condition number for the problem of multiplying I − P into an arbitrary vector c ∈ R^3 , in terms of the angle θ between c and E. Explain from general principles why the condition number must become infinite as θ → 0.
f (x 1 , x 2 ) =
x 1 x 2 − 1 ,
(x^21 − x^22 )
(b) Determine whether the fixed point iteration x(k+1)^ = ϕ(x(k)) with
ϕ(x) =
(x 2 , x 1 )T^ +
x^21 + x^22
(x 1 , x 2 )T
is the same as Newton’s method for solving f = 0. (c) Start from x(0)^ = (0, 1)T^ and compute two iterates x(1)^ and x(2). (d) Compute the errors in x(1)^ and x(2). Define, estimate and explain the rate of convergence.
Ep(f ) =
0
f (x)dx −
∑^ p
j=
wj f (xj )
is exact for polynomials of degree d: Ep(f ) = 0 whenever f is a polynomial of degree d. (a) Assume f can be approximated by a degree-d polynomial within error on the whole interval [0, 1]. Prove that |Ep(f )| ≤ Λ where Λ = 1+
∑p j=1 |wj^ |. What is the best possible value of Λ and when does it occur?
(b) Prove that the best possible error which we can hope to achieve in (a) is less than some constant times the maximum absolute value of the pth derivative f (p)^ over the interval [0, 1]. (c) If the nodes xj are equidistant on [0, 1], with x 1 = 0 and xp = 1, what is the biggest possible value of d? What are the resulting rules called? (d) If you get to choose the nodes xj anywhere in [0, 1], how big can you make d? What are the resulting rules called?
∫ (^1)
0
f (x)dx −
∑^ p
j=
wj f (xj ) = Cf (q)(ξ)
for some unknown ξ. (a) Prove that the nodes tj = hxj in the interval [0, h] and the weights uj = hwj satisfy the error estimate ∫ (^) h
0
g(t)dt −
∑^ p
j=
uj g(tj ) = Chq+1g(q)(ξ)
for some unknown ξ. (b) For arbitrary a and b and N = np, write down formulas for nodes sj ∈ [a, b] and weights vj such that
∫ (^) b
a
g(s)ds −
j=
vj g(sj ) ≤ C|b − a|hq^ max a≤s≤b |g(q)(s)|
where h = (b − a)/n. (c) Find the weights vj and nodes sj on an arbitrary interval [a, b] for the special case with p = 2 equidistant nodes x 1 = 0, x 2 = 1 and q = 2.
0
f (x)dx = af (0) + bf (−1)
which is exact for polynomials of the highest possible degree. (b) Use the result of (a) to design a scheme
un+1 = un + αf (tn, un) + βf (tn− 1 , un− 1 )
for solving the initial value problem
y′^ = f (t, y), y(0) = y 0.
(c) Define the local truncation error τ. Evaluate the local truncation error of your scheme from (b) by Taylor expansion. Express your answer in the form τ = O(hm) for the best possible m. (d) Does the result of (c) guarantee that your scheme will give accurate answers as the time step h → 0?