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]
2 years ago
5

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

Mathematics
1 answer:
lana66690 [7]2 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
What is f(5)? I need help someone plz :)
Musya8 [376]
I believe f(5) is the number f equals hope that helped
4 0
3 years ago
The following table shows values from a linear function. What is the
Naddik [55]

Answer:

9

Step-by-step explanation:

The equation graphed from these points is y=3x+9, therefore the y-intercept is 9.

4 0
3 years ago
The school cafeteria surveyed students to see what their favorite lunch is, and the
Sergio039 [100]

Answer:

40%

Step-by-step explanation:

Degree representing students who prefer burgers = 144°

Percentage of students who like burger = \frac{144}{360} \times 100

= 0.4 \times 100

= 40 percent

Percentage of students who offered burger = 40%

3 0
2 years ago
HURRY PLEASE what's the answer?<br> A<br> B<br> C<br> D
Zarrin [17]

Answer:

x ≤ -11.25 or x > -8.75

Step-by-step explanation:

The graph here shows a disjunction compound inequality, in which either of the statements is true. That is for the compound inequality to be true, either one or the other statement is true. The word "OR" is used in stating this inequality.

On the graph, the directed line to our left has a full circle which starts at -11.25.

This means x ≤ -11.25.

The other directed line to our right has an empty circle, and starts at -8.75.

This means x > -8.75.

✅The compound inequality representing the graph will be written as:

x ≤ -11.25 or x > -8.75

3 0
2 years ago
Given the equation square root of quantity 2x plus 8 end quantity equals 6, solve for x and identify if it is an extraneous solu
Alex_Xolod [135]

Answer:

Solution: x = 6

Step-by-step explanation:

Given equation is:

\sqrt{2x+8}=6

In order to solve the equation both sides will be squared

(\sqrt{2x+8})^{2} = (6)^2 \\2x+8 = 36\\2x = 36-8\\2x = 28\\x = 14

Verifying the solution

\sqrt{2(14)+8} = 6\\ \sqrt{28+8} = 6\\\sqrt{36} = 6\\6 = 6

3 0
3 years ago
Read 2 more answers
Other questions:
  • What are the two essential types of insurance?
    6·1 answer
  • I NEED HELP!!!!!!!!!!!!!!!!!!!!!!
    14·2 answers
  • The area of circle Z is 64 ft2.
    10·2 answers
  • -3x-3y=3<br> 5x+y=-17 <br> Substitution <br> What does x and what does y equal
    15·2 answers
  • A plant is 2 inches tall. Suppose that its height doubles each day for 4 days. How tall would the plant be after the fourth day?
    5·2 answers
  • Change 0.3 into a fraction
    7·2 answers
  • Please answer will give brainliest. The Sanchez family is traveling from Los Angeles to San Francisco, with a stop in
    6·1 answer
  • Help me please .....
    15·2 answers
  • 1. Is 2/12 = 5/28 a true proportion?
    13·2 answers
  • Select the graph for the solution of the open sentence. Click until the correct graph appears. 5|x| + 3 &lt; 18
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!