// Numbas version: exam_results_page_options {"name": "Katy's copy of Product rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Katy's copy of Product rule", "metadata": {"description": "

Product rule

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "

\\(y=x^{\\var{a}} \\times (\\var{c}x + \\var{b})^{\\var{d}}\\)

\n

Recall the product rule if \\(y=u \\times v\\) where \\(u\\) and \\(v\\) are both functions of \\(x\\) then

\n

\\(\\frac{dy}{dx}=v \\times \\frac{du}{dx}+u \\times \\frac{dv}{dx}\\)

\n

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

\n

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

\n

Substituting into \\(\\frac{dy}{dx}=v \\times \\frac{du}{dx}+u \\times \\frac{dv}{dx}\\) gives

\n

\\(\\frac{dy}{dx}=(\\var{c}x + \\var{b})^{\\var{d}} \\times \\var{a}x^\\var{a-1} +  x^\\var{a} \\times \\var{c}\\var{d}(\\var{c}x + \\var{b})^{\\var{d-1}}\\)

\n

Which tidies up to \\(\\frac{dy}{dx}=\\var{a}x^\\var{a-1}(\\var{c}x + \\var{b})^{\\var{d}}  + \\var{c}\\var{d}x^\\var{a}(\\var{c}x + \\var{b})^{\\var{d-1}}\\)

\n

", "tags": [], "parts": [{"extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "type": "gapfill", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "prompt": "

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

", "gaps": [{"extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "type": "jme", "showPreview": true, "failureRate": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "marks": "3", "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "checkVariableNames": false, "checkingType": "absdiff", "vsetRangePoints": 5, "answer": "{a}x^{a-1}({c}x+{b})^{d} + {c}{d}x^{a}({c}x + {b})^{d-1}", "checkingAccuracy": 0.001, "vsetRange": [0, 1], "unitTests": []}], "sortAnswers": false, "unitTests": []}], "statement": "

Differentiate the following using the product rule:

\n

\\(y=x^{\\var{a}} \\times (\\var{c}x + \\var{b})^{\\var{d}}\\)

", "variables": {"a": {"description": "", "name": "a", "group": "Ungrouped variables", "definition": "random(2..9#1)", "templateType": "randrange"}, "c": {"description": "", "name": "c", "group": "Ungrouped variables", "definition": "random(2..12#1)", "templateType": "randrange"}, "b": {"description": "", "name": "b", "group": "Ungrouped variables", "definition": "random(2..5#1)", "templateType": "randrange"}, "d": {"description": "", "name": "d", "group": "Ungrouped variables", "definition": "random(3..9#1)", "templateType": "randrange"}, "a5": {"description": "", "name": "a5", "group": "Ungrouped variables", "definition": "random(4..15#1)", "templateType": "randrange"}}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "ungrouped_variables": ["a", "b", "c", "d", "a5"], "rulesets": {}, "type": "question", "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/"}]}]}], "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/"}]}