0% found this document useful (0 votes)
3 views2 pages

MTH501 Assignment Solved

The document contains solutions to four linear algebra problems, including vector transformations, matrix inversion, solving a system of equations, and LU decomposition. It demonstrates that reflecting a vector about the y-axis and rotating it 90° counterclockwise yield the same result. Additionally, it provides the inverse of a given matrix and the solutions to a system of equations, along with the LU decomposition of another matrix.

Uploaded by

shahidsamra102
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

MTH501 Assignment Solved

The document contains solutions to four linear algebra problems, including vector transformations, matrix inversion, solving a system of equations, and LU decomposition. It demonstrates that reflecting a vector about the y-axis and rotating it 90° counterclockwise yield the same result. Additionally, it provides the inverse of a given matrix and the solutions to a system of equations, along with the LU decomposition of another matrix.

Uploaded by

shahidsamra102
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

MTH501 – Linear Algebra

Assignment No. 01 (Solved)

Question 1
Let v = (1, 1) be a vector in ℝ². Show that the reflection of v about the y-axis produces the
same result as rotating v through 90° counterclockwise about the origin.

Solution:

Reflection matrix about the y-axis:


R = [ -1 0 ]
[ 0 1]

Rotation by 90° counterclockwise:


Q = [ 0 -1 ]
[1 0]

Apply R and Q to v = (1, 1):


R·v = (-1, 1)
Q·v = (-1, 1)

Both transformations give the same result, so the statement is proven.

Question 2
Compute the inverse of the matrix A using the augmented matrix method:
A = [2 0 -2]
[0 3 1]
[4 8 3]

Solution:

After performing row operations on the augmented matrix [A | I], we obtain:

A⁻¹ =
[ 1/26 -8/13 3/13 ]
[ 2/13 7/13 -1/13 ]
[ -6/13 -8/13 3/13 ]

Question 3
Find the values of x, y, z that satisfy the system:
2x + y - z = 8
-3x + 4y + 2z = -2
x + 5y + 3z = 12
Solution:

Using elimination, the solution is:


x = 52/17
y = 31/17
z = -1/17

Question 4
Perform LU decomposition of the matrix:
A=[2 3 1]
[4 7 2]
[ 6 18 -1 ]

Solution:

Using Doolittle’s method (L has 1s on the diagonal):

L=[1 0 0]
[2 1 0]
[3 9 1]

U=[2 3 1]
[0 1 0]
[ 0 0 -4 ]

Thus, A = LU.

You might also like