Discover the nth Term Expression for the {1,1,-1,-1} Sequence | Homework Help

  • Thread starter Zhalfirin88
  • Start date
  • Tags
    Sequences
In summary: Probably a good idea to explore generating functions.I don't know what generating functions are, but you might try looking at the generating function of this sequence. If you work on it, I'll show this solution later.
  • #1
Zhalfirin88
137
0

Homework Statement


Find the expression for the nth term for the sequence {1,1,-1,-1,1,1,-1,-1,...}

The Attempt at a Solution


No idea.
 
Physics news on Phys.org
  • #2


Do you know what the next term (the ninth) is going to be? There's a very definite pattern in this sequence.
 
  • #3


Yes, but my instructor wants a formula for it. The pattern is very easy to see but I can't think of a way to express it mathematically.
 
  • #4


Let's take first things first, and not worry about the formula just yet. What are the next four terms in the sequence?
 
  • #5


1,1,-1,-1
 
  • #6


Yes, that's what I get. Here's what you have:
a1 = 1
a2 = 1
a3 = -1
a4 = -1
a5 = 1
a6 = 1
a7 = -1
a8 = -1
a9 = 1
a10 = 1
a11 = -1
a12 = -1

I can see that a4n + 1 = 1 for n = 0, 1, 2, 3, ... Can you continue from there? This would be one representation; there are probably others as well.
 
  • #7


I don't exactly understand your notation. For n = 1 you're saying that a5 = 1? What does that mean?
 
  • #8


Bump. I'm not exactly sure that is what my instructor is looking for. I think he just wants one formula for the whole sequence which is why I'm having so much trouble with this. He specifically said that he won't accept anything obvious.
 
  • #9


There are a couple ways to do this, even if you don't want to do the "obvious".

Whenever things are periodic, a good starting point is looking at sine functions, so you might start there.

Also, I found another solution via generating functions. If you know that is, you might look at the generating function of this sequence. If you work on it, I'll show this solution later...
 
  • #10


No, I don't know what generating function are I don't think, at least I've never heard of them. I was thinking about the sine/cosine functions, but how do you make it repeat twice?

Just feel like this is a over my head a little bit.
 
  • #11


Just ignore my comment about the generating functions then, and let's investigate sine/cosine...

Well, if you look at the graph of y=sin(x), you'll see that it crosses the line [tex]y = \frac{\sqrt{2}}{2}[/tex] twice, then it crosses the line [tex]y = -\frac{\sqrt{2}}{2}[/tex] twice, then it repeats...

Try to use this fact to find your function.
 
  • #12


Zhalfirin88 said:
I don't exactly understand your notation. For n = 1 you're saying that a5 = 1? What does that mean?
Yes, in part. I'm saying that a1 = 1, a5 = 1, a9 = 1, and so on.

Thinking about this a little more, I would like to number the elements of the sequence starting at index 0: {a0, a1, a2, ...}.

So you have
a0 = 1
a1 = 1
a2 = -1
a3 = -1
a4 = 1
a5 = 1
a6 = -1
a7 = -1
etc.

With this change it's possible to write a single formula for the members of this sequence, as
a2m+n = <something>, for m = 0, 1, 2, ..., and n = 0, 1.

The <something> is a very simple expression that depends only on m, and gives the right sign alternation.
 
  • #13


@Mathnerdmo: Well that is equal to pi/4

Wasn't there something like sin((n-1) * pi/4) = 1 My teacher showed us something like that really quick and I didn't get to write it down. I know that's wrong, but do you at least know what I am trying to say?

@Mark44:
Can you explain that to me again? :) How can you say "for m = 0, 1, 2, ..., and n = 0, 1." Maybe we haven't covered that far, cause we've only used for n = 0, 1, 2, ... so far.

And give another hint ! ;)
 
  • #14


Mathnerdmo, IMO the advice to work with sine and cosine and the line y = sqrt(2)/2 adds a lot of needless complexity.

Zhalfirin88,
I can't give you much more of a hint without doing the problem. What I wrote was a compact way of writing the index on a term in the sequence. That's all that a2m + n is. If m = 3 and n = 1, which term in the sequence are we talking about? If m = 4 and n = 0, which term are we talking about?
 
  • #15


