Logo by reallybigname - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. January 10, 2026, 09:20:22 PM


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 ... 3 4 [5] 6 7 ... 9   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: Triplex algebra  (Read 64302 times)
0 Members and 1 Guest are viewing this topic.
kram1032
Fractal Senior
******
Posts: 1863


« Reply #60 on: December 10, 2009, 12:23:48 AM »

congratulation, you found the 3D Mandel-heart cheesy
Logged
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #61 on: December 10, 2009, 12:49:17 AM »

congratulation, you found the 3D Mandel-heart cheesy

I am going to post more images in the Mandelbulb Renders forum - in particular what happens when one points the pole vector in some other direction.
Logged
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #62 on: December 11, 2009, 03:04:29 AM »

My wild guess is that it "lathes" the Mandelbrot set around its axis...

I am so glad that you are wrong.

How embarassing. You were right. The Mandelbrot is lathed around its axis. I should never again claim that someone is wrong so qickly.

I must have made a severe mistake in the trigonometric code that performed the rotations. After I implemented a non-trigonometric version (based on some results I got with the help of a Mathematica trial version) I get this.

Wonderfully lathed indeed.



Now i need to investigate what kind of malfunction I have in my approach to rotation because indeed it gave nicer results wink
« Last Edit: December 11, 2009, 03:06:08 AM by cbuchner1 » Logged
Paolo Bonzini
Guest
« Reply #63 on: December 11, 2009, 12:42:04 PM »

My wild guess is that it "lathes" the Mandelbrot set around its axis...

I am so glad that you are wrong.

How embarassing. You were right.

LOL, no problem at all!  Talk about serendipity. :-)
Logged
BradC
Safarist
******
Posts: 85



« Reply #64 on: December 15, 2009, 02:39:21 AM »

Here is the solution for the exponential function:

Awesome!

I had Mathematica sum this in terms of x, y, z instead of r, theta, phi, and I got results that numerically match yours. I tested my results with 100k points where x, y, and z were randomly chosen between -4 and 4, and our answers always agreed to at least ~12 digits.

In terms of x, y, z:
    e^{(x,y,z)}=\left(\frac{1}{2} e^{x-t y} \left(\cos (t x+y)+e^{2 t y} \cos (t x-y)\right),\frac{1}{2} e^{x-t y} \left(\sin (t x+y)-e^{2 t y} \sin (t x-y)\right),e^{\sqrt{x^2+y^2}} \sin (z)\right) where t=\frac{z}{\sqrt{x^2+y^2}}
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #65 on: December 15, 2009, 03:12:30 AM »

Here is the solution for the exponential function:

Awesome!

I had Mathematica sum this in terms of x, y, z instead of r, theta, phi, and I got results that numerically match yours. I tested my results with 100k points where x, y, and z were randomly chosen between -4 and 4, and our answers always agreed to at least ~12 digits.

In terms of x, y, z:
    e^{(x,y,z)}=\left(\frac{1}{2} e^{x-t y} \left(\cos (t x+y)+e^{2 t y} \cos (t x-y)\right),\frac{1}{2} e^{x-t y} \left(\sin (t x+y)-e^{2 t y} \sin (t x-y)\right),e^{\sqrt{x^2+y^2}} \sin (z)\right) where t=\frac{z}{\sqrt{x^2+y^2}}

Most excellent !

log() anybody ?
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
BradC
Safarist
******
Posts: 85



« Reply #66 on: December 15, 2009, 07:36:15 AM »

Here's what I get for the natural log:
    \ln (x,y,z)=(a,b,c)
where
    a=\frac{1}{4} \ln \left(\frac{2 z^2 ((x-1) x+(y-1) y) \left((x-1) x+y^2+y\right)}{t}+\left(x^2+y^2\right)^2+z^4\right)
    b=\frac{1}{4} \left(-\text{atan2}\left((x-1) z-\sqrt{t} y,\sqrt{t} x+y z\right)+\text{atan2}\left(\sqrt{t} y+(x-1) z,\sqrt{t} x-y z\right)-\text{atan2}\left(-\sqrt{t} y-x z+z,\sqrt{t} x-y z\right)+\text{atan2}\left(\sqrt{t} y-x z+z,\sqrt{t} x+y z\right)\right)
    c=\text{atan}\left(\frac{z}{\sqrt{t}+1}\right)
    t=(x-1)^2+y^2

I derived this by analogy with the series expansion for ln(z) about z=1, which is \ln (z)=\sum _{k=1}^{\infty } \frac{(-1)^{k-1} (z-1)^k}{k}. For triplex numbers I did the following:
    o (z-1) became (x-1,y,z).
    o Raising to power k used the regular integer power formula.
    o For multiplying by \frac{(-1)^{k-1}}{k}, I multiplied each component of the triplex by \frac{(-1)^{k-1}}{k}.
    o Sum each component of the triplex separately.
    o Feed the whole mess to Mathematica and have it simplify the result as much as possible.

I tested these results by comparing a large number of random points within 1/4 unit of (1,0,0) to this triplex series truncated to 1000 terms. The results all matched to 16 digits. I only used sample points near (1,0,0) because this series has a limited radius of convergence.

Using this formula, we get the following:

