WOLFRAM|DEMONSTRATIONS PROJECT

A Solution of Euler's Type for an Exact Differential Equation

โ€‹
choose function f(x)
1
2
3
tangent length
0.3
contours
1
step
11
An equation of the form
f(x,y)=C
is the general solution of the exact differential equation
f
x
dx+
f
y
dy=0
(or
gradfยท(dx,dy)=0
). So the contours of the Mathematica built-in function ContourPlot are particular solutions of the equation. To find a graphical solution (of Euler type) of the equation, choose an initial point using the locator, the length of the tangent, and then proceed along the green arrow and add new locators. The green arrow is perpendicular to the red arrow that shows the direction of the gradient. Check the solution by increasing the number of contours. To construct Euler's polygonal line, choose a sufficiently long tangent line and the step given by vertical mesh lines.
The choices for the function
f(x,y)
are:
(1)
2
x
+0.9
2
y
-2x+y
,
(2)
2
x
+2y
,
(3)
2
x
+2
2
y
-x
.