Yes I know that, I just never saw it written like that before. Anyways I don't see the <something> is equal to. Thanks for your help though.
 
  • #16


Mark44: It really depends whether we're okay with a two-parameter solution or whether we want a single-parameter solution. How I read that the teacher "won't accept anything obvious" is that he wanted to see the latter.

Unfortunately, I don't know any way to defend my approach other than to show the solution and spoiler tags don't seem to work with tex, so:

[tex]\sqrt{2}\mbox{ sin}(\frac{\pi}4) = 1[/tex]
[tex]\sqrt{2}\mbox{ sin}(\frac{3\pi}4) = 1[/tex]
[tex]\sqrt{2}\mbox{ sin}(\frac{5\pi}4) = -1[/tex]
[tex]\sqrt{2}\mbox{ sin}(\frac{7\pi}4) = -1[/tex]
etc.

and
[tex]a_n = \sqrt{2}\mbox{ sin}(\frac{(2n-1)\pi}4)[/tex]
doesn't seem very complicated to me (especially if they've been talking about sine/cosine in class recently)
 
  • #17


Mathnerdmo,
I think that both of our solutions would satisfy the "won't accept anything obvious" requirement. The instructor's instructions against submitting obvious solutions are vague to the point of meaninglessness, I doubt very much that the instructor has any concern about one-parameter vs. two-parameter solutions.

Your representation works, but is more complex than mine by at least one measure: my representation can be written more compactly.

Zhalfirin88, what number multiplied by itself repeatedly produces 1 and -1?
 
  • #18


Mark44 said:
Mathnerdmo,
I think that both of our solutions would satisfy the "won't accept anything obvious" requirement. The instructor's instructions against submitting obvious solutions are vague to the point of meaninglessness, I doubt very much that the instructor has any concern about one-parameter vs. two-parameter solutions.

Your representation works, but is more complex than mine by at least one measure: my representation can be written more compactly.

My opinion differs from yours on the meaning of "obvious" here, but I won't create any more of an argument from my speculation.

Also, I personally prefer one-parameter solutions, which is why I went that direction *shrugs*.
 
  • #19


Honestly, I think that my teacher was looking for the solution Mathnerdmo gave. But he won't take off if it's still correct.

@Mark44: -1 :)

Are you saying a2m + n = (-1)m ?
 
Last edited:
  • #20


Zhalfirin88 said:
Honestly, I think that my teacher was looking for the solution Mathnerdmo gave. But he won't take off if it's still correct.

@Mark44: -1 :)

Are you saying a2m + n = (-1)m ?
Yes, that's exactly it.
 

FAQ: Discover the nth Term Expression for the {1,1,-1,-1} Sequence | Homework Help

What is the nth term expression for the {1,1,-1,-1} sequence?

The nth term expression for the {1,1,-1,-1} sequence is (-1)^n. This means that the value of each term alternates between 1 and -1 based on the value of n. For example, when n=1, the first term is 1, when n=2, the second term is -1, and so on.

How do you find the value of a specific term in this sequence?

To find the value of a specific term, you can simply plug in the value of n into the nth term expression, (-1)^n. For example, to find the 5th term, you would plug in n=5 and get (-1)^5 = -1. Therefore, the 5th term in this sequence is -1.

Can this sequence be represented by a geometric or arithmetic sequence?

No, this sequence cannot be represented by a geometric or arithmetic sequence because there is no common ratio or difference between terms. Each term in this sequence alternates between 1 and -1, so there is no consistent pattern that can be represented by a geometric or arithmetic sequence.

How is the nth term expression related to the pattern in this sequence?

The nth term expression, (-1)^n, is directly related to the pattern in this sequence. This expression shows that the value of each term alternates between 1 and -1 based on the value of n. It is the formula that describes the pattern in this sequence and allows us to find the value of any term.

Can this sequence be extended beyond the given terms?

Yes, this sequence can be extended infinitely using the nth term expression, (-1)^n. This expression allows us to find the value of any term in the sequence, no matter how large or small the value of n. Therefore, this sequence can be extended infinitely in both the positive and negative direction.

Similar threads

Replies
7
Views
2K
Replies
3
Views
879
Replies
7
Views
2K
Replies
1
Views
1K
Replies
3
Views
1K
Replies
9
Views
2K
Replies
2
Views
4K
Replies
2
Views
797
Back
Top