// Numbas version: exam_results_page_options {"name": "Maeve's copy of Frank's copy of Solving system of equations using row operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"prompt": "

First set up the augmented matrix:

\n

\\(\\left(\\begin{array}{rrr|c} \\var{a11}&\\var{a12}&\\var{a13}&\\var{r}\\\\\\var{a21}&\\var{a22}&\\var{a23}&\\var{s}\\\\\\var{a31}&\\var{a32}&\\var{a33}&\\var{t}\\\\\\end{array}\\right)\\)

\n

Use appropriate row operations to get zeroes below the diagonal in the first column:

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
{a11}123
4567
890
\n

\n

\\(\\left(\\begin{array}{rrr|c}\\var{a11}&\\var{a12}&\\var{a13}&\\var{r}\\\\0&1&[[1]]&[[2]]\\\\0&[[3]]&[[4]]&[[5]]\\\\\\end{array}\\right)\\) 

\n

Use appropriate row operations to get zeroes above and below the diagonal in the second column:

\n

\\(\\left(\\begin{array}{rrr|c} \\var{a11}&0&[[6]]&[[7]]\\\\0&1&[[8]]&[[9]]\\\\0&0&[[10]]&[[11]]\\\\\\end{array}\\right)\\) 

\n

Use appropriate row operations to get zeroes above and below the diagonal in the third column:

\n

\\(\\left(\\begin{array}{rrr|c} \\var{a11}&0&0&[[12]]\\\\0&1&0&[[13]]\\\\0&0&\\var{c34}&[[14]]\\\\\\end{array}\\right)\\)

\n

Hence

\n

\\(x=\\) [[15]]

\n

\\(y=\\) [[16]]

\n

\\(z=\\) [[0]]

\n

", "gaps": [{"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{z1}", "minValue": "{z1}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b23}", "minValue": "{b23}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b24}", "minValue": "{b24}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b32}", "minValue": "{b32}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b33}", "minValue": "{b33}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b34}", "minValue": "{b34}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c13}", "minValue": "{c13}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c14}", "minValue": "{c14}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b23}", "minValue": "{b23}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b24}", "minValue": "{b24}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c33}", "minValue": "{c33}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c34}", "minValue": "{c34}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{d14}", "minValue": "{d14}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{d24}", "minValue": "{d24}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{d34}", "minValue": "{d34}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{x1}", "minValue": "{x1}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "variableReplacements": [], "marks": 1, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{y1}", "minValue": "{y1}", "showFeedbackIcon": true, "mustBeReduced": false, "mustBeReducedPC": 0, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "showFeedbackIcon": true}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"b32": {"name": "b32", "description": "", "definition": "{k1}", "group": "Ungrouped variables", "templateType": "anything"}, "k3": {"name": "k3", "description": "", "definition": "{a23}-{k}*{a13}", "group": "Ungrouped variables", "templateType": "anything"}, "c33": {"name": "c33", "description": "", "definition": "{b33}-{b32}*{b23}", "group": "Ungrouped variables", "templateType": "anything"}, "k2": {"name": "k2", "description": "", "definition": "{a13}-{a12}*({a23}-{k}*{a13})", "group": "Ungrouped variables", "templateType": "anything"}, "b33": {"name": "b33", "description": "", "definition": "{a33}-{k1}*{a13}", "group": "Ungrouped variables", "templateType": "anything"}, "c34": {"name": "c34", "description": "", "definition": "{b34}-{b32}*{b24}", "group": "Ungrouped variables", "templateType": "anything"}, "a31": {"name": "a31", "description": "", "definition": "k1*a11", "group": "Ungrouped variables", "templateType": "anything"}, "a33": {"name": "a33", "description": "

3x33 matrix with determinant = a11

