// Numbas version: finer_feedback_settings {"name": "Matrices: determinants (3x3)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Matrices: determinants (3x3)", "tags": [], "metadata": {"description": "
Find the determinant of a random (3x3) matrix.
", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "Calculate the determinant of the following $3\\times3$ matrix.
", "advice": "In general, the determinant of a $3\\times3$ matrix is calculated as follows.
\n$$\\begin{vmatrix}a_1&b_1&c_1\\\\a_2&b_2&c_2\\\\a_3&b_3&c_3\\end{vmatrix}=a_1\\begin{vmatrix}b_2&c_2\\\\b_3&c_3\\end{vmatrix}-b_1\\begin{vmatrix}a_2&c_2\\\\a_3&c_3\\end{vmatrix}+c_1\\begin{vmatrix}a_2&b_2\\\\a_3&b_3\\end{vmatrix}$$
\nApplied to the question above,
\n$$\\begin{vmatrix}\\var{a1}&\\var{b1}&\\var{c1}\\\\\\var{a2}&\\var{b2}&\\var{c2}\\\\\\var{a3}&\\var{b3}&\\var{c3}\\end{vmatrix}=\\var{a1}\\begin{vmatrix}\\var{b2}&\\var{c2}\\\\\\var{b3}&\\var{c3}\\end{vmatrix}-\\var{b1}\\begin{vmatrix}\\var{a2}&\\var{c2}\\\\\\var{a3}&\\var{c3}\\end{vmatrix}+\\var{c1}\\begin{vmatrix}\\var{a2}&\\var{b2}\\\\\\var{a3}&\\var{b3}\\end{vmatrix} \\\\
=\\var{a1}(\\var{b2}\\times \\var{c3}-\\var{c2}\\times \\var{b3})-\\var{b1}(\\var{a2}\\times \\var{c3}-\\var{c2}\\times \\var{a3})+\\var{c1}(\\var{a2}\\times \\var{b3}-\\var{b2}\\times \\var{a3}) \\\\
=\\var{a1}(\\var{b2*c3}-\\var{c2*b3})-\\var{b1}(\\var{a2*c3}-\\var{c2*a3})+\\var{c1}(\\var{a2*b3}-\\var{b2*a3}) \\\\
=\\var{a1*(b2*c3-2*b3)}-\\var{b1*(a2*c3-c2*a3)}+\\var{c1*(a2*b3-b2*a3)}=\\var{det}$$
$\\begin{vmatrix}\\var{a1}&\\var{b1}&\\var{c1}\\\\\\var{a2}&\\var{b2}&\\var{c2}\\\\\\var{a3}&\\var{b3}&\\var{c3}\\end{vmatrix}=$[[0]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "det", "maxValue": "det", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}], "resources": []}]}], "contributors": [{"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}]}