Drive block version of the Cholesky factorization algorithm

Assignment Help Mathematics
Reference no: EM132185873

Numerical Analysis Project -

Problem 1 - Let A ∈ R(n+m)×(n+m) be symmetric positive definite, with

1627_figure.png

where A11 ∈ Rn×n, A12 ∈ Rn×m, A22 ∈ Rm×m, and let L be the cholesky factor of A, A = LLT. Partition L as

2215_figure1.png

where L11 ∈ Rn×n, L21 ∈ Rn×m, L22 ∈ Rm×m.

(a) Show that L22L22T = S where S = A22 - A12TA11-1A12 is the Schur complement of A11 in A.

(b) Using the foregoing relations to drive a block version of the Cholesky factorization algorithm. Note that the algorithm should not require any explicit matrix inversion.

Problem 2 - Linear systems that arise in many applications can become quite large. It is often necessary to exploit any structure and/or sparsity in the matrices to reduce the computation burden. We will consider the one-dimensional Poisson equation: -y′′(t) = f(t) on [0, 1], with y(0) = y(1) = 0.

Such problems are frequently very hard to handle because it is often not possible to express y(t) in terms of elementary functions (as is done in undergraduate courses on ODE). Numerical methods are employed in order to approximate y(t) at discrete points inside the interval [a, b]. This approach will leads to a linear system of equations (we will learn how in the numerical PDE class).

The approach we consider begins by subdividing the interval [a, b] into n + 1 equal subintervals, each of length (b-a)/(n+1): t0 = a, t1 = a + h, t2 = a + 2h, · · · , tn = a + nh, tn+1 = b; The points ti = a + ih are called grid points, and the value h = (b-a)/(n+1) is called the step size. Smaller step sizes generally produce better approximations to the derivatives, so better accuracy requires smaller step size, and hence larger number of grid points.

Let yi = y(ti) and fi = f(ti), and show that by using the finite difference method, we can compute approximations to yi by solving the linear system Ty = h2f, where

882_figure3.png

(a) Prove that the matrix T has an LU factorization with L(i, i) = 1 and L(i + 1, i) = -i/(i+1) , U(i, i) = (i+1)/i and U(i, i + 1) = -1.

(b) Is partial pivoting needed?

(c) Write a Matlab function T = poissonmat(n) which created the n × n matrix T for given n.

(d) Write a Matlab function y = poissonsolve(f) which, given a vector f of length n, computes the solution y of Ty = h2f.

(e) Let f(t) = sin πt, then the right hand side fi = sin π(ti). Experiment with various values of n, say n = 10, 100, 500, 1000. Fill the following table:

n

h

absolute error

residual

CPU time

10

 

 

 

 

100

 

 

 

 

500

 

 

 

 

1000

 

 

 

 

Note - Need problems 1 and 2 and need all work shown.

Verified Expert

The assignment is about the numerical methods in engineering. The given questions are factorized using LU factorization. And also the given projects are computed in matlab.

Reference no: EM132185873

Questions Cloud

How do these functions in greater picture of our economy : In determining startup costs, how do these functions, in the greater picture of our economy, play into planning a business?
About starbucks strategies-foreign market entry strategies : Find as much inforamtion as you can about Starbucks strategies. Compare and contrast licensing and franchising as foreign market entry strategies.
Relationship between hadoop and mapreduce : Explain the relationship between Hadoop and MapReduce?
Change and civilizations : "Change and Civilizations." Go to Ancient Civilization. This is part of a Web site maintained by Annenberg/CBP about why great civilizations collapse.
Drive block version of the Cholesky factorization algorithm : Using the foregoing relations to drive a block version of the Cholesky factorization algorithm. Note algorithm should not require any explicit matrix inversion
What are the expected costs per week : What are the expected costs (holding costs plus fixed order costs) per week?
Determine the shift amount on the caesar cipher : Note: the number of letters on your last name will determine the shift amount on the Caesar's Cipher.
Implement end-user database over enterprise database : In what kinds of situations would an organization choose to implement an end-user database over an enterprise database?
How do they affect e-commerce : What role(s) do Search Engines play in E-commerce? How do they affect E-commerce?

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd