<?xml version="1.0" encoding="UTF-8"?>
<Worksheet><Version major="6" minor="1"/><View-Properties><Zoom percentage="100"/></View-Properties><Styles><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Heading 1" rightmargin="0.0" spaceabove="8.0" spacebelow="4.0"/><Layout alignment="left" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Normal" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="centred" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="Normal257" rightmargin="0.0" spaceabove="0.0" spacebelow="0.0"/><Layout alignment="left" bullet="indent" firstindent="0.0" leftmargin="0.0" linebreak="space" linespacing="0.0" name="List Item" rightmargin="0.0" spaceabove="3.0" spacebelow="3.0"/><Font background="[0,0,0]" bold="true" executable="true" family="Monospaced" foreground="[255,0,0]" name="Maple Input"/><Font background="[0,0,0]" family="Times New Roman" name="2D Comment" underline="false"/><Font background="[0,0,0]" foreground="[0,128,128]" italic="false" name="Hyperlink" underline="true"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Normal257" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" italic="true" name="_cstyle256"/><Font background="[0,0,0]" bold="true" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Heading 1" readonly="false" size="18" underline="false"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="List Item" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" italic="false" name="Normal" readonly="false" size="12" underline="false"/><Font background="[0,0,0]" family="Times New Roman" name="Page Number" underline="false"/></Styles><Page-Numbers enabled="false" first-number="1" first-numbered-page="1" horizontal-location="right" style="Page Number" vertical-location="bottom"/><Group><Input><Text-field layout="Normal257" style="Normal257"/><Text-field layout="Normal257" style="Normal257">ORDINARY DIFFERENTIAL EQUATIONS POWERTOOL</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal257" style="Normal257">Lesson 9 -- Application: Orthogonal Trajectories</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal257" style="Hyperlink"><Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="http://www.math.sc.edu/~meade/" size="12" style="Hyperlink">Prof. Douglas B. Meade</Hyperlink></Text-field><Text-field layout="Normal257" style="Hyperlink"><Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="http://www.math.sc.edu/~IMI/" size="12" style="Hyperlink">Industrial Mathematics Institute</Hyperlink></Text-field><Text-field layout="Normal257" style="Hyperlink"><Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="http://www.math.sc.edu/" size="12" style="Hyperlink">Department of Mathematics</Hyperlink></Text-field><Text-field layout="Normal257" style="Hyperlink"><Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="http://www.sc.edu/" size="12" style="Hyperlink">University of South Carolina</Hyperlink></Text-field><Text-field layout="Normal257" style="Normal257">Columbia, SC 29208
</Text-field><Text-field layout="Normal257" style="Normal257">URL:   <Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="http://www.math.sc.edu/~meade/" size="12" style="Hyperlink">http://www.math.sc.edu/~meade/</Hyperlink></Text-field><Text-field layout="Normal257" style="Normal257">E-mail: <Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="mailto:meade@math.sc.edu" size="12" style="Hyperlink">meade@math.sc.edu</Hyperlink> </Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal257" style="Normal257"><Font encoding="ISO8859-1">Copyright \251  2001  by Douglas B. Meade</Font></Text-field><Text-field layout="Normal257" style="Normal257">All rights reserved</Text-field><Text-field layout="Normal257" style="Normal257"/><Text-field layout="Normal257" style="Normal257">-------------------------------------------------------------------</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Outline of Lesson 9</Text-field></Title><Group><Input><Text-field layout="List Item" style="List Item"><Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="Wks:#9.A" size="12" style="Hyperlink">9.A</Hyperlink> Trajectories Orthogonal to a Family of Circles</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group></Section><Section collapsed="true"><Title><Text-field layout="Heading 1" style="Heading 1">Initialization</Text-field></Title><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">restart; </Font></Text-field><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">with( DEtools ):</Font></Text-field><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">with( plots ):</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group></Section><Section collapsed="true"><Title><Text-field bookmark="9.A" layout="Heading 1" style="Heading 1">9.A Trajectories Orthogonal to a Family of Circles</Text-field></Title><Group><Input><Text-field layout="Normal" style="Normal">Two curves <Equation input-equation="y = f(x);" style="2D Comment">NiMvJSJ5Ry0lImZHNiMlInhH</Equation> and <Equation input-equation="y = g(x);" style="2D Comment">NiMvJSJ5Ry0lImdHNiMlInhH</Equation> that intersect at <Equation input-equation="x = a;" style="2D Comment">NiMvJSJ4RyUiYUc=</Equation> are <Font bold="false" executable="false" family="Times New Roman" foreground="[0,0,0]" size="12" style="_cstyle256" underline="false">orthogonal</Font> at <Equation input-equation="x = a;" style="2D Comment">NiMvJSJ4RyUiYUc=</Equation> if the tangents to each curve are perpendicular at <Equation input-equation="x = a;" style="2D Comment">NiMvJSJ4RyUiYUc=</Equation>.  Thus, the condition</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal257" style="Normal257"><Equation input-equation="`f '`(a)*`g'`(a) = -1;" style="2D Comment">NiMvKiYtJSRmfidHNiMlImFHIiIiLSUjZydHRidGKSwkRikhIiI=</Equation> </Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">is necessary and sufficient for the two curves to be orthogonal at <Equation input-equation="x = a;" style="2D Comment">NiMvJSJ4RyUiYUc=</Equation>.  This condition says nothing more than that the slopes are negative reciprocals of each other at <Equation input-equation="x = a;" style="2D Comment">NiMvJSJ4RyUiYUc=</Equation>.</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">Two families of curves defined implicitly by <Equation input-equation="F(x,y) = alpha;" style="2D Comment">NiMvLSUiRkc2JCUieEclInlHJSZhbHBoYUc=</Equation> and <Equation input-equation="G(x,y) = beta;" style="2D Comment">NiMvLSUiR0c2JCUieEclInlHJSViZXRhRw==</Equation> are orthogonal if any member of one family that intersects a curve of the other family, does so at right angles.  To understand what it means for two families of curves to be orthogonal, consider the following example.</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">The family of circles centered at (<Equation input-equation="c" style="2D Comment">NiMlImNH</Equation>, 0) with radius <Equation input-equation="c" style="2D Comment">NiMlImNH</Equation> can be described as <Equation input-equation="(x-c)^2 + y^2 = c^2" style="2D Comment">NiMvLCYqJCwmJSJ4RyIiIiUiY0chIiIiIiNGKCokJSJ5R0YrRigqJEYpRis=</Equation>, or <Equation input-equation="F(x,y)=0" style="2D Comment">NiMvLSUiRkc2JCUieEclInlHIiIh</Equation> with</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">F := unapply( simplify( (x-c)^2+y^2-c^2 ), (x,y) ):
'F'(x,y) = F(x,y);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Representative examples of this family of curves are seen in Figure 9.1.</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">plotF := C -&gt; implicitplot( eval(F(x,y),c=C), x=-20..20, y=-10..10, scaling=constrained, grid=[60,60] ):
p1 := display( seq( plotF(c), c=-9..9) ):
display(p1, title="Figure 9.1");</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">To find the family of curves orthogonal to this family of circles, obtain the derivative for any curve of the family, expressed in a form independent of the parameter <Equation input-equation="c;" style="2D Comment">NiMlImNH</Equation>.  The derivative of a member of the family can be obtained by implicit differentiation of the equation</Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal257" style="Normal257"><Equation input-equation="F(x,y(x)) = 0;" style="2D Comment">NiMvLSUiRkc2JCUieEctJSJ5RzYjRiciIiE=</Equation> </Text-field><Text-field layout="Normal" style="Normal"/><Text-field layout="Normal" style="Normal">The result of implicit differentiation is</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">diff_F := diff( F(x,y(x))=0, x );</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">and the derivative <Equation input-equation="dy/dx;" style="2D Comment">NiMqJiUjZHlHIiIiJSNkeEchIiI=</Equation> is</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">diff_with_c := simplify(isolate(diff_F, diff(y(x),x)));</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Unfortunately, this expression for the derivative contains the parameter <Equation input-equation="c;" style="2D Comment">NiMlImNH</Equation>.  That makes the expression dependent on the particular curve that <Equation input-equation="c;" style="2D Comment">NiMlImNH</Equation> selects from the family.  The desired expression for the derivative must be independent of this parameter.  Hence, eliminate <Equation input-equation="c;" style="2D Comment">NiMlImNH</Equation> by use of the equation <Equation input-equation="F(x,y) = 0;" style="2D Comment">NiMvLSUiRkc2JCUieEclInlHIiIh</Equation>.  Either solve for <Equation input-equation="c;" style="2D Comment">NiMlImNH</Equation> and substitute, or use</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q := eliminate({F(x,y(x)),diff_with_c},c);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">The desired expression is implicitly contained in</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q1 := q[2][1]= 0;</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">This equation can be solved for <Equation input-equation="dy/dx;" style="2D Comment">NiMqJiUjZHlHIiIiJSNkeEchIiI=</Equation> and the negative reciprocal obtained, or the derivative <Equation input-equation="dy/dx;" style="2D Comment">NiMqJiUjZHlHIiIiJSNkeEchIiI=</Equation> can be replace with <Equation input-equation="-1/`y'`(x);" style="2D Comment">NiMsJComIiIiRiUtJSN5J0c2IyUieEchIiJGKg==</Equation> to produce the differential equation of the orthogonal family.  The second approach gives the ODE</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q2 := eval(q1, diff(y(x),x) = -1/diff(y(x),x));</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">The solution of this equation is</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q3 := dsolve(q2, y(x), implicit);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Combining the logarithms and exponentiating leads to</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q4 := simplify(map(exp,combine(q3,ln,anything,symbolic)));</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Change the constant of integration to a simpler name to obtain</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q5 := eval(q4, exp(-_C1)=2*a);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Either multiply through by the denominator, or bring all terms to the left, add fractions, and select the numerator of the resulting expression on the left.  This would be</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">q6 := -numer(normal(lhs(q5)-rhs(q5))) = 0;</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">To obtain a graph of members of this new family, use the same technique that produced Figure 9.1.  Begin by making the left side into the function <Equation input-equation="G(x,y);" style="2D Comment">NiMtJSJHRzYkJSJ4RyUieUc=</Equation>.</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">G := unapply(eval(lhs(q6), y(x)=y),(x,y)):
'G'(x,y) = G(x,y);</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Then, Figure 9.2 contains members of the family orthogonal to the family described by the equation <Equation input-equation="F(x,y) = 0;" style="2D Comment">NiMvLSUiRkc2JCUieEclInlHIiIh</Equation>.</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">plotG := C -&gt; implicitplot( eval(G(x,y),a=C), x=-20..20, y=-20..20, scaling=constrained, grid=[60,60], color=blue ):
p2 := display( seq( plotG(a), a=-9..9) ):
display(p2, title="Figure 9.2");</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Group><Input><Text-field layout="Normal" style="Normal">Figure 9.3 superimposes the curves of the two families.</Text-field><Text-field layout="Normal" style="Normal"/></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"><Font italic="false" size="12" underline="false">display([p1,p2], title="Figure 9.3");</Font></Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group></Section><Group><Input><Text-field layout="Normal" style="Normal">[Back to <Hyperlink bold="false" executable="false" family="Times New Roman" hyperlink="true" linktarget="Wks:Lesson00.mw" size="12" style="Hyperlink">ODE Powertool Table of Contents</Hyperlink>]</Text-field></Input></Group><Group><Input><Text-field layout="Normal" prompt="&gt; " style="Maple Input"/></Input></Group><Text-field/><Text-field/><Text-field/><Text-field/></Worksheet>