Professional Documents
Culture Documents
MTH501 Assignment
MTH501 Assignment
Assignment no 1
Section Incharge : Dr Imran Talib
Student id : BC230407730
Name : Abdul Raffay
Question 1:
Solution
Since the product of A and B is not the identity matrix, B is not the inverse of A.
Question 2:
Consider
Find 𝐴 2 by using partitioned matrices approach.
Solution
Question3:
Find LU-decomposition of the following matrix
Solution
A=LU
where 𝐿L is a lower triangular matrix and 𝑈U is an upper triangular matrix. Let's assume the forms of 𝐿L
and 𝑈U as follows:
From the equality, we can match the elements to find 𝑙21l21, 𝑢11u11, 𝑢12u12, and 𝑢22u22:
1. 𝑢11=211=2
2. 𝑢12=0u12=0
Question4:
Compute two iterations for the following system of equations by using the Jacobi’s Method:
10𝑥1 + 𝑥2 = 20
𝑥1 + 12𝑥2 = 36
Solution
we can express the equations in the form suitable for the Jacobi method by isolating 𝑥1x1 and 𝑥2x2 on
each side:
Given the initial approximation X (0)=(2,3), we proceed with the Jacobi iteration formula: