// Numbas version: exam_results_page_options {"name": "Dado que $(x -k)$ es un factor de $p(x) = x^3+bx^2+cx+d$. Encuentra la factorizaci\u00f3n de $p(x)$.", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Dado que $(x -k)$ es un factor de $p(x) = x^3+bx^2+cx+d$. Encuentra la factorizaci\u00f3n de $p(x)$.", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

El teorema del factor establece que si $ f (x) $ es un polinomio y $ f (p) = 0 $, entonces $ (x-p) $ es un factor de $ f (x) $.

", "advice": "

Para esta pregunta, se nos da que $(\\simplify{x+{z}})$ es un factor del polinomio

\n

$p(x) = \\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}},$

\n

y luego se nos pide que encontremos la factorización completa de $p(x) $.

\n

Sabemos que $ (\\simplify{x+{z}}) $ es un factor de $ p(x) $, por lo que podemos calcular los otros factores de $ p(x) $ a través de una división larga.

\n

\\[
\\begin{align}
&\\simplify{x^2+({u}+{y})x+{u}{y}}\\\\
\\simplify{x+{z}} \\; &\\overline{)\\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}}}\\\\
&\\;\\,
\\simplify{x^3+{z}x^2}\\\\
&\\qquad\\quad
\\overline{\\simplify[all,noLeadingMinus]{({u}+{y})x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}}}\\\\
&\\qquad\\quad
\\simplify[all,noLeadingMinus]{({u}+{y})x^2+({u}{z}+{z}{y})x}\\\\
&\\qquad\\quad\\quad\\quad\\quad
\\overline{\\simplify[all,noLeadingMinus]{{y}{u}x+{y}{u}{z}}}\\\\
&\\qquad\\quad\\quad\\quad\\quad
\\simplify[all,noLeadingMinus]{{y}{u}x+{y}{u}{z}}\\\\
&\\qquad\\qquad\\quad\\quad\\quad
\\overline{0.}
\\end{align}
\\]

\n

Entonces podemos factorizar $\\simplify{x^2+({u}+{y})x+{u}{y}}$ como

\n

\\[\\simplify{x^2+({u}+{y})x+{u}{y}} =(\\simplify{x+{y}})(\\simplify{x+{u}}).\\]

\n

Por lo tanto, la factorización completa de  $p(x)$ es 

\n

\\[
\\begin{align}
p(x) &= \\simplify{x^3+({y}+{u}+{z})*x^2+({y}{u}+{z}{u}+{y}{z})*x+{y}{u}{z}},\\\\
&= (\\simplify{x+{y}})(\\simplify{x+{z}})(\\simplify{x+{u}}).
\\end{align}
\\]

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

Factor 2.

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

Factor 3.

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

Factor 1.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "192"}, "ungrouped_variables": ["y", "u", "z"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {"mark": {"script": "if(this.credit>0) {\n // Parse the student's answer as a syntax tree\n var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n // Create the pattern to match against \n // we just want two sets of brackets, each containing two terms\n // or one of the brackets might not have a constant term\n // or for repeated roots, you might write (x+a)^2\n var rule = Numbas.jme.compile('m_all(m_any(x,x+m_pm(m_number),(x+m_pm(m_number))^m_number))*m_nothing');\n\n // Check the student's answer matches the pattern. \n var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n // If not, take away marks\n if(!m) {\n this.multCredit(0.5,'Your answer is not fully factorised.');\n }\n}", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Dado que $(\\simplify{x+{z}})$ es un factor de $p(x) = \\simplify{x^3+({y}+{u}+{z})*x^2+({y}*{u}+{z}*{u}+{y}*{z})*x+{y}*{u}*{z}}.$

\n

Encuentra la factorización completa de $p(x)$.

", "answer": "(x+{y})(x+{u})(x+{z})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "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/"}]}