// Numbas version: finer_feedback_settings {"name": "JD's copy of Use the factor theorem to identify factors of a polynomial", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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)$.
", "ungrouped_variables": ["a", "b", "c", "d", "coef1_x3", "coef1_x2", "coef1_x", "const", "coef2_x3", "coef2_x2", "coef2_x", "coef3_x3", "coef3_x2", "coef3_x"], "parts": [{"maxAnswers": 0, "marks": 0, "scripts": {}, "variableReplacementStrategy": "originalfirst", "choices": ["$(\\simplify{x+{a}})$
", "$(\\simplify{x+{d}})$
", "$(\\simplify{x+{c}})$
"], "warningType": "none", "maxMarks": 0, "minAnswers": 0, "prompt": "Use the factor theorem to find which two of the following are factors of the polynomial
\n\\[f(x) = \\simplify{x^3+({a}+{b}+{c})x^2+({a}{b}+{a}{c}+{b}{c})x+{a}{b}{c}}.\\]
", "displayType": "checkbox", "matrix": ["1", 0, "1"], "minMarks": 0, "displayColumns": 0, "type": "m_n_2", "distractors": ["", "", ""], "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "shuffleChoices": true}], "name": "JD's copy of Use the factor theorem to identify factors of a polynomial", "tags": ["factor theorem", "Factor Theorem", "factors", "Factors", "Multiple choice", "Multiple Choice", "multiple choice", "polynomial", "Polynomial", "taxonomy"], "preamble": {"css": "", "js": ""}, "functions": {}, "metadata": {"description": "Apply the factor theorem to check which of a list of linear polynomials are factors of another polynomial.
", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "extensions": [], "variables": {"const": {"description": "Constant term in the equation.
", "name": "const", "definition": "a*b*c", "templateType": "anything", "group": "Ungrouped variables"}, "coef3_x3": {"description": "Number obtained for putting x=-c into the first term of the equation.
", "name": "coef3_x3", "definition": "(-c)^3", "templateType": "anything", "group": "Ungrouped variables"}, "coef2_x": {"description": "Number obtained from putting x=-d into the 3rd term for the equation.
", "name": "coef2_x", "definition": "(a*b+b*c+a*c)*(-d)", "templateType": "anything", "group": "Ungrouped variables"}, "coef3_x2": {"description": "", "name": "coef3_x2", "definition": "(a+b+c)*(-c)^2", "templateType": "anything", "group": "Ungrouped variables"}, "coef1_x3": {"description": "Number obtained from putting x=-a into the first term of the equation.
", "name": "coef1_x3", "definition": "(-a)^3", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"description": "Random number between -2 and 3 except 0 for creating polynomial.
", "name": "c", "definition": "random(-2..3 except 0)", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"description": "Random number between -2 and 3 except 0 for creating polynomial.
", "name": "b", "definition": "random(-2..3 except 0 except c)", "templateType": "anything", "group": "Ungrouped variables"}, "coef3_x": {"description": "Number obtained by putting x=-c into the third term of the equation.
", "name": "coef3_x", "definition": "(a*b+b*c+a*c)*(-c)", "templateType": "anything", "group": "Ungrouped variables"}, "coef2_x2": {"description": "Number obtained from putting x=-d into the second term of the equation.
", "name": "coef2_x2", "definition": "(a+b+c)*(-d)^2", "templateType": "anything", "group": "Ungrouped variables"}, "coef2_x3": {"description": "Number obtained from putting x=-d into the first term in the equation.
", "name": "coef2_x3", "definition": "(-d)^3", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"description": "Incorrect answer for part a.
", "name": "d", "definition": "random(-2..2 except 0 except a except c except b)", "templateType": "anything", "group": "Ungrouped variables"}, "coef1_x2": {"description": "Number obtained from putting x=-a into the second term of the equation.
", "name": "coef1_x2", "definition": "(a+b+c)*(-a)^2", "templateType": "anything", "group": "Ungrouped variables"}, "coef1_x": {"description": "Number obtained from putting x=-a into the first term of the equation.
", "name": "coef1_x", "definition": "(a*b+b*c+a*c)*(-a)", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"description": "Random number between -2 and 3, not including 0 for creating polynomial.
", "name": "a", "definition": "random(-2..3 except 0 except c)", "templateType": "anything", "group": "Ungrouped variables"}}, "variable_groups": [], "advice": "To find the factors of the polynomial $f(x) = \\simplify{x^3+({a}+{b}+{c})x^2+({a}{b}+{a}{c}+{b}{c})x+{a}{b}{c}}$, we use the factor theorem.
\nIf $f(x)$ is a polynomial and $f(p) = 0$, then $(x-p)$ is a factor of $f(x)$.
\nIf $(\\simplify{(x+{a})})$ is a factor of $f(x)$ then by the factor theorem, $f(\\simplify{-{a}}) = 0$.
\nWe see that
\n\\[
\\begin{align}
f(\\simplify{-{a}}) &= \\simplify[all,!collectNumbers]{{coef1_x3}+{coef1_x2}+{coef1_x}+{const}}\\\\
&= \\simplify{{coef1_x3}+{coef1_x2}+{coef1_x}+{const}}.
\\end{align}
\\]
Therefore, $(\\simplify{(x+{a})})$ is a factor of $f(x)$.
\nSimilarly for $(\\simplify{(x+{d})})$,
\n\\[
\\begin{align}
f(\\simplify{-{d}}) &= \\simplify[all,!collectNumbers]{{coef2_x3}+{coef2_x2}+{coef2_x}+{const}}\\\\
&= \\simplify{{coef2_x3}+{coef2_x2}+{coef2_x}+{const}}\\\\
&\\neq 0.
\\end{align}
\\]
Therefore, $(\\simplify{(x+{d})})$ is not a factor of $f(x)$.
\nFinally, for $(\\simplify{(x+{c})})$,
\n\\[
\\begin{align}
f(\\simplify{-{c}}) &= \\simplify[all,!collectNumbers]{{coef3_x3}+{coef3_x2}+{coef3_x}+{const}}\\\\
&= \\simplify{{coef3_x3}+{coef3_x2}+{coef3_x}+{const}}.
\\end{align}
\\]
Therefore, $(\\simplify{(x+{c})})$ is also a factor of $f(x)$.
", "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "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/"}, {"name": "JD Ichwan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3389/"}]}]}], "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/"}, {"name": "JD Ichwan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3389/"}]}