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
One serving of granola provides 4% of the protein you need daily. You must get the remaining 48 grams from other sources. How ma
Inessa [10]
X=grams of protein you need daily.
Remember (4%=4/100=0.04).

x=4% of x + 48 g

therefore, we can suggest this equation:
x=0.04x+ 48
x-0.04x=48
0.96x=48
x=48/0.96
x=50

Answer: 50 grams of proteins you need daily.

Other method:
the remaning is equal to =100%-4%=96%

Therefore: 96% of x=48
Remember (96%=96/100=0.96)

we can suggest this equation too.
0.96x=48
x=48/0.96
x=50

Answer:50 grams of proteins you need daily.
3 0
3 years ago
Tell whether the set of ordered pairs {(1, 6), (2, 9), (3, 12), (4, 15)} satisfies a linear function. Explain.
3241004551 [841]

Answer:

It is nonlinear if x repeats in any of the sets

Step-by-step explanation:

3 0
3 years ago
Given: f(x) = x - 7 and h(x) = 2x + 3 Write the rule for f(h(x)).
azamat
F(h(x)) means wherever you see x in the f(x) function you're gonna plug in the h(x) function:
f(h(x)) = (2x + 3) - 7
= 2x + 3 - 7
= 2x - 4
6 0
3 years ago
Read 2 more answers
Someone please please help help me please please ASAP with my work <br><br> And NO LINKS or FILES
Vera_Pavlovna [14]

Answer:

1.

Blank 1: y

Blank 2: x

2.

Blank 1: x

Blank 2: y

Step-by-step explanation:

The reflection of a point along y-axis means the <u>y</u><u> </u><u>value</u><u> </u><u> </u>stays the same and the <u>x-value</u><u> </u>changes its sign.

Blank 1: y

Blank 2: x

The reflection of a point along x-axis means the <u>x</u> value stays the same and the <u>y</u>-value changes its sign.

Blank 1: x

Blank 2: y

8 0
3 years ago
Read 2 more answers
In a random survey of 3,455 adults in the U.S., 1,536 approve of the current economic policy. What percent of adults in the surv
ohaa [14]

Answer:

Amid record unemployment claims and the disruption of commercial activity caused by the novel coronavirus outbreak, the public’s assessments of the U.S. economy have deteriorated with extraordinary speed and severity. Just 23% of Americans now rate economic conditions in the country as excellent or good, down sharply from 57% at the start of the year.Step-by-step explanation:

3 0
2 years ago
Other questions:
  • The weight of water is 62 1/2 lb per cubic foot water that weighs 300 lb will fill how many cubic feet
    12·1 answer
  • Margie has these times recorded on her time sheet for the week. How many hours did she work?
    15·2 answers
  • Miguel is making an obstacle course for field day at the end of every sixth of the course there is a tire at the end of every th
    5·1 answer
  • Briefly discuss the three combinations of variable types that can form bivariate data.
    6·1 answer
  • Estimate each percent. <br> 35% of 147=
    15·2 answers
  • If you get this right i’ll give u the brainliest answer
    12·1 answer
  • At midnight the temperature is -6 degrees Celsius. By midday the temperature is 9c. By how much did the temperature rise?
    5·1 answer
  • What is the value of x^2 - 3y + 5x + 2 whenx = 7 and y = 4?
    7·1 answer
  • For every 10 tickets to a horror movie that a popular movie theater sells, they sell 9 tickets to a comedy movie. If they sold 5
    7·1 answer
  • URGENT + 20 Points! The regression equation for water being poured into a large, cone-shaped cistern is In(volume) = -1.327 +2.9
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!