// Numbas version: finer_feedback_settings {"name": "Differentiation: Implicit Differentiation 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Differentiation: Implicit Differentiation 3", "tags": [], "metadata": {"description": "

Calculating $\\frac{dy}{dx}$ from an implicit polynomial function.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

If \\[ \\simplify{x^{n}y-x*y^{m}={a}}, \\]

\n

find $\\tfrac{dy}{dx}$.

", "advice": "

As we have an equation involving the variables $x$ and $y$, but cannot rearrange the equation into the form $y=f(x)$, we need to use implicit differentiation to find $\\tfrac{dy}{dx}$. 

\n

Differentiating $\\simplify{x^{n}y-x*y^{m}={a}}$ with respect to $x$:

\n

\\[ \\simplify[all,!simplifyFractions]{{n}x^{n-1}y+x^{n} (d*y/(d*x))-y^{m}-{m}x*y^{m-1}}\\frac{dy}{dx} = 0.\\]

\n

Rearranging this equation so that it is in terms of $\\tfrac{dy}{dx}$:

\n

\\[ \\begin{split} \\simplify{x^{n} (d*y/(d*x))-{m}x*y^{m-1}}\\frac{dy}{dx} &\\,= \\simplify{y^{m}-{n}x^{n-1}y} \\\\\\\\ \\big(\\simplify{x^{n} -{m}x*y^{m-1}}\\big)\\frac{dy}{dx} &\\,= \\simplify{y^{m}-{n}x^{n-1}y} \\\\\\\\ \\frac{dy}{dx} &\\,= \\frac{\\simplify{y^{m}-{n}x^{n-1}y}}{\\simplify{x^{n} -{m}x*y^{m-1}}}. \\end{split} \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "m", "n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "

$\\dfrac{dy}{dx}=$[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Gap 0", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "(y^{m}-{n}*x^{n-1}*y)/(x^{n}-{m}*x*y^{m-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": ""}, {"name": "y", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}