// Numbas version: finer_feedback_settings {"name": " Product Rule (Basic)3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "statement": "
Differentiate the following expressions with respect to $x$ using the product rule.
\nSimplify your answers as much as possible.
", "advice": "These questions use the product rule.
\nThe product rule is defined as
\n$\\frac{dy}{dx}=v\\frac{du}{dx}+u\\frac{dv}{dx}$
\nwhen $y=uv$
\nWorked example using Part a:
\n$y=\\simplify{(x+{c[0]})(x+{c1})}$
\nThis expression is the result of two products; $(\\simplify{x+{c[0]}})$ and $(\\simplify{x+{c1}})$.
\nWe can therefore say:
\n$u=(\\simplify{x+{c[0]}})$
\nand
\n$v=(\\simplify{x+{c1}})$,
\nHence meaning that $y=uv$.
\n\nWe already have what $u$ and $v$ equal, so all we have to do is find what $\\frac{du}{dx}$ and $\\frac{dv}{dx}$ are, and then substitute everything into the rule.
\nDifferentiating with respect to $x$, we get:
\n$\\frac{du}{dx}=1$
\nand
\n$\\frac{dv}{dx}=1$.
\nAs there are no powers or coefficients of $x$ that are $>1$, this is a very simple version of the product rule, but knowing how to work out this equation formally will make more difficult looking problems just as simple.
\nSubstituting in all the results we've found, we get:
\n$\\frac{dy}{dx}=1(\\simplify{x+{c1}})+1(\\simplify{x+{c[0]}})$
\nWe then simplify, collecting all the terms, to get our final answer of:
\n$\\frac{dy}{dx}=\\simplify{2x+{c[0]}+{c1}}$
", "variable_groups": [], "variables": {"c": {"name": "c", "templateType": "anything", "description": "", "definition": "repeat(random(-9..9 except 0),11)", "group": "Ungrouped variables"}, "c1": {"name": "c1", "templateType": "anything", "description": "", "definition": "random(-9..9 except 0 except c[0])", "group": "Ungrouped variables"}, "p": {"name": "p", "templateType": "anything", "description": "", "definition": "repeat(random(2..6),10)", "group": "Ungrouped variables"}}, "tags": [], "ungrouped_variables": ["c", "p", "c1"], "parts": [{"marks": "3", "vsetrange": [0, 1], "showCorrectAnswer": false, "checkingaccuracy": 0.001, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "answersimplification": "all", "showFeedbackIcon": true, "answer": "({c[7]}*3x^2)+(2{c[8]}x)+({c[7]}{c[6]})", "type": "jme", "scripts": {}, "checkingtype": "absdiff", "vsetrangepoints": 5, "showpreview": true, "expectedvariablenames": ["x"], "prompt": "$\\simplify{(x^2+{c[6]})({c[7]}x+{c[8]})}$
"}, {"marks": "3", "vsetrange": [0, 1], "showCorrectAnswer": false, "checkingaccuracy": 0.001, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "checkvariablenames": true, "answersimplification": "all", "showFeedbackIcon": true, "answer": "5x^4+3{c[9]}x^2+2{c[10]}x", "type": "jme", "scripts": {}, "checkingtype": "absdiff", "vsetrangepoints": 5, "showpreview": true, "expectedvariablenames": ["x"], "prompt": "$\\simplify{(x^2+{c[9]})(x^3+{c[10]})}$
"}], "preamble": {"js": "", "css": ""}, "rulesets": {}, "name": " Product Rule (Basic)3", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Introduction to using the product rule
"}, "variablesTest": {"condition": "\n", "maxRuns": "187"}, "extensions": [], "type": "question", "contributors": [{"name": "Milena Venkova", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2169/"}]}]}], "contributors": [{"name": "Milena Venkova", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2169/"}]}