// Numbas version: exam_results_page_options {"name": "Jinhua's copy of Remainder Theorem", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a_root1", "a_root2", "a_root3", "a_rmndr", "a_coeff2", "a_coeff1", "a_coeff0", "a_q1", "a_q0", "b_root1", "b_root2", "b_root3", "b_coeff2", "b_coeff1", "b_coeff0", "c_root1", "c_root2", "c_root3", "c_r", "c_q1", "c_q0", "c_coeff2", "c_coeff1", "c_coeff0", "d_root1", "d_root2", "d_root3", "d_r", "d_coeff3", "d_coeff2", "d_coeff1", "d_coeff0", "e_root1", "e_root2", "e_root3", "e_r", "e_coeff3", "e_coeff2", "e_coeff1", "e_coeff0", "q_e0", "q_e1", "f0", "f_r", "f_div", "f_p", "g1", "count ", "n_root1", "n_root2", "n_root3", "n_r", "n_coeff3", "n_coeff2", "n_coeff1", "n_coeff0"], "name": "Jinhua's copy of Remainder Theorem", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

The polynomial remainder theorem is useful here, it states that the remainder of the division of a polynomial $f(x)$ by a linear polynomial $x-a$ is equal to $f(a)$.

\n

To find the quotient, here are two methods:

\n

1) Perform polynomial long division

\n

2) First find the remainder by the polynomial remainder theorem. Minus the remainder from the initial polynomial, then factorise. 

", "rulesets": {}, "parts": [{"prompt": "

By using the Polynomial Remainder Theorem, find the remainder $R$ when $\\simplify{f(x)=x^3+{c_coeff2}x^2+{c_coeff1}x+({c_coeff0}+ {c_r})}$ is divided by $\\simplify{(x-{c_root1})}$

\n

