// Numbas version: exam_results_page_options {"name": "Series: ratio test", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["seed", "percent", "limit", "a", "d", "coeff", "b", "c", "f", "g", "h", "alt", "cseed", "cexpression", "ratio_con_to_zero", "ratio_con_to_less_than_one", "ratio_con_to_one", "ratio_con_to_big", "ratio_div_to_inf", "start"], "extensions": [], "functions": {}, "rulesets": {}, "tags": [], "advice": "

The ratio test says, given a series $\\sum_{k=a}^\\infty t_k$

\n\n

Notice, if the limit doesn't exist for some other reason or is equal to $1$ the test doesn't tell us anything, some might say the test is 'inconclusive' or 'fails'. 

\n

\n

a) 

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=\\frac{\\var{percent}}{100}<1$ the ratio test tells us that the series converges.

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=\\frac{\\var{percent}}{100}>1$ the ratio test tells us that the series diverges.

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=1$ the ratio test doesn't tell us anything.

\n

\n

b)

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=\\var[fractionNumbers]{limit}<1$ the ratio test tells us that the series converges.

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=\\var[fractionNumbers]{limit}>1$ the ratio test tells us that the series diverges.

\n

Since $\\lim_{k\\rightarrow\\infty}\\left|\\frac{t_{k+1}}{t_k}\\right|=1$ the ratio test doesn't tell us anything.

\n

\n

c)

\n

To use the ratio test we need to determine the value that the absolute value of the ratio of consecutive terms converge to. 

\n

Given $t_k=${cexpression} we use algebra and limit laws to determine

\n

\\[\\lim_{k\\rightarrow\\infty}\\frac{t_{k+1}}{t_k}=0\\]

\n

\\[\\lim_{k\\rightarrow\\infty}\\frac{t_{k+1}}{t_k}=\\simplify[fractionNumbers]{{1/a}}\\]

\n

\\[\\lim_{k\\rightarrow\\infty}\\frac{t_{k+1}}{t_k}=1\\]

\n

\\[\\lim_{k\\rightarrow\\infty}\\frac{t_{k+1}}{t_k}=\\var{a}\\]

\n

\n

and therefore by the ratio test the series converges.

\n

and therefore by the ratio test the series diverges. 

\n

and therefore the ratio test doesn't tell us anything.

\n

", "preamble": {"css": "", "js": ""}, "variable_groups": [], "name": "Series: ratio test", "parts": [{"distractors": ["", "", ""], "scripts": {}, "prompt": "

