// Numbas version: exam_results_page_options {"name": "Factor Theorem 1", "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 "], "name": "Factor Theorem 1", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

The polynomial factor theorem is useful here, it states that $x-a$ is a factor of a polynomial $f(x)$ if and only if $f(a)=0$.

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

By evaluating  $\\simplify{f(x)=x^3+{b_coeff2}x^2+{b_coeff1}x+{b_coeff0}}$ at an appropriate value of x, show that $\\simplify{x-{b_root1}}$ is a factor of $f(x)$

\n

$f($[[0]]$)=($[[2]]$)^3$

\n

                    $+ \\var{b_coeff2}($[[3]]$)^2$

\n

                  $+\\var{b_coeff1}($[[4]]$)\\;$

\n

                                      $+\\; $[[5]]$=$[[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b_root1}", "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": "0", "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": "{b_root1}", "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": "{b_root1}", "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": "{b_root1}", "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": "{b_coeff0}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Hence factorise $\\simplify{f(x)=x^3+{b_coeff2}x^2+{b_coeff1}x+{b_coeff0}}$ completely.

\n

Enter your factors in descending order of their constant coefficient

\n

$f(x) =$([[0]])$\\times$([[1]])$\\times$([[2]])

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "x-{b_root3}", "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": "x-{b_root2}", "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": "x-{b_root1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "", "variable_groups": [], "variablesTest": {"maxRuns": "1000", "condition": "{b_coeff2}>0\nand\n{b_coeff1}>0\nand\n{b_coeff0}>0\nand\n{b_root1}-{b_root3}>0\nand\n{b_root1}-{b_root2}>0\nand\n{b_root2}-{b_root3}>0"}, "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": ""}, "c_coeff2": {"definition": "-c_root1-c_root2-c_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "c_coeff2", "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": ""}, "f_div": {"definition": "random(-5..5 except 0 except -1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_div", "description": ""}, "f0": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "f0", "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(1..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "e_coeff3", "description": ""}, "f_r": {"definition": "random(-9..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_r", "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 + 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*d_root3*(-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff0", "description": ""}, "d_coeff1": {"definition": "d_root1*d_root2 + d_root1*d_root3 + d_coeff3*d_root2*d_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "d_coeff1", "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": ""}, "b_root1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root1", "description": ""}, "b_root2": {"definition": "random(-5..5 except 0 except b_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root2", "description": ""}, "b_root3": {"definition": "random(-5..5 except b_root1 except 0 except b_root2)", "templateType": "anything", "group": "Ungrouped variables", "name": "b_root3", "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": ""}, "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": ""}, "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

"}, "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": ""}, "c_root1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_root1", "description": ""}, "c_root2": {"definition": "random(-5..5 except c_root1)", "templateType": "anything", "group": "Ungrouped variables", "name": "c_root2", "description": ""}, "f_p": {"definition": "(f_r-f0-(f_div)^3)/((f_div)+(f_div)^2)", "templateType": "anything", "group": "Ungrouped variables", "name": "f_p", "description": ""}, "q_e1": {"definition": "-e_root2-e_root3", "templateType": "anything", "group": "Ungrouped variables", "name": "q_e1", "description": ""}, "q_e0": {"definition": "e_root2*e_root3 ", "templateType": "anything", "group": "Ungrouped variables", "name": "q_e0", "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": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}