Interactive Calculus
Fundamental Theorem of Calculus
Shade a sample of the accumulated area and compare it with its derivative.
diff(integrate(t^2,t,0,x),x) draws the accumulated area F(x) = x^3/3 and its derivative x^2. The integration variable t is a dummy. The upper limit x is the free variable, so the Fundamental Theorem of Calculus says the derivative is the integrand with t replaced by x.
The shaded sample is the area under the integrand from 0 to 2, where F(2) = 8/3. A midpoint Riemann sum with n = 4 is reported for that finite sample. The chain-rule example diff(integrate(sin(t),t,0,x^2),x) plots F and 2*x*sin(x^2) without treating the moving limit x^2 as a finite shade endpoint.
Equation
diff(integrate(t^2,t,0,x),x)
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(integrate(t^2,t,0,x),x)— 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.
Accumulation of t^2
The dummy is t and the upper limit is x. The derivative is x^2.
diff(integrate(t^2,t,0,x),x)
Chain rule
The upper limit x^2 contributes a factor of 2x.
diff(integrate(sin(t),t,0,x^2),x)
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.