unit09.mws

ORDINARY DIFFERENTIAL EQUATIONS POWERTOOL

Unit 9 -- Application: Orthogonal Trajectories

Prof. Douglas B. Meade

Industrial Mathematics Institute

Department of Mathematics

University of South Carolina

Columbia, SC 29208

URL: http://www.math.sc.edu/~meade/

E-mail: meade@math.sc.edu

Copyright © 2001 by Douglas B. Meade

All rights reserved

-------------------------------------------------------------------

>

Outline of Unit 9

>

Initialization

> restart;

> with( DEtools ):

> with( plots ):

> with( linalg ):

Warning, the name changecoords has been redefined

Warning, the name adjoint has been redefined

Warning, the protected names norm and trace have been redefined and unprotected

>

9.A Orthogonal Trajectories to a Family of Circles

The family of circles centered at ( c ,0) with radius c can be described as (x-c)^2+y^2 = c^2 , or F(x,y) = 0 with

> F := unapply( simplify( (x-c)^2+y^2-c^2 ), (x,y) );

F := proc (x, y) options operator, arrow; x^2-2*x*c...

>

Representative examples of this family of curves can be plotted with

> plotF := C -> implicitplot( eval(F(x,y),c=C), x=-20..20, y=-10..10, scaling=constrained ):

> display( seq( plotF(c), c=-9..9) );

[Maple Plot]

>

To find the curves orthogonal to one of these circles, the first step is to find an ODE that has the circle as a solution. Differentiating the equation for the circle as a level curve gives

> odeF := diff( F(x,y(x))=0, x );

odeF := 2*x-2*c+2*y(x)*diff(y(x),x) = 0

>

The orthogonal trajectories are the curves whose slope is the negative reciprocal of the slope of the original curve. Thus, a differential equation for the orthogonal trajectories is

> orthog_traj_ode := eval( odeF, diff(y(x),x)=-1/diff(y(x),x) );

orthog_traj_ode := 2*x-2*c-2*y(x)/diff(y(x),x) = 0

>

This simplifies to

> odeG := isolate( orthog_traj_ode, diff(y(x),x) );

odeG := diff(y(x),x) = y(x)/(x-c)

>

While this ODE is not exact,

> odeadvisor( odeG, [exact] );

[NONE]

>

it does have an integrating factor that makes it exact

> intfactor( odeG );

1/(x-c)

>

or note that the differential equation for the orthogonal trajectories is linear. In either case, the solution is

> infolevel[dsolve] := 3:

> dsolve( odeG, y(x), [exact] );

> infolevel[dsolve] := 0:

Classification methods on request

Methods to be used are:   [exact]

Trying to isolate the derivative dy/dx...

Successful isolation of dy/dx

----------------------------

* Tackling ODE using method:   exact

   -> Trying classification methods

   trying exact

   exact successful

y(x) = -_C1*(x-c)

>

Thus, the orthogonal trajectories to the circle (x-c)^2+y^2 = c^2 are the straight lines through the center of the circle.

>

[Back to ODE Powertool Table of Contents]

>