// Numbas version: exam_results_page_options {"name": "Finding the full factorisation of a polynomial, using the Factor Theorem and long division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Finding the full factorisation of a polynomial, using the Factor Theorem and long division", "type": "question", "statement": "

The factor theorem states that if $f(x)$ is a polynomial and $f(p) = 0$, then $(x-p)$ is a factor of $f(x)$. 

", "variablesTest": {"condition": "", "maxRuns": "192"}, "variables": {"y": {"description": "

Factor 3.

", "definition": "random(-2..3 except 0)", "templateType": "anything", "name": "y", "group": "Ungrouped variables"}, "u": {"description": "

Factor 2.

", "definition": "random(-2..3 except 0 except -y)", "templateType": "anything", "name": "u", "group": "Ungrouped variables"}, "z": {"description": "

Factor 1.

", "definition": "random(-3..3 except 0)", "templateType": "anything", "name": "z", "group": "Ungrouped variables"}}, "extensions": [], "functions": {}, "tags": ["factor theorem", "Factor Theorem", "factorisation", "Factorisation", "factorise", "Factorise", "Long division", "long division", "polynomials", "Polynomials", "taxonomy"], "variable_groups": [], "parts": [{"extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "showFeedbackIcon": true, "prompt": "

Given that $(\\simplify{x+{z}})$ is a factor of \\[p(x) = \\simplify{x^3+({y}+{u}+{z})*x^2+({y}*{u}+{z}*{u}+{y}*{z})*x+{y}*{u}*{z}}.\\]

\n

Find the full factorisation of $p(x)$.

", "failureRate": 1, "answer": "(x+{y})(x+{u})(x+{z})", "marks": "2", "checkingAccuracy": 0.001, "showCorrectAnswer": true, "vsetRangePoints": 5, "unitTests": [], "valuegenerators": [{"value": "", "name": "x"}], "showPreview": true, "checkVariableNames": false, "mustmatchpattern": {"message": "Your answer is not fully factorised.", "pattern": "((`+-x^$n`? + `+- $n)^$n`?)`* * $z", "partialCredit": "50", "nameToCompare": ""}, "customMarkingAlgorithm": "", "useCustomName": false, "customName": "", "variableReplacements": []}], "ungrouped_variables": ["y", "u", "z"], "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Use a given factor of a polynomial to find the full factorisation of the polynomial through long division.

"}, "preamble": {"css": "", "js": ""}, "advice": "

For this question, we are given that $(\\simplify{x+{z}})$ is a factor of the polynomial

\n

\\[p(x) = \\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}},\\]

\n

and we are then asked to find the full factorisation of $p(x)$.

\n

We know that $(\\simplify{x+{z}})$ is a factor of $p(x)$, so we can calculate the other factors of $p(x)$ through long division.

\n

\\[
\\begin{align}
&\\simplify{x^2+({u}+{y})x+{u}{y}}\\\\
\\simplify{x+{z}} \\; &\\overline{)\\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}}}\\\\
&\\;\\,
\\simplify{x^3+{z}x^2}\\\\
&\\qquad\\quad
\\overline{\\simplify[all,noLeadingMinus]{({u}+{y})x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}}}\\\\
&\\qquad\\quad
\\simplify[all,noLeadingMinus]{({u}+{y})x^2+({u}{z}+{z}{y})x}\\\\
&\\qquad\\quad\\quad\\quad\\quad
\\overline{\\simplify[all,noLeadingMinus]{{y}{u}x+{y}{u}{z}}}\\\\
&\\qquad\\quad\\quad\\quad\\quad
\\simplify[all,noLeadingMinus]{{y}{u}x+{y}{u}{z}}\\\\
&\\qquad\\qquad\\quad\\quad\\quad
\\overline{0.}
\\end{align}
\\]

\n

We can then factorise $\\simplify{x^2+({u}+{y})x+{u}{y}}$ into

\n

\\[\\simplify{x^2+({u}+{y})x+{u}{y}} =(\\simplify{x+{y}})(\\simplify{x+{u}}).\\]

\n

Therefore, the full factorisation of $p(x)$ is

\n

\\[
\\begin{align}
p(x) &= \\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}},\\\\
&= (\\simplify{x+{y}})(\\simplify{x+{z}})(\\simplify{x+{u}}).
\\end{align}
\\]

", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}