", "definition": "{k1}*({a23}+{a13}-{k}*{a13})+1", "group": "Ungrouped variables", "templateType": "anything"}, "a12": {"name": "a12", "description": "", "definition": "random(2..6#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "a22": {"name": "a22", "description": "", "definition": "k*a12+1", "group": "Ungrouped variables", "templateType": "anything"}, "d24": {"name": "d24", "description": "", "definition": "{b24}-{b23}*{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "a11": {"name": "a11", "description": "", "definition": "random(1,2,4,5,10)", "group": "Ungrouped variables", "templateType": "anything"}, "a23": {"name": "a23", "description": "", "definition": "random(1..8#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "c14": {"name": "c14", "description": "", "definition": "{r}-{a12}*{b24}", "group": "Ungrouped variables", "templateType": "anything"}, "a32": {"name": "a32", "description": "", "definition": "k1*(a12+1)", "group": "Ungrouped variables", "templateType": "anything"}, "d14": {"name": "d14", "description": "", "definition": "{c14}-{c13}*{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "a13": {"name": "a13", "description": "", "definition": "random(0..10#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "y1": {"name": "y1", "description": "", "definition": "random(1..10#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "s": {"name": "s", "description": "", "definition": "{a21}*{x1}+{a22}*{y1}+{a23}*{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "b23": {"name": "b23", "description": "", "definition": "{a23}-{k}*{a13}", "group": "Ungrouped variables", "templateType": "anything"}, "t": {"name": "t", "description": "", "definition": "{a31}*{x1}+{a32}*{y1}+{a33}*{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "k1": {"name": "k1", "description": "", "definition": "random(2..6#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "b34": {"name": "b34", "description": "", "definition": "{t}-{k1}*{r}", "group": "Ungrouped variables", "templateType": "anything"}, "b24": {"name": "b24", "description": "", "definition": "{s}-{k}*{r}", "group": "Ungrouped variables", "templateType": "anything"}, "d34": {"name": "d34", "description": "", "definition": "{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "z1": {"name": "z1", "description": "", "definition": "random(1..12#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "x1": {"name": "x1", "description": "", "definition": "random(1..10#1)", "group": "Ungrouped variables", "templateType": "randrange"}, "a21": {"name": "a21", "description": "", "definition": "k*a11", "group": "Ungrouped variables", "templateType": "anything"}, "r": {"name": "r", "description": "", "definition": "{a11}*{x1}+{a12}*{y1}+{a13}*{z1}", "group": "Ungrouped variables", "templateType": "anything"}, "c13": {"name": "c13", "description": "", "definition": "{a13}-{a12}*{b23}", "group": "Ungrouped variables", "templateType": "anything"}}, "advice": "

The correct row operations in the first iteration are

\n

new row2 = old row2- \\(\\var{k}*\\)row1

\n

new row3 = old row3- \\(\\var{k1}*\\)row1

\n

\n

The correct row operations in the second iteration are

\n

new row1 = old row1 - \\(\\var{a12}*\\)row2

\n

new row3 = old row3 - \\(\\simplify{{a32}-{k1}*{a12}}*\\)row2

\n

\n

The correct row operations in the third iteration are

\n

new row1 = old row1 - \\(\\simplify{{a13}-{a12}*({a23}-{k}*{a13})}*\\)row3

\n

new row2 = old row2 \\(-(\\simplify{{a23}-{k}*{a13}})*\\)row3

\n

\n

", "extensions": [], "functions": {}, "metadata": {"description": "

This question asks learners to use row operations to find the inverse of a 3x3 matrix.

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "tags": [], "ungrouped_variables": ["a11", "a12", "a13", "a21", "a22", "a23", "k1", "a31", "a32", "a33", "k2", "k3", "x1", "y1", "z1", "r", "s", "t", "b23", "b24", "b32", "b33", "b34", "c13", "c14", "c33", "c34", "d14", "d24", "d34"], "name": "Maeve's copy of Frank's copy of Solving system of equations using row operations", "rulesets": {}, "statement": "

Solve the following syastem of equations using row operations.

\n

\\(\\var{a11}x+\\var{a12}y+\\var{a13}z=\\var{r}\\)

\n

\\(\\var{a21}x+\\var{a22}y+\\var{a23}z=\\var{s}\\)

\n

\\(\\var{a31}x+\\var{a32}y+\\var{a33}z+\\var{t}\\)

\n

\n

\n

", "type": "question", "contributors": [{"name": "Maeve Fitzgerald", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2170/"}]}]}], "contributors": [{"name": "Maeve Fitzgerald", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2170/"}]}