Docsity

Sequences & Recurrence Relations: Recursive Formulas & Solved Examples – Study Notes, Summaries of Mathematics

Toggle sidebar
bg1
Sequences&RecurrenceRelations
RecursiveFormulas&SolvedExamples—StudyNotes
1. IntroductiontoSequences
Meaning:a sequence is an ordered list of numbers following a rule, where each number is called a term.
Ordermatters—changingtheordergivesadifferentsequence.
Terms,positionandnotation:eachtermhasa position(1st,2nd,3rd,…),writtenasa subscript.Thegeneral
termiswrittenaₙ(read"asubn"),wherenistheposition;a₁isthefirstterm,a₂thesecond,andsoon.
Finitevsinfinite: afinite sequencehasa fixednumber oftermsand ends(e.g. 2,4,6,8).Aninfinite sequence
continuesforever,shownwith"…"(e.g.2,4,6,8,…).
Explicitvsrecursivedefinitions:an explicitformulagivesaₙdirectlyin termsofn(e.g.aₙ=2n). Arecursive
formulagiveseachtermintermsofthepreviousterm(s),plusastartingvalue(e.g.a₁=2,aₙ=aₙ₋₁+2).
Finding terms from a formula: substitute the position number n into theexplicit formula to get that term
directly—noneedtoknowearlierterms.
Identifying patterns: look at consecutive terms — a constant difference suggests an arithmetic pattern; a
constantratiosuggestsageometricpattern;anythingelseneedscloserinspection.
Example1—FindingTermsfromanExplicit
Formula
Givenaₙ=3n+2,findthefirst5terms.
a₁=3(1)+2=5, a₂=3(2)+2=8, a₃=3(3)+2=11, a₄=14,
a₅=17
Sequence:5,8,11,14,17
Example2—ExplicitFormulawithaSquare
Term
Givenaₙ=n²−1,findthefirst4terms.
a₁=1²−1=0,a₂=2²−1=3,a₃=3²−1=8,a₄=4²−1=15
Sequence:0,3,8,15
Example3—IdentifyingaPatternandWritinganExplicitFormula
Findaformulaforaₙgiventhesequence:2,5,8,11,14,…
Commondifference= 3(constant→ arithmeticpattern).First terma₁=2.General term:aₙ= a₁+(n−1)d =2
+(n−1)(3)=3n−1
aₙ=3n−1.Check:a₁=3(1)−1=2✓,a₄=3(4)−1=11✓
TermsandTheirPositions(Example1'sSequence)
a₁=5
n=1 →a₂=8
n=2 →a₃=11
n=3 →a₄=14
n=4 →a₅=17
n=5
ComparisonTable—ExplicitvsRecursiveFormula
Feature ExplicitFormula RecursiveFormula
Definition aₙintermsofnonly aₙintermsofpreviousterm(s)+starting
value
Example aₙ=3n−1 a₁=2,aₙ=aₙ₋₁+3
Findingadistantterm
(e.g.a₁₀₀)
Fast—substituten=100directly Slow—mustcomputeeverytermuptoit
Needsearlierterms? No Yes—alwaysneedspreviousterm(s)
Note:somesequencesstartata₀insteadofa₁—alwayscheckwhichstartingindexaproblemuses,sinceitshiftsevery
term'spositionbyone.Also,anexplicitformulaletsyoujumpstraighttoanyterm:usingExample1'sformula,a₂₀=
3(20)+2=62,withnoneedtocomputea₆througha₁₉first.
Sequences&RecurrenceRelations—StudyNotes Page1of5
pf3
pf4
pf5

Partial preview of the text

Download Sequences & Recurrence Relations: Recursive Formulas & Solved Examples – Study Notes and more Summaries Mathematics in PDF only on Docsity!

Sequences & Recurrence Relations

Recursive Formulas & Solved Examples — Study Notes

1. Introduction to Sequences

Meaning: a sequence is an ordered list of numbers following a rule, where each number is called a term. Order matters — changing the order gives a different sequence. Terms, position and notation: each term has a position (1st, 2nd, 3rd, …), written as a subscript. The general term is written aₙ (read "a sub n"), where n is the position; a₁ is the first term, a₂ the second, and so on. Finite vs infinite: a finite sequence has a fixed number of terms and ends (e.g. 2,4,6,8). An infinite sequence continues forever, shown with "…" (e.g. 2,4,6,8,…). Explicit vs recursive definitions: an explicit formula gives aₙ directly in terms of n (e.g. aₙ=2n). A recursive formula gives each term in terms of the previous term(s) , plus a starting value (e.g. a₁=2, aₙ=aₙ₋₁+2). Finding terms from a formula: substitute the position number n into the explicit formula to get that term directly — no need to know earlier terms. Identifying patterns: look at consecutive terms — a constant difference suggests an arithmetic pattern; a constant ratio suggests a geometric pattern; anything else needs closer inspection. Example 1 — Finding Terms from an Explicit Formula Given aₙ = 3n + 2, find the first 5 terms. a₁=3(1)+2=5, a₂=3(2)+2=8, a₃=3(3)+2=11, a₄=14, a₅= Sequence: 5, 8, 11, 14, 17 Example 2 — Explicit Formula with a Square Term Given aₙ = n² − 1, find the first 4 terms. a₁=1²−1=0, a₂=2²−1=3, a₃=3²−1=8, a₄=4²−1= Sequence: 0, 3, 8, 15 Example 3 — Identifying a Pattern and Writing an Explicit Formula Find a formula for aₙ given the sequence: 2, 5, 8, 11, 14, … Common difference = 3 (constant → arithmetic pattern). First term a₁=2. General term: aₙ = a₁ + (n−1)d = 2

  • (n−1)(3) = 3n − 1 aₙ = 3n − 1. Check: a₁=3(1)−1=2 ✓, a₄=3(4)−1=11 ✓ Terms and Their Positions (Example 1's Sequence) a₁ = 5 n = 1 →^ a₂ = 8 n = 2 →^ a₃ = 11 n = 3 →^ a₄ = 14 n = 4 →^ a₅ = 17 n = 5 Comparison Table — Explicit vs Recursive Formula Feature Explicit Formula Recursive Formula Definition aₙ in terms of n only aₙ in terms of previous term(s) + starting value Example aₙ = 3n − 1 a₁=2, aₙ=aₙ₋₁+ Finding a distant term (e.g. a₁₀₀) Fast — substitute n=100 directly Slow — must compute every term up to it Needs earlier terms? No Yes — always needs previous term(s) Note: some sequences start at a₀ instead of a₁ — always check which starting index a problem uses, since it shifts every term's position by one. Also, an explicit formula lets you jump straight to any term: using Example 1's formula, a₂₀ = 3(20)+2 = 62, with no need to compute a₆ through a₁₉ first.

2. Recursive Formulas

Meaning of a recurrence relation: a rule that defines each term using one or more previous terms , together with one or more initial conditions (starting values) that anchor the sequence. Initial conditions: without a starting value (e.g. a₁ = 5), a recursive rule alone cannot generate a unique sequence — the same rule with a different a₁ produces a completely different sequence. First-order recurrence relations define aₙ using only the immediately previous term, aₙ₋₁ (not aₙ₋₂ or earlier). Most introductory recurrence relations are first-order. Finding successive terms: start from the initial condition and substitute repeatedly, one position at a time — you cannot skip ahead without computing every term in between. Writing a recursive rule from a sequence: find the pattern between consecutive terms (a constant difference or ratio, or another operation), then express it as aₙ in terms of aₙ₋₁, together with the first term. Arithmetic and geometric sequences are the simplest recurrence relations: arithmetic adds a constant difference d each time (aₙ=aₙ₋₁+d); geometric multiplies by a constant ratio r each time (aₙ=r·aₙ₋₁). Example 4 — Arithmetic Recurrence (Finding Terms) a₁=3, aₙ=aₙ₋₁+4 for n≥2. Find the first 5 terms. a₂=3+4=7, a₃=7+4=11, a₄=11+4=15, a₅=15+4= Sequence: 3, 7, 11, 15, 19 Example 5 — Geometric Recurrence (Finding Terms) a₁=2, aₙ=3aₙ₋₁ for n≥2. Find the first 5 terms. a₂=3(2)=6, a₃=3(6)=18, a₄=3(18)=54, a₅=3(54)= Sequence: 2, 6, 18, 54, 162 Example 6 — Writing a Recursive Rule (Arithmetic) Find a recursive formula for: 5, 9, 13, 17, 21, … Differences: 9−5=4, 13−9=4, 17−13=4 → constant difference d=4. Recursive rule: a₁=5, aₙ=aₙ₋₁+4 for n≥ Example 7 — Writing a Recursive Rule (Geometric) Find a recursive formula for: 4, 12, 36, 108, … Ratios: 12/4=3, 36/12=3, 108/36=3 → constant ratio r=3. Recursive rule: a₁=4, aₙ=3aₙ₋₁ for n≥2. Explicit check: aₙ=4·3ⁿ⁻¹, a₄=4(27)=108 ✓ Step-by-Step Recurrence-Solving Method

  1. Write down the initial condition(s) given (e.g. a₁ = …).
  2. Write down the recurrence rule that relates aₙ to aₙ₋₁ (and any other earlier terms).
  3. Substitute n=2 into the rule using a₁ to find a₂.
  4. Substitute n=3 using a₂ to find a₃, and continue term by term.
  5. Stop once you reach the term the question asks for — never skip a step.
  6. If asked, look for a pattern in the terms to write an explicit formula, then verify it against the recursive terms. Recursive vs Explicit — Quick Comparison Situation Recursive Formula Explicit Formula Need the very next term only Fast — one substitution Also fast, but needs the formula known Need the 50th term Slow — 49 substitutions Fast — one substitution Modelling step-by-step change (growth, savings) Very natural fit Requires deriving it first Visualising the Recurrence Process (Example 4) a₁ = 3 +4→ a₂ = 7 +4→ a₃ = 11 +4→ a₄ = 15 +4→ a₅ = 19 Each term is generated by applying the same operation (+4) to the term before it — this is the essence of a recurrence relation.

4. Applications & Problem-Solving

Population growth models: if a population grows by a fixed percentage each period, model it as Pₙ = (1+rate)·Pₙ₋₁ — a geometric-type recurrence. Compound growth/decay & savings: compound interest follows the same pattern: Aₙ = (1+rate)·Aₙ₋₁, since each period's amount is a fixed percentage more (or less) than the period before. Checking a recursive rule: substitute the proposed rule term-by-term against every given value in the sequence — a rule that matches only the first few terms may still be wrong further along. Finding missing terms / unknown constants: if part of the recurrence (like d or r) is unknown, use two known terms to set up and solve an equation for it, then use the completed rule to find any other term. Method-Selection Guide Situation Best approach Fixed % growth/decay per period Geometric-type recurrence: Pₙ = (1+rate)·Pₙ₋₁ Fixed amount added/removed per period Arithmetic-type recurrence: aₙ = aₙ₋₁ + d Testing if a rule fits given data Check the rule against every given term, in order An unknown constant in the rule Use two known terms to form and solve an equation Example 12 — Population Growth Model A town's population starts at P₀=500 and grows 8% per year: Pₙ=1.08Pₙ₋₁. Find P₁, P₂, P₃. P₁=1.08(500)=540. P₂=1.08(540)=583.2. P₃=1.08(583.2)=629. P₁=540, P₂=583.2, P₃≈629. Example 13 — Investment / Compound Interest A₀=$1000 invested at 5% annual interest: Aₙ=1.05Aₙ₋₁. Find A₁, A₂, A₃. A₁=1050, A₂=1102.5, A₃=1157.625. Explicit check: Aₙ=1000(1.05)ⁿ, A₃=1000(1.05)³=1157. A₁=$1050, A₂=$1102.50, A₃=$1157. Example 14 — Checking Whether a Rule Is Correct Does a₁=3, aₙ=aₙ₋₁+4 correctly generate 3, 7, 11, 16? Check: a₁=3 ✓. a₂=3+4=7 ✓. a₃=7+4=11 ✓. a₄=11+4= 15 , but the given term is 16. The rule is not correct for the whole sequence — it breaks down at the 4th term (difference becomes 5, not 4). Example 15 — Challenging Problem: Finding an Unknown Constant A sequence satisfies a₁=5, aₙ=aₙ₋₁+k for n≥2, with a₄=20. Find k, then find a₇. From a₁ to a₄ is 3 steps: a₄=a₁+3k → 20=5+3k → k=5. Check: 5,10,15, 20 ✓ k=5. Continuing: a₅=25, a₆=30, a₇= Common Student Mistakes Forgetting the initial condition — a recurrence rule alone is incomplete without a starting value. Off-by-one errors — confusing aₙ with aₙ₋₁, or starting the substitution from the wrong position. Assuming a pattern too early — checking only 2–3 terms before declaring a rule "correct" (see Example 14). Mixing up r and d — using addition where multiplication was needed, or vice versa. Exam tips: always state the initial condition alongside the recurrence rule; substitute one step at a time and show each line of working; when checking a rule, test it against every given term, not just the first two; and when a constant is unknown, set up an equation using two known terms before computing further values.

5. Formula Sheet & Quick Revision

Everything you need for a final, fast recap before the exam Concept Notation / Formula General term aₙ — the term at position n; a₁ = first term, a₀ (if used) = term before a₁ Explicit formula aₙ expressed directly in terms of n (e.g. aₙ = 3n−1) Recursive formula a₁ = (starting value); aₙ = f(aₙ₋₁) for n≥ Arithmetic recurrence aₙ = aₙ₋₁ + d (explicit: aₙ = a₁+(n−1)d) Geometric recurrence aₙ = r·aₙ₋₁ (explicit: aₙ = a₁·rⁿ⁻¹) Linear recurrence (general) aₙ = r·aₙ₋₁ + d (r, d constants) Growth / decay model Pₙ = (1 + rate)·Pₙ₋₁ (rate > 0 growth, −1