@@ -6,7 +6,7 @@ CurrentModule = SymbolicIntegration
6
6
7
7
SymbolicIntegration.jl provides Julia implementations of symbolic integration algorithms.
8
8
9
- The front-end (i.e., the user interface) requires [ SymbolicUtils .jl] ( https://symbolicutils.juliasymbolics.org / ) .
9
+ The front-end (i.e., the user interface) uses [ Symbolics .jl] ( https://docs.sciml.ai/Symbolics/stable / ) .
10
10
The actual integration algorithms are implemented in a generic way using [ AbstractAlgebra.jl] ( https://nemocas.github.io/AbstractAlgebra.jl/dev/ ) .
11
11
Some algorithms require [ Nemo.jl] ( https://nemocas.github.io/Nemo.jl/dev/ ) for calculations with algebraic numbers.
12
12
@@ -35,27 +35,32 @@ julia> using Pkg; Pkg.add("SymbolicIntegration")
35
35
## Quick Start
36
36
37
37
``` julia
38
- using SymbolicIntegration, SymbolicUtils
38
+ # Using Symbolics.jl (recommended)
39
+ using SymbolicIntegration, Symbolics
39
40
40
- @syms x
41
+ @variables x
41
42
42
43
# Basic polynomial integration
43
44
integrate (x^ 2 , x) # Returns (1//3)*(x^3)
44
45
45
46
# Rational function integration
46
- f = (x^ 3 + x^ 2 + x + 2 )// (x^ 4 + 3 * x^ 2 + 2 )
47
+ f = (x^ 3 + x^ 2 + x + 2 )/ (x^ 4 + 3 * x^ 2 + 2 )
47
48
integrate (f, x) # Returns (1//2)*log(2 + x^2) + atan(x)
48
49
49
50
# Transcendental functions
50
51
integrate (exp (x), x) # Returns exp(x)
51
52
integrate (log (x), x) # Returns -x + x*log(x)
52
53
integrate (1 / x, x) # Returns log(x)
53
54
55
+ # Complex root integration (arctangent cases)
56
+ integrate (1 / (x^ 2 + 1 ), x) # Returns atan(x)
57
+
54
58
# More complex examples
55
59
f = 1 / (x* log (x))
56
60
integrate (f, x) # Returns log(log(x))
57
61
```
58
62
63
+
59
64
## Algorithm Coverage
60
65
61
66
This package implements the complete suite of algorithms from Bronstein's book:
0 commit comments