Since you did not provide numerical values, I made some up.
Basically, what you could do is run RecurrenceTable
on the 3 equations starting from some initial conditions, then use Graphics3D to plot the trajectory.
ClearAll["Global`*"];
α = 1;
β = 2;
γ = 3;
δ = 4;
ζ = 5;
η = 6;
μ = 7;
ε = 8;
υ = 9;
ρ = 10;
σ = 11;
ω = 12;
eq1 = x[n + 1] == ((α x[n] - β x[n] y[n] - γ x[n] z[n])/(1 + δ x[n]));
eq2 = y[n + 1] == ((ζ y[n] + η x[n] y[n] - μ y[n] z[n])/(1 + ε y[n]));
eq3 = z[n + 1] == ((υ z[n] + ρ x[n] z[n] - σ y[n] z[n])/(1 + ω z[n]));
(*make sure in this below, to add decimal point to one of the
initial conditions numbers, which is 3.0 in this example. This
way computation is done in machine numbers which is much faster
otherwise it will take long time *)
tbl = RecurrenceTable[{eq1, eq2, eq3, x[0] == 1, y[0] == 2,
z[0] == 3.}, {x, y, z}, {n, 1, 100}];
Graphics3D[Line[tbl], Axes -> True, AxesLabel -> {"x", "y", "z"},
BaseStyle -> 12]
The above gives one trajectory, starting from the initial conditions given. For different IC, you get different trajectory.
I have not seen a StreamPlot
like function in Mathematica for discrete systems.
To answer comment
i want to draw these trajectotries in three different coloures. how
can i change commands for mathematica to draw it in differnt three
colours. like red for 'x' blue for 'y' and green for 'z'
The 3D trajectory is the "solution" itself. At each step, there is one single point. This point is in 3D space, so each point has 3 components. The table is just a list of all these points.
To draw x,y,z
on each own, then we can use 1D plot, and plot x(n) vs. n
and same for y
and z
. One possible way is below. The variable tbl
used is the same one generated in the above code. So just pick the correct entry of each coordinate. First is x
, second is y
, and third is z
.
p1 = ListLinePlot[tbl[[All, 1]], PlotStyle -> Red, BaseStyle -> 12,
PlotLabel -> "X component", AxesLabel -> {"n", "x[n]"}];
p2 = ListLinePlot[tbl[[All, 2]], PlotStyle -> Blue, BaseStyle -> 12,
PlotLabel -> "Y component", AxesLabel -> {"n", "y[n]"}];
p3 = ListLinePlot[tbl[[All, 3]], PlotStyle -> Black, BaseStyle -> 12,
PlotLabel -> "Z component", AxesLabel -> {"n", "z[n]"}];
Grid[{{p1, p2, p3}}, Spacings -> {1, 1}]
To put them all on top of each others:
Show[{p1, p2, p3}, PlotLabel -> "X,Y,Z solutions"]
To answer comment
can i draw scatter plot of this system
I am not too sure what this should be in this context. May be this is what is needed?
tbl = RecurrenceTable[{eq1, eq2, eq3, x[0] == 1, y[0] == 2,
z[0] == 3.}, {x, y, z}, {n, 1, 500}];
ListPointPlot3D[tbl, PlotStyle -> {Red,PointSize[0.01]}]
You could also use same Graphics3D
command above and change Line
to Point
Graphics3D[Point[tbl], Axes -> True, AxesLabel -> {"x", "y", "z"},
BaseStyle -> 12]