Integrals

In Corca, integrals behave like functions, not text. They can be modified, evaluated, nested, and reused inside larger expressions.

Creating an integral

You can create an integral by typing its name and selecting the suggestion. Type integral, select Integral from suggestions. An integral structure appears with editable placeholders: ∫d the integral of d.

Writing the integral

The integrand is the expression being integrated: ∫01x2⁢dx the integral from 0 to 1 of x squared d x.

You can write any valid mathematical expression inside the integral:

  • ∫x⁢dx the integral of x d x

  • ∫sin⁡(x)⁢dx the integral of sine x d x

  • ∫(x2+3⁢x+1)⁢dx the integral of open paren x squared plus 3 x plus 1 close paren d x

Nested integrals

Integrals can be nested to represent multiple dimensions: ∫∫ƒ⁡(x,y)⁢dx⁢dy the integral of the integral of f with hook of open paren x comma y close paren d x d y.

Each integral remains a separate structured object.

Specialized integrals

Corca supports several specialized integral symbols used in physics, engineering, and advanced mathematics. These integrals behave like standard integrals but carry additional semantic meaning depending on context.

To get it, just type integral and select the one you need from the suggestion.

Integral type

Symbol

Typical meaning

Common use cases

Line integral

∫d the integral of d

Integration along a curve

Work, circulation, path integrals

Double integral

∫∫d⁢d the integral of the integral of d d

Integration over an area

Surface area, mass distribution

Triple integral

∫∫∫d⁢d⁢d the integral of the integral of the integral of d d d

Integration over a volume

Density, total mass, energy

Contour integral

∮d the contour integral of d

Integration around a closed curve

Complex analysis, electromagnetism

Surface integral

∯d the surface integral of d

Integration across a surface

Flux, surface charge

Volume integral

∰d the volume integral of d

Integration inside a region

Total quantity in space

Path integral

⨑d the anticlockwise integration of d

Integration along a parameterized path

Mechanics, quantum physics

Integrals in imported content

Integrals imported from LaTeX or other formats are converted into structured expressions. Example input:

\int_0^1 x^2 dx

Result: a structured integral object: ∫01x2⁢dx the integral from 0 to 1 of x squared d x.

Previous: Derivatives