File:Lotka-Volterra.svg

Summary

Description
English: Phase portrait of Lotka-Volterra system. Mathematica code:
Italiano: Ritratto di fase del sistema Lotka-Volterra.

Source code

tend = 40;
Needs["VectorFieldPlots`"]
Quiet@Manipulate[
  right1 = (a - b y[t]) x[t];
  right2 = (c x[t] - d) y[t];
  Solutions = 
   Table[NDSolve[{x'[t] == right1, y'[t] == right2, x[0] == d/c, 
      y[0] == i}, {x[t], y[t]}, {t, 0, tend}], {i, a/b, 
     3, (3 - a/b)/10}];
  plot1 = 
   ParametricPlot[Evaluate[{x[t], y[t]} /. Solutions], {t, 0, tend}, 
    ImageSize -> {300, 300}, AxesOrigin -> {0, 0}, 
    PlotStyle -> {{Blue, Thick}}];
  plot2 = 
   Plot[Evaluate[{x[t], y[t]} /. Solutions[[-1]]], {t, 0, tend}, 
    ImageSize -> {300, 300}];
  plot3 = ListPlot[{{0, 0}, {d/c, a/b}}, PlotMarkers -> {Automatic}];
  plot4 = 
   VectorFieldPlot[{right1, right2} /. {x[t] -> x, y[t] -> y}, {x, 0, 
     3}, {y, 0, 3}];
  plotLeft = 
   Show[plot1, plot3, plot4, PlotRange -> {{0, 3}, {0, 3}}, 
    AxesLabel -> {x, y}, Ticks -> None];
  Row[{plotLeft, plot2}]
  , {{a, 1}, 0, 5}, {{b, 1}, 0, 5}, {{c, 1}, 0, 5}, {{d, 1}, 0, 5}]
Date
Source Own work
Author Wiso
SVG development
InfoField
 The SVG code is valid.
 This trigonometry was created with Mathematica.
Category:Valid SVG created with Mathematica:Trigonometry#Lotka-Volterra.svg
 Category:Translation possible - SVGThis trigonometry uses embedded text that can be easily translated using a text editor.

Licensing

Wiso, the copyright holder of this work, hereby publishes it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
Category:License migration redundant#Lotka-Volterra.svgCategory:GFDL#Lotka-Volterra.svg
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
Attribution:
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0,2.5,2.0,1.0#Lotka-Volterra.svg
You may select the license of your choice.
Category:Self-published work
Category:Images with Mathematica source code Category:Lotka–Volterra equations Category:Phase space diagrams Category:Vector fields
Category:CC-BY-SA-3.0,2.5,2.0,1.0 Category:GFDL Category:Images with Mathematica source code Category:License migration redundant Category:Lotka–Volterra equations Category:Phase space diagrams Category:Self-published work Category:Translation possible - SVG Category:Valid SVG created with Mathematica:Trigonometry Category:Vector fields