// Numbas version: finer_feedback_settings {"name": "Addition and Subtraction with Scalar Multiples", "extensions": [], "custom_part_types": [], "resources": [["question-resources/matrix_add.gif", "/srv/numbas/media/question-resources/matrix_add.gif"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Addition and Subtraction with Scalar Multiples", "tags": [], "metadata": {"description": "Scalar Multiplication, addition and subtraction in combination (pre-defined sizes in answers)", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "
For each of the given matrices, complete the calculation using matrix addition, subtraction and scalar multiplication
", "advice": "We are asked to carry out combinations of matrix operations. We combine the rules that we have used previously to determine our answer:
\na)
\nIf $A=\\var{A}$ and $B=\\var{A2}$ then:
\n$$
\\begin{aligned}
\\var{k1} A+B &= \\var{k1} \\var{A}+\\var{A2} \\\\
&=\\var{ad1}+\\var{A2} \\\\
&= \\var{ad1a}
\\end{aligned}
$$
b)
\nIf $C=\\var{B}$ and $D=\\var{B2}$ then:
\n$$
\\begin{aligned}
C - \\var{k2} D &= \\var{B} - \\var{k2} \\var{B2} \\\\
&=\\var{B}-\\var{ad2} \\\\
&= \\var{ad2a}
\\end{aligned}
$$
c)
\nIf $E=\\var{C}$ and $F=\\var{C2}$ then:
\n$$
\\begin{aligned}
\\var{k3} E - \\var{k1}F &= \\var{k3} \\var{C} - \\var{k1} \\var{C2} \\\\
&=\\var{ad3} - \\var{ad3a} \\\\
&= \\var{ad3b}
\\end{aligned}
$$
d)
\nIf $G=\\var{D}$ and $H=\\var{D2}$ then:
\n$$
\\begin{aligned}
\\var{k4} G- H &= \\var{k4} \\var{D}+\\var{D2} \\\\
&=\\var{ad4}+\\var{D2} \\\\
&= \\var{ad4a}
\\end{aligned}
$$
e)
\nIf $I=\\var{EE}$ and $J=\\var{EE2}$ then:
\n$$
\\begin{aligned}
\\var{k5} I-J &= \\var{k5} \\var{EE}-\\var{EE2} \\\\
&=\\var{ad5}-\\var{EE2} \\\\
&= \\var{ad5a}
\\end{aligned}
$$
Let:
\n$$
A=\\var{A}, B=\\var{A2}
$$
Calculate $\\var{k1}A + B$:
\n$\\var{k1} A+B=$[[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "{k1}*{A}+{A2}", "correctAnswerFractions": false, "numRows": "{n1}", "numColumns": "{m1}", "allowResize": false, "tolerance": "0", "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Let:
\n$$
C=\\var{B}, D=\\var{B2}
$$
Calculate $C-\\var{k2}D$:
\n$C-\\var{k2}D=$ [[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "{B}-{k2}*{B2}", "correctAnswerFractions": false, "numRows": "{n2}", "numColumns": "{m2}", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Let:
\n$$
E=\\var{C}, F=\\var{C2}
$$
Calculate $\\var{k3}E-\\var{k1}F$:
\n$\\var{k3}E-\\var{k1}F=$ [[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "{k3}*{C}-{k1}*{C2}", "correctAnswerFractions": false, "numRows": "{n3}", "numColumns": "{m3}", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Let:
\n$$
G=\\var{D}, H=\\var{D2}
$$
Calculate $\\var{k4}G+H$:
\n$\\var{k4}G+H=$ [[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "{k4}*{D}+{D2}", "correctAnswerFractions": false, "numRows": "{n4}", "numColumns": "{m4}", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Let:
\n$$
I=\\var{EE}, J=\\var{EE2}
$$
Calculate $\\var{k5}I-J$
\n$\\var{k5}I-J=$ [[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "{k5}*{EE}-{EE2}", "correctAnswerFractions": false, "numRows": "{n5}", "numColumns": "{m5}", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tamsin Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14108/"}, {"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tamsin Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14108/"}, {"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}]}