DGS Studio

Calculus

Fundamental Theorem of Calculus

Differentiate an integral whose limit depends on the variable.

diff(integrate(t^2,t,0,x),x) applies the Fundamental Theorem of Calculus. The dummy variable is t and the upper limit is x, so the derivative is x^2. The accumulated area is the integral of t^2 from 0 to x, which is x^3/3.

A variable lower limit changes the sign: diff(integrate(t^2,t,x,1),x) equals -x^2. When the upper limit is x^2, the chain rule multiplies by 2x, so diff(integrate(sin(t),t,0,x^2),x) equals 2*x*sin(x^2).

Equation

diff(integrate(t^2,t,0,x),x)

How the calculus steps are organized

Calculus in the equation workflow returns the symbolic result and the steps. A derivative applies the relevant rule. An integral looks for an antiderivative, and a definite integral evaluates it on the bounds. A limit simplifies before it substitutes the point when substitution would divide by zero.

Multivariable operations stay symbolic and, when the expression has two variables, DGS can also show the surface. A partial derivative treats the other variables as constants. A tangent plane uses both partials at the chosen point. The page states the command that produces each of those results.

Reading the input

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.

Upper limit

The derivative is x^2.

diff(integrate(t^2,t,0,x),x)

Variable lower limit

The derivative is -x^2.

diff(integrate(t^2,t,x,1),x)

Chain rule

The derivative is 2*x*sin(x^2).

diff(integrate(sin(t),t,0,x^2),x)

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples