Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please help me with the problems that are highlighted in yellow, please only ans

ID: 2087290 • Letter: P

Question

please help me with the problems that are highlighted in yellow, please only answer if you know how to answer the questions 100% correctly

3.2 Working with MATLAB 3.2.1 Basic Properties of inverse type A- 1 2 3; 3 4 1; 94 2To enter a 3 by 3 matrix. type A1 = inv(A) ype AII- inv(AI) type AR rref(A) to find the inverse of A Explain what is happening by typing % before your answer. to see the Reduced Row Echelon Form of A. What type of the matrix you are getting? Is this true for all invertible matrices A? Explain by typing % before your answer. to define the first column of B as first column of A to define the second column of B as second column of A type B(,1)-A(1) type B(:,2)-A(:,2) type B(:,3) - A(:,1) + A(:,2) to define the third column of B as the sum of the first two columns of A to see the Reduced Row Echelon Form of B Do vou see a row of zeros? Does the inverse of B exist? Explain by typing % before your type BR -rref(B) type BIinv(B) answer.

Explanation / Answer

MATLAB CODE AND EXPLANATION:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

A=[1 2 3;3 4 1;9 4 2]
AI=inv(A)
AII=inv(AI)%WEARE SIMLPLY PERFORMING AII=INVERSE OF INVERSE OF A SO WE GOT AII=A
AR=rref(A)%AR IS AN UNITY MATRIX AND IS TRUE FOR ALL INVERTIBLE MATRICES
B(:,1)=A(:,1);
B(:,2)=A(:,2);
B(:,3)=A(:,1)+A(:,2);
detB=det(B)%calculating determinant of B
BI=inv(B)%SINCE determinant of B IS 0 THE MATRIX B CANNOT BE INVERTED

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SOLUTION:

A =

1 2 3
3 4 1
9 4 2


AI =

-0.0645 -0.1290 0.1613
-0.0484 0.4032 -0.1290
0.3871 -0.2258 0.0323


AII =

1.0000 2.0000 3.0000
3.0000 4.0000 1.0000
9.0000 4.0000 2.0000


AR =

1 0 0
0 1 0
0 0 1


detB =

0

Warning: Matrix is singular to working precision.
> In Untitled at 9

BI =

Inf Inf Inf
Inf Inf Inf
Inf Inf Inf