// Numbas version: exam_results_page_options {"name": "Simon's copy of Invert a 3x3 matrix using row operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "functions": {}, "extensions": [], "statement": "

Find the inverse of the following matrix:
\\[A = \\left(\\begin{array}{rrr} \\var{a11} & \\var{a12} & \\var{a13}\\\\ \\var{a21} & \\var{a22} & \\var{a23}\\\\ \\var{a31} & \\var{a32} & \\var{a33}\\\\ \\end{array}\\right)\\]

\n

Form the $3 \\times 6$ augmented matrix $B$ by placing $I_3$ to the right of $A$ as below:
\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ \\var{a21} & \\var{a22} & \\var{a23}&\\var{0}&\\var{1}&\\var{0}\\\\ \\var{a31} & \\var{a32} & \\var{a33}&\\var{0}&\\var{0}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

In subsequent parts work with this matrix using row operations and introduce the identity matrix on the left hand side with the inverse of A eventually appearing on the right hand side.

", "ungrouped_variables": ["a", "a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33", "b", "b24", "b25", "c", "c1", "c2", "c3", "f1", "f2", "f3", "g1", "g2", "g3", "s"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

$A$ a $3 \\times 3$ matrix. Using row operations on the augmented matrix $\\left(A | I_3\\right)$ reduce to $\\left(I_3 | A^{-1}\\right)$.

"}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "variables": {"a33": {"name": "a33", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f3*g3"}, "c1": {"name": "c1", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1..5)"}, "a32": {"name": "a32", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f3*c*b*g2"}, "c2": {"name": "c2", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1..3)"}, "c": {"name": "c", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,2,3)"}, "a21": {"name": "a21", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f2*a*g1"}, "a11": {"name": "a11", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f1*g1"}, "a": {"name": "a", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(2..6)"}, "f2": {"name": "f2", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,-1)"}, "c3": {"name": "c3", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1..3)"}, "b25": {"name": "b25", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f2*g2*(a*(a*b*c-b*c)-1)"}, "f3": {"name": "f3", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,-1)"}, "f1": {"name": "f1", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,-1)"}, "g3": {"name": "g3", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,-1)"}, "a13": {"name": "a13", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f1*(b*a-b)*g3"}, "a22": {"name": "a22", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f2*(a*b-1)*g2"}, "a31": {"name": "a31", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f3*a*c*g1"}, "a12": {"name": "a12", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f1*b*g2"}, "a23": {"name": "a23", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f2*(a^2*b-a-a*b)*g3"}, "g1": {"name": "g1", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f1"}, "b24": {"name": "b24", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "g2*a*f1*(1-(a*b-b-1)*a*c)"}, "g2": {"name": "g2", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(1,-1)"}, "b": {"name": "b", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(2..6)"}, "s": {"name": "s", "group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "f3*g2"}}, "variablesTest": {"condition": "a22-a21*a12=-1 and f3*g3=1", "maxRuns": 100}, "name": "Simon's copy of Invert a 3x3 matrix using row operations", "advice": "

We begin with the augmented matrix 

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ \\var{a21} & \\var{a22} & \\var{a23}&\\var{0}&\\var{1}&\\var{0}\\\\ \\var{a31} & \\var{a32} & \\var{a33}&\\var{0}&\\var{0}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

Adding $\\var{-a21}$ lots of row 1 to row 2 gives:

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ 0 & \\var{a22-a21*a12} & \\var{a23-a21*a13}&\\var{-a21}&\\var{1}&\\var{0}\\\\ \\var{a31} & \\var{a32} & \\var{a33}&\\var{0}&\\var{0}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

Adding $\\var{-a31}$ lots of row 1 to row 3 gives:

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ 0 & \\var{a22-a21*a12} & \\var{a23-a21*a13}&\\var{-a21}&\\var{1}&\\var{0}\\\\ 0 & \\var{a32-a31*a12} & \\var{a33-a31*a13}&\\var{-a31}&\\var{0}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

