// Numbas version: exam_results_page_options {"name": "Planes in \\(\\mathbb{R}^3\\) (randomized)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Planes in \\(\\mathbb{R}^3\\) (randomized)", "tags": ["parallel vectors", "plane", "set"], "metadata": {"description": "

Checking whether a given set is a plane or not. Depends on whether two vectors are parallel or not. Then checking whether the plane goes through the origin. This is not always obvious from the presentation.

\n

Not randomised because it's the same as in our workbook.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Determine whether the following is a plane. If it is a plane, say whether it goes through the origin or not. 

\n

CAREFUL: while we said that if the plane (or line) goes through the origin, we don’t use the fixed first vector (the one that does not have a parameter in front of it), the following plane may not be written in the most efficient way, so you have to check explicitely whether it go through the origin \\(\\begin{pmatrix}0\\\\0\\\\0\\end{pmatrix}\\) or not.

", "advice": "

Given \\(\\left\\{ a+\\lambda u + \\mu v \\middle| \\lambda,\\mu \\in \\mathbb{R}\\right\\}\\), we can tell whether this is a plane or not by checking whether the vectors \\(u\\) and \\(v\\) are parallel: if they are parallel, then it is just a line, if they are not parallel, then it is a plane.

\n

To check whether the plane goes through the origin or not, we have to work out whether we can pick any values for \\(\\lambda\\) and \\(\\mu\\) that make the whole expression \\(a+\\lambda u + \\mu v =0\\). For most cases, this can be done by making use of the \\(0\\) entries, or spotting patterns. We will learn how to solve it in general in Chapter 2.

\n

Clearly \\(\\var{u}\\) and \\(\\var{v}\\) are parallel: \\(\\var{v}=\\var{lambda}\\var{u}\\). So this is not a plane.

\n

Because of the \\(0\\) entries, it is clear that \\(\\var{u}\\) and \\(\\var{v}\\) are not parallel. So this is a plane. If we try to get \\(\\var{a}+\\lambda \\var{u}+\\mu \\var{v}=\\begin{pmatrix}0\\\\0\\\\0\\end{pmatrix}\\), we would need \\(\\lambda = \\simplify[fractionNumbers]{{-a[2]/u[2]}}\\) to sort out the bottom row, and \\(\\mu=\\simplify[fractionNumbers]{{-a[0]/v[0]}}\\) to sort out the top row, but this leaves the middle row non-zero: \\(\\simplify[fractionNumbers]{{a}+{-a[2]/u[2]} {u}+{-a[0]/v[0]} {v}}= \\simplify[fractionNumbers]{{a-a[2]/u[2]*u-a[0]/v[0]*v}}\\). So this plane does not go through the origin.

\n

The third entry ensures that \\(\\var{u}\\) and \\(\\var{v}\\) are not parallel, so this is a plane. But since \\(\\var{a}=\\var{lambda}\\var{v}\\), we see that \\(\\lambda=0\\) and \\(\\mu=\\var{-lambda}\\) gives us the zero vector, so this plane does go through the origin.

\n

The first entry ensures that \\(\\var{u}\\) and \\(\\var{v}\\) are not parallel, so this is a plane. In this case it is perhaps a bit more tricky to find if it goes through the origin. But if you spot that \\(\\var{u}+\\var{v}=\\var{a}\\), then it is clear that \\(\\lambda=\\mu=-1\\) gives the zero vector. So this plane goes through the origin.

", "rulesets": {}, "extensions": [], "variables": {"u1lower": {"name": "u1lower", "group": "Ungrouped variables", "definition": "repeat(random(1..5),2)", "description": "", "templateType": "anything"}, "v1": {"name": "v1", "group": "Ungrouped variables", "definition": "vector(v1upper+[0])", "description": "", "templateType": "anything"}, "a0": {"name": "a0", "group": "Ungrouped variables", "definition": "vector(repeat(random(1..6),3))", "description": "", "templateType": "anything"}, "u0": {"name": "u0", "group": "Ungrouped variables", "definition": "vector(repeat(random(-4..4 except 0),3))", "description": "", "templateType": "anything"}, "v0parallel": {"name": "v0parallel", "group": "Ungrouped variables", "definition": "lambda*u0", "description": "", "templateType": "anything"}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "u3+v3", "description": "", "templateType": "anything"}, "u3": {"name": "u3", "group": "Ungrouped variables", "definition": "vector(repeat(random(-2..2),3))", "description": "", "templateType": "anything"}, "v3": {"name": "v3", "group": "Ungrouped variables", "definition": "u3+vector(u3[0]-1,u3[1],u3[2])", "description": "", "templateType": "anything"}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "lambda*v2", "description": "", "templateType": "anything"}, "u2": {"name": "u2", "group": "Ungrouped variables", "definition": "v2+vector(v2[0],v2[1],v2[2]+1)", "description": "", "templateType": "anything"}, "v2": {"name": "v2", "group": "Ungrouped variables", "definition": "vector(repeat(random(1..4),3))", "description": "", "templateType": "anything"}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "switch(d=0,u0,d=1,u1,d=2,u2,d=3,u3,u0)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(0..3)", "description": "", "templateType": "anything"}, "u1": {"name": "u1", "group": "Ungrouped variables", "definition": "vector([0]+u1lower)", "description": "", "templateType": "anything"}, "v1upper": {"name": "v1upper", "group": "Ungrouped variables", "definition": "repeat(random(1..5),2)", "description": "", "templateType": "anything"}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-2..2 except 0)*vector(1,1,1)", "description": "", "templateType": "anything"}, "v": {"name": "v", "group": "Ungrouped variables", "definition": "switch(d=0,v0parallel,d=1,v1,d=2,v2,d=3,v3,v0parallel)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "switch(d=0,a0,d=1,a1,d=2,a2,d=3,a3,a0)", "description": "", "templateType": "anything"}, "lambda": {"name": "lambda", "group": "Ungrouped variables", "definition": "random(-3..3 except [0,1])", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "u1[1]/u1[2]+v1[1]/v1[0]<>1", "maxRuns": 100}, "ungrouped_variables": ["a0", "u0", "lambda", "v0parallel", "a1", "u1lower", "u1", "v1upper", "v1", "a2", "u2", "v2", "a3", "u3", "v3", "a", "u", "v", "d"], "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": "

\\(\\left\\{\\var{a}+ \\lambda \\var{u} + \\mu \\var{v} \\middle| \\lambda, \\mu \\in \\mathbb{R} \\right\\}\\)  [[0]]

\n

", "gaps": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["not a plane", "plane through origin", "plane but not through origin"], "matrix": "switch(d=0,[1,0,0],d=1,[0,0,1],d=2,[0,1,0],d=3,[0,1,0],[1,0,0])"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Julia Goedecke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5121/"}]}]}], "contributors": [{"name": "Julia Goedecke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5121/"}]}