Re: Question about how to graph the vector field for the differential

• To: mathgroup at smc.vnet.net
• Subject: [mg97960] Re: Question about how to graph the vector field for the differential
• From: dh <dh at metrohm.com>
• Date: Thu, 26 Mar 2009 05:25:02 -0500 (EST)
• References: <gq7j9f\$qeo\$1@smc.vnet.net>

```
Hi,

the direction field is plotted by:

dir[x_, y_] := Normalize[{1, 2 x - y}]

VectorPlot[dir[x, y], {x, -3, 3}, {y, -3, 3}]

The velocity field:

vel[x_, y_] := {1, 2 x - y}

VectorPlot[vel[x, y], {x, -3, 3}, {y, -3, 3}]

The stream field:

vel[x_, y_] := {1, 2 x - y}

StreamPlot[vel[x, y], {x, -3, 3}, {y, -3, 3}]

hope this helps, Daniel

jo1e984 at gmail.com wrote:

> i need to graph the vector field and the family of solutions for the

> DE: dy/dx=2x-y

> and i tried the graph the vector field, but while i tried to use the

> VectorFieldPlot it show up some kind of wierd graph...

> and i cannot even get start on the "family of Solutions"

> graph...searched online but still cannot figure out.

> hope some pros can help me out on this...thx alot~!!

> Bluefly

>

```

• Prev by Date: Re: help^please
• Next by Date: Re: Question about how to graph the vector field for the differential
• Previous by thread: Re: Question about how to graph the vector field for the differential
• Next by thread: Re: Question about how to graph the vector field for the differential
{"ft_lang_label":"__label__en","ft_lang_prob":0.82406914,"math_prob":0.86384416,"size":1070,"snap":"2020-34-2020-40","text_gpt3_token_len":360,"char_repetition_ratio":0.12757973,"word_repetition_ratio":0.19689119,"special_character_ratio":0.37102804,"punctuation_ratio":0.24535316,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9767692,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-01T13:41:14Z\",\"WARC-Record-ID\":\"<urn:uuid:352a7c84-8159-44e6-b2be-c59321c8f466>\",\"Content-Length\":\"44503\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e808d525-ccdf-4c97-a5fc-28464bb195d6>\",\"WARC-Concurrent-To\":\"<urn:uuid:78e40759-4680-4763-a812-92f9e7fcc2cf>\",\"WARC-IP-Address\":\"140.177.205.73\",\"WARC-Target-URI\":\"http://forums.wolfram.com/mathgroup/archive/2009/Mar/msg00958.html\",\"WARC-Payload-Digest\":\"sha1:KHFSAMMPKPRE3FN2ONXTYPB3JOBZIKX7\",\"WARC-Block-Digest\":\"sha1:JWANW32VH3BHPM5PAQPY3Z4VIYGNDPCP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600402131412.93_warc_CC-MAIN-20201001112433-20201001142433-00165.warc.gz\"}"}