// Numbas version: exam_results_page_options {"name": "Finding unknown coefficients of a polynomial by the remainder theorem", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Finding unknown coefficients of a polynomial by the remainder theorem", "tags": [], "metadata": {"description": "

This question tests the student's knowledge of the remainder theorem and the ways in which it can be applied.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Consider the polynomial

\n

\\[ p(x) = \\simplify{{coef2_x3}x^3+s*x^2+{coef2_x}x+t}\\text{.}\\]

\n

The polynomial:

\n", "advice": "

We are told that the polynomial:

\n\n

a)

\n

Firstly, substituting $x = \\simplify{-{c}}$ into $p(x)$ gives us 

\n

\\begin{align}
p(\\simplify{-{c}}) &= \\simplify[all,!collectNumbers, fractionnumbers]{{coef2_x3*(-c)^3}+{(-c)^2}s+{coef2_x*(-c)}+t},\\\\
&= \\simplify[all,fractionnumbers]{{coef2_x3*(-c)^3}+{(-c)^2}s+{coef2_x*(-c)}+t}.
\\end{align}

\n

But, by the remainder theorem $p(\\simplify{-{c}}) = \\var{rem1}$ (using the first bullet point), so this becomes

\n

\\begin{align}
\\simplify[all,fractionnumbers]{{coef2_x3*(-{c})^3}+s*{(-{c})^2}+{coef2_x*(-{c})}+t} &= \\var{rem1},\\\\
\\simplify[all,fractionnumbers]{s*{x}+t} &= \\simplify[all,fractionnumbers]{{rem1}-{coef2_x3*(-{c})^3}-{coef2_x*(-{c})}}.
\\end{align}

\n

b)

\n

Similarly, substituting $x = \\simplify{-{d}}$ into $p(x)$, gives us

\n

\\begin{align}
p(\\simplify{-{d}}) &= \\simplify[all,!collectNumbers, fractionnumbers]{{coef2_x3*(-{d})^3}+{(-{d})^2}s+{coef2_x*(-{d})}+t},\\\\
&= \\simplify[all,fractionnumbers]{{coef2_x3*(-{d})^3}+{(-{d})^2}s+{coef2_x*(-{d})}+t}.
\\end{align}

\n

But, by the remainder theorem $p(\\simplify{-{d}}) = \\var{rem2}$ (using the second bullet point), so this becomes

\n

\\begin{align}
\\simplify[all,fractionnumbers]{{coef2_x3*(-{d})^3}+s*{(-{d})^2}+{coef2_x*(-{d})}+t} &= \\var{rem2},\\\\
\\simplify[all,fractionnumbers]{s*{y}+t} &= \\simplify[all,fractionnumbers]{{rem2}-{coef2_x3*(-{d})^3}-{coef2_x*(-{d})}}.
\\end{align}

\n

c)

\n

We now have two simultaneous equations for $s$ and $t$:

\n

\\begin{align}
\\simplify[all,fractionnumbers]{s*{x}+t} = \\simplify[all,fractionnumbers]{{rem1}-{coef2_x3*(-{c})^3}-{coef2_x*(-{c})}} \\\\
\\simplify[all,fractionnumbers]{s*{y}+t} = \\simplify[all,fractionnumbers]{{rem2}-{coef2_x3*(-{d})^3}-{coef2_x*(-{d})}}
\\end{align}

\n

Next, we subtract the second equation from the first equation.

\n

This allows us to cancel out the terms involving $t$ and gives us an equation only in terms of $s$, which we can then rearrange to find the value of $s$.

\n

Subtracting the two equations gives

\n

\\[\\simplify{s*{(-{c})^2-(-{d})^2}} = \\simplify[all,fractionnumbers]{{rem1 - coef2_x3*(-c)^3-coef2_x*(-c)-rem2+coef2_x3*(-d)^3+coef2_x*(-d)}}.\\]

\n

Then, we can rearrange this equation so that

\n

\\[s = \\simplify[all,fractionnumbers]{{rem1 - coef2_x3*(-c)^3-coef2_x*(-c)-rem2+coef2_x3*(-d)^3+coef2_x*(-d)}/{{(-c)^2-(-d)^2}}}.\\]

\n

d)

\n

We can calculate $t$ by substituting our value of $s$ into one of our original simultaneous equations. For example, let's use the equation

\n

\\[\\simplify[all,fractionnumbers]{s*{(-{d})^2}+t} = \\simplify[all,fractionnumbers]{{rem2}-{coef2_x3*(-{d})^3}-{coef2_x*(-{d})}}.\\]

