// Numbas version: exam_results_page_options {"name": "Blathnaid's copy of Michael's copy of Partial Fractions 3 - double root", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"type": "gapfill", "scripts": {}, "marks": 0, "prompt": "

Split \\[\\simplify{(({a1+a3})x^2+{a1*a+a1*b+a2+2*a*a3} * x + {a1*a*b + a2*b + a3*a^2})/ ((x + {a})^2 * (x + {b}))}\\] into partial fractions.

\n

Input the partial fractions here: [[0]].

\n

 

\n

 

", "sortAnswers": false, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"checkingAccuracy": 1e-05, "type": "jme", "vsetRange": [10, 11], "scripts": {}, "marks": 2, "notallowed": {"strings": [")(", ")*("], "showStrings": false, "message": "

Input as the sum of partial fractions.

", "partialCredit": 0}, "customMarkingAlgorithm": "", "showPreview": true, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "showFeedbackIcon": true, "variableReplacements": [], "checkingType": "absdiff", "showCorrectAnswer": true, "expectedVariableNames": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "answer": "{a1} / (x + {a}) + {a2}/(x + {a})^2 + {a3} / (x + {b})", "vsetRangePoints": 5, "checkVariableNames": false}]}], "ungrouped_variables": ["a", "c", "b", "nb", "s1", "a_", "c_", "b_", "nb_", "a1_", "a2_", "s1_", "new", "a1", "a2", "a3", "d", "d_", "b1", "b2", "b3", "p", "q", "c1", "c2", "c3", "p1", "q1"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": ""}, "advice": "

a)

\n

We use partial fractions to find $A$, $B$ and $C$ such that: 
$\\simplify{({a1+a3}x^2+{a1*a+a1*b+a2+2*a*a3} * x + {a1*a*b + a2*b + a3*a^2})/ ((x + {a})^2 * (x + {b}))} \\;\\;\\;=\\simplify{A/(x+{a})+B/(x+{a})^2+C/(x+{b})}$

\n

Dividing both sides of the equation by $\\displaystyle \\simplify[std]{1/( (x+{a})^2(x+{b}) )}\\;\\;$ we obtain:

\n

$ \\simplify{A(x+{a})(x+{b})+B(x+{b})+C(x+{a})^2 = {a1+a3}*x^2+{a1*a+a1*b+a2+2*a*a3}*x + {a1*a*b + a2*b + a3*a^2}}$

\n

$\\Rightarrow \\simplify[std]{(A+C)x^2+({a+b}A+B+{2a}C)x+({a*b}A+{b}B+{a*a}C)={a1+a3}*x^2+{a1*a+a1*b+a2+2*a*a3}*x + {a1*a*b + a2*b + a3*a^2}}$

\n

Identifying coefficients:

\n

Coefficient $x^2$: $\\simplify[std]{A+C={a1+a3} }$

\n

Coefficent $x$: $ \\simplify[std]{ {a+b}A+B+{2a}C = {a1*a+a1*b+a2+2*a*a3} }$ 

\n

Constant term: $\\simplify{{a*b}A+{b}B+{a*a}C ={a1*a*b + a2*b + a3*a^2}}$

\n

On solving these equations we obtain $A = \\var{a1}$, $B=\\var{a2}$ and $C=\\var{a3}$

\n

Which gives:$\\simplify{({a1+a3}x^2+{a1*a+a1*b+a2+2*a*a3} * x + {a1*a*b + a2*b + a3*a^2})/ ((x + {a})^2 * (x + {b}))} \\;\\;\\;=\\simplify{{a1}/(x+{a})+{a2}/(x+{a})^2+{a3}/(x+{b})}$

\n

\n

