// Numbas version: finer_feedback_settings {"name": "Andrew's copy of CF Maths Portfolio - Differentiation 12 - Product Rule (with Chain Rule)", "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"], "name": "Andrew's copy of CF Maths Portfolio - Differentiation 12 - Product Rule (with Chain Rule)", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Patience and careful substitution is all that is necessary to differentiate these types of functions.
\nTake the function: $y=4x^2(5x^3+2)^4$
\nFirst label the two separate parts which would be differentiated with the product rule, namely:
\n$u=4x^2\\;\\;\\;\\text{and}\\;\\;\\;v=(5x^3+2)^4$
\nWe also know that, by the product rule:
\n$\\frac{dy}{dx}=u\\frac{dv}{dx}+v\\frac{du}{dx}$
\nLooking at the substitution for $u$, the derivate can be easily found with the power rule:
\n$\\frac{du}{dx}=(4\\times2)x^{2-1}=8x^1=8x$
\nSo far, from the product rule, we have:
\n$\\frac{dy}{dx}=(4x^2)\\frac{dv}{dx}+(5x^3+2)^4(8x)$
\n\nLooking at the expression for $v=(5x^3+2)^4$ we can see that finding $\\frac{dv}{dx}$, however, requires the chain rule.
\nOur usual subsitution letter $u$ has already been assigned an expression in the product rule part. This time, we can use $t$.
\nBy the chain rule:
\n$\\frac{dv}{dx}=\\frac{dv}{dt}\\times\\frac{dt}{dx}$
\nLet $t=5x^3+2$
\nThis means that: $v=t^4\\;\\;\\;\\therefore\\;\\;\\;\\frac{dv}{dt}=4t^3$
\nAlso, $t=5x^3+2\\;\\;\\;\\therefore\\;\\;\\;\\frac{dt}{dx}=15x^2$
\nIt follows that: $\\frac{dv}{dx}=\\frac{dv}{dt}\\times\\frac{dt}{dx}=4t^3\\times15x^2=60x^2t^3$
\nSubsituting back the original expression for $t$:
\n$\\frac{dv}{dx}=60x^2(5x^3+2)^3$
\nWe can now input our expression for $\\frac{dv}{dx}$ into the original product rule section.
\n\n$\\frac{dy}{dx}=(4x^2)\\frac{dv}{dx}+(5x^3+2)^4(8x)\\;\\;\\;\\therefore\\;\\;\\;\\frac{dy}{dx}=(4x^2)(60x^2(5x^3+2)^3)+(5x^3+2)^4(8x)$
\nThis is simplified further:
\n$\\frac{dy}{dx}=240x^4(5x^3+2)^3+8x(5x^3+2)^4=8x(5x^3+2)^3\\left(30x^3+(5x^3+2)\\right)$
\n\nFinally:
\n$\\frac{dy}{dx}=8x(5x^3+2)^3(35x^3+2)$
\n\n", "rulesets": {}, "parts": [{"vsetrangepoints": 5, "prompt": "$\\simplify{{c[1]}x^3({c[2]}x+{c[3]})^{p[1]}}$
", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "3{c[1]}x^2*({c[2]}x+{c[3]})^{p[1]}+{p[1]}{c[2]}{c[1]}x^3*({c[2]}x+{c[3]})^({p[1]}-1)", "marks": "2", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "$\\simplify{{c[4]}x^{p[2]}({c[5]}x^2+{c[6]})^{p[3]}}$
", "expectedvariablenames": ["x"], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "{p[2]}{c[4]}x^({p[2]}-1)*({c[5]}x^2+{c[6]})^{p[3]}+2{p[3]}{c[4]}{c[5]}x^({p[2]}+1)*({c[5]}x^2+{c[6]})^({p[3]}-1)", "marks": "2", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "extensions": [], "statement": "Differentiate the following expressions with respect to $x$ using the both product rule and the chain rule.
\nSimplify your answers as much as possible.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"p": {"definition": "repeat(random(2..6),10)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "c": {"definition": "repeat(random(-9..9 except 0),13)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}}, "metadata": {"description": "Using the chain rule within product rule problems.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Andrew Dunbar", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/770/"}]}]}], "contributors": [{"name": "Andrew Dunbar", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/770/"}]}