Interactive Calculus
Derivative Equations
Graph f and f' for diff(f(x), x) = 0 and mark each critical point, including a stationary inflection.
diff(x^3-3*x,x)=0 asks where the derivative is zero. Generate Graph draws y=x^3-3*x and y=3*x^2-3. The real roots are x=-1 and x=1. The point (-1, 2) is a local maximum, and (1, -2) is a local minimum.
diff(x^2-6*x+5,x)=0 has the single critical value x=3, a local minimum at (3, -4). diff(x^3-6*x^2+9*x,x)=0 has critical values x=1 and x=3. diff(x^3,x)=0 has a critical point at x=0. The second derivative is also zero there and the third derivative is 6, so x=0 is a stationary inflection, not a maximum or minimum.
Equation
diff(x^3-3*x,x)=0
What the calculus picture shows
Calculus examples in the graph workflow draw a process, not only a final number. A derivative can appear as a tangent, a secant sliding toward that tangent, or a transformed parent function. A Riemann sum draws rectangles whose areas approach a definite integral.
The exact symbolic result and the picture answer different questions. The picture shows how the approximation moves. The value, when the integral exists, is the limit of those approximations. Generate Graph keeps the original sentence in the input so you can edit the function or the bounds.
Reading the input
diff(x^3-3*x,x)=0— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Other versions of this example
These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.
Cubic critical points
Critical x-values -1 and 1.
diff(x^3-3*x,x)=0
Quadratic minimum
The only critical value is x=3.
diff(x^2-6*x+5,x)=0
Two critical values
Critical x-values 1 and 3.
diff(x^3-6*x^2+9*x,x)=0
Stationary inflection
x=0 is a stationary inflection, not a maximum or minimum.
diff(x^3,x)=0
Try a change
- Edit one number in the field, then use Generate Graph. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Generate Graph posts the expression to the studio graph engine and draws the result on the homepage. The editable field is the entire input, including every line.