// Numbas version: exam_results_page_options {"name": "Simon's copy of Dividing a polynomial with remainders, using the remainder theorem", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"correctAnswerFraction": true, "mustBeReducedPC": 0, "stepsPenalty": 0, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "minValue": "remainder", "allowFractions": true, "type": "numberentry", "marks": "2", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "mustBeReduced": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "prompt": "

Find the remainder when $f(x) = \\simplify{{coef_x3}x^3+{coef_x2}x^2+{coef_x}x+{const}}$ is divided by $(\\simplify{{a}x+{k}})$, using the remainder theorem.

", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "maxValue": "remainder", "steps": [{"unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "prompt": "

The remainder theorem states that if a polynomial $f(x)$ is divided by $(\\simplify{a*x-b})$ then the remainder is $f(\\frac{b}{a})$.

", "variableReplacements": [], "type": "information", "extendBaseMarkingAlgorithm": true}]}], "extensions": [], "variable_groups": [], "rulesets": {}, "statement": "", "ungrouped_variables": ["coef_x3", "coef_x2", "coef_x", "const", "k", "remainder", "a"], "tags": [], "functions": {}, "preamble": {"js": "", "css": ""}, "variables": {"remainder": {"definition": "coef_x3*(-k/a)^3+coef_x2*(-k/a)^2+coef_x*(-k/a)+const", "group": "Ungrouped variables", "name": "remainder", "description": "

Correct remainder.

", "templateType": "anything"}, "coef_x3": {"definition": "random(2..4) ", "group": "Ungrouped variables", "name": "coef_x3", "description": "

Coefficient of x^3

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

Leading coefficient in the dividing equation.

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

Coefficient of x.

", "templateType": "anything"}, "const": {"definition": "random(-5..5 except 0)", "group": "Ungrouped variables", "name": "const", "description": "

Constant term

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

Coefficient of x^2.

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

Free coefficient in the dividing equation.

", "templateType": "anything"}}, "advice": "

The remainder theorem states that if a polynomial $f(x)$ is divided by $(\\simplify{a*x-b})$ then the remainder is $f \\left( \\frac{b}{a} \\right)$.

\n

This means that if we substitute $x = \\frac{b}{a}$ into the equation for $f(x)$, the result will be equal to the remainder when $f(x)$ is divided by $(\\simplify{a*x-b})$.

\n

Therefore, to calculate the remainder when $f(x) = \\simplify{{coef_x3}*x^3+{coef_x2}*x^2+{coef_x}*x+{const}}$ is divided by $(\\simplify{{a}*x+{k}})$, we use this same principle.

\n

As we are dividing $f(x)$ by $(\\simplify{{a}*x+{k}})$, using the remainder theorem tells us that substituting

\n

\\[
\\begin{align}
x &= \\frac{b}{a}\\\\
&= \\simplify{-({k}/{a})} 
\\end{align}
\\]

\n

into our equation for $f(x)$ will give us the remainder when $f(x)$ is divided by $(\\simplify{{a}*x+{k}})$. Substituting this value of $x$ into $f(x)$ gives us

\n

\\[
\\begin{align}
f(\\simplify{-({k}/{a})}) &= \\simplify[all,!collectNumbers, fractionnumbers]{{coef_x3*(-({k}/{a}))^3}+{coef_x2*(-({k}/{a}))^2}+{coef_x*(-({k}/{a}))}+{const}}\\\\
&= \\simplify[all,fractionnumbers]{{coef_x3*(-({k}/{a}))^3}+{coef_x2*(-({k}/{a}))^2}+{coef_x*(-({k}/{a}))}+{const}}.
\\end{align}
\\] 

\n

Therefore, the remainder when $f(x) = \\simplify{{coef_x3}*x^3+{coef_x2}*x^2+{coef_x}*x+{const}}$ is divided by $(\\simplify{{a}*x+{k}})$ is  $\\displaystyle\\simplify[all,fractionnumbers]{{coef_x3*(-({k}/{a}))^3}+{coef_x2*(-({k}/{a}))^2}+{coef_x*(-({k}/{a}))}+{const}}$.

", "name": "Simon's copy of Dividing a polynomial with remainders, using the remainder theorem", "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "

This question tests the student's ability to find remainders using the remainder theorem. 

", "licence": "Creative Commons Attribution 4.0 International"}, "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": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "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": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}