# Integration vs differentiation

Integration is hard! Integration is generally much harder than differentiation. This little demo allows you to enter a function and then ask for the derivative or integral. You can also generate random functions of varying complexity. Differentiation is typically quite easy, taking a fraction of a second. Integration typically takes much longer, if the process completes at all!
The point? If integration seems hard - that's because it really is! This demo shows that to be the case from a purely algorithmic perspective.
$$f(x)=...$$
Complexity:

$$f'(x)=...$$
computation time:

$$\int f(x) dx = ...$$
computation time: