Table of Contents Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Ikeda map

From HandWiki - Reading time: 5 min

The trajectories of 2000 random points in an Ikeda map with u = 0.918.

In physics and mathematics, the Ikeda map is a discrete-time dynamical system given by the complex map [math]\displaystyle{ z_{n+1} = A + B z_n e^{i (|z_n|^2 + C)} }[/math]

The original map was proposed first by Kensuke Ikeda as a model of light going around across a nonlinear optical resonator (ring cavity containing a nonlinear dielectric medium) in a more general form. It is reduced to the above simplified "normal" form by Ikeda, Daido and Akimoto [1][2] [math]\displaystyle{ z_n }[/math] stands for the electric field inside the resonator at the n-th step of rotation in the resonator, and [math]\displaystyle{ A }[/math] and [math]\displaystyle{ C }[/math] are parameters which indicate laser light applied from the outside, and linear phase across the resonator, respectively. In particular the parameter [math]\displaystyle{ B \leq 1 }[/math] is called dissipation parameter characterizing the loss of resonator, and in the limit of [math]\displaystyle{ B = 1 }[/math] the Ikeda map becomes a conservative map.

The original Ikeda map is often used in another modified form in order to take the saturation effect of nonlinear dielectric medium into account: [math]\displaystyle{ z_{n+1} = A + B z_n e^{i K/(|z_n|^2 +1)+C} }[/math]

A 2D real example of the above form is: [math]\displaystyle{ x_{n+1} = 1 + u (x_n \cos t_n - y_n \sin t_n), \, }[/math] [math]\displaystyle{ y_{n+1} = u (x_n \sin t_n + y_n \cos t_n), }[/math] where u is a parameter and [math]\displaystyle{ t_n = 0.4 - \frac{6}{1+x_n^2+y_n^2}. }[/math]

For [math]\displaystyle{ u \geq 0.6 }[/math], this system has a chaotic attractor.

Attractor

This animation shows how the attractor of the system changes as the parameter [math]\displaystyle{ u }[/math] is varied from 0.0 to 1.0 in steps of 0.01. The Ikeda dynamical system is simulated for 500 steps, starting from 20000 randomly placed starting points. The last 20 points of each trajectory are plotted to depict the attractor. Note the bifurcation of attractor points as [math]\displaystyle{ u }[/math] is increased.

left| [math]\displaystyle{ u=0.3 }[/math] left| [math]\displaystyle{ u=0.5 }[/math]
left| [math]\displaystyle{ u=0.7 }[/math] left| [math]\displaystyle{ u=0.9 }[/math]

Point trajectories

The plots below show trajectories of 200 random points for various values of [math]\displaystyle{ u }[/math]. The inset plot on the left shows an estimate of the attractor while the inset on the right shows a zoomed in view of the main trajectory plot.

250px|left| u = 0.1 250px|left| u = 0.5 250px|left| u = 0.65
250px|left| u = 0.7 250px|left| u = 0.8 250px|left| u = 0.85
250px|left| u = 0.9 250px|left| u = 0.908 250px|right| u = 0.92

Octave/MATLAB code for point trajectories

File:Ikeda-map-iterations.webm The Octave/MATLAB code to generate these plots is given below:

% u = ikeda parameter
% option = what to plot
%  'trajectory' - plot trajectory of random starting points
%  'limit' - plot the last few iterations of random starting points
function ikeda(u, option)
P = 200; % how many starting points
N = 1000; % how many iterations
Nlimit = 20; % plot these many last points for 'limit' option
 
x = randn(1, P) * 10; % the random starting points
y = randn(1, P) * 10;
 
for n = 1:P,
    X = compute_ikeda_trajectory(u, x(n), y(n), N);
     
    switch option
        case 'trajectory' % plot the trajectories of a bunch of points
            plot_ikeda_trajectory(X); hold on;

        case 'limit'
            plot_limit(X, Nlimit); hold on;

        otherwise
            disp('Not implemented');
    end
end

axis tight; axis equal
text(- 25, - 15, ['u = ' num2str(u)]);
text(- 25, - 18, ['N = ' num2str(N) ' iterations']);
end

