174k views
5 votes
Write a recursive definition for the sequence 14, 10, 6, 2,… Common difference is 4 what do I do next?

2 Answers

0 votes
f(x) = f(x-1) - 4, with f(0) = 14
Since you're looking for a recursive definition, you simply need to do 2 things.
1. Define the function for some constant starting point(s).
2. Define the function in terms of itself for all other points.
For this question, I'll assume the first point is f(0). So we have f(x) = ?, with f(0) = 14
And we've handed the starting point by simply declaring that f(0) has the value of 14. Now for the recursive portion.
As you've noticed, each subsequent value is 4 less than the previous. So we can say f(x) = f(x-1) - 4. And with that, we can make the function.
f(x) = f(x-1) - 4, with f(0) = 14
As a side note, you are not restricted to just 1 starting value, nor just the immediate prior invocation of the function. For instance the definition of the Fibonacci sequence could be defined as
f(x) = f(x-1) + f(x-2), with f(0) = 0 and f(1) = 1
User GS Nayma
by
8.2k points
2 votes
a[1] = 14 . . . . . . . . . defines the first term
a[n+1] = a[n] -4 . . . says each term is 4 less than the one before it
User Civil Disobedient
by
7.6k points

No related questions found