// Numbas version: exam_results_page_options {"name": "Chain rule 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"preventleave": false, "showfrontpage": false, "allowregen": true}, "question_groups": [{"questions": [{"extensions": [], "functions": {}, "name": "Chain rule 2", "advice": "

\$$f(x)=\\var{a1}ln(\\var{a2}x^{\\var{a3}}+\\var{a4})\$$

\n

Recall the chain rule:   \$$\\frac{df}{dx}=\\frac{df}{du}.\\frac{du}{dx}\$$

\n

let \$$u=\\var{a2}x^{\\var{a3}}+\\var{a4}\$$    then   \$$f(x)=\\var{a1}ln(u)\$$

\n

\$$\\frac{df}{du}=\\frac{\\var{a1}}{u}\$$  and  \$$\\frac{du}{dx}=\\var{a3}*\\var{a2}x^{\\var{a3}-1}\$$

\n

\$$\\frac{df}{dx}=\\frac{\\var{a1}}{u}.\\simplify{{a2}*{a3}x^{{a3}-1}}\$$

\n

\$$\\frac{df}{dx}=\\frac{\\simplify{{a1}*{a2}*{a3}x^{{a3}-1}}}{\\var{a2}x^{\\var{a3}}+\\var{a4}}\$$

", "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Differentiate the function:

\n

\$$f(x)=\\var{a1}ln(\\var{a2}x^{\\var{a3}}+\\var{a4})\$$

", "parts": [{"scripts": {}, "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "variableReplacements": [], "marks": 1, "checkingtype": "absdiff", "vsetrange": [0, 1], "type": "jme", "showCorrectAnswer": true, "showpreview": true, "expectedvariablenames": [], "checkvariablenames": false, "answer": "({a1}*{a2}*{a3}x^{{a3}-1})/({a2}x^{a3}+{a4})", "variableReplacementStrategy": "originalfirst", "scripts": {}, "checkingaccuracy": 0.001}], "prompt": "

\$$\\frac{df}{dx}=\$$ [[0]]

", "marks": 0, "showCorrectAnswer": false}], "type": "question", "variables": {"a4": {"name": "a4", "definition": "random(1..14#1)", "templateType": "randrange", "description": "", "group": "Ungrouped variables"}, "a2": {"name": "a2", "definition": "random(2..6#1)", "templateType": "randrange", "description": "", "group": "Ungrouped variables"}, "a1": {"name": "a1", "definition": "random(2..8#1)", "templateType": "randrange", "description": "", "group": "Ungrouped variables"}, "a3": {"name": "a3", "definition": "random(1..4#1)", "templateType": "randrange", "description": "", "group": "Ungrouped variables"}}, "tags": [], "preamble": {"css": "", "js": ""}, "contributors": [{"profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/", "name": "Frank Doheny"}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Chain rule

"}, "rulesets": {}, "ungrouped_variables": ["a1", "a2", "a3", "a4"], "variable_groups": []}], "pickingStrategy": "all-ordered"}], "contributors": [{"profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/", "name": "Frank Doheny"}]}