// Numbas version: exam_results_page_options {"name": "Praneetha's copy of Gaussian Elimination", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"x": {"description": "", "name": "x", "definition": "c3-(b*a-b)*z-b*y", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"description": "", "name": "b", "definition": "random(2..6)", "group": "Ungrouped variables", "templateType": "anything"}, "c2": {"description": "", "name": "c2", "definition": "random(1..3)", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"description": "", "name": "a", "definition": "random(2..6)", "group": "Ungrouped variables", "templateType": "anything"}, "c": {"description": "", "name": "c", "definition": "random(1..3)", "group": "Ungrouped variables", "templateType": "anything"}, "z": {"description": "", "name": "z", "definition": "c1+c2*c*(b-a*b)+c3*c*(a^2*b-a-a*b)", "group": "Ungrouped variables", "templateType": "anything"}, "c1": {"description": "", "name": "c1", "definition": "random(1..5)", "group": "Ungrouped variables", "templateType": "anything"}, "c3": {"description": "", "name": "c3", "definition": "random(1..3)", "group": "Ungrouped variables", "templateType": "anything"}, "y": {"description": "", "name": "y", "definition": "a*c3-c2-a*z", "group": "Ungrouped variables", "templateType": "anything"}}, "functions": {}, "advice": "
Look at the revealed answers for this question. All the information needed is there.
", "parts": [{"type": "gapfill", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "marks": 0, "scripts": {}, "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "1", "allowFractions": false, "mustBeReduced": false, "minValue": "1", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{b}", "allowFractions": false, "mustBeReduced": false, "minValue": "{b}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{b*a-b}", "allowFractions": false, "mustBeReduced": false, "minValue": "{b*a-b}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{c3}", "allowFractions": false, "mustBeReduced": false, "minValue": "{c3}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a*b-1}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a*b-1}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a^2*b-a-a*b}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a^2*b-a-a*b}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{c2}", "allowFractions": false, "mustBeReduced": false, "minValue": "{c2}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a*c}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a*c}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{c*b}", "allowFractions": false, "mustBeReduced": false, "minValue": "{c*b}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "1", "allowFractions": false, "mustBeReduced": false, "minValue": "1", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.25", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{c1}", "allowFractions": false, "mustBeReduced": false, "minValue": "{c1}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "prompt": "Write the augmented matrix corresponding to this system of equations
\n\n\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n[[0]] | \n[[1]] | \n[[2]] | \n\\[\\left| \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n[[3]] | \n\\[\\left) \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n
[[4]] | \n[[5]] | \n[[6]] | \n[[7]] | \n|||
[[8]] | \n[[9]] | \n[[10]] | \n[[11]] | \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:
\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n$\\var{1}$ | \n$\\var{b}$ | \n$\\var{b*a-b}$ | \n\\[\\left| \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n$\\var{c3}$ | \n\\[\\left) \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n
$\\var{0}$ | \n[[2]] | \n[[3]] | \n[[4]] | \n|||
$\\var{0}$ | \n[[5]] | \n[[6]] | \n[[7]] | \n
Next multiply the second row by [[8]] to get a 1 in the second entry in the second row.
"}, {"type": "gapfill", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "marks": 0, "scripts": {}, "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.5", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{-b*c+a*b*c}", "allowFractions": false, "mustBeReduced": false, "minValue": "{-b*c+a*b*c}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.5", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.5", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{a*c3-c2}", "allowFractions": false, "mustBeReduced": false, "minValue": "{a*c3-c2}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.5", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{1}", "allowFractions": false, "mustBeReduced": false, "minValue": "{1}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "0.5", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{b*c*(1-a)*(c2-a*c3)+c1-a*c*c3}", "allowFractions": false, "mustBeReduced": false, "minValue": "{b*c*(1-a)*(c2-a*c3)+c1-a*c*c3}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": 1, "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{z}", "allowFractions": false, "mustBeReduced": false, "minValue": "{z}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "prompt": "(Note that from the last part, you may have multiplied the second row by a suitable number to get a $1$ in the second entry in the second row.)
\n
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:
\\[\\left( \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n$\\var{1}$ | \n$\\var{b}$ | \n$\\var{b*a-b}$ | \n\\[\\left| \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n$\\var{c3}$ | \n\\[\\left) \\begin{matrix} \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\phantom{.}\\\\ \\end{matrix} \\right.\\] | \n
$\\var{0}$ | \n$\\var{1}$ | \n[[1]] | \n[[2]] | \n|||
$\\var{0}$ | \n$\\var{0}$ | \n[[3]] | \n[[4]] | \n
From this you should find:
\n$z=\\;\\;$[[5]]
"}, {"type": "gapfill", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "marks": 0, "scripts": {}, "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "1", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{y}", "allowFractions": false, "mustBeReduced": false, "minValue": "{y}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"type": "numberentry", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": "1", "scripts": {}, "unitTests": [], "mustBeReducedPC": 0, "maxValue": "{x}", "allowFractions": false, "mustBeReduced": false, "minValue": "{x}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "prompt": "\n \n \nFrom 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 \nThen using the first row we have the equation :
\\[\\simplify[all]{x+ {b}y+{b*a-b}z={c3}}\\]
Using this you can now find $x$:
\n \n \n \n$x=\\;\\;$[[1]]
\n \n \n \n \n "}], "metadata": {"description": "Solving a system of three linear equations in 3 unknowns using Gauss Elimination in 4 stages. Solutions are all integral.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "tags": [], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "name": "Praneetha's copy of Gaussian Elimination", "extensions": [], "ungrouped_variables": ["a", "b", "c", "c1", "c2", "c3", "y", "x", "z"], "preamble": {"css": "", "js": ""}, "statement": "Solve the system of equations using Gaussian Elimination
\\[\\begin{eqnarray} &x&+\\;&\\var{b}y&+\\;\\var{b*a-b}z&=&\\var{c3}\\\\ &\\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} \\end{eqnarray} \\]