// Numbas version: finer_feedback_settings {"name": "Quotient rule - differentiate linear over quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"s1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,-1)", "description": "", "name": "s1"}, "det": {"group": "Ungrouped variables", "templateType": "anything", "definition": "a*f-b*d", "description": "", "name": "det"}, "c1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..8)", "description": "", "name": "c1"}, "d": {"group": "Ungrouped variables", "templateType": "anything", "definition": "s2*random(1..9)", "description": "", "name": "d"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "s1*random(1..9)", "description": "", "name": "b"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "definition": "if(a*d=b*c1,c1+1,c1)", "description": "", "name": "c"}, "f": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-9..9)", "description": "", "name": "f"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "description": "", "name": "a"}, "s2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,-1)", "description": "", "name": "s2"}}, "ungrouped_variables": ["a", "c", "b", "d", "f", "s2", "s1", "det", "c1"], "name": "Quotient rule - differentiate linear over quadratic", "functions": {}, "parts": [{"showCorrectAnswer": true, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "steps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "customMarkingAlgorithm": "", "type": "information", "prompt": "
The quotient rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u/v,x,1) = (v * Diff(u,x,1) - u * Diff(v,x,1))/v^2}\\]
\\[\\simplify[std]{f(x) = ({a} * x+{b})/({c}x^2+{d}x+{f})}\\]
You are given that \\[\\frac{df}{dx}=\\simplify[std]{g(x)/({c}x^2+{d}x+{f})^2}\\]
for a polynomial $g(x)$. You are asked to find $g(x)$
$g(x)=\\;$[[0]]
\n\t\t\tInput numbers as fractions or integers and not as decimals.
\n\t\t\tClick on Show steps for more information. You will not lose any marks by doing so.
\n\t\t\t", "stepsPenalty": 0, "showFeedbackIcon": true, "scripts": {}, "gaps": [{"answer": "{-c*a}x^2+{-2*b*c}x+{a*f-b*d}", "customMarkingAlgorithm": "", "checkingType": "absdiff", "vsetRangePoints": 5, "showPreview": true, "notallowed": {"message": "Input numbers as fractions or integers and not as decimals.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "unitTests": [], "checkVariableNames": false, "vsetRange": [0, 1], "type": "jme", "answerSimplification": "std", "marks": 3, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "variableReplacementStrategy": "originalfirst", "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "failureRate": 1, "showFeedbackIcon": true}], "type": "gapfill", "unitTests": [], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0, "sortAnswers": false}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Differentiate the following function $f(x)$ using the quotient rule.
", "tags": ["algebraic manipulation", "Calculus", "calculus", "checked2015", "derivative of a quotient", "Differentiation", "differentiation", "quotient rule", "Steps", "steps"], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "The derivative of $\\displaystyle \\frac{ax+b}{cx^2+dx+f}$ is $\\displaystyle \\frac{g(x)}{(cx^2+dx+f)^2}$. Find $g(x)$.
"}, "advice": "The quotient rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u/v,x,1) = (v * Diff(u,x,1) - u * Diff(v,x,1))/v^2}\\]
For this example:
\n\\[\\simplify[std]{u = ({a}x+{b})}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {a}}\\]
\n\\[\\simplify[std]{v = ({c} * x^2+{d}x+{f})} \\Rightarrow \\simplify[std]{Diff(v,x,1) = {2*c}x+{d}}\\]
\nHence on substituting into the quotient rule above we get:
\n\\[\\begin{eqnarray*} \\frac{df}{dx}&=&\\simplify[std]{({a}({c}x^2+{d}x+{f})-({2*c}x+{d})({a}x+{b}))/({c}x^2+{d}x+{f})^2}\\\\ &=&\\simplify[std]{({a*c}x^2+{a*d}x+{a*f}-{2*c*a}x^2-{a*d+2*c*b}x-{d*b})/({c}x^2+{d}x+{f})^2}\\\\ &=&\\simplify[std]{({-c*a}x^2+{-2*b*c}x+{a*f-d*b})/({c}x^2+{d}x+{f})^2} \\end{eqnarray*}\\]
Hence $g(x)=\\simplify[std]{{-c*a}x^2+{-2*b*c}x+{a*f-d*b}}$