Question on limit and wolfram. I entered the limit (-1)^n, as n->infinity. I know this limit diverges, but wolfram says its e^(2Pi * i ) from 0 to pi any ideas why wolfram says this http://www.wolframalpha.com/input/?i=limit+%28-1%29^n%2C+n+%3D+oo of course e^(2Pi * 0 ) = 1 , e^(2pi * pi/2) = -1 but why does it say 0 to pi . Surely not every number between 0 and pi is a solution
on maple I entered the same expression and I got this output -1-I .. 1+I
theres something going on inside the program, it converts such limits to complex numbers , maybe a gamma function
there are two cases x is odd or x is even
right, the sequence is 1,-1,1,-1 ...
i was just wondering why wolfram and maple give such strange answers
or -1,1,-1,.. depending on how you start n
do u think the limit exists
no it definitely diverges
there should be something called divergence test criteria for this
thats for series, this is a limit of sequence
my question was a limit, not a series
i think you have a typo there,
you wrote x-> infinity, it should be n here i fixed it http://www.wolframalpha.com/input/?i=sum+n-%3E \infty+%28-1%29^{n}
oh right
thats annoying when you paste a link with a \ in it, it won't show up in blue
http://en.wikipedia.org/wiki/Term_test see this if the limit doesnt exist then it diverges
so u have to just prove it doesnt exists
correct. limit an = 0 as n->oo is a necessary condition for series an to converge (but not a sufficient condition)
isn't that just the bounds of the limit?
if series an converges, then lim an = 0 as n->oo. The contrapositive of this is the 'divergence test' if lim an =/= 0 , then series an does not converge
inky, the bounds are n=1 or some positive integer to n= infinity
@perl I mean it's the range of possible results for n... for instance (-1)^.5=i
@mathmath333 do you see why lim a_n = 0 is not a sufficient condition for the series a_n to converge ? is it true that If lim a_n=0 , must the series an converge?
inky are you answering the question in the original post above
yeah derp
n is positive integers
you can start at some positive integer
if you want fractions, then you can use (-1)^x , but thats a whole other expression
but maybe thats what wolfram is doing
the way I see it wolfram has simply determined that your function is periodic with a domain in the hyperreals and a range in the complex plane
because if you consider (-1)^x for any real x I would assume you get the argand diagram of e^(i x)
so instead of saying the limit does not converge to one value wolfram simply tells you that it oscillates between certain values
ok so wolfram is looking at all x real numbers? i thought it assumes n is discrete integers
-1 = e^ ( Pi * i ) so (-1)^x = e ^ ( Pi * i * x )
or (-1)^n = e^(Pi * i * n )
I guess
what do you mean by 'hyperreals' ? "the way I see it wolfram has simply determined that your function is periodic with a domain in the `hyperreals` and a range in the complex plane"
did you say hyperreals because you are including infinity in your domain?
@inkyvoyd
wolfram value means its div when power is 0 then its 1 otherwise its -1
@Marki sorry i didnt understand you when power is 0 , then its 1. if power is not 0 , then its -1? are you talking about e^(2pi * i )
yes note its from 0 to pi
@Marki you get some strange answers if you plug in all reals into e^(2*i*x) for x between 0 and Pi the range are points on the unit circle for example , when x= 0.5 the output is .5403 + .8414i when x = 2 you have -.6536 - .7568 i So i'm not sure why wolfram would do that.
Join our real-time social learning platform and learn together with your friends!