\ln (x,0,0)=(\ln (|x|),0,0).

\ln (1,0,0) is undefined, but \lim_{\epsilon \to 1} \, \ln (\epsilon ,0,0)=(0,0,0). This is analogous to \ln (1)=0.

\ln (e,0,0)=(1,0,0). Analogous to \ln (e)=1.

\ln (-1,0,0) is 0 (it should be pi), but \lim_{\epsilon \to 0^+} \, \ln (-1,\epsilon ,0)=(0,\pi ,0) and \lim_{\epsilon \to 0^-} \, \ln (-1,\epsilon ,0)=(0,-\pi ,0). This is similar-ish to \ln (-1)=i \pi.

Unfortunately, for most triplex numbers, this log formula and the exp formulas above don't appear to be inverses of one another.
« Last Edit: December 15, 2009, 07:42:42 AM by BradC » Logged
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #67 on: December 15, 2009, 07:52:32 PM »

Here is the solution for the exponential function:

Awesome!

I had Mathematica sum this in terms of x, y, z instead of r, theta, phi, and I got results that numerically match yours. I tested my results with 100k points where x, y, and z were randomly chosen between -4 and 4, and our answers always agreed to at least ~12 digits.

In terms of x, y, z:
    e^{(x,y,z)}=\left(\frac{1}{2} e^{x-t y} \left(\cos (t x+y)+e^{2 t y} \cos (t x-y)\right),\frac{1}{2} e^{x-t y} \left(\sin (t x+y)-e^{2 t y} \sin (t x-y)\right),e^{\sqrt{x^2+y^2}} \sin (z)\right) where t=\frac{z}{\sqrt{x^2+y^2}}

Good work BradC. I just tried to further simplify my formula and indeed it exactly reduces to your formula. I don't know why I didn't see this before. Here is the simplified formula using the notation from my original formula:


* Exponential-Simplified.gif (1.27 KB, 498x63 - viewed 777 times.)
« Last Edit: December 16, 2009, 07:03:58 AM by bugman » Logged
BradC
Safarist
******
Posts: 85



« Reply #68 on: December 16, 2009, 02:23:53 AM »

I've done some numerical experiments regarding a triplex^triplex power function...

If we identify the complex number x+i y with the triplex number (x,y,0), and if we define (a,b,c)^{(x,y,z)}=e^{(x,y,z) \ln (a,b,c)} using the above series-based definitions of exp and ln, then the equation (a,b,0)^{(c,d,0)}=(a+i b)^{c+i d} appears to hold for(b\neq 0\text{ or }a>0)\text{ and }(c\neq 0\text{ or }d\neq 0). In other words, this triplex power operation is equivalent to the complex power operation almost everywhere, so it's basically a generalization of the complex power operation. smiley

Note that since triplex multiplication is commutative, we don't have the same ambiguity when defining the power function that quaternions have (see http://www.fractalforums.com/theory/rasing-a-quaternion-to-a-quaternionic-power/).
Logged
BradC
Safarist
******
Posts: 85



« Reply #69 on: December 16, 2009, 02:31:33 AM »

A picture of the triplex exponential map:


* ComplexExponentialMap.jpg (59.03 KB, 763x432 - viewed 669 times.)

* TriplexExponentialMap.jpg (155.26 KB, 1156x800 - viewed 1061 times.)
Logged
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #70 on: December 16, 2009, 02:38:22 AM »

A picture of the triplex exponential map:

Beautiful!
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #71 on: December 16, 2009, 04:56:31 PM »

very nice map which looks pretty much analogous smiley
Logged
bugman
Conqueror
*******
Posts: 122



WWW
« Reply #72 on: December 16, 2009, 06:24:37 PM »

That is really interesting. I would like to examine your formulas when I have more time. I also found a formula for ln({x, y, z}} and sin({x, y, z}) but they were very long and I haven't had time to see if I could simplify them.
« Last Edit: December 16, 2009, 09:52:58 PM by bugman » Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #73 on: December 16, 2009, 07:33:36 PM »

ln is the only thing that would be missing to have a nice formula for "true" exponentiation smiley
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #74 on: December 16, 2009, 08:10:06 PM »

ln is the only thing that would be missing to have a nice formula for "true" exponentiation smiley
I think you missed this ?
http://www.fractalforums.com/theory/triplex-algebra/msg9962/#msg9962
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Pages: 1 ... 3 4 [5] 6 7 ... 9   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Where does THE formula come from ? Mandelbrot & Julia Set bib 5 6375 Last post January 26, 2009, 07:12:10 PM
by cKleinhuis
Secant method for cosine function Images Showcase (Rate My Fractal) HPDZ 1 3159 Last post February 03, 2009, 09:51:16 PM
by cKleinhuis
Secant Cosine 2D Art HPDZ 0 2839 Last post May 01, 2009, 01:32:06 AM
by HPDZ
Formula? Theory « 1 2 » lkmitch 20 12317 Last post March 23, 2010, 06:01:56 AM
by jehovajah
@jesse - save formula as new formula ?! feature request cKleinhuis 0 6154 Last post October 10, 2012, 05:43:14 PM
by cKleinhuis

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.347 seconds with 26 queries. (Pretty URLs adds 0.014s, 2q)