Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Integrals give different results #950

Open
Veenty opened this issue Feb 10, 2025 · 1 comment
Open

Multiple Integrals give different results #950

Veenty opened this issue Feb 10, 2025 · 1 comment

Comments

@Veenty
Copy link

Veenty commented Feb 10, 2025

So I'm doing iterated integrals and there is something funky when I composite them
So for example
Evaluation(Chebyshev(), -1)*Derivative(Chebyshev(),1)*Integral(Chebyshev(), 1) - Evaluation(Chebyshev(), -1)

Gives me the 0 vector, however

(Evaluation(Chebyshev(), -1)*Derivative(Chebyshev(),1)*Integral(Chebyshev(), 1))*Integral(Chebyshev(), 1)*Integral(Chebyshev(), 1) - Evaluation(Chebyshev(), -1)*Integral(Chebyshev(), 2)

Does not give me the 0 vector, I get

PlusOperator : Chebyshev() → ConstantSpace(Point(-1)) 0.0 0.125 2.77556e-17 -0.125 3.46945e-18 -1.73472e-17 2.1684e-17 -4.33681e-19 6.72205e-18 4.77049e-18 ⋯

@Veenty
Copy link
Author

Veenty commented Feb 11, 2025

So it turns out that applying iterated integrals is not the same as applying Integrate(Chebyshev(), 2). However Integrate(Chebyshev(), 2) = Integrate(Chebyshev(), 1)*Integrate(Chebyshev(), 1), which honestly I think is quite confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant