Docsity

Direction Fields and Qualitative Analysis of Differential Equations - Prof. Amnon Meir, Lab Reports of Differential Equations

Toggle sidebar
bg1
O
Math 2650 - Qualatative Analysis
Direction Fields
A. J. Meir
Copyright (C) A. J. Meir. All rights reserved.
This worksheet is for educational use only. No part of this publication may be reproduced or transmitted for profit in any form or by any means, electronic or
mechanical, including photocopy, recording, or any information storage and retrieval system without prior written permission from the author. Not for profit
distribution of the software is allowed without prior written permission, providing that the worksheet is not modified in any way and full credit to the author
is acknowledged.
Qualitative analysis
One of the emphases of the class is qualitative analysis.
This is important since most differential equations cannot be solved explicitly, although in many
cases we can still say someting about the solution to the equation (existence, uniqueness, and
qualatative behavior).
Even thogh we may not be able to find an explicit representation for the solution we may be able to
show the solution exists and that it is unique, furthermore we may be able to answer the questions:
Does the solution tend to 0 or
N
as t tends to
N
?
Is the solution periodic, and if so with what period?
Does the solution approach 0 , or some other value only as t tends to
N
, or for some finite time t?
Does the solution "converege" to some other function as t tends to
N
?
Direction Fields
Starting the DE tools.
The basic Maple command for the graphical representation of direction fields and approximate
solution curves is DEplot ; it is part of a package of routines called DEtools, which must be
explicitly loaded with the command.
with(DEtools):
What are direction fields?
The direction field is comprised of slope lines of the differential equation, for example,
dx
dt =f t,x
then f t,x is the slope of the graph of x t the solution at t.
A solution of the differential equation is a function whose graph is consistent with the direction
field (that is the tangent to the graph at each point must coincide with the slope line at that point).
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Direction Fields and Qualitative Analysis of Differential Equations - Prof. Amnon Meir and more Lab Reports Differential Equations in PDF only on Docsity!

O

Math 2650 - Qualatative Analysis

Direction Fields

A. J. Meir Copyright (C) A. J. Meir. All rights reserved. This worksheet is for educational use only. No part of this publication may be reproduced or transmitted for profit in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system without prior written permission from the author. Not for profit distribution of the software is allowed without prior written permission, providing that the worksheet is not modified in any way and full credit to the author is acknowledged.

Qualitative analysis

One of the emphases of the class is qualitative analysis. This is important since most differential equations cannot be solved explicitly, although in many cases we can still say someting about the solution to the equation (existence, uniqueness, and qualatative behavior). Even thogh we may not be able to find an explicit representation for the solution we may be able to show the solution exists and that it is unique, furthermore we may be able to answer the questions: Does the solution tend to 0 or N as t tends to N? Is the solution periodic, and if so with what period? Does the solution approach 0 , or some other value only as t tends to N, or for some finite time t? Does the solution "converege" to some other function as t tends to N?

Direction Fields

Starting the DE tools. The basic Maple command for the graphical representation of direction fields and approximate solution curves is DEplot ; it is part of a package of routines called DEtools, which must be explicitly loaded with the command. with(DEtools): What are direction fields? The direction field is comprised of slope lines of the differential equation, for example, dx dt = f t , x then f t , x is the slope of the graph of x t the solution at t. A solution of the differential equation is a function whose graph is consistent with the direction field (that is the tangent to the graph at each point must coincide with the slope line at that point).

O O O Isoclines are curves along which the slope lines have constant slope (they are given by f t , x = c , that is isoclines are level curves of the function f). Some examples dx dt = k x We will set k=1. k:=1: DEplot(D(x)(t)=kx(t),x(t),t=-4..4,x=-4..4);* t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

Properties: For 0! x t , then x is increasing. For x t! 0 , then x is decreasing. x cannot change sign. x = 0 is a constant solution (corresponding to the initial condition x t 0 = 0 ), it is the only constatnt solution. x does not approach a constant value as t tends to N. x t = c e k t DEplot(D(x)(t)=kx(t),x(t),t=-4..4,x=-4..4, {[x(0)=-1],[x(0)=0],[x(0)=1]});*

O O Properties: For K 3! x t , then x is increasing. For x t! K 3 , then x is decreasing. x cannot cross the line x t = K 3. x = K 3 is a constant solution (corresponding to the initial condition x t_0 = K 3 ), it is the only constatnt solution. x does not approach a constant value as t tends to N. x t = c e k t K 3 k DEplot(D(x)(t)=kx(t)+3,x(t),t=-4..4,x=-4..4, {[x(0)=-7/2],[x(0)=-3],[x(0)=1]});* t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

dx dt = k x K 3 DEplot(D(x)(t)=kx(t)-3,x(t),t=-4..4,x=-4..4);*

O t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

x t = c e k t C 3 k DEplot(D(x)(t)=kx(t)-3,x(t),t=-4..4,x=-4..4, {[x(0)=1],[x(0)=3],[x(0)=7/2]});*

O O Properties: For 0! x t , then x is increasing. For x t! 0 , then x is decreasing. x t = 0 is the only constant solution (it correspond to the initial condition x t_0 = 0 ). if the initial condition is not zero (that is if x t_0 s 0 ), then x is never 0. lim t / N x = N if the initial value is positive and lim t / N x = K N if the initial value is negative. x t = c e 1 k t^2 2 DEplot(D(x)(t)=kx(t)t,x(t),t=-4..4,x=-4..4, {[x(0)=-1],[x(0)=0],[x(0)=1]});** t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

Try the previous example with k=-1. DEplot(D(x)(t)=-kx(t)t,x(t),t=-4..4,x=-4..4, {[x(-1)=2],[x(0)=-1],[x(0)=0],[x(0)=1]});** Note: now lim t / N x = 0 and also lim t /K N x = 0.

O t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

dx dt = x 2 C t 2 DEplot(D(x)(t)=x(t)^2+t^2,x(t),t=-2..2,x=-2..2);

O t

K 2 K 1 0 1 2

x(t) K 2

K 1

dx dt = t K x DEplot(D(x)(t)=t-x(t),x(t),t=-4..4,x=-4..4); t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

Solution curves

O O DEplot(D(x)(t)=t-x(t),x(t),t=-4..4,x=-4..4, {[x(0)=-1],[x(0)=0],[x(0)=1],[x(0)=-3]}); Note: solutions "converge" to the function x t = t K 1. This becomes obvious if you know the solution is: x t = t K 1 C c e K t t

K 4 K 3 K 2 K 1 0 1 2 3 4

x(t) K 4

K 3

K 2

K 1

dx dt = t 2 K x 2 DEplot(D(x)(t)=t^2-x(t)^2,x(t),t=-3..3,x=-3..3);

t

K 3 K 2 K 1 0 1 2 3

x(t) K 3

K 2

K 1

Project 1

Study the problems: i. dx dt = x 3 ii. dx dt = t 2 K x 2 C 1 a. Plot their direction field. b. When is x(t) increasing, decreasing, constant, positive, and negative? c. Is the solution valid for all t? d. What are lim t / N x t , lim t /K N x t?