SumReflex Math tools
dy/dx

Calculus

Slope Field Generator

Draw a direction field for a first-order differential equation, choose an initial point, and approximate the solution curve.

Preparing Slope Field Generator
Please wait ...
Input
Enter a differential equation such as x + y or cos(y), set the graph window, choose an initial point, and generate the slope field.
Input summary
Your calculator summary shows here.

Step-by-Step Calculation

dy/dx
Step-by-step work appears here
Calculate first and the full working will be placed here.

Direction field notes

Reading a slope field as a map of local directions for a differential equation

Each small segment shows one local slope

A slope field does not draw one finished solution at first. It places many small line segments on the plane. Each segment shows the slope that the differential equation assigns at that point. The Slope Field Generator turns the rule dy/dx = f(x, y) into a visual map of directions.

The differential equation is the instruction

The expression entered for dy/dx tells the generator how steep the segment should be at every sampled location. If the expression uses x only, columns often share a pattern. If it uses y only, rows may share a pattern. If it uses both x and y, the field can change in both directions.

Window settings change what you can see

A correct field can look unhelpful if the x and y ranges are too wide or too narrow. A wide window may make the important behavior look compressed. A tight window may hide long-term behavior. Adjust the viewing range when the field looks flat, crowded, or too sparse to interpret.

Initial points choose one path through the field

An initial condition picks the solution curve that passes through a chosen point. The field shows many possible local directions, but the initial point tells which path to follow. If the starting point changes, the solution curve may move to a different region even though the differential equation stays the same.

Approximation is part of the picture

A drawn solution curve follows the field numerically. It is an approximation, not a symbolic proof. The curve should line up with nearby segments, but small visual differences can appear because the drawing samples points and steps through the plane. For exact symbolic solving, this page is a visual companion rather than a replacement.

Check the slope signs before interpreting behavior

Positive slopes tilt upward from left to right. Negative slopes tilt downward. Zero slopes appear flat. Before discussing growth, decay, equilibrium, or turning behavior, inspect the signs in the field. If a region expected to rise is full of downward segments, the entered equation or sign may be wrong.

Use ordinary slope ideas when reading segments

Even though slope fields belong to differential equations, each little segment still uses ordinary slope. Rise over run is the visual cue. If students need to review that base idea, the Slope Calculator gives a simpler two-point setting before the same concept appears across an entire grid.

Compare with function evaluation when the rule is unclear

If a segment looks surprising, plug the point into the differential equation by hand. A point such as (1, 2) can be substituted into dy/dx to check the expected slope. When the equation includes powers, logs, or trig functions, the Scientific Calculator can evaluate that local slope directly.

Use the field to describe behavior, not just to decorate a page

A good slope-field answer says what the picture shows. Solutions may approach an equilibrium, separate into different regions, increase more steeply as y grows, or flatten as x changes. Write one or two observations from the field before copying a curve. The purpose of the drawing is to make the differential equation readable as movement.