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

  The p-values for each independent variable

Please answer Part 2 explaining part 2 You mentioned that looking at the p-values for each independent variable is necessary to see if they are significant, how would you determine their significance by looking at each of these values?

  What dimensions should the rectangle have

a rancher wants to use 300 feet of fencing to enclose a rectangular area of 4400 square feet. what dimensions should the rectangle have?

  Find the company sales in the fourth year

COMPANY SALES JCN Media had sales of $1,750,000 in the first year of operation. If the sales increased by 14%/year thereafter.

  What is the probability that two randomly selected

What is the probability that two randomly selected 40-year-old females will live to be 41 years old? What is the probability that five randomly selected 40-year old females will live to be 41 years old?

  Find expression for total cost per unit incurred by company

A company has fixed costs of F dollars per year and variable costs of c dollars per unit produced.

  Occurring in companies across america

What sort of quality control can be imposed on an outside organization that runs 1-800 numbers? Is the company that contracts them, or is there an unjustified leap of faith that is occurring in companies across America?

  The sampling distributions of a sample statistic

The sampling distributions of a sample statistic

  Find the lines that are tangent and normal to the curve

Find the lines that are tangent and normal to the curve at given point for the following below: (x2)(y2) = 36 (1,-6) and 4.) y = 7 sin (πx-y), (1,0).

  Compare the two sets and describe what you discover

Compare the two sets and describe what you discover.

  Consider the three numbers prove thatnbsp thenbsp

consider the three numbers651000 - 82014 - 31773nbsp 791212 - 92412 22001nbsp andnbsp 244493 - 58192 71777.prove

  Determine the function that satisfies

Determine the function that satisfies the following conditions. Find  sin θ when cos θ = 0.493 and  tan θ

  Evaluating the definite integral

evaluating the definite integral

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