// Numbas version: exam_results_page_options {"name": "Power Rule 03", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Power Rule 03", "tags": [], "metadata": {"description": "

Simple application of \"Power Rule\" to differentiate polynomials.

\n

Some co-efficients and powers are non-integer and some may be negative.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

The Power Rule

\n

You can find the derivative for powers of functions using the following rule:

\n

If   \\( y=ax^n \\)  then   \\( \\frac{dy}{dx} = n \\times a x^{n-1} \\) 

\n

The Sum or Difference Rules

\n

The derivative of   \\( f(x) + g(x) \\)  is  \\(  \\frac{df}{dx} + \\frac{dg}{dx} \\)          and          the derivative of   \\( f(x) - g(x) \\)  is  \\(  \\frac{df}{dx} - \\frac{dg}{dx} \\)

\n

", "advice": "

We are asked to differentiate a variety of functions, each consisting of a single term.

\n

We can do this using the \"Power Rule\" for differentiation:

\n

If   \\( y=ax^n \\)  then   \\( \\frac{dy}{dx} = n \\times a x^{n-1} \\)

\n

In plain language, \"multiply by the power, then reduce the power by one\".

\n

The \"Sum or Difference Rules\" also tell us that, as long as the terms are either added or subtracted, we can differentiate the function term by term.

\n

Then:

\n

a)

\n

\\( y= \\var{a1} x^{\\var{n1}} + \\var{a2} x^{\\var{n2}} +\\var{a3} \\)

\n

\\( \\frac{dy}{dx } =\\var{n1} \\times \\var{a1} x^{\\var{n1} - 1} + \\var{n2} \\times \\var{a2} x^{\\var{n2}-1}                  \\)

\n

The constant term  ( \\( \\var{a3} \\) )  can be seen as  \\( \\var{a3}x^0 \\) so will differentiate to \\( 0 \\times \\var{a3} x^{0-1} \\) which, of course equals zero. 

\n

\\( \\frac{dy}{dx } = \\simplify{ {n1}*{a1}*x^({n1}-1) + {n2}*{a2}*x^({n2}-1) } \\)

\n

\n

b)

\n

\\( \\simplify{y= {b1} x^{{m1}} + {b2} x^{{m2}}+{b3}x^{{m3}}+{b4} }  \\)

\n

\\( \\frac{dy}{dx } = \\var{m1} \\times \\var{b1} x^{\\var{m1} - 1} +\\var{m2} \\times \\var{b2} x^{\\var{m2} - 1}+\\var{m3} \\times \\var{b3} x^{\\var{m3} - 1}\\)

\n

The constant term  ( \\( \\var{b4} \\) )  can be seen as  \\( \\var{b4}x^0 \\) so will differentiate to \\( 0 \\times \\var{b4} x^{0-1} \\) which, of course equals zero. 

\n

\\( \\frac{dy}{dx } =\\simplify{  {m1}*{b1}*x^({m1}-1) + {m2}*{b2}*x^({m2}-1)+ {m3}*{b3}*x^({m3}-1)  } \\)

\n

\n

c)

\n

\\( \\simplify{y= {c1} x^{{p1}} + {c2} x^{{p2}} } \\)

\n

rem \\( \\frac{dy}{dx } = \\var{p1} \\times \\var{c1} x^{\\var{p1} - 1}  +\\var[fractionNumbers]{p2} \\times \\var{c2} x^{\\var[fractionNumbers]{p2} - 1}                \\)

\n

\\( \\frac{dy}{dx } = \\simplify{{p1}*{c1}*x^{{p1}-1} + {p2}*{c2}*x^{{p2}-1} } \\)

\n

 

\n

 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"p2": {"name": "p2", "group": "Question C", "definition": "random(fractional_powers )", "description": "", "templateType": "anything", "can_override": false}, "fractional_powers": {"name": "fractional_powers", "group": "Question C", "definition": "[ 1/2, -1/2, 3/2, -3/2, 1/3, -1/3, 2/3, -2/3, 1/4, -1/4, 3/4, -3/4 ]", "description": "

List to allow random selection of fractional powers

", "templateType": "list of numbers", "can_override": false}, "a1": {"name": "a1", "group": "Question A", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "n1": {"name": "n1", "group": "Question A", "definition": "random(3..6)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Question A", "definition": "random(3..9 except a1 )", "description": "", "templateType": "anything", "can_override": false}, "n2": {"name": "n2", "group": "Question A", "definition": "n1 - 1", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Question A", "definition": "random(3..9 except a1 except a2)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Question B", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "m1": {"name": "m1", "group": "Question B", "definition": "random(3..6)", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "Question B", "definition": "random(-9..9 except b1 except 0 )", "description": "", "templateType": "anything", "can_override": false}, "m2": {"name": "m2", "group": "Question B", "definition": "m1 - 1", "description": "", "templateType": "anything", "can_override": false}, "b3": {"name": "b3", "group": "Question B", "definition": "random(-9..9 except b1 except b2 except 0 )", "description": "", "templateType": "anything", "can_override": false}, "m3": {"name": "m3", "group": "Question B", "definition": "m2-1", "description": "", "templateType": "anything", "can_override": false}, "b4": {"name": "b4", "group": "Question B", "definition": "random(-9..9 except b1 except b2 except b3 except 0 )", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Question C", "definition": "random(2 .. 6#1)", "description": "", "templateType": "randrange", "can_override": false}, "p1": {"name": "p1", "group": "Question C", "definition": "random(-5..5 except 0 except 1)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Question C", "definition": "random(-9..9 except 0 except 1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Question A", "variables": ["a1", "n1", "a2", "n2", "a3"]}, {"name": "Question B", "variables": ["b1", "m1", "b2", "m2", "b3", "m3", "b4"]}, {"name": "Question C", "variables": ["c1", "p1", "c2", "p2", "fractional_powers"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Differentiate the following:

"}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

\\( y= \\var{a1} x^{\\var{n1}} + \\var{a2} x^{\\var{n2}} +\\var{a3} \\)

\n

\\( \\frac{dy}{dx } = \\)  [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{n1}*{a1}*x^({n1}-1) + {n2}*{a2}*x^({n2}-1)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$ \\simplify{y= {b1} x^{{m1}} + {b2} x^{{m2}}+{b3}x^{{m3}}+{b4} }  $

\n

\\( \\frac{dy}{dx } = \\) [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{m1}*{b1}*x^({m1}-1) + {m2}*{b2}*x^({m2}-1)+ {m3}*{b3}*x^({m3}-1)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$ \\simplify{y= {c1} x^{{p1}} + {c2} x^{{p2}} }  $

\n

\\( \\frac{dy}{dx } = \\)  [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{p1}*{c1}*x^({p1}-1) + {p2}*{c2}*x^({p2}-1)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}