Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Comparing the cost with direct solvers We see from the above results that the Jacobi algorithm reduces the error quite slowly in each iteration. For

Comparing the cost with direct solvers
We see from the above results that the Jacobi algorithm reduces the error quite
slowly in each iteration. For a general matrix of size nn, Gaussian elimination
(or Cholesky factorization) costs O(n3) whereas each iteration of Jacobi costs O(n2).
So, for a system of size n=100, if we perform more than 100 Jacobi iterations, we are
doing more work than the direct solvers (Gaussian/Cholesky) Ouch! However,
we now note that the matrix A has a special structure.
(a) How many non-zeros does the matrix A have in each row?
(b) Based on the answer to part (a), how does the cost (in big-Oh notation) of per-
forming the Jacobi algorithm change if you could take advantage of this spar-
sity? Do you think either of your implementations (component-wise or vector-
update) takes advantage of the sparsity?
(c)A is an m-banded matrix, where m=2P=2n2. What is the cost in construct-
ing an LU factorization using the special algorithm for an m-banded matrix?
Give your answer in terms of O(n) and justify your value of .
(d) Based on your result for parts (b) and (c), what is the number of iterations for
which the faster Jacobi algorithm (from part (b)) becomes more expensive (in
terms of big-Oh notation) than the fast direct solver (from part (c)) if n=100?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logidata+ Deductive Databases With Complex Objects Lncs 701

Authors: Paolo Atzeni

1st Edition

354056974X, 978-3540569749

More Books

Students also viewed these Databases questions

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago