Slope Field Calculator

Type y' = f(x, y), a window and optionally points to draw the field and curves.

Write y' = f(x, y), such as y' = x + y, or just the right side.

xmin, xmax, ymin, ymax, each minimum below its maximum.

Optional: up to 6 points (x, y) separated by semicolons; a solution curve is drawn through each.

Try

Result

You enteredy′=x−yy' = x - y

Slope field of y′=x−y\displaystyle \text{Slope field of } y' = x - y

Through (0, 1)

y=x−1+2e−x\displaystyle y = x - 1 + 2e^{-x}
Show the work
  1. Slope field

    At each grid point (x,y)(x, y) the equation gives the slope y′=f(x,y)y' = f(x, y) of the solution passing through it; a short segment with that slope is drawn there. A solution curve follows the segments.

    y′=x−yy' = x - y
  2. Solution through P1

    The curve through (0,1)(0, 1) has an exact solution.

    y=x−1+2e−xy = x - 1 + 2e^{-x}
  3. Result

    The field with the solution curves through the given points.

    y′=x−yy' = x - y

Worked examples