Slope field

Slope field
The slope field of dy/dx=x2-x-1, with the blue, red, and turquoise lines being (x3/3)-(x2/2)-x+4, (x3/3)-(x2/2)-x, and (x3/3)-(x2/2)-x-4, respectively.

In mathematics, a slope field (or direction field) is a graphical representation of the solutions of a first-order differential equation. It is achieved without solving the differential equation analytically, and thus it is useful. The representation may be used to qualitatively visualize solutions, or to numerically approximate them.

Contents

Definition

Standard case

The slope field is traditionally defined for the following type of differential equations

y' = f(x,y).

It can be viewed as a creative way to plot a real-valued function of two real variables f(x,y) as a planar picture. Specifically, for a given pair x,y, a vector with the components [1f(x,y)] is drawn at the point x,y on the x,y-plane. Sometimes, the vector [1f(x,y)] is normalized to make the plot better looking for a human eye. A set of pairs x,y making a rectangular grid is typically used for the drawing.

An Isocline (a series of lines with the same slope) is often used to supplement the slope field. In an equation of the form y' = f(x,y), the isocline is a line in the x,y-plane plane obtained by setting f(x,y) equal to a constant.

General case of a system of differential equations

Given a system of differential equations,

\frac{dx_1}{dt}=f_1(t,x_1,x_2,\ldots,x_n)
\frac{dx_2}{dt}=f_2(t,x_1,x_2,\ldots,x_n)
\vdots
\frac{dx_n}{dt}=f_n(t,x_1,x_2,\ldots,x_n)

the slope field is an array of slope marks in the phase space (in any number of dimensions depending on the number of relevant variables; for example, two in the case of a first-order linear ODE, as seen to the right). Each slope mark is centered at a point (t,x_1,x_2,\ldots,x_n) and is parallel to the vector

\begin{pmatrix} 1 \\ f_1(t,x_1,x_2,\ldots,x_n) \\ f_2(t,x_1,x_2,\ldots,x_n) \\ \vdots \\ f_n(t,x_1,x_2,\ldots,x_n) \end{pmatrix}.

The number, position, and length of the slope marks can be arbitrary. The positions are usually chosen such that the points (t,x_1,x_2,\ldots,x_n) make a uniform grid. The standard case, described above, represents n = 1. The general case of the slope field for systems of differential equations is not easy to visualize for n > 2.

General application

With computers, complicated slope fields can be quickly made without tedium, and so only recently practical application is to use them merely to get the feel for what a solution should be before an explicit general solution is sought. Of course, computers can also just solve for one, if it exists.

If there is no explicit general solution, computers can use slope fields (even if they aren’t shown) to numerically find graphical solutions. Examples of such routines are Euler's method, or better, the Runge-Kutta methods.

Software for plotting slope fields

Different software packages can plot slope fields.

Example code in GNU Octave/MATLAB

Ffun = @(X,Y)X.*Y;               % function f(x,y)=xy
[X,Y]=meshgrid(-2:.3:2,-2:.3:2); % choose the plot sizes
DY=Ffun(X,Y); DX=ones(size(DY)); % generate the plot values 
quiver(X,Y,DX,DY);               % plot the direction field
hold on;
contour(X,Y,DY,[-6 -2 -1 0 1 2 6]); %add the isoclines
title('Slope field and isoclines for f(x,y)=xy')

Examples

See also

References

  • Blanchard, Paul; Devaney, Robert L.; and Hall, Glen R. (2002). Differential Equations (2nd ed.). Brooks/Cole: Thompson Learning. ISBN 0-534-38514-1

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • slope field — noun A field of plotted slopes of a differentiable function …   Wiktionary

  • Field electron emission — It is requested that a diagram or diagrams be included in this article to improve its quality. For more information, refer to discussion on this page and/or the listing at Wikipedia:Requested images. Field emission (FE) (also known as field… …   Wikipedia

  • slope — {{Roman}}I.{{/Roman}} noun ADJECTIVE ▪ precipitous (formal), steep ▪ gentle, gradual, slight ▪ long, short …   Collocations dictionary

  • Slope stability — The field of slope stability encompasses the analysis of static and dynamic stability of slopes of earth and rock fill dams, slopes of other types of embankments, excavated slopes, and natural slopes in soil and soft rock. [… …   Wikipedia

  • field — ▪ I. field field 1 [fiːld] noun [countable] 1. a subject that people study or are involved in as part of their work: • We are looking for graduates with degrees in artificial intelligence, languages and related fields. • Until recently, NEC was… …   Financial and business terms

  • Field desk — A field desk is a portable desk which is meant to be used in rear areas not too far from a battlefield and moved around rather frequently in difficult conditions. It is in contrast to the campaign desk, which is usually heavier and meant for… …   Wikipedia

  • Field hockey stick — In Field hockey, each player carries a stick and cannot take part in the game without it. The stick is usually between 36 and 38 long (but this is not defined or restricted)and traditionally made of wood but now almost all the more expensive… …   Wikipedia

  • Prudhoe Bay Oil Field — Prudhoe Bay oil field …   Wikipedia

  • Mild-slope equation — Simulation of wave penetration involving diffraction and refraction into Tedious Creek, Maryland, using CGWAVE (which solves the mild slope equation). In fluid dynamics, the mild slope equation describes the combined effects of diffraction and… …   Wikipedia

  • Potrillo volcanic field — The Potrillo Volcanic Field is a monogenetic volcanic field located on the Rio Grande Rift in New Mexico, USA and Chihuahua, Mexico. It lies convert|35|km|mi|0 west of El Paso, Texas. Rio Grande Rift *Rifting began in Late Oligocene cite book |… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”