Derivatives

In Corca, derivatives can be written in multiple standard notations. All supported forms behave consistently and can be evaluated, modified, or reused.

Creating a derivative

You can create a derivative by typing standard derivative notation. Type derivative. A structured derivative expression appears: dd d over d.

Common derivative notations

Multiple derivative styles are supported. They are interpreted automatically.

Notation

Example

Meaning

Typical context

Leibniz notation

dƒ⁡(x)dx d f with hook of x over d x

Rate of change with respect to x x

Calculus, physics

Higher-order derivative

d2ƒ⁡(x)dx2 d squared f with hook of x over d x squared

Second derivative

Acceleration, curvature

Partial derivative

∂ƒ⁡(x,y)∂x the fraction with numerator partial differential f with hook of open paren x comma y close paren and denominator partial differential x

Change with respect to one variable

Multivariable calculus

Prime notation

ƒ′⁢x f with hook prime x

First derivative

Pure mathematics

Double prime

ƒ″⁢x f with hook double prime x

Second derivative

Differential equations

Using prime notation

Prime notation is available as a postfix operator: f(x)'. Result: ƒ′⁡(x) f with hook prime of x. Prime symbols remain attached to the function and move with it.

Corca distinguishes a prime used as a derivative from one used as an index or a label, so ƒ′ f with hook prime reads as a derivative while a prime added as a label stays a label.

Higher-order derivatives

Higher-order derivatives use powers to represent the derivative order: d2x3d(x)2 the fraction with numerator d squared of x cubed and denominator d of x squared

The order is represented structurally as an exponent. This representation avoids ambiguity and keeps the expression consistent.

Partial derivatives

Partial derivatives describe change with respect to one variable in a multivariable function.

∂x2⁢y∂x the fraction with numerator partial differential x squared y and denominator partial differential x

Meaning:

Differentiate with respect to x x while holding y y constant.

Multiple variables are supported:

∂2ƒ⁡(x,y)∂(x)⁢∂y the fraction with numerator partial differential squared f with hook of open paren x comma y close paren and denominator partial differential x partial differential y

Writing derivatives with fractions

Fraction-style derivatives are recognized automatically. Type df/dx. Result: a structured derivative expression: dƒdx d f with hook over d x.

Corca detects derivative patterns and distinguishes them from ordinary division.

If the pattern does not match derivative notation, the expression remains a fraction.

Derivatives inside expressions

Derivatives can appear anywhere in a calculation:

y=d(x2+3⁢x)dx y equals d times open paren x squared plus 3 x close paren over d x

Result:

y=d(x2+3⁢x)dx=3+2⁢x y equals d times open paren x squared plus 3 x close paren over d x equals 3 plus 2 x

The derivative behaves like a standard mathematical object.

Editing derivatives

You can modify any component of a derivative.

Original:

dx2dx d x squared over d x

Update variable:

dt2dt d t squared over d t

The function remains unchanged.

Cursor behavior in derivatives

Derivative expressions support predictable navigation.

Location

Arrow right action

Operator

Move to function

Function

Move to variable

Variable

Move outside expression

This makes editing complex formulas more reliable.

Derivatives in imported content

Derivatives imported from LaTeX are converted into structured expressions.

Example input:

\frac{d}{dx} x^2

Result:

A structured derivative expression: ddx⁢x2 d over d x x squared

Imported derivatives behave exactly like native ones.

Previous: Limits

Next: Integrals