I agree with that. However, that is how I arrived at my result, so the two wrongs would have been in my thinking rather than in the maths.Milo wrote: ↑Fri May 19, 2023 12:12 pm In the "real" scenario I'm modelling, you wouldn't actually know the behavior of 𝜃. You're trying to calculate ∫ 𝑓(𝑦) d𝑦, but because of inaccuracies in your numerical integration algorithm, you're instead calculating ∫ 𝑓(𝜃(𝑦)) d𝑦. Because these inaccuracies are inherent to your integration algorithm, they cannot be separated from each other. You can calculate 𝑓(𝑦), or you can calculate ∫ 𝑓(𝜃(𝑦)) d𝑦 (and presumably you can also calculate the inverses of those expressions, through numerical solution if nothing else, if you're trying to figure out the value of 𝑦), but you cannot calculate 𝑓(𝜃(𝑦)) or ∫ 𝑓(𝑦) d𝑦 (or their respective inverses).
The scenario you're describing would only make sense if the numerical inaccuracies take place inside the calculation of 𝑓, rather than in the integration algorithm.
The equation describing 𝑥 in terms of 𝑦 is extremely simple and does not involve integration at all, and therefore you're unlikely to miscalculate that equation itself to any significant degree, even if you're plugging in the wrong value for 𝑦. Therefore, I don't see how you're getting your "two wrongs make a right" result.
— daan