# Integration Error?

**URL:** <https://cl.desmos.com/t/integration-error/3016>\
**Category:** Questions\
**Created:** [March 29, 2021, 1:23am UTC](https://cl.desmos.com/t/integration-error/3016 "2021-03-29T01:23:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [March 29, 2021, 10:46am UTC](https://cl.desmos.com/t/integration-error/3016/5 "2021-03-29T10:46:56Z")

</div>

Thanks for your investigation, however that does not adequately explain what’s happening.

Try adding any other number except its contrapositive and it will correctly evaluate the integral - the evaluation is precise.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/5/57cb5fe2ca0ce52917a5234f85ad3584f3d82cad.png)

So while interesting, and perhaps revealing, I am not subsequently adding the contrapositive to test for zero-ness(which matters a lot in this context), simply taking the graph’s evaluation and placing it in the note - the values do not agree.

For ill-behaved functions the phenomenon you’re talking about can happen, [when attempting to sum to zero](https://cl.desmos.com/t/integrals-1-0-0/2710/3), but that’s not what’s going on here.

This function is simply composed of linear segments - in fact I’ve used this exact method for linear piece-wise integrand functions many times without issues, so I’m curious what is really going on here.

edit:  
I completely agree that there’s a rounding issue(the reason the post is here at all!) but my main questions are:  
a) Why this happens at all for a linear function, as i’ve used this method many times before with no problems until now  
b) Why Desmos does not share consistent values between components(if value errors occur, I expect them to occur consistently)

Thanks!

---

_[View the full topic](https://cl.desmos.com/t/integration-error/3016)._
