// Numbas version: finer_feedback_settings {"name": "Maria's copy of John's copy of Gaussian elimination to solve a 3x3 system of linear equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "advice": "

Look at the revealed answers for this question. All the information needed is there.

", "name": "Maria's copy of John's copy of Gaussian elimination to solve a 3x3 system of linear equations", "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "statement": "

Solve the system of equations using Gauss Elimination
\\[\\begin{eqnarray*} &\\var{a}x&+\\;&\\var{a*b-1}y&+\\;\\var{a^2*b-a-a*b}z&=&\\var{c2}\\\\ &\\var{a*c}x&+\\;&\\var{c*b}y&+\\;z&=&\\var{c1}\\\\ &x&+\\;&\\var{b}y&+\\;\\var{b*a-b}z&=&\\var{c3} \\end{eqnarray*} \\]
Part a) Rearrange the order of the equations and represent this as a system of equations using a matrix.
Part b) Introduce zeros in the first column using the first row.
Part c) Introduce zeros in the second coumn below the second entry in the second row using the second row.
Also need to solve for $z$ using the last row of the reduced matrix.
Part d) Solve for $y$ and $x$ using the second and first rows of the reduced matrix.

", "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solving a system of three linear equations in 3 unknowns using Gauss Elimination in 4 stages. Solutions are all integral.

"}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "c", "b", "c3", "c2", "y", "x", "c1", "z"], "tags": [], "variables": {"y": {"definition": "a*c3-c2-a*z", "name": "y", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c2": {"definition": "random(1..3)", "name": "c2", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(2..6)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c1": {"definition": "random(1..5)", "name": "c1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "z": {"definition": "c1+c2*c*(b-a*b)+c3*c*(a^2*b-a-a*b)", "name": "z", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "x": {"definition": "c3-(b*a-b)*z-b*y", "name": "x", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c": {"definition": "random(1..3)", "name": "c", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "random(2..6)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c3": {"definition": "random(1..3)", "name": "c3", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "parts": [{"showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "customName": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showCorrectAnswer": true, "unitTests": [], "useCustomName": false, "variableReplacementStrategy": "originalfirst", "gaps": [{"showFeedbackIcon": true, "scripts": {}, "displayColumns": 0, "extendBaseMarkingAlgorithm": true, "matrix": [1, 0, 0, 0], "customName": "", "showCorrectAnswer": true, "maxMarks": 1, "unitTests": [], "distractors": ["", "", "", ""], "shuffleChoices": true, "displayType": "radiogroup", "useCustomName": false, "choices": ["

To make sure that there is a 1 or -1 in the first row, first column position because that makes the arithmetic easier.

", "

Because you always do this swap.

", "

To make sure that there is a 1 or -1 in the first row, first column position because that makes the arithmetic more stable.

", "

I don't know.

"], "showCellAnswerState": true, "variableReplacementStrategy": "originalfirst", "type": "1_n_2", "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "minMarks": 0}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "1", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "1", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{b}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{b}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{b*a-b}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{b*a-b}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c3}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c3}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a*b-1}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a*b-1}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a^2*b-a-a*b}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a^2*b-a-a*b}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c2}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c2}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a*c}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a*c}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{b*c}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{b*c}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "1", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "1", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c1}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c1}", "marks": 0.2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}], "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "\n

Re-arrange the rows so that the third row becomes the first row, the first the second and the second the third.
WHY? Choose one of the following:
[[0]]

\n

Now write down the entries of the matrix you will use for Gaussian Elimination, remember to include the constants as the last column.

\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]][[2]][[3]][[4]]\\[\\left) \\begin{matrix} \\phantom{.} \\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
[[5]][[6]][[7]][[8]]
[[9]][[10]][[11]][[12]]
\n "}, {"showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "customName": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showCorrectAnswer": true, "unitTests": [], "useCustomName": false, "variableReplacementStrategy": "originalfirst", "gaps": [{"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-a}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-a}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-a*c}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-a*c}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-1}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-1}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-a}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-a}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c2-a*c3}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c2-a*c3}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c*b-c*b*a}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c*b-c*b*a}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-a^2*b*c+1+a*b*c}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-a^2*b*c+1+a*b*c}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{c1-a*c*c3}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{c1-a*c*c3}", "marks": 0.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-1}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-1}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}], "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "\n \n \n

Now introduce zeros in the first column below the first entry by adding:
[[0]] times the first row to the second row and
[[1]] times the first 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 \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{1}$ $\\var{b}$ $\\var{b*a-b}$ $\\var{c3}$ \\[\\left) \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
$\\var{0}$ [[2]] [[3]] [[4]]
$\\var{0}$ [[5]] [[6]] [[7]]
\n \n \n \n

Next multiply the second row by [[8]] to get a 1 in the second entry in the second row.

\n \n \n "}, {"showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "customName": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showCorrectAnswer": true, "unitTests": [], "useCustomName": false, "variableReplacementStrategy": "originalfirst", "gaps": [{"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{-b*c+a*b*c}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{-b*c+a*b*c}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{a*c3-c2}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{a*c3-c2}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{1}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{1}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{b*c*(1-a)*(c2-a*c3)+c1-a*c*c3}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{b*c*(1-a)*(c2-a*c3)+c1-a*c*c3}", "marks": 0.8, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{z}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{z}", "marks": 2, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}], "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "\n \n \n

Note that you should have multiplied the second row by a suitable number to get a $1$ in the second entry in the second row.
In this part we introduce a $0$ in the second column below the second entry in the second column by 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 \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{1}$ $\\var{b}$ $\\var{b*a-b}$ $\\var{c3}$ \\[\\left) \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\]
$\\var{0}$ $\\var{1}$ [[1]] [[2]]
$\\var{0}$ $\\var{0}$ [[3]] [[4]]
\n \n \n \n

From this you should find:

\n \n \n \n

$z=\\;\\;$[[5]]

\n \n \n "}, {"showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "customName": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showCorrectAnswer": true, "unitTests": [], "useCustomName": false, "variableReplacementStrategy": "originalfirst", "gaps": [{"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{y}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{y}", "marks": 3, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}, {"showFeedbackIcon": true, "scripts": {}, "type": "numberentry", "customName": "", "minValue": "{x}", "extendBaseMarkingAlgorithm": true, "showFractionHint": true, "correctAnswerStyle": "plain", "allowFractions": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0, "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{x}", "marks": 2.6, "variableReplacements": [], "mustBeReduced": false, "customMarkingAlgorithm": "", "unitTests": []}], "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "\n \n \n

From the second row of the reduced matrix you find an equation involving only $y$ and $z$ and using your value for $z$ we find:

\n \n \n \n

$y=\\;\\;$[[0]]

\n \n \n \n

Then using the first row we have the equation :
\\[\\simplify[all]{x+ {b}y+{b*a-b}z={c3}}\\]

\n \n \n \n

Using this you can now find $x$:

\n \n \n \n

$x=\\;\\;$[[1]]

\n \n \n "}], "type": "question", "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "John Steele", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2218/"}, {"name": "Praneetha Singh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2552/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "John Steele", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2218/"}, {"name": "Praneetha Singh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2552/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}