File:Saddle-node phase portrait with central manifold.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 720 × 720 pixels, file size: 35 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Sadle-node singular point phase portrait with one of possible central manifolds

    This is a phase portrait of the simple saddle-node equation

    {x˙=x2y˙=y

    Its phase flow looks like:

    x(t)=1/(1/x0−t), y(t)=y0exp⁡(t).

    And phase curves can be represented in the form:

    y(x)=y0exp⁡(1/x0−1/x)
    Русский: Фазовый портрет седлоузловой особой точки, выделено одно из возможных центральных многообразий
    Date
    Source Own work
    Author Ilya Voyager
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with  version 4.3 of GNU libplot, a free library for exporting 2-D vector graphics..
    Source code
    InfoField

    SVG code

    import graph;
    import math;
    import metapost;
    
    size(8 inches);
    defaultpen(0.45mm);
    real yt(real x, pair z0)
    {
    	return z0.y*exp(1/z0.x-1/x);
    }
    path trajectory(pair z0, real leftmargin, real rightmargin)
    {
    	real curleftmargin=leftmargin;
    	real currightmargin=rightmargin;
    	if(z0.x>0)
    	{
    		curleftmargin=0.01;
    	}
    	else
    	{
    		currightmargin=-0.3;
    	}
    	return graph(new real(real t) {return yt(t, z0);},curleftmargin, currightmargin);
    }
    
    path boundary=(-3,-3)--(3,-3)--(3,3)--(-3,3)--cycle;
    path traj;
    pair inits[]={
    (1,0),
    (1,0.5),(1,1),(1,2),(1,6),(1,100),
    (1,-0.5),(1,-1),(1,-2),(1,-6), (1,-100),
    (-1,0.3),(-1,1),(-1,2),(-1,3),
    (-1,-0.3), (-1,-1),(-1,-2),(-1,-3),
    (-1,0),
    };
    
    draw((-3,0)--(0,0)--trajectory((1,0.5),0,3),p=rgb(1,0.3,0.3)+4.5);
    draw((0,-3)--(0,3),p=rgb(0.2,0.8,0.2)+4.5);
    
    arrowsize=new real(pen p=currentpen) {return 3.5mm;};
    for(pair z0 : inits)
    {
    	traj=trajectory(z0, -3, 3);
    	traj=lastcut(traj,boundary).before;
    	draw(traj, Arrow(position=45));
    }
    draw((0,0.1)--(0,3), Arrow(4mm, Relative(0.3),filltype=NoFill), Arrow(4mm, Relative(0.32),filltype=NoFill));
    draw((0,-0.1)--(0,-3), Arrow(4mm, Relative(0.3), filltype=NoFill), Arrow(4mm, Relative(0.32), filltype=NoFill));
    
    fill(scale(0.06)*unitcircle);
    

    Licensing

    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    30 November 2008

    35,855 byte

    720 pixel

    720 pixel

    image/svg+xml

    731816b9c1f0ae400fa6e0f8ac48cc23b2568902

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current21:52, 30 November 2008Thumbnail for version as of 21:52, 30 November 2008720 × 720 (35 KB)wikimediacommons>Ilya Voyager{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= }}

    There are no pages that use this file.