DGS Studio

Calculus

Partial Derivatives

Differentiate with respect to one variable and show the surface in 3D.

partial(x² + y², x) treats y as a constant and returns 2x. partial(x² + y², y) returns 2y. The surface z = x² + y² is the paraboloid those slopes live on.

partial(sin(xy), x) = y·cos(xy) by the chain rule. Higher commands such as diff(x²y³, x, 2) take two derivatives in x and leave 2y³. A mixed partial differentiates once in each variable.

Equation

partial(x^2+y^2,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.

∂/∂x of x² + y²

Expected result 2*x on the paraboloid.

partial(x^2+y^2,x)

∂/∂y of x² + y²

Expected result 2*y.

partial(x^2+y^2,y)

∂/∂x of sin(xy)

Expected result y*cos(x*y).

partial(sin(x*y),x)

∂/∂y of x²y + sin(y)

Expected result x^2 + cos(y).

partial(x^2*y+sin(y),y)

Second partial

Expected result 2*y^3.

diff(x^2*y^3,x,2)

Mixed partial

Expected result 6*x*y^2.

diff(x^2*y^3,x,y)

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