We make the leading element of row 2 equal 1 by dividing row 2 by $-1$

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ 0 & 1 & \\var{-(a23-a21*a13)}&\\var{a21}&\\var{-1}&\\var{0}\\\\ 0 & \\var{a32-a31*a12} & \\var{a33-a31*a13}&\\var{-a31}&\\var{0}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

We can obtain a 0 at the bottom of column 2 by adding $\\var{-(a32-a31*a12)}$ lots of row 2 to row 3:

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{a13} &\\var{1}&\\var{0}&\\var{0}\\\\ 0 & 1 & \\var{-(a23-a21*a13)}&\\var{a21}&\\var{-1}&\\var{0}\\\\ 0 & 0 & \\var{1}&\\var{-a31-(a32-a31*a12)*a21}&\\var{-(a32-a31*a12)*-1}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

We can create a zero in column 3, row 1 by adding $\\var{-a13}$ lots of row 3 to row 1

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{0}&\\var{1-a13*(-a31-(a32-a31*a12)*a21)} &\\var{a13*(-a32+a31*a12)}&\\var{-a13}\\\\ 0 & 1 & \\var{-(a23-a21*a13)}&\\var{a21}&\\var{-1}&\\var{0}\\\\ 0 & 0 & \\var{1}&\\var{-a31-(a32-a31*a12)*a21}&\\var{-(a32-a31*a12)*-1}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

We can create a zero in column 3, row 2 by adding $\\var{(a23-a21*a13)}$ lots of row 3 to row 2

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & \\var{a12} & \\var{0}&\\var{1-a13*(-a31-(a32-a31*a12)*a21)} &\\var{a13*(-a32+a31*a12)}&\\var{-a13}\\\\ 0 & 1 & 0&\\var{a21+(a23-a21*a13)*(-a31-(a32-a31*a12)*a21)}&\\var{-1+(a23-a21*a13)*(a32-a31*a12)}&\\var{(a23-a21*a13)}\\\\ 0 & 0 & \\var{1}&\\var{(-a31-(a32-a31*a12)*a21)}&\\var{(a32-a31*a12)}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

Finally we can create a zero in column 2, row 1 by adding $\\var{-a12}$ lots of row 2 to row 1 

\n

\\[B = \\left(\\begin{array}{rrr|ccc} \\var{a11} & 0 & \\var{0}&\\var{1-a13*(-a31-(a32-a31*a12)*a21)-a12*(a21+(a23-a21*a13)*(-a31-(a32-a31*a12)*a21))} &\\var{a13*(-a32+a31*a12)-a12*(-1+(a23-a21*a13)*(a32-a31*a12))}&\\var{-a13-a12*(a23-a21*a13)}\\\\ 0 & 1 & 0&\\var{a21+(a23-a21*a13)*(-a31-(a32-a31*a12)*a21)}&\\var{-1+(a23-a21*a13)*(a32-a31*a12)}&\\var{(a23-a21*a13)}\\\\ 0 & 0 & \\var{1}&\\var{(-a31-(a32-a31*a12)*a21)}&\\var{(a32-a31*a12)}&\\var{1}\\\\ \\end{array}\\right)\\]

\n

\n

Then the inverse $A^{-1}$ is the $3 \\times 3$ matrix on the right hand side, namely:

\n

\\[A^{-1} = \\left(\\begin{array} &\\var{1-a13*(-a31-(a32-a31*a12)*a21)-a12*(a21+(a23-a21*a13)*(-a31-(a32-a31*a12)*a21))} &\\var{a13*(-a32+a31*a12)-a12*(-1+(a23-a21*a13)*(a32-a31*a12))}&\\var{-a13-a12*(a23-a21*a13)}\\\\ \\var{a21+(a23-a21*a13)*(-a31-(a32-a31*a12)*a21)}&\\var{-1+(a23-a21*a13)*(a32-a31*a12)}&\\var{(a23-a21*a13)}\\\\ \\var{(-a31-(a32-a31*a12)*a21)}&\\var{(a32-a31*a12)}&\\var{1}\\\\ \\end{array}\\right)\\]

