// Numbas version: exam_results_page_options {"name": "Harry's copy of Adrian'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": [{"name": "Harry's copy of Adrian's copy of Differentiation: Product rule", "rulesets": {"surdf": [{"result": "(sqrt(b)*a)/b", "pattern": "a/sqrt(b)"}], "std": ["all", "!collectNumbers", "fractionNumbers"]}, "ungrouped_variables": ["a", "s1", "b", "m", "n"], "functions": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "s1*random(1..9)", "description": ""}, "m": {"name": "m", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(3..9)", "description": ""}, "s1": {"name": "s1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,-1)", "description": ""}, "n": {"name": "n", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(3..9)", "description": ""}}, "preamble": {"js": "", "css": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

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

", "variable_groups": [], "extensions": [], "parts": [{"variableReplacementStrategy": "originalfirst", "type": "gapfill", "gaps": [{"checkvariablenames": false, "showFeedbackIcon": true, "checkingaccuracy": 0.001, "expectedvariablenames": [], "type": "jme", "vsetrangepoints": 5, "showCorrectAnswer": true, "checkingtype": "absdiff", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "answersimplification": "std", "vsetrange": [0, 1], "showpreview": true, "marks": "2", "answer": "{m}x ^ {m-1} * ({a} * x+{b})^{n}+{n*a}x^{m} * ({a} * x+{b})^{n-1}", "scripts": {}}], "scripts": {}, "showFeedbackIcon": true, "marks": 0, "stepsPenalty": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "type": "information", "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "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)}\\]

", "marks": 0, "variableReplacements": []}], "prompt": "\n

$\\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.

\n ", "showCorrectAnswer": true, "variableReplacements": []}], "tags": [], "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 ", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "type": "question", "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}