// Numbas version: exam_results_page_options {"name": "Encontrar el resto cuando $f(x) = ax^3+bx^2+cx+d$ es dividido por $({{a}x+{k}})$", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Encontrar el resto cuando $f(x) = ax^3+bx^2+cx+d$ es dividido por $({{a}x+{k}})$", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "

El teorema del resto establece que si un polinomio $ f(x) $ se divide por $ (\\simplify {a * x-b}) $, entonces el resto es $ f\\left (\\frac {b}{a}\\right) $.

\n

Esto significa que si sustituimos $ x = \\frac{b}{a}$ en la ecuación por $ f(x) $, el resultado será igual al resto cuando $ f(x) $ se divide por $ (\\simplify{a * x-b})$.

\n

Por lo tanto, para calcular el resto cuando $ f(x) = \\simplify {{coef_x3} * x^3 + {coef_x2} * x^2 + {coef_x} * x + {const}} $ se divide por $ (\\simplify { {a}* x+{k}}) $, usamos este mismo principio.

\n

Como estamos dividiendo $ f(x) $ por $ (\\simplify {{a} * x + {k}}) $, usando el teorema del resto podemos sustituir:

\n

\\[
\\begin{align}
x &= \\frac{b}{a}\\\\
&= \\simplify{-({k}/{a})} 
\\end{align}
\\]

\n

en nuestra ecuación para $ f (x) $ nos dará el resto cuando $ f(x) $ se divide por $ (\\simplify {{a}*x+{k}}) $. Sustituir este valor de $x$ en $ f(x)$ nos da

\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

Por lo tanto, el resto cuando $f(x) = \\simplify{{coef_x3}*x^3+{coef_x2}*x^2+{coef_x}*x+{const}}$ es dividido por  $(\\simplify{{a}*x+{k}})$ es  $\\displaystyle\\simplify[all,fractionnumbers]{{coef_x3*(-({k}/{a}))^3}+{coef_x2*(-({k}/{a}))^2}+{coef_x*(-({k}/{a}))}+{const}}$.

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..3 except k except -k)", "description": "

Leading coefficient in the dividing equation.

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

Coefficient of x.

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

Correct remainder.

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

Coefficient of x^2.

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

Coefficient of x^3

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

Free coefficient in the dividing equation.

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

Constant term

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coef_x3", "coef_x2", "coef_x", "const", "k", "remainder", "a"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Encontrar el resto cuando $f(x) = \\simplify{{coef_x3}x^3+{coef_x2}x^2+{coef_x}x+{const}}$ es dividido por $(\\simplify{{a}x+{k}})$, 

", "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "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": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}