// Numbas version: exam_results_page_options {"name": "Graphing: circles - recognising the equation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Graphing: circles - recognising the equation", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Recognising the equation of a circle.

"}, "showQuestionGroupNames": false, "extensions": [], "type": "question", "statement": "

Which of the following are equations of a circle?

", "variable_groups": [], "functions": {}, "variables": {"rs": {"templateType": "anything", "name": "rs", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(1..60),6)"}, "xmult": {"templateType": "anything", "name": "xmult", "group": "Ungrouped variables", "description": "", "definition": "random(1..12)"}, "ymult": {"templateType": "anything", "name": "ymult", "group": "Ungrouped variables", "description": "", "definition": "random(1..12 except xmult)"}, "bx": {"templateType": "anything", "name": "bx", "group": "Ungrouped variables", "description": "", "definition": "random(-6..6)"}, "ccy": {"templateType": "anything", "name": "ccy", "group": "Ungrouped variables", "description": "", "definition": "random(-12..12)"}, "ccx": {"templateType": "anything", "name": "ccx", "group": "Ungrouped variables", "description": "", "definition": "random(-12..12 except 0)"}, "by": {"templateType": "anything", "name": "by", "group": "Ungrouped variables", "description": "", "definition": "random(-6..6)"}, "ax": {"templateType": "anything", "name": "ax", "group": "Ungrouped variables", "description": "", "definition": "random(1..6)"}, "ay": {"templateType": "anything", "name": "ay", "group": "Ungrouped variables", "description": "", "definition": "random(1..6 except ax)"}}, "advice": "

The standard form equation of a circle is $(x-a)^2+(y-b)^2=r^2$. It represents a circle of radius $r$ with centre $(a,b)$.

\n

If an equation is written in the form $cx^2+dx+ey^2+fy+g=0$, where $c,d,e,f,g$ are numbers, it could be a circle, but it might be something else (for example, an ellipse, a hyperbola, or even an empty graph). If the coefficients of $x^2$ and $y^2$ are the same then the equation is of a circle. These values being the same allow us to divide by that coefficient and start completing the square to get the equation in to the standard form of a circle. 

", "tags": ["circles", "graphing"], "parts": [{"distractors": ["", "", "This is the equation of two vertical parallel lines", "This is the equation of an ellipse", "", "This is the equation of an ellipse", "This is the equation of a hyperbola"], "matrix": ["1", "1", 0, 0, "1", 0, 0], "displayColumns": 0, "warningType": "none", "type": "m_n_2", "displayType": "checkbox", "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "minAnswers": 0, "choices": ["

$\\simplify[all]{(x-{ccx})^2+(y-{ccy})^2={rs[0]}}$

", "

$\\simplify[all]{x^2+(y-{ccy})^2={rs[1]}}$

", "

$\\simplify[all]{(x-{ccx})^2={rs[2]}}$

", "

$\\simplify[all]{{xmult}(x-{ccx})^2+{ymult}(y-{ccy})^2={rs[3]}}$

", "

$\\simplify[all]{{ax}x^2+{bx}x+{ax}y^2+{by}y={rs[4]}}$

", "

$\\simplify[all]{{ax}x^2+{bx}x+{ay}y^2+{by}y={rs[5]}}$

", "

$\\simplify[all]{x^2+{bx}x-y^2+{by}y={rs[5]}}$

"], "maxAnswers": 0, "variableReplacements": [], "shuffleChoices": true, "minMarks": 0, "showCorrectAnswer": true, "scripts": {}, "marks": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "question_groups": [{"pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered", "questions": []}], "rulesets": {}, "ungrouped_variables": ["rs", "ccx", "ccy", "xmult", "ymult", "ax", "bx", "ay", "by"], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}