Question: Create a 4 4 matrix A with ones on and above the diagonal. Also set vector - column x 0 = ( [ 1 .

Create a 44 matrix A with ones on and above the diagonal. Also set vector-column x0=([1.012.01,3.014.01]). Assuming this x0 is the solution to the linear system Ax0=b0, find the corresponding right-hand side b0. Report to hw03q1.m. Hint: use A**x-0 for the matrix-vector product Ax0 of the matrix A and the vector x0.
Create a column right-hand side 7.034.03). Show that x0 above does not solve the linear system Ax=b by computing the residual r=b-Ax0 and comparing it with the zero vector. Add to hw03q1.m.
Solve the system Ax=b on paper using exact arithmetic.
Using BackwardSubstitution.m, verify your computation on paper above. Add to hw03q1.m.
Since b=Ax and b0=Ax0, notice that it must hold that
A(x-x0)=b-b0
meaning the mantra "a perturbation in the right-hand side causes a perturbation in the solution up to the multiplication by A". Verify the latter (up to machine epsilon) and report it to hw03q1.m
 Create a 44 matrix A with ones on and above the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!