// Numbas version: exam_results_page_options {"name": "Matrix Operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Matrix Operations", "tags": [], "metadata": {"description": "

Addition, subtraction and multiplication of 2 x 2 matrices and multiplication by a scalar.

\n

(Last three parts of original question removed.)

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "
Find the answers to the following matrix calculations, filling in your answers in the spaces provided.
", "advice": "

(a)

\n

$\\var{a}+\\var{b}=\\var{u}$

\n

Just add corresponding elements together.

\n

(b)

\n

$\\var{p}\\var{c}-\\var{q}\\var{d}$

\n

Multiply each element of the first matrix by $\\var{p}$...

\n

$\\var{p}\\var{c}=\\var{pc}$

\n

...and multiply each element of the second matrix by $\\var{q}$.

\n

$\\var{q}\\var{d}=\\var{qd}$

\n

Finally, subtract corresponding elements

\n

$\\var{p}\\var{c}-\\var{q}\\var{d}=\\var{pc}-\\var{qd}=\\var{v}$

\n

\n

For more explanation, look for relevant resources in the 'Matrices' section on our Maths Study Skills page.

\n

\n

\n

\n

 

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
", "rulesets": {"ruleset0": []}, "extensions": [], "variables": {"c21": {"name": "c21", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "d11": {"name": "d11", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "a21": {"name": "a21", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "ab": {"name": "ab", "group": "Ungrouped variables", "definition": "a*b", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(2..10#1)", "description": "", "templateType": "anything"}, "b12": {"name": "b12", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "a12": {"name": "a12", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "d21": {"name": "d21", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "d22": {"name": "d22", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "matrix([a11,a12],[a21,a22])", "description": "", "templateType": "anything"}, "a11": {"name": "a11", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "deta": {"name": "deta", "group": "Ungrouped variables", "definition": "det(a)", "description": "", "templateType": "anything"}, "at": {"name": "at", "group": "Ungrouped variables", "definition": "transpose(a)", "description": "", "templateType": "anything"}, "b21": {"name": "b21", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "ans2": {"name": "ans2", "group": "Ungrouped variables", "definition": "c-d", "description": "", "templateType": "anything"}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "a+b", "description": "", "templateType": "anything"}, "pc": {"name": "pc", "group": "Ungrouped variables", "definition": "p*c", "description": "", "templateType": "anything"}, "b11": {"name": "b11", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "adj": {"name": "adj", "group": "Ungrouped variables", "definition": "matrix([a22,-a12],[-a21,a11])", "description": "", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(-10..10#1 except 0 except 1 except q)", "description": "", "templateType": "anything"}, "a22": {"name": "a22", "group": "Ungrouped variables", "definition": "if(test*a11=a21*a12,test+1,test)", "description": "", "templateType": "anything"}, "d12": {"name": "d12", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "a+b", "description": "", "templateType": "anything"}, "det": {"name": "det", "group": "Ungrouped variables", "definition": "a11*a22-a21*a12", "description": "", "templateType": "anything"}, "c12": {"name": "c12", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "c11": {"name": "c11", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "c22": {"name": "c22", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "matrix([c11,c12],[c21,c22])", "description": "", "templateType": "anything"}, "qd": {"name": "qd", "group": "Ungrouped variables", "definition": "q*d", "description": "", "templateType": "anything"}, "test": {"name": "test", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "matrix([d11,d12],[d21,d22])", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "matrix([b11,b12],[b21,b22])", "description": "", "templateType": "anything"}, "v": {"name": "v", "group": "Ungrouped variables", "definition": "pc-qd", "description": "", "templateType": "anything"}, "bat": {"name": "bat", "group": "Ungrouped variables", "definition": "b*at", "description": "", "templateType": "anything"}, "b22": {"name": "b22", "group": "Ungrouped variables", "definition": "random(-10..10#1)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a21", "a22", "ab", "ans2", "b22", "b21", "at", "ans", "d11", "d12", "p", "pc", "b12", "b11", "test", "c12", "c11", "adj", "a", "a11", "a12", "c", "b", "c22", "bat", "c21", "d", "deta", "d22", "det", "q", "d21", "u", "qd", "v"], "variable_groups": [], "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": "

$\\var{a}+\\var{b}$                                                                          

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\Bigg($[[0]][[1]]$\\Bigg)$
[[2]][[3]]
\n

\n

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "eval{{a11}+{b11}}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "eval{{a12}+{b12}}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "eval{{a21}+{b21}}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.04", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "eval{{a22}+{b22}}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$\\var{p}\\var{c}-\\var{q}\\var{d}$

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\Bigg($[[0]][[1]]$\\Bigg)$
[[2]][[3]]
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{p}*{c11}-{q}*{d11}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{p}*{c12}-{q}*{d12}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.02", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{p}*{c21}-{q}*{d21}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2.04", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{p}*{c22}-{q}*{d22}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}], "sortAnswers": false}], "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}