// Numbas version: exam_results_page_options {"name": "Partial Fractions: Simple Linear Factors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Partial Fractions: Simple Linear Factors", "tags": ["Algebra", "algebra", "algebraic fractions", "algebraic manipulation", "combining algebraic fractions", "common denominator"], "metadata": {"description": "

Split $\\displaystyle \\frac{ax+b}{(cx + d)(px+q)}$ into partial fractions.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "\n

 

\n

 

\n ", "advice": "

a)

\n

We use partial fractions to find $A$ and $B$ such that: 
\\[ \\simplify[std]{({a*a2+c*a1}*x+{c*b+a*d})/(({a1}x +{b})*({a2}x+{d}))} \\;\\;\\;=\\simplify[std]{ A/({a1}x+{b})+B/({a2}x+{d})}\\]

\n

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

\n

$\\simplify[std]{A*({a2}x+{d})+B*({a1}x+{b}) = {a*a2+c*a1}*x+{a*d+c*b}} \\Rightarrow \\simplify[std]{({a2}A+{a1}B)*x+{d}*A+{b}*B={a*a2+c*a1}*x+{a*d+c*b}}$

\n

Identifying coefficients:

\n

Constant term: $\\simplify[std]{ {d}*A+{b}*B={a*d+c*b} }$

\n

Coefficent $x$: $ \\simplify[std]{ {a2}A+{a1}B = {a*a2+c*a1} }$ 

\n

On solving these equations we obtain $A = \\var{a}$ and $B=\\var{c}$

\n

Which gives:\\[ \\simplify[std]{({a*a2+c*a1}*x+{c*b+a*d})/(({a1}x +{b})*({a2}x+{d}))}\\;\\;= \\simplify[std]{{a}/({a1}x+{b})+{c}/({a2}x+{d})}\\]

\n

\n

b)

\n

We use partial fractions to find $A$ and $B$ such that: 
\\[ \\simplify[std]{({a_*a2_+c_*a1_}*x+{c_*b_+a_*d_})/(({a1_}x +{b_})*({a2_}x+{d_}))} \\;\\;\\;=\\simplify[std]{ A/({a1_}x+{b_})+B/({a2_}x+{d_})}\\]

\n

Dividing both sides of the equation by $\\displaystyle \\simplify[std]{1/( ({a1_}x+{b_})({a2_}x+{d_}) )}\\;\\;$ we obtain:

\n

$\\simplify[std]{A*({a2_}x+{d_})+B*({a1_}x+{b_}) = {a_*a2_+c_*a1_}*x+{a_*d_+c_*b_}} \\Rightarrow \\simplify[std]{({a2_}A+{a1_}B)*x+{d_}*A+{b_}*B={a_*a2_+c_*a1_}*x+{a_*d_+c_*b_}}$

\n

Identifying coefficients:

\n

Constant term: $\\simplify[std]{ {d_}*A+{b_}*B={a_*d_+c_*b_} }$

\n

Coefficent $x$: $ \\simplify[std]{ {a2_}A+{a1_}B = {a_*a2_+c_*a1_} }$ 

\n

On solving these equations we obtain $A = \\var{a_}$ and $B=\\var{c_}$

\n

Which gives:\\[ \\simplify[std]{({a_*a2_+c_*a1_}*x+{c_*b_+a_*d_})/(({a1_}x +{b_})*({a2_}x+{d_}))}\\;\\;= \\simplify[std]{{a_}/({a1_}x+{b_})+{c_}/({a2_}x+{d_})}\\]

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": [], "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": " 1", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-9..9 except [0,round(b*a2/a1)])", "description": "", "templateType": "anything"}, "d_": {"name": "d_", "group": "Ungrouped variables", "definition": "random(-9..9 except [0,round(b*a2/a1)])", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything"}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything"}, "a2_": {"name": "a2_", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "s1_": {"name": "s1_", "group": "Ungrouped variables", "definition": "if(c_<0,-1,1)", "description": "", "templateType": "anything"}, "nb_": {"name": "nb_", "group": "Ungrouped variables", "definition": "if(c_<0,'taking away','adding')", "description": "", "templateType": "anything"}, "c_": {"name": "c_", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything"}, "b_": {"name": "b_", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything"}, "s1": {"name": "s1", "group": "Ungrouped variables", "definition": "if(c<0,-1,1)", "description": "", "templateType": "anything"}, "a1_": {"name": "a1_", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything"}, "nb": {"name": "nb", "group": "Ungrouped variables", "definition": "if(c<0,'taking away','adding')", "description": "", "templateType": "anything"}, "a_": {"name": "a_", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b", "d", "nb", "a1", "a2", "s1", "a_", "c_", "b_", "d_", "nb_", "a1_", "a2_", "s1_"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

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

\n

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

\n

 

\n

 

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 2, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{a} / ({a1}*x + {b}) + ({c} / ({a2}*x + {d}))", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 1e-05, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [10, 11], "checkVariableNames": false, "notallowed": {"strings": [")(", ")*("], "showStrings": false, "partialCredit": 0, "message": "

Input as the sum of partial fractions.

"}, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Split \\[\\simplify{({a_*a2_ +  c_*a1_} * x + {a_ * d_ +  c_ * b_})/ (({a1_}*x + {b_}) * ({a2_}*x + {d_}))}\\] into partial fractions.

\n

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

\n

 

\n

 

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 2, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{a_} / ({a1_}*x + {b_}) + ({c_} / ({a2_}*x + {d_}))", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 1e-05, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [10, 11], "checkVariableNames": false, "notallowed": {"strings": [")(", ")*("], "showStrings": false, "partialCredit": 0, "message": "

Input as the sum of partial fractions.

"}, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "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/"}]}