// Numbas version: exam_results_page_options {"name": "Graphing exponentials of the form y=b^x with 0The $y$-intercept of $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ is the point $\\large($[[0]], [[1]]$\\large)$.

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

Another easily found point on the curve is ${\\large(}1,$ [[0]]$\\large)$.

", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "matrix": [0, 0, 0, 0, "1", 0], "marks": 0, "shuffleChoices": true, "minMarks": 0, "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["

increases by 1.

", "

decreases by 1.

", "

increases by $\\simplify[fractionNumbers]{{b}}$. 

", "

decreases by $\\simplify[fractionNumbers]{{b}}$.

", "

is multiplied by $\\simplify[fractionNumbers]{{b}}$.

", "

is divided by $\\simplify[fractionNumbers]{{b}}$.

"], "scripts": {}, "showCorrectAnswer": true, "distractors": ["", "", "", "", "", ""], "displayType": "radiogroup", "displayColumns": "1"}], "prompt": "

Given $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$, everytime $x$ increases by 1, $y$  [[0]].

", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "matrix": ["0", "1"], "marks": 0, "shuffleChoices": false, "minMarks": 0, "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["

exponential growth

", "

exponential decay

"], "prompt": "

Would $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ best be described as exponential decay or exponential growth?

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

The horizontal asymptote of $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ is $y=$ [[0]].

", "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": []}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "matrix": ["1", 0, 0, 0], "marks": 0, "shuffleChoices": true, "minMarks": 0, "showFeedbackIcon": true, "variableReplacements": [], "maxMarks": 0, "choices": ["

{graph1(1)}

", "

{graph1(2)}

", "

{graph1(3)}

", "

{graph1(4)}

"], "prompt": "

Which graph best represents $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$?

", "scripts": {}, "showCorrectAnswer": true, "distractors": ["", "", "", ""], "displayType": "radiogroup", "displayColumns": "2"}], "functions": {"graph1": {"type": "html", "language": "javascript", "parameters": [["quad", "number"]], "definition": "var div = Numbas.extensions.jsxgraph.makeBoard('300px','300px',{boundingBox:[-12,12,12,-12],grid:true,axis:false});\nvar board = div.board;\n\n// create the x-axis.\nvar xaxis = board.create('line',[[0,0],[1,0]], { strokeColor: 'black', fixed: true});\nvar xticks = board.create('ticks',[xaxis,2],{\n drawLabels: true,\n label: {offset: [-4, -10]},\n minorTicks: 0\n});\n\n// create the y-axis\nvar yaxis = board.create('line',[[0,0],[0,1]], { strokeColor: 'black', fixed: true });\nvar yticks = board.create('ticks',[yaxis,2],{\ndrawLabels: true,\nlabel: {offset: [-20, 0]},\nminorTicks: 0\n});\n\nb = Numbas.jme.unwrapValue(scope.variables.b);\n\n\n\nif(quad==1){board.create('functiongraph',[function(x){ return Math.pow(b,x)}],{strokeWidth:2});}\nif(quad==2){board.create('functiongraph',[function(x){ return Math.pow(1/b,x)}],{strokeWidth:2});}\nif(quad==3){board.create('functiongraph',[function(x){ return -Math.pow(1/b,x)}],{strokeWidth:2});}\nif(quad==4){board.create('functiongraph',[function(x){ return -Math.pow(b,x)}],{strokeWidth:2});}\n\nreturn div;"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "variable_groups": [], "statement": "

The following questions will gauge your understanding of exponentials and how to graph them. 

\n

The exponential you will be working with for this question is \\[y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x.\\]

", "metadata": {"description": "

Graphing exponentials with a base between 0 and 1 and no transformations take place.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "rulesets": {}, "name": "Graphing exponentials of the form y=b^x with 0Note: if we so desire we can rewrite this exponential with a negative index since $\\left(\\simplify[fractionNumbers]{{b}}\\right)^x=\\left(\\simplify[fractionNumbers]{{1/b}}\\right)^{-x}$.

\n

a) To find the $y$-intercept, substitute $x=0$ into the equation: $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^0=1$. Therefore, the $y$-intercept is the point $(0,1)$.

\n

b) Substitute $x=1$ into the equation: $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^1=\\simplify[fractionNumbers]{{b}}$. Therefore, another easily found point is $\\left(0,\\simplify[fractionNumbers]{{b}}\\right)$.

\n

c) Let's investigate what happens to the value of $y$ when we add 1 to the value of $x$:

\n

\\[\\left(\\simplify[fractionNumbers]{{b}}\\right)^{x+1}=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x\\left(\\simplify[fractionNumbers]{{b}}\\right)^1=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x\\left(\\simplify[fractionNumbers]{{b}}\\right)\\]  That is, the old $y$ value is multiplied by $\\simplify[fractionNumbers]{{b}}$ (which actually decreases the $y$ value since $\\simplify[fractionNumbers]{{b}}<1$).

\n

d) Since $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ is an exponential and as $x$ increases $y$ decreases to 0, we call this exponential decay.

\n

e) An asymptote is a line or curve that approaches a given curve arbitrarily closely. For the curve $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ the larger $x$ gets, the closer $y$ gets to $0$. In other words as $x$ approaches infinity, $y$ approaches $0$. This means that the asymptote for $y=\\left(\\simplify[fractionNumbers]{{b}}\\right)^x$ is the line $y=0$ (the $x$-axis).

\n

f) Given all the information above, it should be clear that the graph should look like 

\n

{graph1(1)}

", "ungrouped_variables": ["b"], "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/"}]}