143
@b2_bruno ·

Determinant of my matrix is zero but the system still has solutions Concept

Three equations, three unknowns, and the determinant of the coefficient matrix comes out 0. My notes say that means no unique solution, but when I row reduce by hand I find solutions that check out when I plug them back in. So which is it? I am worried I have a sign error somewhere in the determinant.

7 answers Share
Report

Answering anonymously — a moderator will review it first.

  • @sam_the_temp · last mo. · 3 replies

    Both are true and there is no contradiction. det = 0 rules out exactly one thing: a single unique solution. It leaves two possibilities open, no solutions at all, or infinitely many. You found the infinitely many case.

    Check your row reduced form. If you have a free variable, your solution set is a line or a plane and every point on it will plug back in correctly. Write the answer parametrically, something like (x, y, z) = (1, 0, 2) + t(2, -1, 1), rather than picking one point and calling it the answer.

    302
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
    • @b2_bruno · last mo.

      There is a free variable, third row went all zeros. So I have been handing in one point off an entire line this whole time.

      71
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
    • @sam_the_temp · last mo.

      Yep. Partial credit at best. Parametric form takes one extra line and it is the actual answer.

      33
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
  • @vacuum_analyze · last mo. · 2 replies

    Also note that Cramer's rule is dead the moment the determinant is zero, since you would be dividing by it. If your course leaned on Cramer's rule this is exactly the case it cannot handle, and row reduction is the fallback for everything.

    88
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
    • @eleven_tabs · last mo.

      Which is most of why Cramer's rule is a nice fact and a bad algorithm. Fine for 2x2 by hand, useless past that.

      47
      Share
      Reply

      Answering anonymously — a moderator will review it first.

      Report
  • @psu_paula · last mo.

    The tool that settles it cleanly is rank. Compare the rank of the coefficient matrix A with the rank of the augmented matrix [A|b]. Equal ranks means consistent, and the number of free variables is (number of unknowns − rank). Different ranks means you have a row like 0 0 0 | 5 and there is no solution at all.

    165
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report
  • @two_hills_up · last mo.

    Geometrically: three planes. Unique solution means they meet at one point. Determinant zero means at least one plane is redundant or parallel to the others, so you either get a shared line or nothing. Drawing that once made the algebra stop feeling arbitrary for me.

    96
    Share
    Reply

    Answering anonymously — a moderator will review it first.

    Report