Logo by Pauldelbrot - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. December 01, 2025, 08:52:31 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: ln(e^(z^n)) = different???  (Read 414 times)
0 Members and 1 Guest are viewing this topic.
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« on: October 11, 2012, 08:10:16 AM »

  It's either because ln is multivalued, or it's a problem with the ln or exponential function in ChaosPro, but I get Mini-Mandelbrots all around the main one when I do that.  In addition, it has almost burning ship type "scaffolding" around it.  Anyways... here are a couple images.  I better try it in another program, ehh?

  

  And it has mini julias scattered around it (they don't have any mini-brots-- they are just julias):



   And stranger yet:  doing ln(e^(z^n))^n, with n of 2 gives you the z^4, as expected, but in addition, you get tons of little mini z^2, which have mini z^4s around them....  wild stuff.


  hahahah.. that's hilarious..  a Julia with seed 0,0 has a fractal pattern of infinite circles!
« Last Edit: October 11, 2012, 08:24:58 AM by M Benesi » Logged

lkmitch
Fractal Lover
**
Posts: 238



« Reply #1 on: October 11, 2012, 05:41:49 PM »

I think it's because of the branch cuts in the log function.  If you reverse the order of log and exp, all the weirdness disappears (at least, in my Ultra Fractal formula).  For more fun, also try sqrt(sqr(z^n))+c.  The two attached images are from the same region in the Seahorse Valley of the Mandelbrot set, one with ln(exp(z^2))+c and the other with sqrt(sqr(z^2))+c.


* log-exp.jpg (75.95 KB, 400x300 - viewed 121 times.)

* sqrt-sqr.jpg (95.89 KB, 400x300 - viewed 119 times.)
Logged
hobold
Fractal Bachius
*
Posts: 573


« Reply #2 on: October 11, 2012, 07:14:01 PM »

In the complex numbers, the exponential function is not injective. That means you can find complex numbers u and v, with u != v but exp(u) == exp(v). The complex logarithm cannot reconstruct the information that was lost this way. Any of the branches of a complex logarithm function is in some sense "arbitrary" in that it picks just one of many candidates, none of which is really "the one right" choice.

Similarly, squaring a number (real or complex) is not injective either. So the square root function similarly introduces an "arbitrary" choice of one of two branches.

If you like the above fractals and want to speed them up, you could simply emulate the "cut" without going trough the trouble of computing complex logarithms and exponentials.
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #3 on: October 11, 2012, 08:45:09 PM »

  Thanks.  I thought of branch cuts after I shut down my computer last night.  smiley  Was pretty tired at the point I implemented that in 2d.

  Definitely a good idea to implement the branch cuts in a "cheaty" way instead of using log and exponential function.  



  I do like the sqrt(sqr(z^n)) + c fractal type.  I think I'm going to have to play with that idea a bit.  Might need to find a "cheaty" way of doing that as well.

  In fact, that reminds me of this recursive formula I was working on quite some time ago:

 f0=0
 ft+1(x) = sqrt(x^2-x + ft)      ---OR---   ft+1(x) = (x^n-x + ft)^(1/n) for higher n

  Might be interesting....
« Last Edit: October 11, 2012, 08:49:31 PM by M Benesi » Logged

kram1032
Fractal Senior
******
Posts: 1863


« Reply #4 on: October 12, 2012, 12:37:59 AM »

It's interesting though that removing information in the equation effectively adds visual information in the fractal.
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #5 on: October 12, 2012, 03:07:52 AM »

  It's weird...   It obviously cancels out a certain portion.

  If you calculate bailout BEFORE adding in your pixel components, you get infinite arms for the julias (they go on forever).

  I'm having problems implementing a simpler formula.  I can take:
 log (sin( IM (z ^n )))     <IM = Imaginary part>     and assign the result to the imaginary part of z.  This doesn't really improve calculation times at all.

  What should work, at least AFAI can tell, is   IM(z) % (pi*2), right?   But it doesn't!!@$!@


 
« Last Edit: October 12, 2012, 03:39:23 AM by M Benesi » Logged

kram1032
Fractal Senior
******
Posts: 1863


« Reply #6 on: October 12, 2012, 04:48:21 AM »

It would be something like

x=x²-y²+a
y=ArcTan(Tan(2xy))+b

But I doubt that would be any faster.

for the sqrt version you end up with something like:

abs = x²+y²
arg = 1/2 atan(tan(4 atan2(x+y i)))

x=abs*cos(arg)+a
y=abs*sin(arg)+b

but that also probably makes it slower rather than faster....

I guess the reason for, let's say "increased fractality" is the quick change of values in close proximity to the branch cut. There, the results depend a lot more on tiny changes, increasing the overall observed chaotic behavior of the system.

Makes me wonder what would happen if you went for the triple-branch-cut productlog.
Something like
z=ProductLog(ez2z²)

Or some even more branch-torn function.
« Last Edit: October 12, 2012, 01:07:15 PM by kram1032 » Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #7 on: October 12, 2012, 05:26:20 AM »

  Gee.  Now I have to try and implement that.  Thanks. 
Logged

M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #8 on: October 13, 2012, 04:25:35 AM »

  Well, I found that there are very interesting Julia (0,0) for certain multiple branch cut fractal types.

For z= log [ sqrt( sqr(z)^z^n) ]  
  You get nice webs around n=3.

Here's some webs from n=3 (click to enlarge):


For z= log [ (z^z^n)^b ]^(1/b) }    n=2 b=7   Julia (0,0) you get nice ferns:

 

  Here is the first formula, Mandelbrot style.


  And this is the distorted mini mandy for n=3:



  A seahorse valley shot... a bit broken up.  The mini Mandy was after a continuity break- the section it is in has many breaks in continuity, so this image does as well.  

  I like this stuff, it's old school 2d stuff.  Can't find many references to z^z^n types of fractals though.  Wouldn't mind reading about them a bit.  

« Last Edit: October 13, 2012, 08:57:11 AM by M Benesi » Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.492 seconds with 23 queries. (Pretty URLs adds 0.015s, 2q)