wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> medium >> Complex Sequence
(Message started by: Michael_Dagg on Sep 9th, 2007, 2:01pm)

Title: Complex Sequence
Post by Michael_Dagg on Sep 9th, 2007, 2:01pm
For  n = 0,1,2,...  let  {an}  be the sequence defined by
a0 = 1 + i ,  an = an-11 + i  .

Find the real part of   a8m+1  for  m = 0,1,2,... .

Title: Re: Complex Sequence
Post by Eigenray on Sep 9th, 2007, 2:40pm
an is ambiguously defined.  For example, using either Mathematica or Maple's standard log, a5 = -.00198 + 0.0106 i, but I assume you mean it to be -1.06 + 5.69 i.

That is, an = (1+i)(1+i)^n is better defined.

Title: Re: Complex Sequence
Post by srn347 on Sep 9th, 2007, 10:03pm
The real part of a8m+1 at m=0 is 1. 1 and 2 involve complex exponents, which I can only define for e(or 1). Others have ways to define them. If you have one, I'd like them to explain it.

Title: Re: Complex Sequence
Post by Sameer on Sep 9th, 2007, 11:27pm
A start. I don't know if this is the right approach!!

a0 = 1+i = sqrt(2) * ei*pi/4
=r(cost + i sint)

r = sqrt(2)
t=pi/4

Using (a+bi)(c+di) = rce-dt (cos(d*ln(r) + c*t ) + i sin(d*ln(r) +c*t))

we get a1 = sqrt(2)*e-pi/4 [ cos(ln(sqrt(2)) + pi/4) + i sin(ln(sqrt(2)) + pi/4) ]

Continue to find some pattern!!  :-/

Title: Re: Complex Sequence
Post by towr on Sep 10th, 2007, 1:07am
[hide](1+i)8=16
using Eigenray's an = (1+i)(1+i)^n and n=8m+1
a8m+1 = (1+i)16^m (1+i)
Using Sameer's 1+i = sqrt(2) * ei*pi/4
a8m+1 = (sqrt(2) * ei*pi/4)[sup]16^m (1+i)
a8m+1 = sqrt(2)16^m (1+i) * (ei*pi/4)16^m (1+i)
for m>0
a8m+1 = sqrt(2)16^m (1+i)
So I'd say the real part is sqrt(2)16^m for m >0
(?)
[/hide]

Title: Re: Complex Sequence
Post by Eigenray on Sep 10th, 2007, 3:06am

on 09/10/07 at 01:07:28, towr wrote:
(ei*pi/4)16^m (1+i)

This factor is not 1, but rather e-16^m pi/4 (using the principal branch of log).


Quote:
So I'd say the real part is

In general, the real part of za+bi is [hide]ea log|z| - b arg z cos(b log|z| + a arg z)[/hide].

Title: Re: Complex Sequence
Post by Barukh on Sep 10th, 2007, 3:44am
Eigenray’s restatement is clever, since we learn that both operations “Complex power of an integer” and “Integer power of a complex number” are well defined, while “Complex power of a complex number” leads to difficulties (like principal branches).

I get a different result from towr’s, though.

Take m = 1. Then (1+i)(1+i)^9 = (1+i)16(1+i) = 2561+i, which has real part 256cos[ln(256)].

In general, a8m+1 has real part rmcos[ln(rm)], where rm = 162^(4m-3), m > 0.
:-/

Title: Re: Complex Sequence
Post by Eigenray on Sep 10th, 2007, 3:51am

on 09/10/07 at 03:44:33, Barukh wrote:
Eigenray’s restatement is clever, since we learn that both operations “Complex power of an integer”

This is not well defined: nz = ez log n.  If n>0, it makes sense to take log(n) to be real, but if n<0, log|n| + ihttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif is as natural as log|n| - ihttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif.

Quote:
(1+i)16(1+i) = 2561+i

These are not equal.

Title: Re: Complex Sequence
Post by Barukh on Sep 10th, 2007, 4:19am

on 09/10/07 at 03:51:49, Eigenray wrote:
This is not well defined: nz = ez log n.  If n>0, it makes sense to take log(n) to be real, but if n<0, log|n| + ihttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif is as natural as log|n| - ihttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif.

Right. I meant n > 0.


Quote:
These are not equal.

I am too fast here! Seems too many rules working perfectly for operations on reals cease to work with complex numbers.

So, it's no longer the case that z(xy) = (zx)y?

Title: Re: Complex Sequence
Post by Eigenray on Sep 10th, 2007, 5:02am

on 09/10/07 at 04:19:34, Barukh wrote:
So, it's no longer the case that z(xy) = (zx)y?

exy log z = z(xy) = (zx)y = ey log z^x

when y(x log(z) - log(zx))/(2http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gifi) is an integer.

log(zx) = log(ex log z)
= log(eRe(x log z) ei Im(x log z))
= Re(x log z) + i [ Im(x log z) + 2khttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif]
= x log z + 2ikhttp://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif,

for some k.  So (x log(z) - log(zx))/(2http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gifi) is always an integer.  So if y is an integer, then zxy = (zx)y.  But if y is irrational, this will happen only when x log(z) = log(zx), which happens when Im(x log z) lies in whatever interval you've chosen for Arg to lie in, often (-http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif, http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gif].

Similarly, (xy)z need not be xzyz, but they are equal if either x or y is a positive real, or if z is an integer.  (Actually, this is not necessarily true if you choose a branch cut for log which isn't simply a ray from the origin.  For example, you could have log(4) = 2log(2) + 2http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/pi.gifi if you wanted, in which case 4i http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ne.gif 2i2i = 22i.)

Generally things are okay when the base is positive, or when the exponent is an integer.

Title: Re: Complex Sequence
Post by towr on Sep 10th, 2007, 7:48am

on 09/10/07 at 03:06:17, Eigenray wrote:
This factor is not 1, but rather e-16^m pi/4 (using the principal branch of log).
Ah.. Well, it was worth a try.

I figured
(ei*pi/4)16^m (1+i)
=(ei*4pi)16^(m-1) (1+i)
=116^(m-1) (1+i)
=1

But I see it's a little more complicated than I figured..

Title: Re: Complex Sequence
Post by Ajax on Sep 18th, 2007, 10:25am
I agree. You can simplify it (it's been long since I did some mathematics with complex numbers, but here it goes, I am showing it with the most possible steps, only with the exponent ):

[hide]a8m+1=(1+i)x, where

x=(1+i)8m+1=(1+i)8m*(1+i)={(1+i)8}m*(1+i)=1m*(1+i)=(1+i)

Hence: a8m+1=(1+i)1+i[/hide]

So it seems that it is [hide]irrelevant to the m[/hide]

Title: Re: Complex Sequence
Post by Eigenray on Sep 18th, 2007, 6:38pm

on 09/18/07 at 10:25:15, Ajax wrote:
{(1+i)8}m*(1+i)=1m*(1+i)

(1+i)8 = 16.

Title: Re: Complex Sequence
Post by Ajax on Sep 19th, 2007, 5:58am

on 09/18/07 at 18:38:14, Eigenray wrote:
(1+i)8 = 16.


Correct

Sorry about that



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board