// Numbas version: finer_feedback_settings {"name": "Product rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "name": "Product rule", "tags": ["Calculus", "Steps", "calculus", "differentiating a product", "differentiating trigonometric functions", "differentiation", "product rule", "steps", "trigonometric functions"], "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 = ({a} + {b} * x) ^ {m}}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {m * b} * ({a} + {b} * x) ^ {m -1}}\\]

\n \n \n \n

\\[\\simplify[std]{v = sin({n} * x)} \\Rightarrow \\simplify[std]{Diff(v,x,1) = {n} * cos({n} * x)}\\]

\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*b}({a} + {b} * x) ^ {m-1} * sin({n} * x)+{n}*({a} + {b} * x) ^ {m} * cos({n} * x)}\\]

\n \n \n ", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "surdf": [{"pattern": "a/sqrt(b)", "result": "(sqrt(b)*a)/b"}]}, "parts": [{"stepspenalty": 0.0, "prompt": "\n

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

\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 ", "gaps": [{"checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 3.0, "answer": "{m*b}({a} + {b} * x) ^ {m-1} * sin({n} * x)+{n}*({a} + {b} * x) ^ {m} * cos({n} * x)", "type": "jme"}], "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.0}], "marks": 0.0, "type": "gapfill"}], "extensions": [], "statement": "

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

", "variable_groups": [], "progress": "ready", "type": "question", "variables": {"a": {"definition": "random(1..4)", "name": "a"}, "s1": {"definition": "random(1,-1)", "name": "s1"}, "b": {"definition": "s1*random(1..5)", "name": "b"}, "m": {"definition": "random(2..8)", "name": "m"}, "n": {"definition": "random(2..6)", "name": "n"}}, "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. Now resolved.

\n \t\t

Checked calculation.OK.

\n \t\t

Improved prompt display.

\n \t\t

Clicking on Show steps not lose any marks.

\n \t\t", "description": "

Differentiate $ (a+bx) ^ {m} \\sin(nx)$

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}