We are trying to use Solve LR to find the solution to this question (see image)

However, instead of getting the expected answer (the matrix [[3],[-1]]) we’re getting a 2x2 zero matrix.

Applicable lines of code are listed below.

What are we doing incorrectly?

$v2D = ColumnVector(4,1);

$D = Matrix([[3,5],[1,2]]);

# Must be called by a Matrix MathObject.

$answerBi = $D->solve_LR(Matrix($v2D)->transpose);

BEGIN_PGML

bi. Solve LR

What is the solution to the system [`Dx = \vec{v}`]? [@ ans_box(4,30) @]* [@ AnswerFormatHelp("matrix") @]*

*Correct Answer(s):* [$answerBi]

*Displayed Answer (after the due date):* [`[$answerBi]`]

END_PGML

ANS($answerBi->cmp())