// Numbas version: exam_results_page_options {"name": "HELM Book 1.3.5 exercises", "metadata": {"description": "

HELM Book 1.3.5 exercises

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "1.3.5.1a Factorise a monic quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Factorise a quadratic, x^2+bx+c. An exam can choose whether or not a=1. Part of HELM Book 1.3

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

Practise these questions repeatedly until you can quickly, confidently and correctly factorise the expressions.

", "advice": "

$\\var{expr}=\\var{ans}$

\n

You can solve this by inspection or: 

\n

Given a quadratic of the form $x^2+Bx+C$, find two numbers that multiply to give $C$ and add to give $B$

\n

$C=\\var{c}=(\\var{c1})\\times(\\var{c2})$ and $B=\\var{b}=(\\var{c1})+(\\var{c2})$

\n

so $\\var{expr}=\\var{ans}$

\n

Method 1 (the HELM book method)

\n

\\[\\begin{align*}(\\var{a})(\\var{expr})&=(\\var{a})(\\var{a}\\var{ve}^2)+(\\var{a})(\\var{b}\\var{ve})+(\\var{a})(\\var{c})\\\\ &=(\\var{a}\\var{ve})^2+(\\var{b})(\\var{a}\\var{ve})+ \\var{a*c}\\end{align*}\\]

\n

Let $\\var{a}\\var{ve}=u$, so

\n

