// Numbas version: exam_results_page_options {"name": "Luis'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": [{"tags": ["algebraic manipulation", "calculus", "Calculus", "checked2015", "derivatives", "derivatives ", "differentiate a product", "differentiate polynomials", "differentiation", "elementary differentiation", "mas1601", "MAS1601", "polynomials", "product rule", "steps", "Steps"], "statement": "

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

", "name": "Luis's copy of Differentiation: Product rule", "metadata": {"notes": "\n \t\t

31/07/2012:

\n \t\t

Added tags.

\n \t\t

Added description.

\n \t\t

Steps problem to be addressed via an issue. Now resolved.

\n \t\t

Checked calculation.OK.

\n \t\t

Improved prompt display.

\n \t\t

Clicking on Show steps does not lose any marks.

\n \t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "

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

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

", "type": "information", "marks": 0, "scripts": {}, "showCorrectAnswer": true}]}], "variables": {"s1": {"definition": "random(1,-1)", "name": "s1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "m": {"definition": "random(3..9)", "name": "m", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "s1*random(1..9)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(2..9)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "n": {"definition": "random(3..9)", "name": "n", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "surdf": [{"result": "(sqrt(b)*a)/b", "pattern": "a/sqrt(b)"}]}, "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 ", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}