// Numbas version: exam_results_page_options {"name": "Factorising Quadratics of form $\\displaystyle{x ^ 2 + bx + c}$", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "linear", "const"], "name": "Factorising Quadratics of form $\\displaystyle{x ^ 2 + bx + c}$", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

$\\simplify{x^2+{linear}x+{const}}$ = [[0]].

\n

\n

\n

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Since $(x+a)(x+b)=x^2+(a+b)x+ab$, when we are factorising a quadratic, such as $x^2+cx+d$, we must find the numbers $a$ and $b$ such that $c=a+b$ and $d=ab$.

\n

\n

In the case of $\\simplify{x^2+{linear}x+{const}}$ we ask

\n

what two numbers add to give $\\var{linear}$ and multiply to give $\\var{const}$? 

\n

Therefore the numbers must be $\\var{a}$ and $\\var{b}$, that is 

\n

$\\simplify{x^2+{linear}x+{const}}=(\\simplify{x+{a}})(\\simplify{x+{b}}).$

\n

You can check this by expanding the binomial product.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"notallowed": {"message": "

Ensure you factorise the expression.

", "showStrings": false, "strings": ["xx", "x^2", "x**2"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "(x+{a})(x+{b})", "marks": 1, "checkvariablenames": true, "checkingtype": "absdiff", "type": "jme", "musthave": {"message": "

Ensure you factorise the expression.

", "showStrings": false, "strings": ["(", ")"], "partialCredit": 0}}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Factorise the following quadratic expression into linear factors.

\n

That is, write it as a product of the form $(ax+b)(cx+d)$ where $a$, $b$, $c$ and $d$ are real numbers.

", "variable_groups": [], "variablesTest": {"maxRuns": "127", "condition": ""}, "variables": {"a": {"definition": "random(-6..6 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "random(-6..6 except 0 except-a)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "const": {"definition": "a*b", "templateType": "anything", "group": "Ungrouped variables", "name": "const", "description": ""}, "linear": {"definition": "a+b", "templateType": "anything", "group": "Ungrouped variables", "name": "linear", "description": ""}}, "metadata": {"description": "

Algebra:  Quadratic Factorisation.

\n

              Coefficient of squared term is 1.

", "licence": "All rights reserved"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}]}], "contributors": [{"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}