Formula recursiva e explicita

Before this, knowO que seria uma sequencia geometrica?

Video · + 1 min read

(Video) A Formula for the nthn^{\text{th}} Term

by PatrickJMT

This video by PatrickJMT covers formulas to find the nnth term of a sequence.

Summary\large{\text{Summary}}

The general formula for the nnth term of a geometric sequence is: an=a1⋅rn−1a_n=a_1 \cdot r^{n-1} where a1=first terma_1=\text{first term} and r=common ratior=\text{common ratio}.

How?

To show we got this formula, let's look at a sequence: 3,6,12,24,48,⋯3,6,12,24,48,\cdots First off, we know it's a geometric sequence because each term is multiplied by 22 to get to the next term. Since each term is just being multiplied by 22 again, we can rewrite our terms as: a1=3a2=3⋅2a3=3⋅2⋅2a4=3⋅2⋅2⋅2a5=3⋅2⋅2⋅2⋅2⋯\begin{align} a_1&=3\\ a_2&=3\cdot2\\ a_3&=3\cdot2\cdot2\\ a_4&=3\cdot2\cdot2\cdot2\\ a_5&=3\cdot2\cdot2\cdot2\cdot2\\ &\cdots \end{align} We can even combine like terms and simplify more. a1=3a2=3⋅2a3=3⋅22a4=3⋅23a5=3⋅24⋯\begin{align} a_1&=3\\ a_2&=3\cdot2\\ a_3&=3\cdot2^2\\ a_4&=3\cdot2^3\\ a_5&=3\cdot2^4\\ &\cdots \end{align} So the nnth term in this sequence would be, following this pattern: an=3⋅2n−1a_n=3\cdot2^{n-1} Since we know that our first term is 33 and our common ratio is 22, we can write our general formula from above. an=a1⋅rn−1a_n=a_1\cdot r^{n-1}

Using the Formula

Suppose we now want to find the tenth term in the sequence: 3,6,12,24,48,⋯3,6,12,24,48,\cdots We can use the formula we found and plug in n=10n=10. an=3⋅2n−1a10=3⋅210−1a10=3⋅29a10=3⋅512a10=1536\begin{align} a_n&=3\cdot2^{n-1}\\ a_{10}&=3\cdot2^{10-1}\\ a_{10}&=3\cdot2^9\\ a_{10}&=3\cdot512\\ a_{10}&=1536 \end{align}

A Harder Problem

If a2=32a_2=32 and a5=−4a_5=-4, find a9a_9.

First, we want to find how many terms are between the two we're given. We have the 55th term and the 22nd term. So there's, 5−2=3,5-2=3, spaces between them.

We know the 55th term will equal the 22nd term multiplied by 33 powers of whatever the common ratio is. In other words, a5=a2⋅r3a_5=a_2\cdot r^3

Since we know the values of a5a_5 and a2a_2, we can solve for the common ratio, rr. a5=a2⋅r3−4=32⋅r3−18=r3−183=r1−83=r−12=r\begin{align} a_5&=a_2\cdot r^3\\ -4&=32\cdot r^3\\ -\frac18&=r^3\\ \sqrt[3]{-\frac18}&=r\\ \frac{1}{\sqrt[3]{-8}}&=r\\ -\frac12&=r \end{align}

Next, we want to find a9a_9. We're going to use the same method. Take either of the terms given and see how many spaces are between it and a9a_9. I'm going to choose a5a_5. 9−5=49-5=4 There's 44 spaces which means you multiply 44 times by the common ratio to get from a5a_5 to a9a_9. We can set up another equation with these two and solve for a9a_9. a9=a5⋅r4a9=−4⋅(−12)4a9=−4⋅1(−2)4a9=−4⋅116a9=−14\begin{align} a_9&=a_5\cdot r^4\\ a_9&=-4\cdot\left(-\frac12\right)^4\\ a_9&=-4\cdot\frac{1}{(-2)^4}\\ a_9&=-4\cdot\frac{1}{16}\\ a_9&=-\frac14 \end{align}

Illustrated · 1 min

Two Ways to Represent Geometric Sequences \\

Writing out the sequence takes up a lot of space and requires people to figure out the pattern. There are better, more concise ways to represent a geometric sequences.

Explicit Formulas

a_n = a_1 * r^(n-1)

Image source: by Christine

In explicit formulas, if you want to figure out what the nthn^{th} term of a geometric sequence is, you only need the initial term and the common ratio.

a_n is the nth term

a_1 is the 1st term

r is the common ratio

Image source: by Christine

Recursive Formulas

a_1

a_n = a_(n-1) * r

Image source: by Christine

In recursive formulas, if you want to figure out what the nthn^{th} term of a geometric sequence is, you need the initial term, the common ratio and the term before the desired term.

a_1 is the 1st term

a_n is the nth term

a_(n-1) is the (n-1)th term

r is the common ratio

Image source: by Christine

Here is another graphic outlining what we have learned!

Geometric Sequences: a_n=a_1r^(n-1) (Explicit Formula) and a_n=a_(n-1)*r (Recursive Formula)

Image source: By Caroline Kulczycky

Try it! To get a better sense of both formulas work, apply it to the following sequence. 2,4,6,8,10...2,4,6,8,10... This sequence starts with 22 and has a common ratio of 22.

What is the 99th term of this sequence?

Try to answer this question by:

  • Using the explicit formula
  • Using the recursive formula
  • Writing of the sequence and check what the 99th term is

Illustrated · 1 min

Maximum Depth Exceeded: Fun with Sequences and Python, Part 5

To see the previous part of this story, go here.

An example of a recursive formula for a geometric sequence is

bn=3×bn−1b_n = 3 \times b_{n - 1}

because bnb_n is written in terms of an earlier element in the sequence, in this case bn−1.b_{n - 1}. We often want to find an explicit formula for bn,b_n, which is a formula for which bn−1,bn−2,…,b1,b0b_{n - 1}, b_{n - 2}, \dots, b_1, b_0 don't appear. To do this, it's easiest to plug our recursive formula into a Python program:

b(0) = 11, b(n) = 3*b(n - 1)

Image by Joshua Siktar

Now we find b(n)b(n) for the values n=0,1,2...,20n = 0, 1, 2..., 20 (we could keep going if we wanted but there's no need):

The first 21 terms of the sequence b(n), starting with b(0)

Image by Joshua Siktar

To get to b(n),b(n), we multiply b(0)b(0) by 33 a total of nn times, which produces a factor of 3n.3^n. This means our explicit formula is

b(n)=11×3n.b(n) = 11 \times 3^n.

This pattern is much more clear because we listed out a bunch of terms first.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems