// Numbas version: finer_feedback_settings {"name": "Question 5 MATH6005 Assessment 1 Cofactors, Determinant and Inverse of a 3x3 matrix", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"a13": {"description": "", "templateType": "anything", "definition": "random(-5..10)", "name": "a13", "group": "Ungrouped variables"}, "a11": {"description": "", "templateType": "anything", "definition": "random(-3..3)", "name": "a11", "group": "Ungrouped variables"}, "a31": {"description": "", "templateType": "anything", "definition": "random(0..10)", "name": "a31", "group": "Ungrouped variables"}, "cof22": {"description": "", "templateType": "anything", "definition": "a11*a33-a31*a13", "name": "cof22", "group": "cofactors"}, "a32": {"description": "", "templateType": "anything", "definition": "random(0..10)", "name": "a32", "group": "Ungrouped variables"}, "inverseA": {"description": "", "templateType": "anything", "definition": "matrix([cof11,cof21,cof31],[cof12,cof22,cof32],[cof13,cof23,cof33])/det(matrixA)", "name": "inverseA", "group": "Ungrouped variables"}, "cof23": {"description": "
cof23
", "templateType": "anything", "definition": "a12*a31-a11*a32", "name": "cof23", "group": "cofactors"}, "a23": {"description": "", "templateType": "anything", "definition": "random(-4..4)", "name": "a23", "group": "Ungrouped variables"}, "cof32": {"description": "", "templateType": "anything", "definition": "a13*a21-a11*a23", "name": "cof32", "group": "cofactors"}, "a21": {"description": "", "templateType": "anything", "definition": "random(0..10)", "name": "a21", "group": "Ungrouped variables"}, "a22": {"description": "", "templateType": "anything", "definition": "random(0..5 except(a21*a12/a11))", "name": "a22", "group": "Ungrouped variables"}, "matrixA": {"description": "", "templateType": "anything", "definition": "matrix([a11,a12,a13],[a21,a22,a23],[a31,a32,a33])", "name": "matrixA", "group": "Ungrouped variables"}, "cof33": {"description": "", "templateType": "anything", "definition": "a11*a22-a12*a21", "name": "cof33", "group": "cofactors"}, "a33": {"description": "", "templateType": "anything", "definition": "random(0..20)", "name": "a33", "group": "Ungrouped variables"}, "a12": {"description": "", "templateType": "anything", "definition": "random(0..10)", "name": "a12", "group": "Ungrouped variables"}, "cof31": {"description": "", "templateType": "anything", "definition": "a12*a23-a22*a13", "name": "cof31", "group": "cofactors"}, "cof13": {"description": "", "templateType": "anything", "definition": "a21*a32-a31*a22", "name": "cof13", "group": "cofactors"}, "cof12": {"description": "", "templateType": "anything", "definition": "a23*a31-a21*a33", "name": "cof12", "group": "cofactors"}, "cof21": {"description": "", "templateType": "anything", "definition": "a32*a13-a12*a33", "name": "cof21", "group": "cofactors"}, "cof11": {"description": "", "templateType": "anything", "definition": "a22*a33-a32*a23", "name": "cof11", "group": "cofactors"}}, "ungrouped_variables": ["matrixA", "a11", "a12", "a21", "a22", "a13", "a23", "a31", "a32", "a33", "inverseA"], "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "preamble": {"js": "", "css": ""}, "functions": {}, "statement": "", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Cofactors Determinant and inverse of a 3x3 matrix.
"}, "name": "Question 5 MATH6005 Assessment 1 Cofactors, Determinant and Inverse of a 3x3 matrix", "extensions": [], "advice": "If \\[ A=\\left( \\begin{array}{ccc}
a & b & c \\\\d & e&f\\\\ g&h&j \\end{array} \\right),\\]
Cofactors are given by \\[ A=\\left( \\begin{array}{ccc}
a & b & c \\\\d & e&f\\\\ g&h&j \\end{array} \\right),\\]
Cof11 =\\[ +\\left| \\begin{array}{ccc}
e&f\\\\ h&j \\end{array} \\right|,\\]
Cof12 =\\[ -\\left| \\begin{array}{ccc}
d & f\\\\ g&j \\end{array} \\right|,\\]
Cof13 =\\[ +\\left| \\begin{array}{ccc}
d & e\\ g&h\\end{array} \\right|,\\]
Cof21 =\\[ -\\left| \\begin{array}{ccc}
b & c \\\\h&j \\end{array} \\right|,\\]
Cof22 =\\[ +\\left| \\begin{array}{ccc}
a & c \\\\ g&j \\end{array} \\right|,\\]
Cof23 =\\[ -\\left| \\begin{array}{ccc}
a & b \\\\g&h\\end{array} \\right|,\\]
Cof31 =\\[ +=\\left| \\begin{array}{ccc}
b & c \\\\e&f\\end{array} \\right|,\\]
Cof32 =\\[ -\\left| \\begin{array}{ccc}
a & c \\\\d & f\\end{array} \\right|,\\]
Cof33 =\\[ +\\left| \\begin{array}{ccc}
a & b\\\\d & e \\end{array} \\right|,\\]
Then, the determinant of A is given by the sum of the product of any row ( or column) elements by their cofactors
\ne.g row 1 determinant = a*cof11+b*cof12+c*cof13
\nand the inverse of A is given by the ratio of the adjoint(A) and the deteminant of A
\nwhere adjoint A= \\left( \\begin{array}{ccc}
cof11 & cof21 & cof31 \\\\cof12 & cof22&cof32\\\\ cof13&cof23&cof33 \\end{array} \\right),\\]
inverse of A=\\[ \\frac{1}{det(A)}*\\left( \\begin{array}{ccc}
cof11 & cof21 & cof31 \\\\cof12 & cof22&cof32\\\\ cof13&cof23&cof33 \\end{array} \\right),\\]
\n", "parts": [{"scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "prompt": "\n
Calculate the nine cofactors of A=$\\var{matrixA}$?
\n$A _{11}$ cofactor in position 1,1[[0]]
\n$A_{12}$ cofactor in position 1,2[[1]]
\n$A_{13}$ cofactor in position 1,3[[2]]
\n$A_{21}$ cofactor in position 2,1[[3]]
\n$A_{22}$ cofactor in position 2,2[[4]]
\n$A_{23}$ cofactor in position 2,3[[5]]
\n$A_{31}$ cofactor in position 3,1[[6]]
\n$A_{32}$ cofactor in position 3,2[[7]]
\n$A_{33}$ cofactor in position 3,3[[8]]
", "marks": 0, "type": "gapfill", "gaps": [{"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof11}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof11}", "allowFractions": true, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof12}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof12}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof13}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof13}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof21}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof21}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof22}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof22}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof23}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof23}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof31}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof31}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof32}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof32}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}, {"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "{cof33}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "0.2", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "{cof33}", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}, {"scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "prompt": "What is the determinant of A=$\\var{matrixA}$?
\n[[0]]
", "marks": 0, "type": "gapfill", "gaps": [{"scripts": {}, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "minValue": "det(matrixA)", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": "1", "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "det(matrixA)", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false}], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}, {"scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "prompt": "\nWhat is the inverse of A=$\\var{matrixA}$? Cofactors will be accepted as fractions or correct to 2 decimal places.
\n[[0]]
", "marks": 0, "type": "gapfill", "gaps": [{"scripts": {}, "numColumns": "3", "correctAnswer": "inverseA", "marks": 1, "numRows": "3", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "correctAnswerFractions": false, "showFeedbackIcon": true, "allowResize": true, "tolerance": "0.005", "type": "matrix", "markPerCell": false, "allowFractions": true}], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "variable_groups": [{"variables": ["cof11", "cof12", "cof13", "cof21", "cof22", "cof23", "cof31", "cof32", "cof33"], "name": "cofactors"}, {"variables": [], "name": "Unnamed group"}], "rulesets": {}, "type": "question", "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}]}]}], "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}]}