Apply same method to solve b) and c)

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "tags": [], "preamble": {"js": "", "css": ""}, "variable_groups": [], "variables": {"nb_": {"templateType": "anything", "group": "Ungrouped variables", "name": "nb_", "definition": "if(c_<0,'taking away','adding')", "description": ""}, "a1": {"templateType": "anything", "group": "Ungrouped variables", "name": "a1", "definition": "random(1..9)", "description": ""}, "a1_": {"templateType": "anything", "group": "Ungrouped variables", "name": "a1_", "definition": "1", "description": ""}, "c": {"templateType": "anything", "group": "Ungrouped variables", "name": "c", "definition": "random(-9..9 except 0)", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "name": "a", "definition": "random(1..9)", "description": ""}, "a2": {"templateType": "anything", "group": "Ungrouped variables", "name": "a2", "definition": "random(1..9)", "description": ""}, "c_": {"templateType": "anything", "group": "Ungrouped variables", "name": "c_", "definition": "random(-9..9 except 0)", "description": ""}, "q1": {"templateType": "anything", "group": "Ungrouped variables", "name": "q1", "definition": "random(-5..5 except 0 except p1)", "description": ""}, "b2": {"templateType": "anything", "group": "Ungrouped variables", "name": "b2", "definition": "random(-5..5 except 0)", "description": ""}, "p": {"templateType": "anything", "group": "Ungrouped variables", "name": "p", "definition": "random(-5..5 except 0)", "description": ""}, "a3": {"templateType": "anything", "group": "Ungrouped variables", "name": "a3", "definition": "random(1..9)", "description": ""}, "s1_": {"templateType": "anything", "group": "Ungrouped variables", "name": "s1_", "definition": "if(c_<0,-1,1)", "description": ""}, "b_": {"templateType": "anything", "group": "Ungrouped variables", "name": "b_", "definition": "random(-9..9 except 0)", "description": ""}, "a2_": {"templateType": "anything", "group": "Ungrouped variables", "name": "a2_", "definition": "1", "description": ""}, "b3": {"templateType": "anything", "group": "Ungrouped variables", "name": "b3", "definition": "random(-5..5 except 0)", "description": ""}, "d": {"templateType": "anything", "group": "Ungrouped variables", "name": "d", "definition": "1", "description": ""}, "nb": {"templateType": "anything", "group": "Ungrouped variables", "name": "nb", "definition": "if(c<0,'taking away','adding')", "description": ""}, "c3": {"templateType": "anything", "group": "Ungrouped variables", "name": "c3", "definition": "random(-5..5 except 0)", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "name": "b", "definition": "random(-9..9 except 0 except a)", "description": ""}, "q": {"templateType": "anything", "group": "Ungrouped variables", "name": "q", "definition": "random(-5..5 except 0 except p)", "description": ""}, "s1": {"templateType": "anything", "group": "Ungrouped variables", "name": "s1", "definition": "if(c<0,-1,1)", "description": ""}, "p1": {"templateType": "anything", "group": "Ungrouped variables", "name": "p1", "definition": "random(-5..5 except 0)", "description": ""}, "d_": {"templateType": "anything", "group": "Ungrouped variables", "name": "d_", "definition": "1", "description": ""}, "c2": {"templateType": "anything", "group": "Ungrouped variables", "name": "c2", "definition": "random(-5..5 except 0)", "description": ""}, "new": {"templateType": "anything", "group": "Ungrouped variables", "name": "new", "definition": "1", "description": ""}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "name": "c1", "definition": "random(-5..5 except 0)", "description": ""}, "a_": {"templateType": "anything", "group": "Ungrouped variables", "name": "a_", "definition": "random(1..9)", "description": ""}, "b1": {"templateType": "anything", "group": "Ungrouped variables", "name": "b1", "definition": "random(-5..5 except 0)", "description": ""}}, "extensions": [], "variablesTest": {"condition": "b1+b3=0\n", "maxRuns": "100000"}, "functions": {}, "name": "Blathnaid's copy of Michael's copy of Partial Fractions 3 - double root", "statement": "\n

 

\n

 

\n ", "type": "question", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}]}