A series is such that as we get further and further along the sequence, each term has an absolute value that approaches $\\var{percent}\\%$ of the absolute value of the previous term. What does the ratio test tell us about this series?

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "marks": 0, "shuffleChoices": false, "minMarks": 0, "displayColumns": 0, "choices": ["

This series converges.

", "

This series diverges.

", "

It doesn't tell us anything.

"], "variableReplacements": [], "showCorrectAnswer": true, "displayType": "dropdownlist", "type": "1_n_2", "matrix": ["if(seed=-1,1,0)", "if(seed=1,1,0)", "if(seed=0,1,0)"], "maxMarks": 0}, {"distractors": ["", "", ""], "scripts": {}, "prompt": "

A series, $\\displaystyle\\sum_{k=\\var{start}}^\\infty t_k$, is such that $\\displaystyle\\lim_{k\\rightarrow \\infty}\\left\\vert\\frac{t_{k+1}}{t_k}\\right\\vert $ $=\\var[fractionNumbers]{limit}$. What does the ratio test tell us about this series?

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "marks": 0, "shuffleChoices": false, "minMarks": 0, "displayColumns": 0, "choices": ["

This series converges.

", "

This series diverges.

", "

It doesn't tell us anything.

"], "variableReplacements": [], "showCorrectAnswer": true, "displayType": "dropdownlist", "type": "1_n_2", "matrix": ["if(seed=1,1,0)", "if(seed=0,1,0)", "if(seed=-1,1,0)"], "maxMarks": 0}, {"distractors": ["", "", ""], "scripts": {}, "prompt": "

Given the series

\n

$\\displaystyle\\sum_{k=\\var{start}}^\\infty$ {cexpression}

\n

What does the ratio test tell us about this series?

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "marks": 0, "shuffleChoices": false, "minMarks": 0, "displayColumns": 0, "choices": ["

This series converges.

", "

This series diverges.

", "

It doesn't tell us anything.

"], "variableReplacements": [], "showCorrectAnswer": true, "displayType": "dropdownlist", "type": "1_n_2", "matrix": ["if(cseed=0 or cseed=0.5,1,0)", "if(cseed=2,1,0)", "if(cseed=1,1,0)"], "maxMarks": 0}], "variables": {"cseed": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "cseed", "definition": "random(0,0.5,1,1,2,2)"}, "d": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "d", "definition": "random(-12..12 except [0,a,-a])"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b", "definition": "coeff[0]"}, "g": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "g", "definition": "coeff[3]"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "a", "definition": "random(2..12)"}, "ratio_con_to_big": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "ratio_con_to_big", "definition": "if(alt=1,\n[\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}^(k+1))}\\$\",//ratio converges to a \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}^(k+2))*k!/(k+{a})!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}^k)*({a}k+{b})/({d}k^2+{f}k+{g})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}^(k+1))*({a}k^2+{b}k+{c})/({d}k^3+{f}k^2+{g}k+{h})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k*({a}^(k+2))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}^k*(k+{a})!/(k!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}^(k+1)*({d}k^2+{f}k+{g})/({a}k+{b})}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}^(k+2)*({d}k^3+{f}k^2+{g}k+{h})/({a}k^2+{b}k+{c})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}^k)*arctan(k)}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}^(k+1)*({a}k+{b})/({d}k+{f})}\\$\"\n]\n,\n[\n\"\\$\\\\displaystyle\\\\simplify{({a}^(k+1))}\\$\",//ratio converges to a \n\"\\$\\\\displaystyle\\\\simplify{({a}^(k+2)*k!)/(k+{a})!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}^k)*({a}k+{b})/({d}k^2+{f}k+{g})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}^(k+1))*({a}k^2+{b}k+{c})/({d}k^3+{f}k^2+{g}k+{h})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{k*({a}^(k+2))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{{a}^k*(k+{a})!/(k!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{{a}^(k+1)*({d}k^2+{f}k+{g})/({a}k+{b})}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{{a}^(k+2)*({d}k^3+{f}k^2+{g}k+{h})/({a}k^2+{b}k+{c})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}^k)*arctan(k)}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{{a}^(k+1)*({a}k+{b})/({d}k+{f})}\\$\"\n])"}, "limit": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "limit", "definition": "if(seed=1,random(1/9,1/8,1/7,1/5,1/4,1/3,1/2,1/10,1/100),if(seed=0,random(10/9,11/8,8/7,7/5,5/4,4/3,5/2,2,17/10,102/100),1))"}, "alt": {"group": "Ungrouped variables", "templateType": "anything", "description": "

1 for alternating sign, 0 for not alternating sign

", "name": "alt", "definition": "random(0,1)"}, "ratio_con_to_less_than_one": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "ratio_con_to_less_than_one", "definition": "if(alt=1,\n[\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k/({a}^k)}\\$\",//ratio converges to 1/a \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k!/({a}^(k+1)*(k+{a})!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}k+{b})/({a}^(k+2)*({d}k^2+{f}k+{g}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}k^2+{b}k+{c})/({a}^k*({d}k^3+{f}k^2+{g}k+{h}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k/({a}^(k+1)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*(k+{a})!/({a}^(k+2)*k!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({d}k^2+{f}k+{g})/({a}^k*({a}k+{b}))}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({d}k^3+{f}k^2+{g}k+{h})/({a}^(k+1)*({a}k^2+{b}k+{c}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*arctan(k)/({a}^(k+2))}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}k+{b})/({a}^k*({d}k+{f}))}\\$\"\n]\n,\n[\n\"\\$\\\\displaystyle\\\\simplify{1/({a}^k)}\\$\",//ratio converges to 1/a \n\"\\$\\\\displaystyle\\\\simplify{k!/({a}^(k+1)*(k+{a})!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}k+{b})/({a}^(k+2)*({d}k^2+{f}k+{g}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}k^2+{b}k+{c})/({a}^k*({d}k^3+{f}k^2+{g}k+{h}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{k/({a}^(k+1))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(k+{a})!/({a}^(k+2)*k!)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({d}k^2+{f}k+{g})/({a}^k*({a}k+{b}))}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{({d}k^3+{f}k^2+{g}k+{h})/({a}^(k+1)*({a}k^2+{b}k+{c}))}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{arctan(k)/({a}^(k+2))}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{({a}k+{b})/({a}^k*({d}k+{f}))}\\$\"\n])"}, "coeff": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "coeff", "definition": "shuffle(list(-12..12) +0+0+0+0+0+0+0+0+0+0+0+0)[0..5]"}, "ratio_div_to_inf": {"group": "Ungrouped variables", "templateType": "anything", "description": "

I have omitted these but you might like to use them, it depends on what your course notes say about the ratio test...

", "name": "ratio_div_to_inf", "definition": "if(alt=1,\n[\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k!/{a}}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k!/{a}^k}\\$\"\n],\n [\n\"\\$\\\\displaystyle\\\\simplify{k!/{a}}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{k!/{a}^k}\\$\"\n])"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "c", "definition": "coeff[1]"}, "start": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "start", "definition": "random(0..5)"}, "seed": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "seed", "definition": "random(-1,0,1)"}, "ratio_con_to_zero": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "ratio_con_to_zero", "definition": "if(alt=1,\n[\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k/(k+1)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}/k!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}^k/k!}\\$\"\n],\n [\n\"\\$\\\\displaystyle\\\\simplify{1/(k+1)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{{a}/k!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{{a}^k/k!}\\$\"\n])"}, "cexpression": {"group": "Ungrouped variables", "templateType": "anything", "description": "

random(0,0.5,1,2)

", "name": "cexpression", "definition": "if(cseed=0,random(ratio_con_to_zero),\nif(cseed=0.5,random(ratio_con_to_less_than_one),\nif(cseed=1,random(ratio_con_to_one),\n random(ratio_con_to_big))))\n"}, "percent": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "percent", "definition": "if(seed=-1,random(1..99), if(seed=0,100, random(101..200)))"}, "ratio_con_to_one": {"group": "Ungrouped variables", "templateType": "anything", "description": "

These have ratios that converge to 1 and so the ratio test is inconclusive

", "name": "ratio_con_to_one", "definition": "if(alt=1,\n[\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k!/(k+{a})!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}k+{b})/({d}k^2+{f}k+{g})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({a}k^2+{b}k+{c})/({d}k^3+{f}k^2+{g}k+{h})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*k}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*(k+{a})!/k!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({d}k^2+{f}k+{g})/({a}k+{b})}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*({d}k^3+{f}k^2+{g}k+{h})/({a}k^2+{b}k+{c})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}*arctan(k)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(-1)^k*{a}}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{(-1)^k}\\$\"\n]\n,\n[\n\"\\$\\\\displaystyle\\\\simplify{k!/(k+{a})!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}k+{b})/({d}k^2+{f}k+{g})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}k^2+{b}k+{c})/({d}k^3+{f}k^2+{g}k+{h})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{k}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{(k+{a})!/k!}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({d}k^2+{f}k+{g})/({a}k+{b})}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{({d}k^3+{f}k^2+{g}k+{h})/({a}k^2+{b}k+{c})}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{*{a}*arctan(k)}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{{a}}\\$\", \n\"\\$\\\\displaystyle\\\\simplify{1}\\$\",\n\"\\$\\\\displaystyle\\\\simplify{({a}k+{b})/({d}k+{f})}\\$\"\n])"}, "f": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "f", "definition": "coeff[2]"}, "h": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "h", "definition": "coeff[4]"}}, "metadata": {"description": "

Test whether a student knows the ratio test of a series, and how to use it. Series include those that the ratio test is inconclusive for. This question could be better in that it could go through the working of determining the limit but I hope to make a separate question which deals with that.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

This question is about the ratio test for series.

", "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/"}]}