// Numbas version: exam_results_page_options {"name": "Question 3 MATH6005 Assessment 1 Determinant of a 3 x 3 Matrix", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Find the determinant of a $3 \\times 3$ matrix.

"}, "variables": {"a31": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a31", "description": "

Matrix element

", "templateType": "anything"}, "a32": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a32", "description": "

Matrix element

", "templateType": "anything"}, "m3": {"definition": "(a21*a32)-(a22*a31)", "group": "Ungrouped variables", "name": "m3", "description": "

Submatrix

", "templateType": "anything"}, "a12": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a12", "description": "

Matrix element

", "templateType": "anything"}, "a22": {"definition": "random(-6..6 except 0)", "group": "Ungrouped variables", "name": "a22", "description": "

Matrix element

", "templateType": "anything"}, "a": {"definition": "matrix([ [a11,a12,a13],[a21,a22,a23],[a31,a32,a33] ])", "group": "Unnamed group", "name": "a", "description": "", "templateType": "anything"}, "a21": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a21", "description": "

Matrix element

", "templateType": "anything"}, "m2": {"definition": "(a21*a33)-(a23*a31)", "group": "Ungrouped variables", "name": "m2", "description": "

Submatrix

", "templateType": "anything"}, "a23": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a23", "description": "

Matrix element

", "templateType": "anything"}, "m1": {"definition": "(a22*a33)-(a23*a32)", "group": "Ungrouped variables", "name": "m1", "description": "

Submatrix

", "templateType": "anything"}, "a33": {"definition": "random(-6..6 except 0)", "group": "Ungrouped variables", "name": "a33", "description": "

Matrix element

", "templateType": "anything"}, "a11": {"definition": "random(-6..6 except 0)", "group": "Ungrouped variables", "name": "a11", "description": "

Matrix element

", "templateType": "anything"}, "a13": {"definition": "random(-5..5)", "group": "Ungrouped variables", "name": "a13", "description": "

Matrix element

", "templateType": "anything"}}, "statement": "

Consider the $3 \\times 3$ matrix,

\n

\\begin{align} \\mathrm{A} &= \\var{a} \\end{align}

", "variable_groups": [{"variables": ["a"], "name": "Unnamed group"}], "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers"]}, "name": "Question 3 MATH6005 Assessment 1 Determinant of a 3 x 3 Matrix", "advice": "

Determinant of a $3 \\times 3$ matrix

\n

The determinant of a matrix $\\mathrm{M} = \\begin{pmatrix} a&b&c \\\\ d&e&f \\\\ g&h&i \\end{pmatrix}$ can be calculated by using cofactor expansion. Expanding along the first row,

\n

\\[ \\det\\left(\\mathrm{M}\\right) = a \\cdot \\det \\begin{pmatrix} e&f \\\\ h&i \\end{pmatrix}- b \\cdot \\det \\begin{pmatrix} d&f \\\\ g&i \\end{pmatrix} + c \\cdot \\det \\begin{pmatrix} d&e \\\\ g&h \\end{pmatrix}\\]

\n

Thus for our example we have:

\n

\\[\\begin{align} \\det \\begin{pmatrix} e&f \\\\ h&i \\end{pmatrix} &= \\simplify[]{({a22}*{a33})-({a23}*{a32}) = {m1}} \\\\ \\det \\begin{pmatrix} d&f \\\\ g&i \\end{pmatrix} &= \\simplify[]{({a21}*{a33})-({a23}*{a31}) = {m2}} \\\\ \\det \\begin{pmatrix} d&e \\\\ g&h \\end{pmatrix} &=\\simplify[]{ ({a21}*{a32})-({a22}*{a31}) ={m3}}  \\end{align}\\]

\n

and so

\n

\\[\\begin{align} \\det\\left(\\mathrm{A}\\right) = (\\simplify[]{{a11}*{m1}})-(\\simplify[]{{a12}*{m2}})+(\\simplify[]{{a13}*{m3}}) = \\simplify[]{{det(a)}}  \\end{align}\\]

", "parts": [{"prompt": "

Calculate the determinant of the matrix.

\n

$\\operatorname{det}\\left( \\mathrm{A}\\right) = $ [[0]]

\n

", "showFeedbackIcon": true, "gaps": [{"showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "type": "numberentry", "showCorrectAnswer": true, "variableReplacements": [], "maxValue": "det(a)", "correctAnswerStyle": "plain", "mustBeReduced": false, "minValue": "det(a)", "notationStyles": ["plain", "en", "si-en"], "marks": "1", "allowFractions": false, "scripts": {}}], "variableReplacementStrategy": "originalfirst", "marks": 0, "showCorrectAnswer": true, "type": "gapfill", "scripts": {}, "variableReplacements": []}], "functions": {}, "tags": [], "ungrouped_variables": ["a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33", "m1", "m2", "m3"], "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "preamble": {"js": "", "css": ""}, "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/"}]}