Solving Matrix Equation Ax=B: Understanding Determinants and Inverses

  • Thread starter Thread starter T Niemistoinen
  • Start date Start date
  • Tags Tags
    Matrix
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 4K views
T Niemistoinen
Messages
2
Reaction score
0

Homework Statement



You are given matrices A and B:

1 -2 1
A = 0 0 0
0 1 1


1
B = 0
2

Solve the equation Ax=B

Homework Equations



x=A^(-1)*B

The Attempt at a Solution



I carried out exactly the steps required for inverting a matrix. When got to th part where the determinant is calculated, I obtained a zero determinant. I thought this meant that the inverse matrix could not be calculated. This is also the result that an online matrix calculator gave for A. Hence I anwered "unsolvable" in the exam. Yet I was only given 1 out of 3 points.

What should I have done differently?

Thanks for your help!
 
Physics news on Phys.org
The fact that A has no inverse means that there exist some vectors B such that
Ax = B
is not solvable. However as long as B is in the image of A it is solvable. In particular for this problem notice that A always forces the second coordinate of Ax to be equal to zero - so if B had a nonzero second coordinate the problem would be unsolvable. Luckily B has zero for its second coordinate, so it will turn out that Ax=B is solvable in this case.

As far as figuring out what x can be equal to, you can write down a system of equations from Ax=B which you should be able to solve. Try that and show us what you get!
 
T Niemistoinen said:

Homework Statement



You are given matrices A and B:

1 -2 1
A = 0 0 0
0 1 1


1
B = 0
2

Solve the equation Ax=B

Homework Equations



x=A^(-1)*B

The Attempt at a Solution



I carried out exactly the steps required for inverting a matrix. When got to th part where the determinant is calculated, I obtained a zero determinant. I thought this meant that the inverse matrix could not be calculated. This is also the result that an online matrix calculator gave for A. Hence I anwered "unsolvable" in the exam. Yet I was only given 1 out of 3 points.

What should I have done differently?

Thanks for your help!

For any nxn linear system, exactly one of the following statements is true: Ax = b has (i) exactly one solution; (ii) no solutions; or (iii) infinitely many solutions. You chose (ii), but without checking the details. The easiest way is to just write out the equations:
[tex]1x -2y + 1x = 1\\<br /> 0x+0y+0z=0\\<br /> 0x+1y+1z = 2[/tex]
The second equation is redundant, so we just have two equations in three unknowns:
[tex]\begin{array}{rc} x - 2y + z & = 1\\<br /> y + z &= 2 \end{array}[/tex]
 
  • Like
Likes   Reactions: 1 person
Thanks a lot guys! That's actually all familiar stuff to me and it all makes sense now, but for some reason I just can't think straight when it comes to matrices. Thanks again!