// Numbas version: exam_results_page_options {"name": "Heather's copy of Differentiation : Product Rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "variables": {"b": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "s1*random(1..9)", "name": "b"}, "m": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..9)", "name": "m"}, "n": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..9)", "name": "n"}, "s1": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "name": "s1"}, "a": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "name": "a"}}, "name": "Heather's copy of Differentiation : Product Rule", "advice": "\n \n \n

The product rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u * v,x,1) = u * Diff(v,x,1) + v * Diff(u,x,1)}\\]

\n \n \n \n

For this example:

\n \n \n \n

\\[\\simplify[std]{u = x ^ {m}}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {m}x ^ {m -1}}\\]

\n \n \n \n

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

\n \n \n \n

Hence on substituting into the product rule above we get:

\n \n \n \n

\\[\\simplify[std]{Diff(f,x,1) = {m}x ^ {m-1} * ({a} * x+{b})^{n}+{n*a}x^{m} * ({a} * x+{b})^{n-1}}\\]

\n \n \n ", "statement": "

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

", "variable_groups": [], "metadata": {"description": "

Differentiate $f(x) = x^m(a x+b)^n$.

", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"showCorrectAnswer": true, "marks": 0, "customMarkingAlgorithm": "", "scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"showCorrectAnswer": true, "marks": "2", "customMarkingAlgorithm": "", "failureRate": 1, "showPreview": true, "scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "checkingAccuracy": 0.001, "checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "answerSimplification": "std", "vsetRange": [0, 1], "expectedVariableNames": [], "showFeedbackIcon": true, "answer": "{m}x ^ {m-1} * ({a} * x+{b})^{n}+{n*a}x^{m} * ({a} * x+{b})^{n-1}", "variableReplacementStrategy": "originalfirst", "unitTests": [], "checkingType": "absdiff"}], "steps": [{"showCorrectAnswer": true, "type": "information", "customMarkingAlgorithm": "", "marks": 0, "scripts": {}, "prompt": "

The product rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u * v,x,1) = u * Diff(v,x,1) + v * Diff(u,x,1)}\\]

", "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true}], "type": "gapfill", "unitTests": [], "sortAnswers": false, "stepsPenalty": 0, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\displaystyle \\simplify[std]{f(x) = x ^ {m} * ({a} * x+{b})^{n}}$

\n

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

\n

Clicking on Show steps gives you more information, you will not lose any marks by doing so.

"}], "ungrouped_variables": ["a", "s1", "b", "m", "n"], "preamble": {"js": "", "css": ""}, "functions": {}, "extensions": [], "rulesets": {"surdf": [{"pattern": "a/sqrt(b)", "result": "(sqrt(b)*a)/b"}], "std": ["all", "!collectNumbers", "fractionNumbers"]}, "type": "question", "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}, {"name": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}, {"name": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}]}