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

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

An equation of the form is the general solution of the exact differential equation dx+dy=0 (or ). 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.

f(x,y)=C

f

x

f

y

gradf·(dx,dy)=0

The choices for the function are:

f(x,y)

(1) +0.9-2x+y,

2

x

2

y

(2) +2y,

2

x

(3) +2-x.

2

x

2

y