// Numbas version: exam_results_page_options {"name": "Simon's copy of Finding the formula for the $n^{\\text{th}}$ term of linear sequences", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Given the first three terms of a sequence, give a formula for the $n^\\text{th}$ term.

\n

In the first sequence, $d$ is positive. In the second sequence, $d$ is negative.

", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"css": "", "js": ""}, "advice": "

Both of these sequences are linear, or arithmetic, sequences. To find formulas for these sequences we need to identify their first terms and common differences.

\n

a)

\n

The formula for the $n^\\text{th}$ term of an arithmetic sequence is

\n

\\[ a_n = a_1 + (n-1)d \\text{.} \\]

\n

$a_1$ is the first term and $d$ the common difference between consecutive terms, which we need to identify.

\n

We can find these by drawing up a table of $a_n$ against $n$, and the differences between consecutive terms.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$n$123
$a_n$$\\pmb{\\var{m[1]*2}}$$\\var{m[1]*3}$$\\var{m[1]*4}$
First differences$\\pmb{\\var{m[1]}}$$\\pmb{\\var{m[1]}}$
\n

The first term and common difference have been highlighted in bold; we can use these to write the formula for the sequence.

\n

\\begin{align}
a_n &= a_1+(n-1)d \\\\
&= \\var{m[1]*2}+(n-1)\\times\\var{m[1]} \\\\
&= \\var{m[1]}n + \\var{m[1]}\\text{.}
\\end{align}

\n

b)

\n

Similar to the part a), we can identify $a_1$ and $d$ for this sequence by drawing a table of $a_n$ against $n$.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$n$123
$a_n$$\\pmb{\\var{m[2]*8+2}}$$\\simplify{{m[2]}*7+2}$$\\simplify{{m[2]}*6+2}$
First differences$\\pmb{\\var{-m[2]}}$$\\pmb{\\var{-m[2]}}$
\n

The first term and common difference have been highlighted in bold; we can use these to form the formula for the sequence. 

\n

\\begin{align}
a_n &=a_1+(n-1)d \\\\
&=\\var{m[2]*8+2}+(n-1)\\times\\var{-m[2]} \\\\
&=-\\var{m[2]}n + \\var{m[2]*9+2}\\text{.}
\\end{align}

", "tags": [], "functions": {}, "parts": [{"sortAnswers": false, "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"failureRate": 1, "vsetRange": [0, 1], "marks": "3", "checkVariableNames": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "expectedVariableNames": [], "type": "jme", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showFeedbackIcon": true, "scripts": {}, "answer": "{m[1]}*n+{m[1]}", "checkingAccuracy": 0.001, "customMarkingAlgorithm": ""}], "type": "gapfill", "prompt": "

$\\var{m[1]*2}, \\var{m[1]*3}, \\var{m[1]*4}, \\ldots$

\n

$n^\\text{th}$ term = [[0]]

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "steps": [{"prompt": "

The formula for the $n^{\\text{th}}$ term of an arithmetic sequence is

\n

\\[a_n = a_1 + (n-1)d, \\]

\n

where

\n", "type": "information", "variableReplacementStrategy": "originalfirst", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true}, {"notationStyles": ["plain", "en", "si-en"], "marks": 1, "correctAnswerStyle": "plain", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "allowFractions": false, "type": "numberentry", "prompt": "

For this arithmetic sequence, what is $a_1$?

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "minValue": "{m[1]*2}", "maxValue": "{m[1]*2}", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst"}, {"notationStyles": ["plain", "en", "si-en"], "marks": 1, "correctAnswerStyle": "plain", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "allowFractions": false, "type": "numberentry", "prompt": "

What is $d$?

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "minValue": "{m[1]}", "maxValue": "{m[1]}", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst"}], "variableReplacementStrategy": "originalfirst"}, {"sortAnswers": false, "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"failureRate": 1, "vsetRange": [0, 1], "marks": "3", "checkVariableNames": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "expectedVariableNames": [], "type": "jme", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showFeedbackIcon": true, "scripts": {}, "answer": "-{m[2]}*n+{m[2]*9+2}", "checkingAccuracy": 0.001, "customMarkingAlgorithm": ""}], "type": "gapfill", "prompt": "

$\\var{m[2]*8+2}, \\var{m[2]*7+2}, \\var{m[2]*6+2}...$

\n

$n^\\text{th}$ term = [[0]]

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "steps": [{"prompt": "

The formula for the $n^{\\text{th}}$ term of an arithmetic sequence is

\n

\\[a_n = a_1 + (n-1)d, \\]

\n

where

\n", "type": "information", "variableReplacementStrategy": "originalfirst", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true}, {"notationStyles": ["plain", "en", "si-en"], "marks": 1, "correctAnswerStyle": "plain", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "allowFractions": false, "type": "numberentry", "prompt": "

For this arithmetic sequence, what is $a_1$?

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "minValue": "{m[2]*8+2}", "maxValue": "{m[2]*8+2}", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst"}, {"notationStyles": ["plain", "en", "si-en"], "marks": 1, "correctAnswerStyle": "plain", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "allowFractions": false, "type": "numberentry", "prompt": "

What is $d$?

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "minValue": "{-m[2]}", "maxValue": "{-m[2]}", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst"}], "variableReplacementStrategy": "originalfirst"}], "rulesets": {}, "ungrouped_variables": ["m", "n", "c", "ci", "ni", "b"], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"n": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(1..4),7)", "name": "n"}, "ni": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(19..40),10)", "name": "ni"}, "ci": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(6..20),10)", "name": "ci"}, "c": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(3..13 except[10]),8)", "name": "c"}, "m": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(2..10),5)", "name": "m"}, "b": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(2..4), 5)", "name": "b"}}, "name": "Simon's copy of Finding the formula for the $n^{\\text{th}}$ term of linear sequences", "variable_groups": [], "statement": "

A linear (or arithmetic) sequence is a series of numbers that either increases or decreases by a constant amount at each step.

\n

Find formulas for the $n^{\\text{th}}$ term for each of the following linear sequences, where the values for $n=1\\text{,}2\\text{,}3$ are given:

", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}