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
Describe the shape of the cross section
Snowcat [4.5K]
Hello,

It is a rectangle.


5 0
3 years ago
Solve the following formula for x y = 7 m x − 8 b
katovenus [111]

Answer: It depends on which variable you're solving for.

Step-by-step explanation:

Solving for b: b=7/8mx + -1/8xy

Solving for m: m=xy+8b

                             ______

                                   7x

Solving for x: x=-8b

                           ___

                          -7m+y

Solving for y: y=7mx-8b

                           ______

                                 x

7 0
2 years ago
3 5<br> What is of = ? Simplify.<br> 8 6<br> -
Verizon [17]
ppppoopoppoppooppoppp
7 0
3 years ago
What is 10/45 in simplest form
Oliga [24]

2/9


Work:

5 can go into each of them

10 / 5 = 2

45 / 5 = 9


So 2/9 is your answer

5 0
4 years ago
Read 2 more answers
Use the ten frame to make a
FromTheMoon [43]

Answer:6 pens are blue

Step-by-step explanation:because 14-8=6 pens would be left and would be blue

6 0
3 years ago
Other questions:
  • What is four and a half divided by two and five sixths
    8·2 answers
  • Which table can be created using the equation below? –2 + 4x = y A 2-column table with 3 rows. Column 1 is labeled x with entrie
    6·2 answers
  • Graph f(x) = -1/2x click on the graph till f(x) =-1/2x appears
    13·1 answer
  • Tu went to the movies. He bought 2 tickets for $9.50 each, popcorn for $5.00 and 2 drinks for $4.25 each. He gave the clerk two
    14·2 answers
  • What is the answer of 2m^2 * 2m^3
    11·2 answers
  • In JKL, k=4.1 cm,j=3.8 cm and angle J=Q3^ Find all possible values of angle K , to the nearest inch of a degree .
    8·1 answer
  • Help! Thank you in advance!
    13·2 answers
  • Determine the missing length in each right triangle using the Pythagorean theorem. Round the answer to the nearest tenth, if nec
    9·1 answer
  • PLEASE HELP INSTANTLY I WILL GIVE BRAINLEIST AND A THANKS
    13·2 answers
  • Two ships leave a harbor at
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!