1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
liberstina [14]
3 years ago
5

[ MATLAB] Check some linear algebra rules: Enter the following matrices:

Mathematics
1 answer:
lana66690 [7]3 years ago
3 0

Answer:

Step by step explanation along with Matlab code and output is provided below.

Step-by-step explanation:

We are given three matrices A, B, and C of size 2x2

A = [0 1; 0 0]

B =[1 2; -3 -6]

C =[4 -2; -2 1]

Output:

A =  0     1

     0     0

B =  1     2

    -3    -6

C =   4    -2

    -2     1

Let us first check if the given matrices A, B, and C are singular or not

% the Matlab function det( ) calculates the determinant of a matrix

det_A=det(A)

det_B=det(B)

det_C=det(C)

Output:

det_A =  0

det_B =  3.3307e-16  (its practically zero)

det_C =  0

So the given matrices are singular which means that the determinant of the matrix is zero so inverse of these matrices is not possible.

Rule I:

a1=B*C

Output:

a1 =  0     0

      0     0

In Matrix theory, if BC=0 then B=0 or C=0 doesn't hold true

For matrices B*C=0 does not imply that either B or C is zero matrix but rather it implies that at least one of them is singular. In this case we know that both B and C are singular matrices therefore, BC=0  

Rule II:

a2=A^2

Output:

a2=  0     0

      0     0

In Matrix theory, if A^2=0 then A=0 doesn't hold true

For matrices A^2=0 does not imply that A is zero matrix but rather it implies that A is singular. We already know that A is singular therefore, A^2=0

Rule III:

a3_L=(A+B)^2

a3_R=A^2+2*A*B+B^2

Output:

a3_L =    -8   -15

            15    27

a3_R =   -11   -22

             15    30

In Matrix theory, (A + B)^2 = A^2 + 2AB + B^2 doesn't hold true.

(A + B)^2 = A^2 + 2AB + B^2 might hold true if AB = BA,  but generally, AB≠BA in matrix algebra.

Rule IV:  

a4_L=(A-B)*(A+B)

a4_R=A^2-B^2

Output:

a4_L =     2     3

            -15   -27

a4_R =    5    10

            -15   -30

In Matrix theory, (A-B)(A+B)  = A^2-B^2  doesn't hold true.

Rule V:    

a5_L=A*(B+C)

a5_R=A*B+A*C

Output:

a5_L =    -5    -5

              0     0

a5_R =   -5    -5

              0     0

In Matrix theory, A(B+C) =  AB+AC  holds true.

Rule VI:    

a6_L=A*(B+C)

a6_R=B*A+C*A

Output:

a6_L =    -5    -5

              0     0

a6_R =    0     5

              0    -5

In Matrix theory, A(B+C) =  BA+CA  doesn't hold true.

on a side note;  (B+C)A =  BA+CA holds true

Rule VII:  

a7_L=(A*B)^2

a7_R=A^2*B^2

Output:

a7_L =     9    18

              0     0

a7_R =     0     0

              0     0

In Matrix theory, (AB)^2  =A^2*B^2   doesn't hold true.

(AB)^2  =A^2*B^2   might hold true if and only if  BA=AB  which is not true in general.  

You might be interested in
1/2 + 2/3 divided by 1/6
Neporo4naja [7]

Answer:

4 1/2

Step-by-step explanation:

Step 1:

1/2 + 2/3 ÷ 1/6     Equation

Step 2:

1/2 + 2/3 × 6/1      Flip the Fraction

Step 3:

1/2 + 2/1 × 2/1    Simplify

Step 4:

1/2 + 4      Multiply

Answer:

4 1/2     Add

Hope This Helps :)

4 0
4 years ago
A box shaped like a rectangular prism has a height of 17in. And a volume of 2720in^3. The length is 4in greater than twice the w
KIM [24]

Answer:

the width is 8

Step-by-step explanation:

4 0
4 years ago
Read 2 more answers
supposea,b,and c represent three postive whole numbers. if a+b=19, b+c=28, and a+c=25 what are the values of a, b, and c? solve
777dan777 [17]
Hello can you help me Solve each system of equations by GRAPHING. Clearly identify your solution.
(4x-y=3)
(3x+y=4)


Please help I need this answer and an explanation of how you got it I really do need this if you can help please it would mean so much to me I REALLY NEED HELPPPP
8 0
3 years ago
Please help I will give brainliest and no not free for a bro moment but please help
trasher [3.6K]

Answer:

im so sorry i forgot how to get perimeter but area is 52

Step-by-step explanation:

5 0
3 years ago
Mr. Smith has owned his car for 12 years. The car has 169,344 miles recorded on the odometer. What is the average number of mile
masha68 [24]

Answer:

14,112 mile/year

Step-by-step explanation:

169344÷12 = 14,112 mile/year

3 0
3 years ago
Other questions:
  • Helppppppppppppppppppppppppppppppppppppppppppppppppppppppp
    6·2 answers
  • Sean is making picture frames. each frame uses 4/5 yard of wood. what is the total length of wood Sean will need to make 12 fram
    8·1 answer
  • Does anyone know what 3/7 divided by 7/3 is?
    15·2 answers
  • What is the sum of the polynomials?
    14·2 answers
  • Find the new price for the markdown. Round to the nearest cent if necessary. $12.99 marked down 25%
    12·1 answer
  • Fill in the following statements.<br> DE ||<br> 2DE =
    7·1 answer
  • Can the sides of a triangle have lengths of 42, 45, and 13? If so, what kind of triangle is it?
    12·1 answer
  • Can someone help? This is so stressful
    13·2 answers
  • A triangle has side lengths of (8d – 3) centimeters, (60 + 2) centimeters, and
    8·1 answer
  • How many combinations?<br> 3 flavors<br> 5 toppings<br> whip or no whip cream
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!