JuliaApproximation / JuliaApproximation/ApproxFun.jl

Multiple Integrals give different results

Open
#950 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
559
Forks
71
PR merge metrics
No merged PRs in 30d

Description

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 ⋯

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two iterated-integral expressions from the issue and compare their results. Trace the implementation of composition, multiplication, differentiation, and integration to identify where equivalent expressions diverge. Done means both expressions produce the expected zero vector, with a regression test covering the discrepancy.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.