DGS Studio

Interactive Calculus

Improper Integral

Shade a convergent improper integral on a finite window and mark the infinite end.

integrate(1/x^2,x,1,oo) draws y = 1/x^2 on a finite window that starts at x = 1 and stays clear of the pole at 0. The shaded region is only the visible part of the tail, and an arrow marks the direction of positive infinity. The convergent value is 1.

integrate(1/x,x,1,oo) uses the same kind of window and states that the integral diverges. Infinity is never stored as a coordinate. A convergent tail and a divergent tail are both drawn from the finite endpoint outward.

Equation

integrate(1/x^2,x,1,oo)

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.

Convergent tail

The integral from 1 to infinity equals 1.

integrate(1/x^2,x,1,oo)

Divergent tail

The harmonic tail diverges.

integrate(1/x,x,1,oo)

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