// 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": [{"parts": [{"stepsPenalty": 0, "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "steps": [{"type": "information", "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "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.

", "marks": 0, "variableReplacementStrategy": "originalfirst"}], "gaps": [{"vsetrange": [0, 1], "notallowed": {"message": "

Ensure you factorise the expression.

", "strings": ["xx", "x^2", "x**2"], "showStrings": false, "partialCredit": 0}, "vsetrangepoints": 5, "scripts": {}, "variableReplacements": [], "checkingtype": "absdiff", "expectedvariablenames": ["x"], "type": "jme", "marks": 1, "answersimplification": "all", "checkingaccuracy": 0.001, "checkvariablenames": true, "showCorrectAnswer": true, "musthave": {"message": "

Ensure you factorise the expression.

", "strings": ["(", ")"], "showStrings": false, "partialCredit": 0}, "answer": "(x+{a})(x+{b})", "showpreview": true, "variableReplacementStrategy": "originalfirst"}], "prompt": "

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

\n

\n

\n

\n

", "marks": 0, "variableReplacementStrategy": "originalfirst"}], "variable_groups": [], "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.

", "functions": {}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Algebra:  Quadratic Factorisation.

\n

              Coefficient of squared term is 1.

"}, "variablesTest": {"maxRuns": "127", "condition": ""}, "advice": "", "variables": {"a": {"group": "Ungrouped variables", "name": "a", "templateType": "anything", "description": "", "definition": "random(-6..6 except 0)"}, "b": {"group": "Ungrouped variables", "name": "b", "templateType": "anything", "description": "", "definition": "random(-6..6 except 0 except-a)"}, "linear": {"group": "Ungrouped variables", "name": "linear", "templateType": "anything", "description": "", "definition": "a+b"}, "const": {"group": "Ungrouped variables", "name": "const", "templateType": "anything", "description": "", "definition": "a*b"}}, "ungrouped_variables": ["a", "b", "linear", "const"], "type": "question", "name": "Factorising Quadratics of form $\\displaystyle{x ^ 2 + bx + c}$", "showQuestionGroupNames": false, "preamble": {"js": "", "css": ""}, "rulesets": {}, "question_groups": [{"questions": [], "pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered"}], "tags": [], "extensions": [], "contributors": [{"name": "Owen Jepps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1195/"}]}]}], "contributors": [{"name": "Owen Jepps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1195/"}]}