If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Explicit formulas for arithmetic sequences

Sal finds explicit formulas of arithmetic sequences given the first few terms of those sequences. He also explores equivalent forms of such formulas.

Want to join the conversation?

  • male robot hal style avatar for user mikevez
    I'm a little confused. So it states f(n)=12-7(n-1), so if n=4 we have
    f(n)= 5(3) = 15 this is wrong tho.....
    But if n=2 we get f(n)=12-7(2-1) =5 which is correct.
    (9 votes)
    Default Khan Academy avatar avatar for user
    • starky ultimate style avatar for user Manas Thumma
      Just use Order of Operations, and you will get the right answer for every term
      So for n=4, first use the equation f(n) = 12 - 7(n - 1), plug in 4 for n. Then, in the parenthesis, you will have 4-1, which is 3. Then, multiply 7*3 = 21. Lastly, subtract 12 from 21, to get -9, which is the correct answer. When using arithmetic sequence formula. Always do the operation inside the parenthesis first, then multiply the result by the number outside the parenthesis( this is the common difference). Lastly take the product of that operation, and subtract/add (depends on the product!) to the first number ( which is the first term of the sequence. Do this, and because you are using order of operations, you will find the right term, no matter what sequence it is.
      (9 votes)
  • winston baby style avatar for user Asbin
    who is the guy who makes all these videos?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • leafers sapling style avatar for user Isabelle
    At about Sal shows the explicit formula, but in school I learned it the way shown below.
    Is the formula I use and the formula in this video the same?
    12, 5, -2, -9

    a2=-7n + 19

    a3=-7n + 19

    a4=-7n + 19
    (4 votes)
    Default Khan Academy avatar avatar for user
  • piceratops seed style avatar for user Alyssa Chaffen
    But what if you have to find a sequence in between two other sequences? How would you solve it then? Is there another video a problem like that?
    (5 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Tristan Bain
    Okay if I wanted to know the arithmetic sequence how do I go about solving for a new arithmetic sequence from a previous arithmetic sequence, how do I go about it, here is my example:
    17, 22, 36, 37, 52, 24 ----to get----> = 14, 22, 52, 54, 59, 4
    20, 21, 23, 38, 42, 6 -----to get---> = 22, 27, 35, 37, 45, 3
    especially having to handle the general term of "n" as part of this problem. How would I go about finding a sequential solution to this problem?
    (4 votes)
    Default Khan Academy avatar avatar for user
  • piceratops ultimate style avatar for user Vishnu Pandrangi
    Is f(n) = 12 - 7 (n - 1) same as f(n) = 12 - 3.5 (n - 2)?
    Plz help
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user ROCHELLE444
    I'm having problems with this question, could anyone help me? Write the explicit formula for the arithmetic sequence.

    2, -2, -6, -10, -14, ...
    (2 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user Akash Muthu
    How do you translate between recursive and explicit rules for arithmetic sequences?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user T H
      Find the first term a_1 and the common difference d. Then you can get the other formula quite easily.
      Ex.) Find the recursive formula if the explicit formula is a_n = 5n - 3.
      Let's find a_1 and d.
      a_1 = 5 * 1 - 3 = 2
      d = a_(n + 1) - a_n = 5(n + 1) - 3 - 5n + 3 = 5
      Recursive formula:
      a_1 = 2
      a_n = a_(n - 1) + 5, where n = 2, 3, 4,...
      (1 vote)
  • purple pi teal style avatar for user Edward
    I dont understand what did he mean
    (2 votes)
    Default Khan Academy avatar avatar for user
    • orange juice squid orange style avatar for user graciousartist
      At Sal is calculating the value for term 2 according to the second formula. The way he does this is buy slotting 2 into the function.

      For example, the formula is f(n)=-150+50n. All we have to do here to find the value of the desired term is to slot the number we want to find into this function. If we want to find the value of the 2nd term the formula will become f(2)=-150+50*2. Now all we need to do is calculate that as per the operations. It becomes f(2)=-150+100 because 50 multiplied by 2 is 100. Then it becomes f(2)=-50 because -150 subtracted from 100 is -50.

      No more working out is required, we have now found the value of term 2. If we want to find a different value we just slop another term into the original formula and perform the calculations.
      (2 votes)
  • duskpin seed style avatar for user Audditiya Gangopadhyay
    What I am confused about is how Sal got "(n-1)" in the formula f(n)=12-7(n-1) at . It makes perfect sense when he back calculates to find the function of the term n, but I do not understand where "(n-1)" actually came from in the start. Can anyone please tell me where "(n-1)" came from? Thank you very much for the help, I greatly appreciate it!
    (2 votes)
    Default Khan Academy avatar avatar for user

Video transcript

So we see here in this table, that for given "n's", when "n" is one, "f" of "n" is 12, when "n" is 2, "f" of "n" is 5, and when "n" is three, "f" of "n" is negative two, when "n" is four, "f" of "n" is negative nine. And so one way to think about it is this function "f" is defining a sequence where the first term of this sequence is 12. The second term of this sequence is five. The third term of this sequence is negative two. The fourth term of the sequence is negative nine. And it goes on, and on, and on. And you might notice that it's a arithmetic sequence. We start with a 12, and then the next term... What have we done? We've subtracted seven. Now to go from the second to the third term... What do we do? We subtract seven. So each term is seven less than the term before it. Now with that out of the way, see if you can define this function of "n." If you can define it explicitly. So figure out a function definition. So I want to figure out "f" of "n" is equal. I want you to figure out what this needs to be so that if you input "n" here, it gives you the appropriate "f" of "n." So let's think about it a little bit. It's going to be, we could think of it as we're starting at, The first term is going to be 12. But then, we are going to subtract seven. And what are we going to subtract seven? How many times are we going to subtract seven? So for the first term, we subtract seven zero times. And so we just get 12. For the second term, we subtract seven once. For the third term, we subtract seven twice. One, two times. For the fourth term, we subtract seven three times. So it looks like whatever term we're on, we're subtracting seven "n" minus one, we're subtracting seven whatever term we're on, that term minus one time. So it's "n" minus one times. And let's see if this actually works out. So "f" of one is going to be 12 minus seven times one minus one, that's a zero. So that's all just going to be 12. "f" of two is going to be 12 minus seven times two minus one. So it's going to be 12 minus seven times one. We're just going to subtract seven once, which is exactly the case. We started at 12, we subtract seven once. "f" of three, you can keep testing this. 12 minus, and we should have to subtract seven twice. And we see three minus one, is two times. So we're going to subtract seven two times. So this looks right on. We've defined the function explicitly. We've defined "f" explicitly for this sequence. Let's do another example, here. So in this case, we have some function definitions already here. So you have your sequence, it's kind of viewed in this table. You could view it as the first term is negative 100. The next term is negative 50, next term is zero, next term is 50. And it's very clear that this is also an arithmetic sequence. We're starting at negative 100, and then, we're adding 50. And then we're adding 50, and then we are adding 50. So each term is 50 more than the term before it. And what I want you to do is pause the video, and think about which of these definitions of the function "f" are correct. And it might be more than one. Alright, so let's think about it. So this definition right over here, one way to think about it is by saying I'm going to start at negative 100. And I'm going to add 50, "n" minus one times. Does this make sense? Well, for the first term, if we start at negative 100, we don't want to add 50 at all, we want to add 50 zero times, and it works out. Because one minus one is going to be zero. So it checks out for "n" equals one. Let's see, for "n" equals two, you start at negative 100, I want to add 50 once. So this should be a one. Two minus one, yup, it's a one! We're adding 50. Whatever this number is, whatever "n" is, we're adding 50 one less that number of times. So for here, we're adding 50 twice. When "n" is four, we're adding 50 three times. And this one checks out. When "n" is four, we're adding 50, four minus one, three times. Negative 100, plus 50 times three. We're adding 50 three times, adding 50 one, two, three times. Well that gives you 50. So I like this one. Now let's see about this one over here. Negative 150 plus 50 "n." Alright, that's one way of saying, so let's see If "n" is equal to one, it's going to be negative... Actually, let me draw a table for this one. So if we have "n" and we have "f" of "n." This is going to be for this character right over here. So if "n" is one, it's going to negative 150, plus 50. Which is negative 100, yup that checks out. When "n" is two, we get negative 150, plus 50 times two, which is going to be... This is 100, and there's negative 150, this is going to be negative 50. When "n" is three, and that checks out, of course. When "n" is three, you get negative 150, plus 50, times three, which is equal to zero. This checks out. This one over here is going to work. And you might say, "Well, hey, these formulas look different." Well you can algebraically manipulate them to see that they're the exact same thing. If you were to take this first one, it's negative 100, plus, let's distribute this 50, plus 50 "n", plus 50 "n", minus 50. Well, negative 100, minus 50, that's negative 150. And then you have plus 50 "n." So these are algebraically the exact same definition for our function. Now what about this one here? Negative 100 plus 50 "n", does this one work? Let's see, when "n" is equal to one, this would be negative 100 plus 50, which is negative 50. Well no, this doesn't work. We need to get a negative 100 here. So this one is not, not correct.