// Numbas version: exam_results_page_options {"name": "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": [{"rulesets": {}, "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "tags": ["taxonomy"], "functions": {}, "name": "Dividing a polynomial with remainders, using the remainder theorem", "ungrouped_variables": ["coef_x3", "coef_x2", "coef_x", "const", "k", "remainder", "a"], "parts": [{"variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "mustBeReduced": true, "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "variableReplacements": [], "minValue": "remainder", "scripts": {}, "marks": "2", "allowFractions": true, "type": "numberentry", "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.

", "correctAnswerFraction": true, "maxValue": "remainder"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"coef_x2": {"description": "

Coefficient of x^2.

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

Correct remainder.

", "definition": "coef_x3*(-k/a)^3+coef_x2*(-k/a)^2+coef_x*(-k/a)+const", "name": "remainder", "templateType": "anything", "group": "Ungrouped variables"}, "k": {"description": "

Free coefficient in the dividing equation.

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

Constant term

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

Coefficient of x.

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

Coefficient of x^3

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

Leading coefficient in the dividing equation.

", "definition": "random(1..3 except k except -k)", "name": "a", "templateType": "anything", "group": "Ungrouped variables"}}, "extensions": [], "type": "question", "preamble": {"js": "", "css": ""}, "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}}$.

", "statement": "", "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": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "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": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}