// Numbas version: exam_results_page_options {"name": "Differentiation 11 - Product Rule (Basic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["c", "p", "c1"], "name": "Differentiation 11 - Product Rule (Basic)", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

These questions use the product rule.

\n

The product rule is defined as

\n

$\\frac{dy}{dx}=v\\frac{du}{dx}+u\\frac{dv}{dx}$

\n

when $y=uv$

\n

Worked example using Part a:

\n

$y=\\simplify{(x+{c[0]})(x+{c1})}$

\n

This expression is the result of two products; $(\\simplify{x+{c[0]}})$ and $(\\simplify{x+{c1}})$.

\n

We can therefore say:

\n

$u=(\\simplify{x+{c[0]}})$

\n

and

\n

$v=(\\simplify{x+{c1}})$,

\n

Hence meaning that $y=uv$.

\n

\n

We 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.

\n

Differentiating with respect to $x$, we get:

\n

$\\frac{du}{dx}=1$

\n

and

\n

$\\frac{dv}{dx}=1$.

\n

As 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.

\n

Substituting in all the results we've found, we get:

\n

$\\frac{dy}{dx}=1(\\simplify{x+{c1}})+1(\\simplify{x+{c[0]}})$

\n

We then simplify, collecting all the terms, to get our final answer of:

\n

$\\frac{dy}{dx}=\\simplify{2x+{c[0]}+{c1}}$

", "rulesets": {}, "parts": [{"vsetrangepoints": 5, "prompt": "

$\\simplify{(x+{c[0]})(x+{c1})}$

", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "2x+{c1}+{c[0]}", "marks": "2", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

$\\simplify{({c[2]}x+{c[3]})({c[4]}x+{c[5]})}$

", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "({c[2]}{c[4]}*2x)+({c[3]}{c[4]}+{c[2]}{c[5]})", "marks": "2", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

$\\simplify{(x^2+{c[6]})({c[7]}x+{c[8]})}$

", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "({c[7]}*3x^2)+(2{c[8]}x)+({c[7]}{c[6]})", "marks": "2", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

$\\simplify{(x^2+{c[9]})(x^3+{c[10]})}$

", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "5x^4+3{c[9]}x^2+2{c[10]}x", "marks": "2", "checkvariablenames": true, "checkingtype": "absdiff", "type": "jme"}], "statement": "

Differentiate the following expressions with respect to $x$ using the product rule. When typing $a()$, type $a*()$.

\n

Simplify your answers as much as possible.

", "variable_groups": [], "variablesTest": {"maxRuns": "187", "condition": "\n"}, "variables": {"p": {"definition": "repeat(random(2..6),10)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "c": {"definition": "repeat(random(-9..9 except 0),11)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "c1": {"definition": "random(-9..9 except 0 except c[0])", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}}, "metadata": {"notes": "", "description": "

Introduction to using the product rule

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