DGS Studio

Core Graphing

Calculus

Visualize a function together with calculus results.

The graph request is d/dx (x^2*sin(x)). DGS differentiates the inside expression and can plot both the original function and the derivative.

For a product such as x²·sin(x), the product rule gives 2x·sin(x) + x²·cos(x). A plain polynomial uses the power rule on each term. The picture is the slope of the original curve at each x.

Equation

d/dx (x^2*sin(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

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.

Derivative

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

d/dx (x^2*sin(x))

Function and Three Derivatives

This line defines an explicit function. The left side is the vertical coordinate, and the right side is evaluated for each x.

y = x^4 - 3*x^3 + 2*x^2 + 5*x
dy/dx
d^2y/dx^2
d^3y/dx^3

Try a change

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.

Edit and generate

Generate Graph 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