11.7 KB · commit a9602da
7.1. Express the following systems of equations in the matrix form: (a) 3x+2y+4z2x+y+zx+3y+5z=7=7=2 (b) 2x−z−2uy+2z−ux−y−u−x+3y−2u=−8=−1=−6=7
7.2. Write an algorithm to compute the product A=BC, where B and C are matrices of sizes (p×q) and (q×r), respectively. If B=2−12503−204andC=312500,find A=BC.
7.3. Show that the product of two upper triangular matrices is also an upper triangular matrix.
If A=100210324andB=−1000102−13,find AB.
7.4. Explain the back substitution process for the solution of the system a110⋮0a12a220……0a1na2n⋮annx1x2⋮xn=b1b2⋮bn and give an algorithm to implement it. Solve the following system 2x1−3x2+x3−3x2−x35x3=−1=−9=15
7.5. Find the inverse of the matrix A=20031.5012.518
7.6. Find the inverse of the matrix L=223012002
7.7. Factorize the matrix A=413315−113 into the product LU where L is unit lower triangular and U upper triangular.
7.8. Crout's Decomposition If a matrix A is decomposed into the product of a lower triangular matrix and a unit upper triangular matrix, it is called Crout's decomposition. Decompose the matrix A=1431351−13 by Crout's method.
7.9. Define norm of a matrix. If A=111343532 find ∥A∥1, ∥A∥e and ∥A∥∞.
7.10. Use Gauss elimination with partial pivoting to solve the system 2x1+x2−x3x1−2x2+3x33x1−x2+5x3=−1=9=14 Check your answer by substitution into the original equations.
7.11. Explain Gauss elimination method with partial pivoting to solve a system of linear algebraic equations and apply it to solve the system 1.2x1+2.1x2−1.1x3−1.1x1+2.0x2+3.1x3−2.1x1−2.2x2+3.7x3=1.8776=−0.1159=−4.2882.
7.12. Use Gauss–Jordan method to solve the system 4x1+3x2−x33x1+5x2+3x3x1+x2+x3=6=4=1.
7.13. Use Gauss elimination to find the inverse of the matrix A=111−1−22142
7.14. Solve the system of equations 10x+y+z2x+10y+zx+y+3z=12=13=5 by both Gauss elimination and Gauss-Jordan methods.
7.15. Decompose the matrix A=573−2171−54
into the form LU where L is unit lower triangular and U an upper triangular matrix. Hence solve the system AX=b where b=[4810]T.
7.16. For the matrix in Problem 7.15, find L−1, U−1 and A−1.
7.17. Design an algorithm to reduce a given system of equations to upper triangular form. Test your algorithm on the system: 4x+3y+2z2x+3y+4zx+2y+z=16=20=8.
7.18. Decompose the matrix A=421332241 into the form LU, where L is a lower triangular matrix and U is unit upper triangular.
7.19. Solve the following system by Gauss elimination: 2x1+3x2−x3+2x4x1+x2+x3+x4x1+x2+3x3−2x4x1+2x2+x3−x4=7=2=−6=−2
7.20. An approximate solution of the system 10x1+x2+x3x1+10x2+x3x1+x2+10x3=12=12=12 is given as x1(0)=0.4,x2(0)=0.6andx3(0)=0.8. Use the iterative method of Section 7.5.11 to improve this solution.
7.21. Solve the system 10x+2y+z2x+20y−2z−2x+3y+10z=9=−44=22 by Jacobi's method.
7.22. Solve the system given in Problem 7.21 by Gauss–Seidel method.
7.23. State the condition of convergence of Gauss-Seidel Iterative method. Apply this method, upto six iterations, to solve the system defined by 28x+4y−z2x+17y+4zx+3y+10z=32=35=24
7.24. Cholesky's method A matrix A is said to be a symmetric matrix if aij=aji. Symmetric systems occur frequently in engineering and science. For symmetric systems, the LU decomposition is more conveniently obtained, since U=LT. This method, called Cholesky's method, requires less storage space and less computer time. Solve the system given by 5010−20105x1x2x3=8−416 by Cholesky's method.
7.25. Explain what is meant by ill-conditioning of a matrix. Give two examples of ill-conditioned matrices. Is the matrix A=12131213141314151 ill-conditioned?
7.26. Define norm of a matrix. List the different types of norms of a matrix. What is condition number of a matrix.? Explain how the condition number is useful in determining whether a matrix is ill-conditioned.
7.27. Centro-symmetric systems Equations of the type \begin{aligned} a_{11}x_1 + a_{12}x_2 + a_{13}x_3 + a_{14}x_4 &= b_1 \tag{i} \\ a_{21}x_1 + a_{22}x_2 + a_{23}x_3 + a_{24}x_4 &= b_2 \tag{ii} \\ a_{24}x_1 + a_{23}x_2 + a_{22}x_3 + a_{21}x_4 &= b_3 \tag{iii} \\ a_{14}x_1 + a_{13}x_2 + a_{12}x_3 + a_{11}x_4 &= b_4 \tag{iv} \end{aligned} are called centro-symmetric systems. Such systems can be solved easily by the following method. Adding (i) and (iv), we obtain an
equation for (x1+x4) and (x2+x3). Similarly, adding (ii) and (iii), we obtain another equation for (x1+x4) and (x2+x3). These two equations give the values of (x1+x4) and (x2+x3). Again by subtractions, we get two equations in (x1−x4) and (x2−x3). Computation of x1,x4 and x2,x3 is now fairly easy. Solve the system x1+x2+3x3−2x42x1+3x2−x3+2x42x1−x2+3x3+2x4−2x1+3x2+x3+x4=−6=7=3=−1
7.28. Determine the eigenvalues and the corresponding eigenvectors for the following matrices: (a) [2221] (b) 100011011 (c) 5010−20105
7.29. Use the iterative method to find the smallest eigenvalue of the matrix A=110620103
7.30. Determine the largest eigenvalue and the corresponding eigenvector of the matrix B=13−1324−1410
7.31. Using Householder's method, obtain the tridiagonal form of the matrix A=134312421
7.32. Given the matrix A=012131410 find a symmetric orthogonal matrix P such that the matrix PA will contain zeros below the diagonal in its first column.
7.1 (a) 321213415xyz=772 (b) 201−101−13−1200−2−1−1−2xyzu=−8−1−67
7.2 7−31710−510
7.4 x1=1,x2=2,x3=3
7.5 A−1=2100−3+20187−185181
7.6 L−1=21−14101−10021
7.7 L=141430111001,U=4003410−145−10
7.8 1430−1200−10100110151
7.9 ∥A∥1=10,∥A∥e=8.6602,∥A∥∞=9.
7.10 x1=1,x2=−1,x3=2.
7.11 x1=−2.1557,x2=1.2746,x3=−1.6246.
7.12 x1=1.0,x2=0.5,x3=−0.5.
7.13 A−1=1.2−0.2−0.4−0.4−0.10.30.20.30.1
7.14 x=1,y=1,z=1.
7.15 x1=1.1193,x2=0.8685,x3=0.1407.
7.16 L−1=1−1.42.421101−2.1579001,U−1=0.200−0.10530.26320−0.05070.09780.0581
7.17 x=1,y=2,z=3.
7.18 L=4210234500−2,U=10043102121
7.19 x4=2,x3=−1,x2=0,x1=1.
7.20 x1=x2=x3=1.
7.21 5th iteration values are 0.9989,−1.9993,2.9984.
7.22 4th iteration values are 0.9991,−1.9998,2.9998.
7.23 6th iteration values are 0.9936,1.5070,1.8485.
7.24 x3=3,x2=2,x1=1.
7.25 ill-conditioned
7.27 x1=1,x2=0,x3=−1,x4=2.
7.28 (a) λ=0,[1−2];λ=3,[21] (b) λ=0,01/2−1/2;λ=1,100;λ=2,01/21/2
(c) λ=−2,010;λ=4,1/20−1/2;λ=6,1/201/2
7.29 λ=−1,1−0.330
7.30 λ=10.6,0.020.461.0
7.31 A1=1−50−52.920.5600.56−0.92
7.32 00012−140.8−0.4