$R = f($[[0]]$)=$[[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c_root1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c_r}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Find the remainder $R$ when $\\simplify{f(x)={n_coeff3}x^3+{n_coeff2}x^2+{n_coeff1}x+({n_coeff0}+ {n_r})}$ is divided by $\\simplify{({n_coeff3}x-{n_root1})}$

\n

$R =$ [[0]] 

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "{n_r}", "minValue": "{n_r}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Find the quotient $Q(X)$ and remainder $R$ when $\\simplify{f(x)={e_coeff3}x^3+{e_coeff2}x^2+{e_coeff1}x+({e_coeff0}+ {e_r})}$ is divided by $\\simplify{({e_coeff3}x-{e_root1})}$

\n

$Q(x) =$ [[0]]

\n

$R =$ [[1]] 

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "x^2 + {q_e1}x + {q_e0}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"allowFractions": true, "variableReplacements": [], "maxValue": "{e_r}", "minValue": "{e_r}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

When $\\simplify{f(x)=x^3+px^2+px+{f0}}$ is divided by $\\simplify{x-{f_div}}$ the remainder is $\\var{f_r}$. Find the value of p by setting up an appropriate equation

\n

$f($[[0]]$)=$[[1]]$^3+$[[2]]$^2p+$[[3]]$p+$[[4]]$=$[[5]]

\n

Hence $p =$[[6]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_div}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_div}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_div}", "marks": "0.5", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_div}", "marks": "0.5", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f0}", "marks": "0.5", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_r}", "marks": "0.5", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{f_p}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a_root3": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a_root3", "description": ""}, "a_root2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a_root2", "description": ""}, "a_root1": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a_root1", "description": ""}, "n_coeff3": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_coeff3", "description": ""}, "n_root1": {"definition": "random(-5..5 except 0 except n_coeff3)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_root1", "description": ""}, "n_root2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_root2", "description": ""}, "n_root3": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_root3", "description": ""}, "c_q1": {"definition": "-c_root2-c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_q1", "description": ""}, "c_q0": {"definition": "c_root2*c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_q0", "description": ""}, "n_r": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_r", "description": ""}, "f0": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "f0", "description": ""}, "b_root3": {"definition": "random(-5..5 except b_root1 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root3", "description": ""}, "b_root1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root1", "description": ""}, "b_coeff0": {"definition": "b_root1*b_root2*b_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "b_coeff0", "description": ""}, "b_coeff1": {"definition": "b_root1*b_root2+b_root2*b_root3+b_root1*b_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "b_coeff1", "description": ""}, "b_coeff2": {"definition": "b_root1+b_root2+b_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "b_coeff2", "description": ""}, "q_e1": {"definition": "-e_root2-e_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "q_e1", "description": ""}, "n_coeff1": {"definition": "n_root1*n_root2 + n_root1*n_root3 + n_coeff3*n_root2*n_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "n_coeff1", "description": ""}, "a_coeff1": {"definition": "a_root1*a_root2+a_root2*a_root3+a_root1*a_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "a_coeff1", "description": ""}, "a_coeff0": {"definition": "a_root1*a_root2*a_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "a_coeff0", "description": ""}, "a_coeff2": {"definition": "a_root1+a_root2+a_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "a_coeff2", "description": ""}, "d_coeff2": {"definition": "-(d_coeff3*d_root2/2 + d_coeff3*d_root3 + d_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff2", "description": ""}, "d_coeff3": {"definition": "random(-3..3 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff3", "description": ""}, "d_coeff0": {"definition": "d_root1*d_root2/2*d_root3*(-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff0", "description": ""}, "d_coeff1": {"definition": "d_root1*d_root2/2+ d_root1*d_root3 + d_coeff3*d_root2*d_root3/2", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff1", "description": ""}, "f_p": {"definition": "(f_r-f0-(f_div)^3)/((f_div)+(f_div)^2)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_p", "description": ""}, "a_q1": {"definition": "-a_root2-a_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "a_q1", "description": ""}, "a_q0": {"definition": "a_root2*a_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "a_q0", "description": ""}, "c_coeff2": {"definition": "-c_root1-c_root2-c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_coeff2", "description": ""}, "b_root2": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root2", "description": ""}, "c_coeff0": {"definition": "(-1)*c_root1*c_root2*c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_coeff0", "description": ""}, "e_coeff1": {"definition": "e_root1*e_root2 + e_root1*e_root3 + e_coeff3*e_root2*e_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "e_coeff1", "description": ""}, "e_coeff0": {"definition": "e_root1*e_root2*e_root3*(-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_coeff0", "description": ""}, "e_coeff3": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_coeff3", "description": ""}, "e_coeff2": {"definition": "-(e_coeff3*e_root2 + e_coeff3*e_root3 + e_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_coeff2", "description": ""}, "count ": {"definition": "0", "templateType": "anything", "group": "Ungrouped variables", "name": "count ", "description": ""}, "n_coeff2": {"definition": "-(n_coeff3*n_root2 + n_coeff3*n_root3 + n_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_coeff2", "description": ""}, "e_root3": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_root3", "description": ""}, "e_root2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_root2", "description": ""}, "e_root1": {"definition": "random(-5..5 except 0 except e_coeff3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_root1", "description": ""}, "c_coeff1": {"definition": "c_root1*c_root2 + c_root2*c_root3 + c_root1*c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_coeff1", "description": ""}, "c_root3": {"definition": "random(-5..5 except 0 except c_root1 except c_root2)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_root3", "description": ""}, "c_r": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_r", "description": "

Remainder

"}, "c_root2": {"definition": "random(-5..5 except c_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_root2", "description": ""}, "e_r": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_r", "description": ""}, "a_rmndr": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a_rmndr", "description": ""}, "d_root2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_root2", "description": ""}, "d_root3": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_root3", "description": ""}, "d_root1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_root1", "description": ""}, "d_r": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_r", "description": ""}, "f_div": {"definition": "random(-5..5 except 0 except -1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_div", "description": ""}, "c_root1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_root1", "description": ""}, "f_r": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_r", "description": ""}, "q_e0": {"definition": "e_root2*e_root3 ", "templateType": "anything", "group": "Ungrouped variables", "name": "q_e0", "description": ""}, "n_coeff0": {"definition": "n_root1*n_root2*n_root3*(-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "n_coeff0", "description": ""}, "g1": {"definition": "random(-19..19 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "g1", "description": ""}}, "metadata": {"notes": "", "description": "

Quotient and remainder, polynomial division.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}]}], "contributors": [{"name": "Jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}