// Numbas version: exam_results_page_options {"name": "Quotient rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "statement": "

Differentiate the function:

\n

\\(f(x)=\\frac{\\var{a} + \\var{g}x^{\\var{b}}}{\\var{c}x^{\\var{d}} + \\var{f}}\\)

", "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "f", "d", "g"], "variables": {"g": {"group": "Ungrouped variables", "description": "", "definition": "random(-10 .. -2#1)", "name": "g", "templateType": "randrange"}, "b": {"group": "Ungrouped variables", "description": "", "definition": "random(2 .. 6#1)", "name": "b", "templateType": "randrange"}, "c": {"group": "Ungrouped variables", "description": "", "definition": "random(2 .. 12#1)", "name": "c", "templateType": "randrange"}, "f": {"group": "Ungrouped variables", "description": "", "definition": "random(1 .. 11#1)", "name": "f", "templateType": "randrange"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "random(2 .. 10#1)", "name": "a", "templateType": "randrange"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(2 .. 7#1)", "name": "d", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Quotient rule

"}, "parts": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

\\(\\frac{df}{dx} = \\) [[0]]

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"failureRate": 1, "variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": "3", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "customName": "", "answer": "({b}{g}x^{b-1}({c}x^{d} + {f})-{d}{c}x^{d-1}({a} + {g}x^{b}))/({c}x^{d} +{f})^2", "showCorrectAnswer": true, "checkingAccuracy": 0.001, "checkVariableNames": false, "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true, "type": "jme", "vsetRange": [0, 1], "useCustomName": false, "showFeedbackIcon": true, "showPreview": true, "valuegenerators": [{"value": "", "name": "x"}], "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}], "advice": "

\\(f(x)=\\frac{\\var{a} +\\var{g}x^{\\var{b}}}{\\var{c}x^{\\var{d}} +\\var{f}}\\)

\n

Recall the quotient rule: if \\(y=\\frac{u}{v}\\) where \\(u\\) and \\(v\\) are both functions of \\(x\\) then

\n

\\(\\frac{dy}{dx}=\\frac{v\\frac{du}{dx}-u\\frac{dv}{dx}}{v^2}\\)

\n

Let   \\(u=\\var{a} +\\var{g}x^{\\var{b}}\\)   and   \\(v=\\var{c}x^{\\var{d}} +\\var{f}\\)

\n

then   \\(\\frac{du}{dx}=\\var{g}\\var{b}x^{\\var{b-1}}\\)   and   \\(\\frac{dv}{dx}=\\var{d}\\var{c}x^{\\var{d-1}}\\)

\n

Putting these results together as shown in the rule gives:

\n

\\(\\frac{df}{dx}=\\frac{(\\var{c}x^{\\var{d}} +\\var{f}) \\times \\var{g}\\var{b}x^{\\var{b-1}} - (\\var{a} +\\var{g}x^{\\var{b}}) \\times \\var{d}\\var{c}x^{\\var{d-1}}}{(\\var{c}x^{\\var{d}} +\\var{f})^2}\\)

\n

\\(\\frac{df}{dx}=\\frac{\\var{g}\\var{b}x^{\\var{b-1}}(\\var{c}x^{\\var{d}} +\\var{f}) - \\var{d}\\var{c}x^{\\var{d-1}}(\\var{a} +\\var{g}x^{\\var{b}}) }{(\\var{c}x^{\\var{d}} +\\var{f})^2}\\)

", "functions": {}, "rulesets": {}, "extensions": [], "name": "Quotient rule", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}