

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!


Instructors: Prof. Wolfgang Bangerth, Prof. Guido Kanschat [email protected], [email protected] Teaching Assistants: Seungil Kim, Yan Li [email protected], [email protected]
Problem 1 (Positive definite matrices). Positive definite matrices are those matrices for which xT^ Ax > 0 for all vectors x. These matrices play an important role in many applications of engineering and physics. Let us consider one of their properties. Any matrix A can be written as A = As^ + Aa, where the symmetric part As and the skew-symmetric part Aa^ of a matrix are defined as
As^ =
, Aa^ =
Show that A being positive definite is equivalent to As^ being positive definite. (3 points)
Problem 2 (LU decomposition). Solve the linear system Ax = b with the Hilbert matrix system we already saw last week:
1 2
1 3
1 4
1 5 1 3
1 4
1 5
1 6 1 4
1 5
1 6
1 7
, b =
by applying the following steps with paper and pencil:
(a) Compute the LU decomposition of A and write down the elimination steps.
(b) Use forward and backward substitution to obtain the solution x.
(4 points)
(please turn over)
Problem 3 (LU decomposition). Write a program that implements the LU decomposition algorithm for general n × n matrices and outputs the L and U factors. Apply it to the matrix of Problem 2. In a second step, implement the backward and forward substitution solves with the upper and lower triangular factors L and U for any given vector. Apply it to the given right hand side of Problem 2. (6 points)
Problem 4 (Norms on Rn). In the analysis of iterative solution methods for linear systems, we will come across different vector norms. A functional ‖ · ‖ : Rn^ → R is called a norm if it satisfies the following three conditions:
(a) ‖x‖ ≥ 0 for all vectors x ∈ Rn^ and ‖x‖ = 0 if and only if x = 0 (positive definiteness);
(b) ‖λx‖ = |λ|‖x‖ for all λ ∈ R and all vectors x ∈ Rn^ (scalability);
(c) ‖x + y‖ ≤ ‖x‖ + ‖y‖ for all vectors x, y ∈ Rn^ (triangle inequality).
Determine which of the following are norms on Rn^ by proving or disproving that they satisfy the three conditions above:
a) max 1 ≤ 1 ≤n |xi|
b) max 2 ≤ 1 ≤n |xi|
c)
∑n i=1 |xi|
3
d)
(∑n i=1 |xi|
e) max{|x 1 − x 2 |, |x 1 + x 2 |, |x 3 |, |x 4 |,... , |xn|}
f)
∑n i=1 2
−i|xi| (6 points)