// Numbas version: exam_results_page_options {"name": "Luis's copy of Chain rule - product of two functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["Calculus", "MAS1601", "algebraic manipulation", "chain rule", "checked2015", "derivative of the product of two functions", "differentiation", "product rule"], "statement": "

Differentiate the following function $f(x)$.

", "name": "Luis's copy of Chain rule - product of two functions", "metadata": {"notes": "\n\t\t

1/08/2012:

\n\t\t

Added tags.

\n\t\t

Added description.

\n\t\t

Checked calculation. OK.

\n\t\t

Added information about Show steps. Altered to 0 marks lost rather than 1.

\n\t\t

Got rid of a redundant ruleset.

\n\t\t

 

\n\t\t

 

\n\t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "

The derivative of $\\displaystyle x ^ {m}(ax^2+b)^{n}$ is of the form $\\displaystyle x^{m-1}(ax^2+b)^{n-1}g(x)$. Find $g(x)$.

"}, "ungrouped_variables": ["a", "s1", "b", "m", "n"], "parts": [{"prompt": "\n\t\t\t

$\\simplify[std]{f(x) = x ^ {m} * ({a} * x^2+{b})^{n}}$
The answer is in the form
\\[\\frac{df}{dx}=\\simplify[std]{x^{m-1}({a}x^2+{b})^{n-1}*g(x)}\\] for a polynomial $g(x)$.

\n\t\t\t

You have to find $g(x)$.

\n\t\t\t

$g(x)=\\;$[[0]]

\n\t\t\t

Click on Show steps for more information. You will not lose any marks by doing so.

\n\t\t\t", "type": "gapfill", "marks": 0, "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "showCorrectAnswer": true, "answer": "{m*a+2*a*n}*x^2+{m*b}", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "vsetrangepoints": 5, "type": "jme", "marks": 3, "checkingtype": "absdiff", "scripts": {}, "checkingaccuracy": 0.001, "showpreview": true}], "stepsPenalty": 0, "scripts": {}, "steps": [{"prompt": "

You should use the the product rule and the chain rule for this example.

", "type": "information", "marks": 0, "scripts": {}, "showCorrectAnswer": true}]}], "variables": {"s1": {"definition": "random(1,-1)", "name": "s1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "m": {"definition": "random(3..9)", "name": "m", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "s1*random(1..9)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(2..9)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "n": {"definition": "random(3..9)", "name": "n", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"]}, "advice": "\n\t \n\t \n\t

The product rule says that if $u$ and $v$ are functions of $x$ then
\\[\\simplify[std]{Diff(u * v,x,1) = u * Diff(v,x,1) + v * Diff(u,x,1)}\\]

\n\t \n\t \n\t \n\t

For this example:

\n\t \n\t \n\t \n\t

\\[\\simplify[std]{u = x ^ {m}}\\Rightarrow \\simplify[std]{Diff(u,x,1) = {m}x ^ {m -1}}\\]

\n\t \n\t \n\t \n\t

\\[\\simplify[std]{v = ({a} * x^2+{b})^{n}} \\Rightarrow \\simplify[std]{Diff(v,x,1) = {2*n*a}*x * ({a} * x^2+{b})^{n-1}}\\]

\n\t \n\t \n\t \n\t

For this last differentiation we used the chain rule.

\n\t \n\t \n\t \n\t

Hence on substituting into the product rule above we get:

\n\t \n\t \n\t \n\t

\\[\\begin{eqnarray*}\\frac{df}{dx} &=& \\simplify[std]{{m}x ^ {m-1} * ({a} * x^2+{b})^{n}+x^{m} *{2*n*a}*x* ({a} * x^2+{b})^{n-1}}\\\\\n\t \n\t &=& \\simplify[std]{{m}x ^ {m-1} * ({a} * x^2+{b})^{n}+{2*n*a}*x^{m+1}* ({a} * x^2+{b})^{n-1}}\\\\\n\t \n\t &=& \\simplify[std]{x ^ {m-1} * ({a} * x^2+{b})^{n-1}*({m}*({a}*x^2+{b})+{2*n*a}x^{2})} \\\\\n\t \n\t &=&\\simplify[std]{x ^ {m-1} * ({a} * x^2+{b})^{n-1}*({m*a+2*a*n}*x^2+{m*b})}\n\t \n\t \\end{eqnarray*}\\]

\n\t \n\t \n\t \n\t

Hence $\\simplify[std]{g(x)={m*a+2*a*n}*x^2+{m*b}}$

\n\t \n\t \n\t", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}