", "parts": [{"extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "useCustomName": false, "gaps": [{"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-f2*g2}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-f2*g2}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-a*f2*g3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-a*f2*g3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{ -f2*f1*a}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{ -f2*f1*a}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{f3*g2*c*b*(1-a)}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{f3*g2*c*b*(1-a)}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{f3*g3*(1-a^2*b*c+a*b*c)}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{f3*g3*(1-a^2*b*c+a*b*c)}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-f3*f1*a*c}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-f3*f1*a*c}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}], "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "

Part 1.

\n

Introduce zeros in the first column below the first entry by adding suitable multiples of the first row to rows 2 and 3.

\n

Input all numbers as fractions or integers and not as decimals.

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]$\\var{a11}$$\\var{a12}$$\\var{a13}$$1$$0$$0$\\[\\left) \\begin{matrix} \\phantom{.} \\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
$0$[[0]][[1]][[2]]$1$$0$
$0$[[3]][[4]][[5]]$0$$1$
\n

Now, if necessary, multiply the second row by a suitable number so that the second entry in the second row is 1.

", "scripts": {}, "marks": 0}, {"extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "useCustomName": false, "gaps": [{"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{s*(-b*c+a*b*c)}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{s*(-b*c+a*b*c)}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{a*g2*g3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{a*g2*g3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{ g2*a*f1}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{ g2*a*f1}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-f2*g2}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-f2*g2}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{f3*g3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{f3*g3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{(a*b-b-1)*f3*a*c*f1}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{(a*b-b-1)*f3*a*c*f1}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-f2*f3*(a*b*c-b*c)}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-f2*f3*(a*b*c-b*c)}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}], "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "

Part 2.

\n

Now using this matrix, introduce a zero in the second column below the second entry of the second column by:

\n

Adding [[0]] times the second row to the third row to get the matrix:

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]$\\var{a11}$$\\var{a12}$$\\var{a13}$$1$$0$$0$\\[\\left) \\begin{matrix} \\phantom{.} \\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
$0$$1$[[1]][[2]][[3]]$0$
$0$$0$[[4]][[5]][[6]]$1$
", "scripts": {}, "marks": 0}, {"extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "useCustomName": false, "gaps": [{"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-a*g2*g3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-a*g2*g3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-a13}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-a13}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{ 1-a13*(a*b-b-1)*g3*a*c*f1-a12*b24}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{ 1-a13*(a*b-b-1)*g3*a*c*f1-a12*b24}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{a13*f2*g3*b*c*(a-1)-a12*b25}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{a13*f2*g3*b*c*(a-1)-a12*b25}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-a13*f3*g3+a12*a*g2*f3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-a13*f3*g3+a12*a*g2*f3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{b24}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{b24}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{b25}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{b25}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{-a*f3*g2}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{-a*f3*g2}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{(a*b-b-1)*g3*a*c*f1}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{(a*b-b-1)*g3*a*c*f1}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{ -f2*g3*b*c*(a-1)}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{ -f2*g3*b*c*(a-1)}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}, {"correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{f3*g3}", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "customName": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "type": "numberentry", "variableReplacements": [], "allowFractions": false, "useCustomName": false, "minValue": "{f3*g3}", "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "marks": 0.5}], "unitTests": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "

Part 3.

\n

Now, if necessary, multiply the third row by a suitable constant so that the third entry in the third column is 1.

\n

With this matrix, use the third row to introduce zeros into the second and first entries in the third column by adding suitable multiples of the third row to the second and first rows.

\n

Multiply third row by [[0]]and add to the second row.

\n

Multiply third row by [[1]]and add to the first row.

\n

Using this new matrix there is one more operation needed.

\n

Multiplying the second row by $\\var{-a12}$ and adding to the first row to obtain the inverse matrix appearing on the right hand side.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]$1$$0$$0$[[2]][[3]][[4]]\\[\\left) \\begin{matrix} \\phantom{.} \\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
$0$$1$$0$[[5]][[6]][[7]]
$0$$0$$1$[[8]][[9]][[10]]
", "scripts": {}, "marks": 0}], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}