\\[\\begin{align*}(\\var{a})(\\var{expr}) &= u^2+\\var{b}u+\\var{a*c}\\\\ &= \\left(u+(\\var{c1*p2})\\right)\\left(u+(\\var{c2*p1})\\right)\\\\&=(\\var{a}\\var{ve}+(\\var{c1*p2})(\\var{a}\\var{ve}+(\\var{c2*p1}))\\\\&=(\\var{a})(\\var{ans})\\end{align*}\\]

\n

so \\[\\var{expr}=\\var{ans}\\]

\n

Method 2 (the A-C method)

\n

Given a quadratic of the form $Ax^2+Bx+C$, find two numbers that multiply to give $A\\times C$ and add to give $B$

\n

$AC = (\\var{a})\\times(\\var{c}) = \\var{a*c} = (\\var{p1*c2})\\times(\\var{p2*c1})$ and $B = \\var{b}=(\\var{p1*c2})+(\\var{p2*c1})$

\n

So

\n

\\[\\begin{align*}\\var{expr}&=\\var{a}\\var{ve}^2 + (\\var{p1*c2})\\var{ve} + (\\var{p2*c1})\\var{ve} + (\\var{c})\\\\&=\\left[\\var{a}\\var{ve}^2 + (\\var{p1*c2})\\var{ve}\\right] + \\left[(\\var{p2*c1})\\var{ve} + (\\var{c})\\right]\\\\&=(\\var{p1}\\var{ve})(\\var{term2})+(\\var{c1})(\\var{term2})\\\\&=\\var{ans} \\end{align*}\\]

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"v": {"name": "v", "group": "Ungrouped variables", "definition": "random(['a','b','c','d','f','g','h','k','m','n','p','q','r','s','t','v','w','x','y','z'])", "description": "", "templateType": "anything", "can_override": false}, "expr": {"name": "expr", "group": "Ungrouped variables", "definition": "simplify(expression(a+\"*\"+v+\"^2+\"+b+\"*\"+v+\"+\"+c),[\"basic\",\"unitFactor\",\"zeroFactor\",\"zeroTerm\"])", "description": "", "templateType": "anything", "can_override": false}, "p1,p2": {"name": "p1,p2", "group": "Ungrouped variables", "definition": "[1,1]", "description": "

variable coefficients

", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "a,b,c": {"name": "a,b,c", "group": "Ungrouped variables", "definition": "[p1*p2,c1*p2+c2*p1,c1*c2]", "description": "

(p1x+c1)(p2x+c2) = p1.p2x^2 + (c1.p2+c2.p1)x+c1.c2

", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "simplify(expression(\"(\"+p1+v+\"+\"+c1+\")(\"+p2+v+\"+\"+c2+\")\"),\"all\")", "description": "

(p1x+c1)(p2x+c2) = p1.p2x^2 + (c1.p2+c2.p1)x+c1.c2 = ax^2+bx+c

", "templateType": "anything", "can_override": false}, "ve": {"name": "ve", "group": "Ungrouped variables", "definition": "expression(v)", "description": "

for display in the advice

", "templateType": "anything", "can_override": false}, "term2": {"name": "term2", "group": "Ungrouped variables", "definition": "simplify(expression(\"(\"+p2+v+\"+\"+c2+\")\"),\"all\")", "description": "

for display in the advice

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p1,p2", "a,b,c", "v", "c1", "c2", "expr", "ans", "ve", "term2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Factorise $\\var{expr}$.

", "answer": "{ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "`+-$n`?*((`+- $v* ?`*) + `+- ?)*((`+- $v * ?`*) + `+-?) `| \n(`+-$n`?* $v * (`+- $v* ?`* + `+- ?))", "partialCredit": 0, "message": "You have not fully factorised the expression.", "nameToCompare": ""}, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "1.3.5.1 Factorise a quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Factorise a quadratic, ax^2+bx+c. An exam can choose whether or not a=1. Part of HELM Book 1.3

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

Practise these questions repeatedly until you can quickly, confidently and correctly factorise the expressions.

", "advice": "

$\\var{expr}=\\var{ans}$

\n

You can solve this by inspection or: 

\n

Given a quadratic of the form $x^2+Bx+C$, find two numbers that multiply to give $C$ and add to give $B$

\n

$C=\\var{c}=(\\var{c1})\\times(\\var{c2})$ and $B=\\var{b}=(\\var{c1})+(\\var{c2})$

\n

so $\\var{expr}=\\var{ans}$

\n

Method 1 (the HELM book method)

\n

\\[\\begin{align*}(\\var{a})(\\var{expr})&=(\\var{a})(\\var{a}\\var{ve}^2)+(\\var{a})(\\var{b}\\var{ve})+(\\var{a})(\\var{c})\\\\ &=(\\var{a}\\var{ve})^2+(\\var{b})(\\var{a}\\var{ve})+ \\var{a*c}\\end{align*}\\]

\n

Let $\\var{a}\\var{ve}=u$, so

\n

\\[\\begin{align*}(\\var{a})(\\var{expr}) &= u^2+\\var{b}u+\\var{a*c}\\\\ &= \\left(u+(\\var{c1*p2})\\right)\\left(u+(\\var{c2*p1})\\right)\\\\&=(\\var{a}\\var{ve}+(\\var{c1*p2})(\\var{a}\\var{ve}+(\\var{c2*p1}))\\\\&=(\\var{a})(\\var{ans})\\end{align*}\\]

\n

so \\[\\var{expr}=\\var{ans}\\]

\n

Method 2 (the A-C method)

\n

Given a quadratic of the form $Ax^2+Bx+C$, find two numbers that multiply to give $A\\times C$ and add to give $B$

\n

$AC = (\\var{a})\\times(\\var{c}) = \\var{a*c} = (\\var{p1*c2})\\times(\\var{p2*c1})$ and $B = \\var{b}=(\\var{p1*c2})+(\\var{p2*c1})$

\n

So

\n

\\[\\begin{align*}\\var{expr}&=\\var{a}\\var{ve}^2 + (\\var{p1*c2})\\var{ve} + (\\var{p2*c1})\\var{ve} + (\\var{c})\\\\&=\\left[\\var{a}\\var{ve}^2 + (\\var{p1*c2})\\var{ve}\\right] + \\left[(\\var{p2*c1})\\var{ve} + (\\var{c})\\right]\\\\&=(\\var{p1}\\var{ve})(\\var{term2})+(\\var{c1})(\\var{term2})\\\\&=\\var{ans} \\end{align*}\\]

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"v": {"name": "v", "group": "Ungrouped variables", "definition": "random(['a','b','c','d','f','g','h','k','m','n','p','q','r','s','t','v','w','x','y','z'])", "description": "", "templateType": "anything", "can_override": false}, "expr": {"name": "expr", "group": "Ungrouped variables", "definition": "simplify(expression(a+\"*\"+v+\"^2+\"+b+\"*\"+v+\"+\"+c),[\"basic\",\"unitFactor\",\"zeroFactor\",\"zeroTerm\"])", "description": "", "templateType": "anything", "can_override": false}, "p1,p2": {"name": "p1,p2", "group": "Ungrouped variables", "definition": "repeat(weighted_random([[1,0.7],[random(2,3,5),0.3]]),2)", "description": "

Factorised expression ax^2+bx+c is (p1.x-c1)(p1.x-c2). Default is for a=1 half the time.

", "templateType": "anything", "can_override": true}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "a,b,c": {"name": "a,b,c", "group": "Ungrouped variables", "definition": "[p1*p2,c1*p2+c2*p1,c1*c2]", "description": "

(p1x+c1)(p2x+c2) = p1.p2x^2 + (c1.p2+c2.p1)x+c1.c2

", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "simplify(expression(\"(\"+p1+v+\"+\"+c1+\")(\"+p2+v+\"+\"+c2+\")\"),\"all\")", "description": "

(p1x+c1)(p2x+c2) = p1.p2x^2 + (c1.p2+c2.p1)x+c1.c2 = ax^2+bx+c

", "templateType": "anything", "can_override": false}, "ve": {"name": "ve", "group": "Ungrouped variables", "definition": "expression(v)", "description": "

for display in the advice

", "templateType": "anything", "can_override": false}, "term2": {"name": "term2", "group": "Ungrouped variables", "definition": "simplify(expression(\"(\"+p2+v+\"+\"+c2+\")\"),\"all\")", "description": "

for display in the advice

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p1,p2", "a,b,c", "v", "c1", "c2", "expr", "ans", "ve", "term2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Factorise $\\var{expr}$.

", "answer": "{ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "`+-$n`?*((`+- $v* ?`*) + `+- ?)*((`+- $v * ?`*) + `+-?) `| \n(`+-$n`?* $v * (`+- $v* ?`* + `+- ?))", "partialCredit": 0, "message": "You have not fully factorised the expression.", "nameToCompare": ""}, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "1.3.5.2 Difference of two squares", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Factorise the difference of two squares, t^2-number^2. Number is a random perfect square, or 1 over a perfect square.

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

Factorise $t^2-\\var[fractionNumbers]{b*b}$

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "fract": {"name": "fract", "group": "Ungrouped variables", "definition": "random(FALSE,TRUE)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "if(fract,1/m,m)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["m", "fract", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "(t+{b})(t-{b})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": true, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": ""}, "mustmatchpattern": {"pattern": "(?`+)*(?`+)", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "t", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": "", "allowAttemptDownload": false, "downloadEncryptionKey": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "extensions": [], "custom_part_types": [], "resources": []}