// Numbas version: exam_results_page_options {"name": "Right hyperbolas 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"css": "", "js": ""}, "variables": {"k": {"group": "Ungrouped variables", "name": "k", "description": "", "templateType": "anything", "definition": "random(-12..12 except 0)"}, "b": {"group": "Ungrouped variables", "name": "b", "description": "", "templateType": "anything", "definition": "random(-12..12 except [0, a])"}, "a": {"group": "Ungrouped variables", "name": "a", "description": "", "templateType": "anything", "definition": "random(-12..12 except 0)"}}, "name": "Right hyperbolas 2", "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "extensions": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Identifying some of the basic properties (intercepts, asymptotes, quadrants) of a right hyperbola except this time the equation will be written like y=(ax+b)/(cx+d)

"}, "rulesets": {}, "statement": "

You are given the equation  \\[\\simplify[all]{y=({b}x+{k-a*b})/(x-{a})}.\\]

", "functions": {}, "tags": [], "parts": [{"showFeedbackIcon": true, "marks": 0, "prompt": "

The graph of this equation has a vertical asymptote at $x=$ [[0]].

", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": 1, "maxValue": "{a}", "allowFractions": false, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "numberentry", "mustBeReduced": false, "minValue": "{a}", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}, {"showFeedbackIcon": true, "marks": 0, "prompt": "

The graph of this equation has a horizontal asymptote at $y=$ [[0]].

", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": 1, "maxValue": "{b}", "allowFractions": false, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "numberentry", "mustBeReduced": false, "minValue": "{b}", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}, {"matrix": ["if(k<0, 1, 0)", "if(k>0, 1, 0)", "if(k>0, 1, 0)", "if(k<0, 1, 0)"], "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "warningType": "none", "displayColumns": "2", "maxAnswers": 0, "maxMarks": 0, "distractors": ["", "", "", ""], "displayType": "checkbox", "minAnswers": 0, "prompt": "

The two asymptotes break the plane up into four parts: top right, top left, bottom left and bottom right.

\n

\n

The graph is in which of these parts of the plane?

", "scripts": {}, "shuffleChoices": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "m_n_2", "minMarks": 0, "choices": ["

top left        

", "

top right

", "

bottom left

", "

bottom right

"]}, {"showFeedbackIcon": true, "marks": 0, "prompt": "

The $y$-intercept is at $y=$[[0]].

", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": 1, "maxValue": "{b-k/a}", "allowFractions": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "numberentry", "mustBeReduced": false, "minValue": "{b-k/a}", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}, {"showFeedbackIcon": true, "marks": 0, "prompt": "

The $x$-intercept is at $x=$ [[0]].

\n

", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": 1, "maxValue": "{a-k/b}", "allowFractions": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "numberentry", "mustBeReduced": false, "minValue": "{a-k/b}", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}], "ungrouped_variables": ["k", "a", "b"], "advice": "

The vertical asymptote corresponds to the value of $x$ that results in attempting to divide by $0$. For the equation

\n

\\[\\simplify[all]{y=({b}x+{k-a*b})/(x-{a})}\\]

\n

This means the equation of the vertical asymptote is $x=\\var{a}$.

\n

The horizontal asymptote corresponds to the value of $y$ that results from $x$ approaching infinity. Let's look at two methods that determine this limit:

\n

Method 1 - Breaking up the fraction

\n

We can rewrite the numerator of $\\simplify[all]{({b}x+{k-a*b})/(x-{a})}$ so that it includes a multiple of the denominator as such:

\n

$\\begin{align}\\simplify[all]{({b}x+{k-a*b})/(x-{a})}&=\\simplify[all]{({b}(x-{a})+{k})/(x-{a})}\\\\&=\\simplify{({b}(x-{a}))/(x-{a})+{k}/(x-{a})}\\\\&=\\simplify{{b}+{k}/(x-{a})}\\end{align}$

\n

Now as $x$ gets very large $\\simplify{{k}/(x-{a})}$ gets very close to $0$ and so $y$ approaches $\\var{b}$.

\n

\n

Method 2 - Dividing by the dominant term

\n

Since $\\simplify{({b}x+{k-a*b})/(x-{a})}$ is a fraction be can rewrite it by dividing the numerator and denominator by the same value, in this case we will divide by $x$:

\n

$\\begin{align}\\simplify[all]{({b}x+{k-a*b})/(x-{a})}&=\\simplify[all]{({b}x/x+{k-a*b}/x)/(x/x-{a}/x)}\\\\&=\\simplify[all]{({b}+{k-a*b}/x)/(1-{a}/x)}\\end{align}$

\n

Now as $x$ gets very large both $\\simplify{{k-a*b}/x}$ and $\\simplify{{a}/x}$ gets very close to zero and so $y$ approaches $\\var{b}$.

\n

\n

This means the equation of the horizontal asymptote is $y=\\var{b}$.

\n

Notice that from Method 1 above we found that our equation can be written as $\\simplify[all]{y={b}+{k}/(x-{a})}$, and so we can see that $\\var{k}$ is multiplying the fraction $\\simplify[all]{1/(x-{a})}$. It is a general fact that because $\\var{k}$ is positive the graph will be in the top right and bottom left parts of the plane.  negative the graph will be in the top left and bottom right parts of the plane. We can see this as follows:

\n\n

To find the $y$-intercept, let $x=0$ and solve for $y$:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$y$$=$$\\simplify[!collectNumbers]{({b}0+{k-a*b})/(0-{a})}$
$=$$\\simplify[fractionNumbers]{{-k/a+b}}$
\n

To find the $x$-intercept, let $y=0$ and solve for $x$:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$0$$=$$\\simplify{({b}x+{k-a*b})/(x-{a})}$
$0$$=$$\\simplify{({b}x+{k-a*b})}$
$\\simplify{{-b}x}$$=$$\\var{k-a*b}$
$x$$=$$\\simplify[fractionNumbers]{{-k/b+a}}$
\n

", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}