// Numbas version: exam_results_page_options {"name": "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": "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.

\n

Take the function:    $y=4x^2(5x^3+2)^4$

\n

First 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$

\n

We also know that, by the product rule:

\n

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

\n

Looking 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$

\n

So far, from the product rule, we have:

\n

$\\frac{dy}{dx}=(4x^2)\\frac{dv}{dx}+(5x^3+2)^4(8x)$

\n

\n

Looking at the expression for $v=(5x^3+2)^4$ we can see that finding $\\frac{dv}{dx}$, however, requires the chain rule.

\n

Our usual subsitution letter $u$ has already been assigned an expression in the product rule part. This time, we can use $t$.

\n

By the chain rule:

\n

$\\frac{dv}{dx}=\\frac{dv}{dt}\\times\\frac{dt}{dx}$

\n

Let $t=5x^3+2$

\n

This means that: $v=t^4\\;\\;\\;\\therefore\\;\\;\\;\\frac{dv}{dt}=4t^3$

\n

Also, $t=5x^3+2\\;\\;\\;\\therefore\\;\\;\\;\\frac{dt}{dx}=15x^2$

\n

It follows that: $\\frac{dv}{dx}=\\frac{dv}{dt}\\times\\frac{dt}{dx}=4t^3\\times15x^2=60x^2t^3$

\n

Subsituting back the original expression for $t$:

\n

$\\frac{dv}{dx}=60x^2(5x^3+2)^3$

\n

We 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)$

\n

This 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

\n

Finally:

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

\n

Simplify 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": "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/"}]}