// Numbas version: exam_results_page_options {"name": "Michael's copy of Factor Theorem 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["count", "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"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Quotient and remainder, polynomial division.

"}, "parts": [{"sortAnswers": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "adaptiveMarkingPenalty": 0, "customName": "", "gaps": [{"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "{b_root1}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": "0.5", "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "0", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "{b_root1}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": "0.5", "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "{b_root1}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": "0.5", "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "{b_root1}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": "0.5", "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "{b_coeff0}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}], "useCustomName": false, "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]]

", "type": "gapfill", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "unitTests": [], "marks": 0}, {"sortAnswers": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "adaptiveMarkingPenalty": 0, "customName": "", "gaps": [{"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "x-{b_root3}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [{"value": "", "name": "x"}], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "x-{b_root2}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [{"value": "", "name": "x"}], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}, {"checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "scripts": {}, "customName": "", "variableReplacementStrategy": "originalfirst", "answer": "x-{b_root1}", "useCustomName": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "checkingAccuracy": 0.001, "unitTests": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "checkingType": "absdiff", "valuegenerators": [{"value": "", "name": "x"}], "showPreview": true, "vsetRange": [0, 1], "failureRate": 1}], "useCustomName": false, "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

", "type": "gapfill", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "unitTests": [], "marks": 0}], "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_q1": {"group": "Ungrouped variables", "name": "a_q1", "definition": "-a_root2-a_root3", "description": "", "templateType": "anything"}, "a_root3": {"group": "Ungrouped variables", "name": "a_root3", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "f0": {"group": "Ungrouped variables", "name": "f0", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "c_q0": {"group": "Ungrouped variables", "name": "c_q0", "definition": "c_root2*c_root3", "description": "", "templateType": "anything"}, "a_coeff2": {"group": "Ungrouped variables", "name": "a_coeff2", "definition": "a_root1+a_root2+a_root3", "description": "", "templateType": "anything"}, "b_root1": {"group": "Ungrouped variables", "name": "b_root1", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "q_e1": {"group": "Ungrouped variables", "name": "q_e1", "definition": "-e_root2-e_root3", "description": "", "templateType": "anything"}, "e_coeff0": {"group": "Ungrouped variables", "name": "e_coeff0", "definition": "e_root1*e_root2*e_root3*(-1)", "description": "", "templateType": "anything"}, "b_coeff2": {"group": "Ungrouped variables", "name": "b_coeff2", "definition": "-(b_root1+b_root2+b_root3)", "description": "", "templateType": "anything"}, "c_coeff1": {"group": "Ungrouped variables", "name": "c_coeff1", "definition": "c_root1*c_root2 + c_root2*c_root3 + c_root1*c_root3", "description": "", "templateType": "anything"}, "b_coeff0": {"group": "Ungrouped variables", "name": "b_coeff0", "definition": "-b_root1*b_root2*b_root3", "description": "", "templateType": "anything"}, "g1": {"group": "Ungrouped variables", "name": "g1", "definition": "random(-19..19 except 0)", "description": "", "templateType": "anything"}, "b_root3": {"group": "Ungrouped variables", "name": "b_root3", "definition": "random(-5..5 except b_root1 except 0 except b_root2)", "description": "", "templateType": "anything"}, "a_q0": {"group": "Ungrouped variables", "name": "a_q0", "definition": "a_root2*a_root3", "description": "", "templateType": "anything"}, "count": {"group": "Ungrouped variables", "name": "count", "definition": "0", "description": "", "templateType": "anything"}, "b_coeff1": {"group": "Ungrouped variables", "name": "b_coeff1", "definition": "b_root1*b_root2+b_root2*b_root3+b_root1*b_root3", "description": "", "templateType": "anything"}, "e_coeff3": {"group": "Ungrouped variables", "name": "e_coeff3", "definition": "random(1..4)", "description": "", "templateType": "anything"}, "a_coeff1": {"group": "Ungrouped variables", "name": "a_coeff1", "definition": "a_root1*a_root2+a_root2*a_root3+a_root1*a_root3", "description": "", "templateType": "anything"}, "f_div": {"group": "Ungrouped variables", "name": "f_div", "definition": "random(-5..5 except 0 except -1)", "description": "", "templateType": "anything"}, "a_rmndr": {"group": "Ungrouped variables", "name": "a_rmndr", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "e_root3": {"group": "Ungrouped variables", "name": "e_root3", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "e_root2": {"group": "Ungrouped variables", "name": "e_root2", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "c_root1": {"group": "Ungrouped variables", "name": "c_root1", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "b_root2": {"group": "Ungrouped variables", "name": "b_root2", "definition": "random(-5..5 except 0 except b_root1)", "description": "", "templateType": "anything"}, "a_root1": {"group": "Ungrouped variables", "name": "a_root1", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "d_coeff1": {"group": "Ungrouped variables", "name": "d_coeff1", "definition": "d_root1*d_root2 + d_root1*d_root3 + d_coeff3*d_root2*d_root3", "description": "", "templateType": "anything"}, "a_coeff0": {"group": "Ungrouped variables", "name": "a_coeff0", "definition": "a_root1*a_root2*a_root3", "description": "", "templateType": "anything"}, "a_root2": {"group": "Ungrouped variables", "name": "a_root2", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "d_coeff3": {"group": "Ungrouped variables", "name": "d_coeff3", "definition": "random(-3..3 except 0)", "description": "", "templateType": "anything"}, "c_q1": {"group": "Ungrouped variables", "name": "c_q1", "definition": "-c_root2-c_root3", "description": "", "templateType": "anything"}, "d_coeff0": {"group": "Ungrouped variables", "name": "d_coeff0", "definition": "d_root1*d_root2*d_root3*(-1)", "description": "", "templateType": "anything"}, "c_root3": {"group": "Ungrouped variables", "name": "c_root3", "definition": "random(-5..5 except 0 except c_root1 except c_root2)", "description": "", "templateType": "anything"}, "d_r": {"group": "Ungrouped variables", "name": "d_r", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "d_coeff2": {"group": "Ungrouped variables", "name": "d_coeff2", "definition": "-(d_coeff3*d_root2 + d_coeff3*d_root3 + d_root1)", "description": "", "templateType": "anything"}, "d_root1": {"group": "Ungrouped variables", "name": "d_root1", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "d_root3": {"group": "Ungrouped variables", "name": "d_root3", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "e_root1": {"group": "Ungrouped variables", "name": "e_root1", "definition": "random(-5..5 except 0 except e_coeff3)", "description": "", "templateType": "anything"}, "q_e0": {"group": "Ungrouped variables", "name": "q_e0", "definition": "e_root2*e_root3 ", "description": "", "templateType": "anything"}, "e_r": {"group": "Ungrouped variables", "name": "e_r", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything"}, "d_root2": {"group": "Ungrouped variables", "name": "d_root2", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "f_r": {"group": "Ungrouped variables", "name": "f_r", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "f_p": {"group": "Ungrouped variables", "name": "f_p", "definition": "(f_r-f0-(f_div)^3)/((f_div)+(f_div)^2)", "description": "", "templateType": "anything"}, "c_coeff2": {"group": "Ungrouped variables", "name": "c_coeff2", "definition": "-c_root1-c_root2-c_root3", "description": "", "templateType": "anything"}, "c_r": {"group": "Ungrouped variables", "name": "c_r", "definition": "random(-9..9 except 0)", "description": "

Remainder

", "templateType": "anything"}, "c_root2": {"group": "Ungrouped variables", "name": "c_root2", "definition": "random(-5..5 except c_root1)", "description": "", "templateType": "anything"}, "e_coeff1": {"group": "Ungrouped variables", "name": "e_coeff1", "definition": "e_root1*e_root2 + e_root1*e_root3 + e_coeff3*e_root2*e_root3", "description": "", "templateType": "anything"}, "e_coeff2": {"group": "Ungrouped variables", "name": "e_coeff2", "definition": "-(e_coeff3*e_root2 + e_coeff3*e_root3 + e_root1)", "description": "", "templateType": "anything"}, "c_coeff0": {"group": "Ungrouped variables", "name": "c_coeff0", "definition": "(-1)*c_root1*c_root2*c_root3", "description": "", "templateType": "anything"}}, "statement": "", "name": "Michael's copy of Factor Theorem 1", "rulesets": {}, "functions": {}, "preamble": {"js": "", "css": ""}, "extensions": [], "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$.

", "tags": [], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}