// Numbas version: finer_feedback_settings {"name": "Musa's copy of 3 Differentiation - Product Rule (Basic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Musa's copy of 3 Differentiation - Product Rule (Basic)", "tags": [], "metadata": {"description": "
Introduction to using the product rule
", "licence": "Creative Commons Attribution 4.0 International"}, "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}}$
", "rulesets": {}, "extensions": [], "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "repeat(random(2..6),10)", "description": "", "templateType": "anything"}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(-9..9 except 0 except c[0])", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "repeat(random(-9..9 except 0),11)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "\n", "maxRuns": "187"}, "ungrouped_variables": ["c", "p", "c1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "$\\simplify{(x+{c[0]})(x+{c1})}$
", "answer": "2x+{c1}+{c[0]}", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "$\\simplify{({c[2]}x+{c[3]})({c[4]}x+{c[5]})}$
", "answer": "({c[2]}{c[4]}*2x)+({c[3]}{c[4]}+{c[2]}{c[5]})", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "x", "value": ""}]}], "type": "question", "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}