Fractions

In Corca, a fraction is a structured object with a numerator and a denominator. Both parts remain fully editable and connected to the surrounding expression. Fractions behave consistently during editing, computation, and formatting. They can be nested, combined with other operations, and reused inside larger formulas.

Creating a fraction

You can create a fraction by typing the division character /.

As soon as the slash is entered, the suggestion list appears. Corca proposes fraction-related options depending on context.

Nested fractions

Fractions can be nested inside other fractions:

11+1x the fraction with numerator 1 and denominator 1 plus 1 over x

Nested fractions remain aligned and readable. The divider lines stay visually consistent across levels.

Fractions with exponents

When an exponent is applied to a fraction, the system automatically groups the fraction. Start with: x+1x-1 the fraction with numerator x plus 1 and denominator x minus 1, add exponent: ^2. The result: (x+1x-1)2 open paren the fraction with numerator x plus 1 and denominator x minus 1 close paren squared. The fraction is wrapped automatically to preserve mathematical meaning.

Fractions with derivatives

Fractions are commonly used to represent derivatives. Corca recognizes standard derivative notation: dƒdx d f with hook over d x.

The expression is interpreted as a derivative. Higher-order derivatives are also supported: d2ƒd(x)2 the fraction with numerator d squared of f with hook and denominator d of x squared.

This notation remains editable and behaves like a standard fraction when needed.

Fractions in equations

Fractions can appear anywhere inside equations: v=st v equals s over t

Evaluate:

  • s=10 s equals 10

  • t=2 t equals 2

  • v= v equals

Press Tab: v=5 v equals 5

Fractions in imported content

Fractions imported from LaTeX, Markdown, or images are converted into structured objects. Example input:

\frac{1}{2}

Result:

12 one half

Imported fractions behave exactly like native ones.