// Numbas version: exam_results_page_options {"name": "Find fixed points of each of two dynamical systems", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"ans3a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(if (additional,sqrt(c3/d3),0),3)", "description": "", "name": "ans3a"}, "ans3b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(if (additional,sqrt(a3/b3),0),3)", "description": "", "name": "ans3b"}, "anyxorxeq0": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (disc=0,\"any $x$\",\"$x=0$\")", "description": "", "name": "anyxorxeq0"}, "disc": {"templateType": "anything", "group": "Ungrouped variables", "definition": "b2*c2-a2*d2", "description": "", "name": "disc"}, "additional": {"templateType": "anything", "group": "Ungrouped variables", "definition": "a3/b3>0 and c3/d3>0", "description": "", "name": "additional"}, "b1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b1"}, "fixedpoints": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (additional,\n \"which are both greater than $0$, so there are five fixed points\",\n \"both of which are not greater than $0$, so there is one fixed point\"\n )", "description": "", "name": "fixedpoints"}, "a1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a1"}, "b2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b2"}, "b3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b3"}, "tol": {"templateType": "anything", "group": "Ungrouped variables", "definition": "0.001", "description": "", "name": "tol"}, "c2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "c2"}, "d2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "d2"}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "c1"}, "d3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "d3"}, "a3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "a3"}, "todp": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (additional,\" to 3d.p.\",\".\")", "description": "", "name": "todp"}, "c3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "c3"}, "a2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a2"}, "d1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "d1"}, "w2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (disc=0,1,0)", "description": "", "name": "w2"}}, "ungrouped_variables": ["anyxorxeq0", "todp", "fixedpoints", "additional", "ans3a", "ans3b", "b2", "a1", "a3", "disc", "w2", "tol", "b3", "c3", "c2", "c1", "d1", "d2", "d3", "a2", "b1"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Find fixed points of each of two dynamical systems", "functions": {}, "showQuestionGroupNames": false, "parts": [{"scripts": {}, "gaps": [{"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"message": "

Do not enter decimals in your answer.

", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"message": "

Do not enter decimals in your answer.

", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "{c1}/{d1}", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"message": "

Do not enter decimals in your answer.

", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "all", "marks": 1, "vsetrangepoints": 5}, {"answer": "{a1}/{b1}", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"message": "

Do not enter decimals in your answer.

", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "all", "marks": 1, "vsetrangepoints": 5}], "type": "gapfill", "prompt": "

\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a1}-{b1}*y}),\\\\\\dot{y}&=y(\\simplify[std]{{c1}-{d1}*x}).\\end{align}\\]

\n

There are two fixed points.  Enter the fixed point with the smallest $x$-component in the first set of boxes.  Do not enter decimals in your answers.

\n

Fixed point 1: $\\boldsymbol{x}_0=($[[0]]$,$[[1]]$)^\\mathsf{T}$.

\n

Fixed point 2: $\\boldsymbol{x}_0=($[[2]]$,$[[3]]$)^\\mathsf{T}$.

", "showCorrectAnswer": true, "marks": 0}, {"scripts": {}, "gaps": [{"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans3a+tol", "minValue": "ans3a-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans3b+tol", "minValue": "ans3b-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}], "type": "gapfill", "prompt": "

\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a3}-{b3}*y^2}),\\\\\\dot{y}&=y(\\simplify[std]{{c3}-{d3}*x^2}).\\end{align}\\]

\n

One fixed point always exists; enter it in the first set of boxes.

\n

Fixed point 1: $\\boldsymbol{x}_0=($[[0]]$,$[[1]]$)^\\mathsf{T}$.

\n

Four additional fixed points can exist, depending on the coefficients in the system.  For this particular set of coefficients, decide whether these additional fixed points exist.  If they do, enter $x_0$ and $y_0$ in the boxes below.  If no additional fixed points exist, enter the value $0$ for both components.

\n

Additional fixed points: $\\boldsymbol{x}_0=(\\pm$[[2]]$,\\pm$[[3]]$)^\\mathsf{T}$.  (Enter your answers to 3d.p.)

", "showCorrectAnswer": true, "marks": 0}], "statement": "

Find the fixed points $\\boldsymbol{x}_0=\\pmatrix{x_0,y_0}^\\mathsf{T}$ of the following two-dimensional dynamical systems $\\dot{\\boldsymbol{x}}=\\boldsymbol{f}(\\boldsymbol{x})$, where $\\boldsymbol{x}=\\pmatrix{x,y}^\\mathsf{T}$.

", "tags": ["checked2015", "MAS2106"], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "

Fixed points of 2D dynamical systems.

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "

The fixed points of a dynamical system

\n

\\[\\begin{align}\\dot{x}&=f(x,y),\\\\\\dot{y}&=g(x,y),\\end{align}\\]

\n

are given by $\\dot{x}=0$ and $\\dot{y}=0$, i.e. when $f(x,y)=0$ and $g(x,y)=0$.

\n

a)

\n

We have

\n

\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a1}-{b1}*y}),\\\\\\dot{y}&=y(\\simplify[std]{{c1}-{d1}*x}).\\end{align}\\]

\n

For $\\dot{x}=0$, either $x=0$ or $y=\\simplify{{a1}/{b1}}$.

\n

If $x=0$ then $\\dot{y}=0$ requires that $y=0$.

\n

If $y=\\simplify{{a1}/{b1}}$, then $\\dot{y}=0$ requires $x=\\simplify{{c1}/{d1}}$.

\n

Hence, there are two fixed points $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ and $\\boldsymbol{x}_0=\\pmatrix{\\simplify{{c1}/{d1}},\\simplify{{a1}/{b1}}}^\\mathsf{T}$.

\n

\n

b)

\n

We have

\n

\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a3}-{b3}*y^2}),\\\\\\dot{y}&=y(\\simplify[std]{{c3}-{d3}*x^2}).\\end{align}\\]

\n

To begin with, write the system in the general form

\n

\\[\\begin{align}\\dot{x}&=x(a-by^2),\\\\\\dot{y}&=y(c-dx^2).\\end{align}\\]

\n

It is clear that $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ is always a fixed point.

\n

For $\\dot{x}=0$, then $x\\ne 0\\implies y=\\pm\\sqrt{\\frac{a}{b}}$, which is possible only if $\\frac{a}{b}>0$.

\n

Assuming this is true, then $\\dot{y}=0$ requires $x=\\pm\\sqrt{\\frac{c}{d}}$, which is possible only if $\\frac{c}{d}>0$.

\n

If this is also true, then there are four additional fixed points $\\boldsymbol{x}_0=\\pmatrix{\\pm\\sqrt{\\frac{c}{d}},\\pm\\sqrt{\\frac{a}{b}}}^\\mathsf{T}$.

\n

In this case $\\frac{a}{b}=\\simplify{{a3}/{b3}}$ and $\\frac{c}{d}=\\simplify{{c3}/{d3}}$, {fixedpoints}.

\n

The answers in the boxes should therefore be $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ and $\\boldsymbol{x}_0=\\pmatrix{\\pm\\var{ans3a},\\pm\\var{ans3b}}^\\mathsf{T}${todp}

", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}