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

Given the vectors $\\mathbf a$, $\\mathbf b$ and $\\mathbf c$, calculate $(\\mathbf a \\times \\mathbf b) \\times \\mathbf c$ and $\\mathbf a \\times (\\mathbf b \\times \\mathbf c)$.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Given the vectors

\n

\\[ \\mathbf a = \\var{a},\\quad \\mathbf b = \\var{b}, \\quad \\mathbf c = \\var{c}; \\]

", "advice": "

To find $(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c$, we want to first find the vector product of $\\mathbf a$ and $\\mathbf b$, then find the vector product between that vector and $\\mathbf c$.

\n

\\[ \\begin{split}\\simplify{cross(mathbf:a,mathbf:b)} &\\,= \\begin{vmatrix} \\mathbf i &\\mathbf j &\\mathbf k \\\\ \\var{a[0]} &\\var{a[1]} &\\var{a[2]} \\\\ \\var{b[0]} &\\var{b[1]} &\\var{b[2]} \\end{vmatrix}\\\\ \\\\&\\,= (\\simplify[!collectNumbers]{{a[1]}*{b[2]}-{a[2]}*{b[1]}}) \\mathbf i - (\\simplify[!collectNumbers]{{a[0]}*{b[2]}-{a[2]}*{b[0]}}) \\mathbf j + (\\simplify[!collectNumbers]{{a[0]}*{b[1]}-{a[1]}*{b[0]}}) \\mathbf k \\\\\\\\ &\\,= \\simplify[all,!noLeadingMinus]{{d1[0]}*mathbf:i+ {d1[1]}*mathbf:j + {d1[2]}*mathbf:k}.\\end{split} \\]

\n

So, $(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c$ is equal to the vector product of $\\var{d1}$ and $\\var{c}$:

\n

\\[ \\begin{split}(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c &\\,=\\begin{vmatrix} \\mathbf i &\\mathbf j &\\mathbf k \\\\ \\var{d1[0]} &\\var{d1[1]} &\\var{d1[2]} \\\\ \\var{c[0]} &\\var{c[1]} &\\var{c[2]} \\end{vmatrix}\\\\ \\\\&\\,= (\\simplify[!collectNumbers]{{d1[1]}*{c[2]}-{d1[2]}*{c[1]}}) \\mathbf i - (\\simplify[!collectNumbers]{{d1[0]}*{c[2]}-{d1[2]}*{c[0]}}) \\mathbf j + (\\simplify[!collectNumbers]{{d1[0]}*{c[1]}-{d1[1]}*{c[0]}}) \\mathbf k \\\\\\\\ &\\,= \\simplify[all,!noLeadingMinus]{{sol1[0]}*mathbf:i+ {sol1[1]}*mathbf:j + {sol1[2]}*mathbf:k}.\\end{split} \\]

\n

\n

Therefore,

\n

\\[ (\\simplify{cross(mathbf:a,mathbf:b)}) \\times \\mathbf c = \\simplify{{sol1}} .\\]

\n

\\[ \\\\ \\]

\n

\n

Similarly, to find $\\mathbf a \\times (\\simplify{cross(mathbf:b,mathbf:c)})$, we want to first find the vector product of $\\mathbf b$ and $\\mathbf c$, then find the vector product between $\\mathbf a$ and that vector.

\n

\\[ \\begin{split}\\simplify{cross(mathbf:b,mathbf:c)} &\\,= \\begin{vmatrix} \\mathbf i &\\mathbf j &\\mathbf k \\\\ \\var{b[0]} &\\var{b[1]} &\\var{b[2]} \\\\ \\var{c[0]} &\\var{c[1]} &\\var{c[2]} \\end{vmatrix}\\\\ \\\\&\\,= (\\simplify[!collectNumbers]{{b[1]}*{c[2]}-{b[2]}*{c[1]}}) \\mathbf i - (\\simplify[!collectNumbers]{{b[0]}*{c[2]}-{b[2]}*{c[0]}}) \\mathbf j + (\\simplify[!collectNumbers]{{b[0]}*{c[1]}-{b[1]}*{c[0]}}) \\mathbf k \\\\\\\\ &\\,= \\simplify[all,!noLeadingMinus]{{d2[0]}*mathbf:i+ {d2[1]}*mathbf:j + {d2[2]}*mathbf:k}.\\end{split} \\]

\n

So, $\\mathbf a \\times (\\simplify{cross(mathbf:b,mathbf:c)})$ is equal to the vector product of $\\var{a}$ and $\\var{d2}$:

\n

\\[ \\begin{split}(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c &\\,=\\begin{vmatrix} \\mathbf i &\\mathbf j &\\mathbf k \\\\ \\var{a[0]} &\\var{a[1]} &\\var{a[2]} \\\\ \\var{d2[0]} &\\var{d2[1]} &\\var{d2[2]} \\end{vmatrix}\\\\ \\\\&\\,= (\\simplify[!collectNumbers]{{a[1]}*{d2[2]}-{a[2]}*{d2[1]}}) \\mathbf i - (\\simplify[!collectNumbers]{{a[0]}*{d2[2]}-{a[2]}*{d2[0]}}) \\mathbf j + (\\simplify[!collectNumbers]{{a[0]}*{d2[1]}-{a[1]}*{d2[0]}}) \\mathbf k \\\\\\\\ &\\,= \\simplify[all,!noLeadingMinus]{{sol2[0]}*mathbf:i+ {sol2[1]}*mathbf:j + {sol2[2]}*mathbf:k}.\\end{split} \\]

\n

\n

Therefore,

\n

\\[\\mathbf a \\times ( \\simplify{cross(mathbf:b,mathbf:c)}) = \\simplify{{sol2}} .\\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "vector(random(-2..6),random(-4..4 except 0),random(1..4))", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "vector(random(-2..5),random(-4..4 except 0),random(1..4))", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "vector(random(-3..3),random(-2..6 except 0),random(1..7))", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "cross(a,b)", "description": "", "templateType": "anything", "can_override": false}, "d2": {"name": "d2", "group": "Ungrouped variables", "definition": "cross(b,c)", "description": "", "templateType": "anything", "can_override": false}, "sol1": {"name": "sol1", "group": "Ungrouped variables", "definition": "cross(d1,c)", "description": "", "templateType": "anything", "can_override": false}, "sol2": {"name": "sol2", "group": "Ungrouped variables", "definition": "cross(a,d2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d1", "d2", "sol1", "sol2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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": "

Calculate $(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c$:

\n

$(\\simplify{cross(mathbf:a,mathbf:b)})\\times \\mathbf c = $[[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": "vector(sol1[0],sol1[1],sol1[2])", "correctAnswerFractions": false, "numRows": "3", "numColumns": 1, "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0}], "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": "

Calculate $\\mathbf a \\times (\\simplify{cross(mathbf:b,mathbf:c)})$:

\n

$\\mathbf a \\times (\\simplify{cross(mathbf:b,mathbf:c)}) = $[[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": "vector(sol2[0],sol2[1],sol2[2])", "correctAnswerFractions": false, "numRows": "3", "numColumns": 1, "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}