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 (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.