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:
Common derivative notations
Multiple derivative styles are supported. They are interpreted automatically.
Notation | Example | Meaning | Typical context |
|---|---|---|---|
Leibniz notation | Rate of change with respect to | Calculus, physics | |
Higher-order derivative | Second derivative | Acceleration, curvature | |
Partial derivative | Change with respect to one variable | Multivariable calculus | |
Prime notation | First derivative | Pure mathematics | |
Double prime | Second derivative | Differential equations |
Using prime notation
Prime notation is available as a postfix operator: f(x)'. Result:
Higher-order derivatives
Higher-order derivatives use powers to represent the derivative order:
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.
Meaning:
Differentiate with respect to
Multiple variables are supported:
Writing derivatives with fractions
Fraction-style derivatives are recognized automatically. Type df/dx. Result: a structured derivative expression:
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:
Result:
The derivative behaves like a standard mathematical object.
Editing derivatives
You can modify any component of a derivative.
Original:
Update variable:
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^2Result:
A structured derivative expression:
Imported derivatives behave exactly like native ones.
Previous: Limits | Next: Integrals |