// Numbas version: exam_results_page_options {"name": "Implicit 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "-random(1..9)", "description": "", "templateType": "anything"}}, "advice": "

On differentiating both sides of the equation implicitly we get
\\[2x + \\simplify[all,!collectNumbers]{2y*Diff(y,x,1) + {a} + {b} *Diff(y,x,1)} = 0\\]
Collecting terms in $\\displaystyle\\frac{dy}{dx}$ and rearranging the equation we get
\\[(\\var{b} + 2y) \\frac{dy}{dx} = \\simplify[all,!collectNumbers]{{ -a} -2x}\\] and hence on further rearranging:
\\[\\frac{dy}{dx} = \\simplify[all,!collectNumbers]{({ - a} - 2 * x) / ({b} + (2 * y))}\\]

", "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "name": "Implicit 1", "parts": [{"customMarkingAlgorithm": "", "useCustomName": false, "scripts": {}, "marks": 0, "variableReplacements": [], "gaps": [{"checkingType": "absdiff", "useCustomName": false, "answerSimplification": "all,!collectNumbers", "marks": 2, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}], "showPreview": true, "scripts": {}, "variableReplacements": [], "customName": "", "unitTests": [], "answer": "(({( - a)} + ( - (2 * x))) / ({b} + (2 * y)))", "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "customName": "", "sortAnswers": false, "prompt": "\n

Using implicit differentiation find $\\displaystyle \\frac{dy}{dx}$ in terms of $x$ and $y$.

\n

Input your answer here:

\n

$\\displaystyle \\frac{dy}{dx}= $ [[0]]

\n \n \n ", "unitTests": [], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showFeedbackIcon": true}], "rulesets": {}, "variable_groups": [], "statement": "

Given the following relation between $x$ and $y$
\\[\\simplify[all,!collectNumbers]{x^2+y^2+{a}x+{b}y}=\\var{c}\\]
answer the following question.

", "metadata": {"description": "\n \t\t \t\t \t\t

Implicit differentiation.

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

Given $x^2+y^2+ax+by=c$ find $\\displaystyle \\frac{dy}{dx}$ in terms of $x$ and $y$.

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

 

\n \t\t \t\t \n \t\t \n \t\t", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"css": "", "js": ""}, "functions": {}, "tags": [], "ungrouped_variables": ["c", "a", "b"], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}