// Numbas version: exam_results_page_options {"name": "Blathnaid's copy of Alison's copy of Matrix Operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "eval{{a11}+{b11}}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "eval{{a12}+{b12}}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "eval{{a21}+{b21}}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.04", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "eval{{a22}+{b22}}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}], "marks": 0, "scripts": {}, "showFeedbackIcon": true, "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

"}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "{p}*{c11}-{q}*{d11}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "{p}*{c12}-{q}*{d12}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.02", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "{p}*{c21}-{q}*{d21}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}, {"showpreview": true, "type": "jme", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "scripts": {}, "marks": "2.04", "checkingtype": "absdiff", "showCorrectAnswer": true, "answer": "{p}*{c22}-{q}*{d22}", "vsetrange": [0, 1], "variableReplacements": [], "vsetrangepoints": 5, "showFeedbackIcon": true}], "marks": 0, "scripts": {}, "showFeedbackIcon": true, "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]]
"}], "variablesTest": {"condition": "", "maxRuns": 100}, "rulesets": {"ruleset0": []}, "extensions": [], "variables": {"v": {"definition": "pc-qd", "name": "v", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "ans": {"definition": "a+b", "name": "ans", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "c11": {"definition": "random(-10..10#1)", "name": "c11", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "b12": {"definition": "random(-10..10#1)", "name": "b12", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "b22": {"definition": "random(-10..10#1)", "name": "b22", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "q": {"definition": "random(2..10#1)", "name": "q", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "a11": {"definition": "random(-10..10#1)", "name": "a11", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "a12": {"definition": "random(-10..10#1)", "name": "a12", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "test": {"definition": "random(-10..10#1)", "name": "test", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "d22": {"definition": "random(-10..10#1)", "name": "d22", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "b21": {"definition": "random(-10..10#1)", "name": "b21", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "c12": {"definition": "random(-10..10#1)", "name": "c12", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "pc": {"definition": "p*c", "name": "pc", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"definition": "matrix([b11,b12],[b21,b22])", "name": "b", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "bat": {"definition": "b*at", "name": "bat", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "d21": {"definition": "random(-10..10#1)", "name": "d21", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "d": {"definition": "matrix([d11,d12],[d21,d22])", "name": "d", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "u": {"definition": "a+b", "name": "u", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"definition": "matrix([a11,a12],[a21,a22])", "name": "a", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "det": {"definition": "a11*a22-a21*a12", "name": "det", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "adj": {"definition": "matrix([a22,-a12],[-a21,a11])", "name": "adj", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "a21": {"definition": "random(-10..10#1)", "name": "a21", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "d11": {"definition": "random(-10..10#1)", "name": "d11", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "a22": {"definition": "if(test*a11=a21*a12,test+1,test)", "name": "a22", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "c22": {"definition": "random(-10..10#1)", "name": "c22", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "c21": {"definition": "random(-10..10#1)", "name": "c21", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "c": {"definition": "matrix([c11,c12],[c21,c22])", "name": "c", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "qd": {"definition": "q*d", "name": "qd", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "d12": {"definition": "random(-10..10#1)", "name": "d12", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "at": {"definition": "transpose(a)", "name": "at", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "ans2": {"definition": "c-d", "name": "ans2", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "deta": {"definition": "det(a)", "name": "deta", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "p": {"definition": "random(-10..10#1 except 0 except 1 except q)", "name": "p", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "b11": {"definition": "random(-10..10#1)", "name": "b11", "description": "", "group": "Ungrouped variables", "templateType": "anything"}, "ab": {"definition": "a*b", "name": "ab", "description": "", "group": "Ungrouped variables", "templateType": "anything"}}, "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"], "name": "Blathnaid's copy of Alison's copy of Matrix Operations", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

\n

(Last three parts of original question removed.)

"}, "tags": [], "functions": {}, "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
", "preamble": {"js": "", "css": ""}, "variable_groups": [], "type": "question", "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Matthew Mears", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1688/"}, {"name": "Alison Loddick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2871/"}]}]}], "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Matthew Mears", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1688/"}, {"name": "Alison Loddick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2871/"}]}