CAS bug?

crollinson shared this question 7 months ago
Answered

I created this applet which works OK for most functions, however it seems to break for certain functions where it can't calculate an anti-derivative.

Example: f(x) = abs(x^2-1) doesn't work BUT abs((x-1)(x+1)) does work!

I figure this is a GeoGebra problem that is independent of this applet. I don't suppose there is a work around?

Thanks, Chip

Comments (3)

photo
1

Do you mean because it's not continuous? I'm afraid that's expected for some functions.


You could provide a drop-down with some pre-selected ones

photo
1

Thanks. I can try that as a workaround.

If a function is continuous on a domain, shouldn't its antiderivative be as well?

abs(x^2-1) and abs((x-1)(x+1)) are the same function but have different have different integrals.

I imagine this might be too difficult a glitch to fix.

Thanks for you help (yet again).

-Chip

photo
1

shouldn't its antiderivative be as well
Would be nice but it turns out not to be practicable when you use eg abs() :(

photo
© 2021 International GeoGebra Institute