// Numbas version: finer_feedback_settings {"name": "Differentiating powers of x", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a0", "a1", "a2", "a3", "a4", "e1", "e2", "e3"], "name": "Differentiating powers of x", "tags": [], "advice": "

This question is essentially testing your learning of how to differentiate polynomials.

\n

a) the derivative of a constant by itself is always zero.

\n

b) the derivative of a constant multiplied by $x$ is always just that constant. Here this means $f'(x)=\\var{a1}$.

\n

c) the derivative of a sum is the sum of the individual terms' derivatives. This question has a sum made up of a constant and a constant multiple of $x$, so you use approach taken for a and b and then add the results. Here we have 

\n

\\[r'(t)=(\\var{a0})'+(\\var{a1}t)'=0+\\var{a1}=\\var{a1}\\]

\n

d) the derivative of a constant multiple of a power of the variable (here $t$) is the constant multiplied by the power, then multiplied by the variable to one power fewer. That is, 

\n

\\[s'(t)=(\\var{a2})(\\var{e3})t^{\\var{e3}-1}=\\simplify{{a2}{a3}t^({e3}-1)}.\\]

\n

e) combining the approach taken for all of the above allows you to differentiate the final polynomial. Find the derivative of each individual term, then add the results to give the derivative of the function as a whole.

\n

\\[\\frac{\\mathrm{d}y}{\\mathrm{d}x}=\\var{a1}+(\\var{e1})(\\var{a2})x^{\\var{e1}-1}+(\\var{e2})(\\var{a3})x^{\\var{e2}-1}=\\simplify{{a1}+{e1}{a2}x^({e1}-1)+{e2}{a3}x^({e2}-1)}\\]

", "rulesets": {}, "parts": [{"variableReplacements": [], "prompt": "

If $y=\\var{a0}$, then $\\displaystyle \\frac{\\mathrm{d}y}{\\mathrm{d}x}=$

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

For $f(x)=\\var{a1}x$, we can differentiate to obtain $f'(x)=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"variableReplacements": [], "prompt": "

The function $r(t)=\\simplify{{a0}+{a1}t}$ can be differentiated to give $r'(t)=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"variableReplacements": [], "prompt": "

The derivative of $s(t)=\\var{a2}t^\\var{e3}$ is $s'(t)=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a2}{e3}t^{e3-1}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"variableReplacements": [], "prompt": "

The derivative of the polynomial

\n

\\[y=\\simplify{{a0}+{a1}x+{a2}x^{e1}+{a3}x^{e2}}\\]

\n

is $\\displaystyle \\frac{\\mathrm{d}y}{\\mathrm{d}x}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1}+{e1}{a2}x^({e1}-1)+{e2}{a3}x^({e2}-1)", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "extensions": [], "statement": "

This question provides you with practice at developing your ability to apply rules for differentiating polynomials. You may wish to check out this video first as it will help you to attack these problems.

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a1": {"definition": "random(1..5)*random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a0": {"definition": "random(1..5)*random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a0", "description": ""}, "a3": {"definition": "random(1..5)*random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(1..5)*random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "a4": {"definition": "random(1..5)*random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a4", "description": ""}, "e1": {"definition": "random(2,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "e1", "description": ""}, "e3": {"definition": "random(6,7)", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "e2": {"definition": "random(4,5)", "templateType": "anything", "group": "Ungrouped variables", "name": "e2", "description": ""}}, "metadata": {"description": "

This question provides practice at differentiating polynomials.

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