\n

Substituting our value of $s$ into this equation gives us

\n

\\[
\\begin{align}
\\simplify[all,fractionnumbers,!noleadingMinus]{{numerator/denominator}+t} &= \\simplify[all,fractionnumbers]{{rem2-coef2_x3*(-d)^3-coef2_x*(-d)}},\\\\
t &= \\simplify[all,fractionnumbers]{{rem2-coef2_x3*(-d)^3-coef2_x*(-d) - numerator/denominator}}.
\\end{align}
\\]

\n

This same answer would've also been obtained if we had substituted our value of $s$ into the other equation instead.

", "rulesets": {}, "extensions": [], "variables": {"numerator": {"name": "numerator", "group": "Ungrouped variables", "definition": "rem1 - rem2+coef2_x3*(c^3-d^3)+coef2_x*(c-d)", "description": "

Numerator of s

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

Dividing term 1.

", "templateType": "anything"}, "rem1": {"name": "rem1", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "

First remainder.

", "templateType": "anything"}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "numerator/denominator", "description": "", "templateType": "anything"}, "coef2_x": {"name": "coef2_x", "group": "Ungrouped variables", "definition": "random(-3..3 except [0,c,d])", "description": "

Coefficient of x.

", "templateType": "anything"}, "denominator": {"name": "denominator", "group": "Ungrouped variables", "definition": "c^2-d^2", "description": "

Denominator of s.

", "templateType": "anything"}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "(rem2-coef2_x3*(-d)^3-coef2_x*(-d) - (rem1 - rem2-coef2_x3*(-c)^3-coef2_x*(-c)+coef2_x3*(-d)^3+coef2_x*(-d))/((-c)^2-(-d)^2)*(-d)^2)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-3..3 except c except [0,1,-c])", "description": "

Dividing term 2.

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

Coefficient of x^3.

", "templateType": "anything"}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "(-(c))^2", "description": "

Simplifies first coefficient of s.

", "templateType": "anything"}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "(-(d))^2", "description": "

Simplifies second coefficient of s.

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

Second remainder.

", "templateType": "anything"}}, "variablesTest": {"condition": "x > y", "maxRuns": 100}, "ungrouped_variables": ["c", "rem1", "d", "rem2", "coef2_x3", "coef2_x", "numerator", "denominator", "s", "x", "y", "t"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Using the remainder theorem for the remainder when $p(x)$ is divided by $(\\simplify{x+{c}})$, create an equation involving $s$ and $t$.

\n

[[0]]$s + t$ = [[1]].

\n

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "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})$.

"}], "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Coefficient of s", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c}^2", "maxValue": "{c}^2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Right-hand side", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{rem1}+{coef2_x3}*(c^3)+{coef2_x}*(c)", "maxValue": "{rem1}+{coef2_x3}*(c^3)+{coef2_x}*(c)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Using the remainder theorem for the remainder when $p(x)$ is divided by $(\\simplify{x+{d}})$, create another equation involving $s$ and $t$.

\n

[[0]]$s+t$ = [[1]].

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d}^2", "maxValue": "{d}^2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{rem2}+{coef2_x3}*(d^3)+{coef2_x}*d", "maxValue": "{rem2}+{coef2_x3}*(d^3)+{coef2_x}*d", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the value of $s$. Reduce your answer to its simplest fractional form.

\n

$s =$ [[0]]

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Subtract the two simultaneous equations for $s$ and $t$, obtained in parts a) and b), from each other.

\n

Then rearrange this new equation to find the value of $s$.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "s", "maxValue": "s", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the value of $t$. Reduce your answer to its simplest fractional form.

\n

$t =$ [[0]]

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Substitute the value of $s$ from part c) into one of the simultaneous equations for $s$ and $t$.

\n

Then, rearrange this equation to find the value of $t$.

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{(rem2-coef2_x3*(-d)^3-coef2_x*(-d) - (rem1 - rem2-coef2_x3*(-c)^3-coef2_x*(-c)+coef2_x3*(-d)^3+coef2_x*(-d))/((-c)^2-(-d)^2)*(-d)^2)}", "maxValue": "{(rem2-coef2_x3*(-d)^3-coef2_x*(-d) - (rem1 - rem2-coef2_x3*(-c)^3-coef2_x*(-c)+coef2_x3*(-d)^3+coef2_x*(-d))/((-c)^2-(-d)^2)*(-d)^2)}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}]}]}], "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": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}]}