% Plot the last n points of the curve - to see end point or limit cycle
function plot_limit(X, n)
plot(X(end - n:end, 1), X(end - n:end, 2), 'ko');
end

% Plot the whole trajectory
function plot_ikeda_trajectory(X)
plot(X(:, 1), X(:, 2), 'k');
% hold on; plot(X(1,1), X(1,2), 'bo', 'markerfacecolor', 'g'); hold off
end

% u is the ikeda parameter
% x,y is the starting point
% N is the number of iterations
function [X] = compute_ikeda_trajectory(u, x, y, N)
X = zeros(N, 2);
X(1, :) = [x y];
 
for n = 2:N
     
    t = 0.4 - 6 / (1 + x ^ 2 + y ^ 2);
    x1 = 1 + u * (x * cos(t) - y * sin(t));
    y1 = u * (x * sin(t) + y * cos(t));
    x = x1;
    y = y1;

    X(n, :) = [x y];
end
end


Python code for point trajectories

import math

import matplotlib.pyplot as plt
import numpy as np


def main(u, points=200, iterations=1000, nlim=20, limit=False, title=True):
    """
    Params
        u:float
            ikeda parameter
        points:int
            number of starting points
        iterations:int
            number of iterations
        nlim:int
            plot these many last points for 'limit' option. Will plot all points if set to zero
        limit:bool
            plot the last few iterations of random starting points if True. Else Plot trajectories.
        title:[str, NoneType]
            display the name of the plot if the value is affirmative
    """
    
    x = 10 * np.random.randn(points, 1)
    y = 10 * np.random.randn(points, 1)
    
    for n in range(points):
        X = compute_ikeda_trajectory(u, x[n][0], y[n][0], iterations)
        
        if limit:
            plot_limit(X, nlim)
            tx, ty = 2.5, -1.8
            
        else:
            plot_ikeda_trajectory(X)
            tx, ty = -30, -26
    
    plt.title(f"Ikeda Map ({u=:.2g}, {iterations=})") if title else None
    return plt


def compute_ikeda_trajectory(u, x, y, N):
    """
    Calculate a full trajectory
    Params
        u:float
            is the ikeda parameter
        x,y float:
            coordinates of the starting point
        N:int
            the number of iterations
    """
    X = np.zeros((N, 2))
    
    for n in range(N):
        X[n] = np.array((x, y))
        
        t = 0.4 - 6 / (1 + x ** 2 + y ** 2)
        x1 = 1 + u * (x * math.cos(t) - y * math.sin(t))
        y1 = u * (x * math.sin(t) + y * math.cos(t))
        
        x = x1
        y = y1   
        
    return X


def plot_limit(X, n):
    """
    Plot the last n points of the curve - to see end point or limit cycle
    Params
        X:np.array
            trajectory of an associated starting-point
        n:int
            number of "last" points to plot
    """
    plt.plot(X[-n:, 0], X[-n:, 1], 'ko')


def plot_ikeda_trajectory(X):
    """
    Plot the whole trajectory
    Params
        X:np.array
            trajectory of an associated starting-point
    """
    plt.plot(X[:,0], X[:, 1], 'k')


if __name__ == '__main__':
    main(0.9, limit=True, nlim=0).show()

References

  1. Ikeda, Kensuke (1979). "Multiple-valued stationary state and its instability of the transmitted light by a ring cavity system". Optics Communications (Elsevier BV) 30 (2): 257–261. doi:10.1016/0030-4018(79)90090-7. ISSN 0030-4018. Bibcode1979OptCo..30..257I. 
  2. Ikeda, K.; Daido, H.; Akimoto, O. (1980-09-01). "Optical Turbulence: Chaotic Behavior of Transmitted Light from a Ring Cavity". Physical Review Letters (American Physical Society (APS)) 45 (9): 709–712. doi:10.1103/physrevlett.45.709. ISSN 0031-9007. Bibcode1980PhRvL..45..709I. 




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Ikeda_map
1 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF