AngouriMath
Navigation
Integration
Analytical integration is available in AngouriMath.
Integration
Similarly to differentation, here you call method
Entity expr = "a x2 + b x";
Console.WriteLine(expr.Integrate("x"));
Output:
a * x ^ 3 / 3 + b * x ^ 2 / 2 + C
An antiderivative is only defined up to a constant, and
Entity expr = "a x2 + b x";
Console.WriteLine(expr.Integrate("x").Substitute("C", 0).InnerSimplified);
Output:
a * x ^ 3 / 3 + b * x ^ 2 / 2
If no integral can be found, it will return a node of integral. Example:
Entity expr = "{ x, a }";
Console.WriteLine(expr.Integrate("x"));
Output:
integral({ x, a }, x)
Same way as with derivative, you can use node
Entity expr = "integral(x2 + sin(x), x)";
Console.WriteLine(expr.Simplify());
Output:
C - cos(x) + x ^ 3 / 3
Extension:
What the integrator does: a table of standard forms, splitting a sum, partial fractions
over a denominator with a rational root, integration by parts, and trigonometric
substitution. It is not a decision procedure — there is no Risch implementation — so
plenty of integrands come back as an unevaluated
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online