// Numbas version: finer_feedback_settings {"name": "Denis's copy of EG5116 EG4103 Matrices: Cramers Rule applied to 3 simultaneous equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Denis's copy of EG5116 EG4103 Matrices: Cramers Rule applied to 3 simultaneous equations", "tags": [], "metadata": {"description": "
Cramers Rule applied to 3 simultaneous equations
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Using Cramer's rule , solve the system of equations:
\n$\\var{a11}x+\\var{a12}y+\\var{a13}z=\\var{c1}$
\n$\\var{a21}x+\\var{a22}y+\\var{a23}z=\\var{c2}$
\n$\\var{a31}x+\\var{a32}y+\\var{a33}z=\\var{c3}$
\n\n", "advice": "If \\[ A=\\left( \\begin{array}{ccc}
a_{11} & a_{12} & a_{13} \\\\a_{21} & a_{22} & a_{23}\\\\ a_{31} & a_{32} & a_{33}\\end{array} \\right),\\]
\\[ C=\\left( \\begin{array}{ccc}
c_{1} \\\\ c_{2} \\\\c_{3} \\end{array} \\right),\\]
Cramer's Rule : ${x_1}=\\frac{\\Delta_1}{\\Delta_0}$ , ${x_2}=\\frac{\\Delta_2}{\\Delta_0}$ , ${x_3}=\\frac{\\Delta_3}{\\Delta_0}$
\nWhere:\\[ \\Delta_0=\\left| \\begin{array}{ccc}
a_{11} & a_{12} & a_{13} \\\\a_{21} & a_{22} & a_{23}\\\\ a_{31} & a_{32} & a_{33}\\end{array} \\right|\\]
\\[ \\Delta_1=\\left| \\begin{array}{ccc}
c_{1} & a_{12} & a_{13} \\\\c_{2} & a_{22} & a_{23}\\\\ c_{3} & a_{32} & a_{33}\\end{array} \\right|\\]
\\[ \\Delta_2=\\left| \\begin{array}{ccc}
a_{11} & c_{1} & a_{13} \\\\a_{21} & c_{2} & a_{23}\\\\ a_{31} & c_{3} & a_{33}\\end{array} \\right|\\]
\\[ \\Delta_3=\\left| \\begin{array}{ccc}
a_{11} & a_{12} & c_{1} \\\\a_{21} & a_{22} & c_{2}\\\\ a_{31} & a_{32} & c_{3}\\end{array} \\right|\\]
\n
\n
\n", "rulesets": {}, "extensions": [], "variables": {"a33": {"name": "a33", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a21": {"name": "a21", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a22": {"name": "a22", "group": "Ungrouped variables", "definition": "random(0..10 except(a21*a12/a11))", "description": "", "templateType": "anything"}, "a23": {"name": "a23", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a11": {"name": "a11", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a13": {"name": "a13", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a12": {"name": "a12", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "a31": {"name": "a31", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}, "matrixA": {"name": "matrixA", "group": "Ungrouped variables", "definition": "matrix([a11,a12,a13],[a21,a22,a23],[a31,a32,a33])", "description": "", "templateType": "anything"}, "c3": {"name": "c3", "group": "Ungrouped variables", "definition": "a31*x1+a32*x2+a33*x3", "description": "", "templateType": "anything"}, "matrixA3": {"name": "matrixA3", "group": "Cramer determinants", "definition": "matrix([a11,a12,c1],[a21,a22,c2],[a31,a32,c3])", "description": "", "templateType": "anything"}, "matrixA2": {"name": "matrixA2", "group": "Cramer determinants", "definition": "matrix([a11,c1,a13],[a21,c2,a23],[a31,c3,a33])", "description": "", "templateType": "anything"}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything"}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything"}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "a21*x1+a22*x2+a23*x3", "description": "", "templateType": "anything"}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "a11*x1+a12*x2+a13*x3", "description": "", "templateType": "anything"}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything"}, "matrixA1": {"name": "matrixA1", "group": "Cramer determinants", "definition": "matrix([c1,a12,a13],[c2,a22,a23],[c3,a32,a33])", "description": "", "templateType": "anything"}, "a32": {"name": "a32", "group": "Ungrouped variables", "definition": "random(0..10)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["matrixA", "a11", "a12", "a21", "a22", "a13", "a23", "a31", "a32", "a33", "x1", "x2", "x3", "c1", "c2", "c3"], "variable_groups": [{"name": "Cramer determinants", "variables": ["matrixA1", "matrixA2", "matrixA3"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "
What is the determinant of A=$\\var{matrixA}$? i.e $\\Delta$
\n[[0]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "det(matrixA)", "maxValue": "det(matrixA)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Calculate $\\Delta_x$ [[0]]
\nHence, calculate ${x}$ [[1]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "det(matrixA1)", "maxValue": "det(matrixA1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{x1}", "maxValue": "{x1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Calculate $\\Delta_y$[[0]]
\nHence, calculate ${y}$ [[1]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "det(matrixA2)", "maxValue": "det(matrixA2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{x2}", "maxValue": "{x2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Calculate $\\Delta_z$[[0]]
\nHence, calculate ${z}$ [[1]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "det(matrixA3)", "maxValue": "det(matrixA3)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "{x3}", "maxValue": "{x3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "type": "question", "contributors": [{"name": "Denis Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1216/"}]}]}], "contributors": [{"name": "Denis Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1216/"}]}