// Numbas version: finer_feedback_settings {"name": "Quotient rule - differentiate quadratic over quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

The derivative of $\\displaystyle \\frac{ax^2+b}{cx^2+d}$ is $\\displaystyle \\frac{g(x)}{(cx^2+d)^2}$. Find $g(x)$.

"}, "preamble": {"css": "", "js": ""}, "advice": "\n \n \n

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}\\]

\n \n \n \n

For this example:

\n \n \n \n

\\[\\simplify[std]{u = ({a}x^2+{b})}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {2*a}x}\\]

\n \n \n \n

\\[\\simplify[std]{v = ({c} * x^2+{d})} \\Rightarrow \\simplify[std]{Diff(v,x,1) = {2*c}x}\\]

\n \n \n \n

Hence on substituting into the quotient rule above we get:

\n \n \n \n

\\[\\begin{eqnarray*} \\frac{df}{dx}&=&\\simplify[std]{({2*a}x({c}x^2+{d})-{2*c}x({a}x^2+{b}))/({c}x^2+{d})^2}\\\\\n \n &=&\\simplify[std]{({2*a*c}x^3+{2*a*d}x-{2*c*a}x^3-{2*c*b}x)/({c}x^2+{d})^2}\\\\\n \n &=&\\simplify[std]{({2*det}x)/({c}x^2+{d})^2}\n \n \\end{eqnarray*}\\]
Hence $g(x)=\\simplify[std]{{2*det}x}$

\n \n \n ", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": [], "name": "Quotient rule - differentiate quadratic over quadratic", "ungrouped_variables": ["a", "c", "b", "d", "s2", "s1", "det", "c1"], "functions": {}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "s1*random(1..9)", "description": "", "templateType": "anything"}, "s2": {"name": "s2", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "s2*random(1..9)", "description": "", "templateType": "anything"}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything"}, "det": {"name": "det", "group": "Ungrouped variables", "definition": "a*d-b*c", "description": "", "templateType": "anything"}, "s1": {"name": "s1", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "if(a*d=b*c1,c1+1,c1)", "description": "", "templateType": "anything"}}, "statement": "

Differentiate the following function $f(x)$ using the quotient rule.

", "parts": [{"customName": "", "type": "gapfill", "customMarkingAlgorithm": "", "steps": [{"customName": "", "type": "information", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "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}\\]

", "scripts": {}, "useCustomName": false, "showCorrectAnswer": true, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true}], "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "gaps": [{"customName": "", "type": "jme", "vsetRangePoints": 5, "answer": "{2*det}x", "showFeedbackIcon": true, "failureRate": 1, "checkingType": "absdiff", "checkVariableNames": false, "notallowed": {"showStrings": false, "message": "

Input numbers as fractions or integers and not as decimals.

", "partialCredit": 0, "strings": ["."]}, "showCorrectAnswer": true, "useCustomName": false, "customMarkingAlgorithm": "", "answerSimplification": "std", "variableReplacementStrategy": "originalfirst", "marks": 3, "valuegenerators": [{"name": "x", "value": ""}], "checkingAccuracy": 0.001, "scripts": {}, "extendBaseMarkingAlgorithm": true, "showPreview": true, "unitTests": [], "variableReplacements": [], "vsetRange": [0, 1]}], "sortAnswers": false, "prompt": "\n

\\[\\simplify[std]{f(x) = ({a} * x^2+{b})/({c}x^2+{d})}\\]
You are given that \\[\\frac{df}{dx}=\\simplify[std]{g(x)/({c}x^2+{d})^2}\\]
for a polynomial $g(x)$. You are asked to find $g(x)$

\n

$g(x)=\\;$[[0]]

\n

Input numbers as fractions or integers and not as decimals.

\n

Click on Show steps for more information. You will not lose any marks by doing so.

\n ", "scripts": {}, "useCustomName": false, "stepsPenalty": 0, "showCorrectAnswer": true, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true}], "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}