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

  What is the largest possible dimension of row

MATH 54 QUIZ 7. If A is a 3 × 5 matrix, what is the largest possible dimension of Row(A)? What is the largest possible dimension of Nul(A)

  Solving problem related to the card deck

Concern a 5-card hand from a standard 52-card deck. A standard deck has 13 cards from each of 4 suits (clubs, diamonds, hearts, spades).

  What are the dimensions of such a poster having

What are the dimensions of such a poster having the least possible area?

  Use vector techniques

Use vector techniques to prove that a triangle and its medial triangle have the same centroid. You may take it as a given fact that the location of the centroid of triangle ABC is the vector (vector OA + vector OB + vector OC)/3.

  Effective rate of compound interest rate or investment

Find the effective rate of the compound interest rate or investment. (Round your answer to two decimal places.)16%compounded monthly. [Note: This rate is a typical credit card interest rate, often stated as1.3%per month.

  Problem related to the ice machine

An ice machine with a cash price of $1,095 is purchased on the installment plan with a $100 down payment and 18 monthly payments of $62.50.

  What is best theory for proceeding

Althea, black, has been a deejay for a local Christian music station for several years. The station got a new general manager and within a month he terminated Althea. The reason he gave was that it was inappropriate for a black deejay to play musi..

  Script pseudo-code to implement

Write pseudo-code to implement the following a company makes two products product1 and product2. Using arrays, store monthly sales of each product over a 12 month period.

  Determine the correlation coefficient

Use the technology to determine the correlation coefficient, rounded to two decimal places, between percentage of people in a country

  What percentage decrease in profits from given years

A firm's profit increased from 1990 to 1991 by 20%, but it decreased by 17% from 1991 to 1992. Which of the years 1990 and 1992 had the higher profit?

  Non-equivalence of vectors

Explain in your own words when the elimination method for solving a system of equations is preferable to the substitution method.

  Find what amount should be debited to the patent account

Maris Corporation acquired a patent on May 1, 2008. Maris paid cash of $25,000 to the seller. Legal fees of $1,000 were paid related to the acquisition. What amount should be debited to the patent account?

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