# Math: Intergals harder than derivatives, why?

**URL:** <https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356>\
**Category:** Factual Questions\
**Created:** [March 31, 2003, 3:37am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356 "2003-03-31T03:37:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://boards.straightdope.com/u/Jinx)\
**Post date:** [March 31, 2003, 3:37am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/1 "2003-03-31T03:37:16Z")

</div>

OK, so: Subtraction undoes addition; division undoes multiplication; integrals undoes derivatives. But, in all these cases except the latter, it’s just a matter of mastering the ability to reverse how you think. But, in the latter, there’s more to finding an integral than reversing your thinking. And, many integrals are counter-intuitive, or perhaps I should say “non-obvious”. Why are integrals so blinking hard? (I trust there’s a factual answer, otherwise Administrators, bump it to IMHO!)

- Jinx : confused:

---

<div class="post-metadata">

**Author:** ![Topologist](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/topologist/32/3208_2.png) [@Topologist](https://boards.straightdope.com/u/Topologist)\
**Post date:** [March 31, 2003, 4:09am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/2 "2003-03-31T04:09:08Z")

</div>

There’s some factual basis to it. First: Why are derivatives so easy? (OK class, stop snickering.) Every elementary function (power, exponential, log, trig function) has a known derivative and every arithmetic operation has a corresponding differentiation rule, as does composition. So, given any function built up from elementary functions by arithmetic and composition, which is to say, given any formula you can write, finding its derivative is completely mechanical. The only thought required is in parsing the formula into its consituent parts to see what rules you need to apply.

There are integration rules analogous to some of the differentiation rules, but not all, and therein lies the problem. There is no product rule for integration; integration by parts is the closest you get. There is no quotient rule for integration and there is no chain rule. There is change of variables (substitution), but it does not apply as generally as the chain rule for derivatives.

This is not just a lack of imagination on the part of mathematicians. There are plenty of formulas you can write down that you can prove have no elementary antiderivatives. One of the simplest and most well-known is exp(-x^2). The existence of these formulas shows that there cannot be integration rules covering all cases the same way the differentiation rules do.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 31, 2003, 4:11am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/3 "2003-03-31T04:11:42Z")

</div>

Well, the derivative of an elementary function is always an elementary function, but the converse is not true. And there’s more involved in taking an integral–look at how much space you need to define the integral as opposed to the difference.

I’d be lying if I said that I could think of a simple answer. Complexity theory (the study of how hard a given problem is, and why) is still pretty young, and generally tends to stick with combinatorial problems. I have a book on the complexity of real functions; I’ll see if it says anything.

---

<div class="post-metadata">

**Author:** ![RM\_Mentock](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@RM\_Mentock](https://boards.straightdope.com/u/RM_Mentock)\
**Post date:** [March 31, 2003, 4:16am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/4 "2003-03-31T04:16:26Z")

</div>

> [@](#):
>
> \*Originally posted by Jinx \*  
> **OK, so: Subtraction undoes addition; division undoes multiplication; integrals undoes derivatives. But, in all these cases except the latter, it’s just a matter of mastering the ability to reverse how you think.**

But there are other cases that you left out: what about exponentiation and logarithms? Or, finding the cube of a number is a lot easier (it’s just multiplication) than finding the cube root. Although some inverse functions may seem just as easy (I dunno, division always seemed harder to me), the inverse problem in mathmatics is notorious.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 31, 2003, 4:18am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/5 "2003-03-31T04:18:59Z")

</div>

All right, I looked in that book, and the author does not directly compare integration and differentiation. It looks like you need fairly strict conditions on a function to be able to compute its derivative, and less strict conditions to be able to compute its (definite) integral. So maybe integration is actually easier!

I haven’t really studied that book in great detail, and to do so would require a fair amount of effort on my part (recursive measure theory doesn’t sound like fun). If I do happen to find anything, I’ll get back.

---

<div class="post-metadata">

**Author:** ![Orbifold](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@Orbifold](https://boards.straightdope.com/u/Orbifold)\
**Post date:** [March 31, 2003, 4:44am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/6 "2003-03-31T04:44:07Z")

</div>

Keep in mind the difference between numerical and symbolic integration. We can’t take the square root of 2 symbolically, until we just add the symbol “sqrt(2)” to our lexicon and move on. No, “1.4142135…” doesn’t count; it’s just an approximation. But “1.4142135…” is a _numeric_ answer even if it isn’t a symbolic one.

Same with integrals. Functions which can’t be integrated at all are in a sense unusual; for example, most non-mathematicians would be hard-pressed to think of a non-integrable function. But that’s numeric integration. It’s symbolic integration that’s really tricky; but all that means is that we don’t always have the symbols to express an integral symbolically, and occasionally have to add a new symbol (like “erf(x)”) to our lexicon and move on.

And occasionally we can express an integral symbolically but have to do some backflips, like integration by parts, first. Again, that has to do with the fact that our symbols aren’t always adequate to represent the integrals we’re looking for.

---

<div class="post-metadata">

**Author:** ![David\_Simmons](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Simmons](https://boards.straightdope.com/u/David_Simmons)\
**Post date:** [March 31, 2003, 5:07am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/7 "2003-03-31T05:07:55Z")

</div>

> [@](#):
>
> \*Originally posted by Topologist \*  
> \*\*There’s some factual basis to it. First: Why are derivatives so easy? (OK class, stop snickering.) Every elementary function (power, exponential, log, trig function) has a known derivative and every arithmetic operation has a corresponding differentiation rule, as does composition. So, given any function built up from elementary functions by arithmetic and composition, which is to say, given any formula you can write, finding its derivative is completely mechanical. The only thought required is in parsing the formula into its consituent parts to see what rules you need to apply.
> 
> \*\*

My old calculus book agrees with **Topologist** and says the following, “The differential calculus furnished us with a General Rule for differentiation. The integral calculus gives us no corresponding general rule that can be readily applied in practice for performing the inverse operation of integration. Each case requires special treatment … we must be able to answer the question, _What function, when differentiated, will yield the given differential expression?_”

“Integration, then, is a tentative process …”

---

<div class="post-metadata">

**Author:** ![RyanD004](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@RyanD004](https://boards.straightdope.com/u/RyanD004)\
**Post date:** [March 31, 2003, 5:45am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/8 "2003-03-31T05:45:10Z")

</div>

Here’s my thought. The derivitive involves attaining information from something you already have. Technically… all of that information is encoded in the function and you’re just extracting it. You can easily find the slope of the function by looking at the function’s graph right around that point. For a given point on the function there is only one slope.

The integral is different though, because your trying to infer info about a more complicated function. You’re trying to figure out what something is based on information about it. Thats a bad way of putting it. Basically the integral is saying “for this function, what points on a section function will have points with slopes equal to corresponding points on my function.” There happen to be more than 1 possible answer for indefinate integrals… hence the + C at the end of integral answers.  
A derivitive only has one answer.

If I said heres a vegetable, what color is it? You could easily answer. (like the derivitive)

But if I say “a vegetable has this color”, what is it? Then it’s alot more complicated. (integral)  
Maybe that has nothing to do with it. I had this whole baseball card analogy planned out but I kept finding flaws with it. Dah well. Good luck in your search for truth.

---

<div class="post-metadata">

**Author:** ![John\_Kentzel-Griffin](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@John\_Kentzel-Griffin](https://boards.straightdope.com/u/John_Kentzel-Griffin)\
**Post date:** [March 31, 2003, 6:24am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/9 "2003-03-31T06:24:37Z")

</div>

Also addition and multiplication are their own inverses. Subtraction is just adding the negative and division is multiplying by the multiplicative inverse. You can’t do this with integration.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [March 31, 2003, 6:44am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/10 "2003-03-31T06:44:41Z")

</div>

I am trying to think of a more “fundamental” reason for why integration is harder than differentiation, other than “because there’s an algorithm for differentiating any given elementary function, but there isn’t an algorithm for integrating”. An answer like that just pushes back the question. _Why_ is there an algorithm for differentiating, but not for integrating?

I think that a more satisfying answer might have something to do with the local nature of the derivative versus the global nature of the integral. Finding the integral of a function _f_ at two points _a_ and _b_ is the same as finding the area under the curve of _f_ between the points _a_ and _b_. This area depends on all the values that _f_ takes over the entire interval between _a_ and _b_. So, the integral gives you global information about a function; that is, information about how the function behaves over a large region.

On the other hand, taking the derivative of _f_ at _a_ and _b_ is the same as finding the slope of the tangents at these two points, which involves only information about the values that _f_ takes in arbitrarily small neighborhoods around each of these two points. So, the derivative only gives you local information about a function; that is, information about how the funtion behaves in very tiny regions.

To summarize with a diagram,

```auto

    Type of Input Type of Output
{ global information } Integration
{ ie } -------------> {global information}
{ an equation for f }
{ global information } Differentiation
{ ie } -----------------> {local information}.
{ an equation for f }

```

Integration gives a qualitatively more general kind of information, so it is unsurprising that it is more difficult.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [March 31, 2003, 6:46am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/11 "2003-03-31T06:46:03Z")

</div>

Yeesh. Sorry about my “diagram” messing with the formatting like that.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [March 31, 2003, 6:50am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/12 "2003-03-31T06:50:45Z")

</div>

That local vs. global thing makes a certain amount of sense, but I don’t buy it. Integration is only global for definite integrals. Antiderivatives are just as local as derivatives.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [March 31, 2003, 7:00am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/13 "2003-03-31T07:00:26Z")

</div>

Here’s a book that the OPer and others might find interesting. I haven’t read it myself. I’ve only flipped through it in book stores.

[Inverse Problems : Activities for Undergraduates](http://www.amazon.com/exec/obidos/tg/detail/-/0883857162/qid=1049090033/sr=1-2/ref=sr_1_2/102-2959997-1692116?v=glance&s=books)

From the back:

> [@](#):
>
> Inverse problems are hard to define. Yet nearly all mathematicians recognize an inverse problem when they see one. As children we learn about the **direct** problem of multiplication; given two numbers we find their product. The corresponding **inverse** problem is to find a pair of factors of a given number.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [March 31, 2003, 7:14am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/14 "2003-03-31T07:14:45Z")

</div>

> [@](#):
>
> _Originally posted by **Achernar** :_
> 
> That local vs. global thing makes a certain amount of sense, but I don’t buy it. Integration is only global for definite integrals. Antiderivatives are just as local as derivatives.

What do you mean? If I have a function _f_, and I find an antiderivative _F_ ( that is, a function _F_ such that, at every point _x_, _F_’(_x_) = _f_(_x_) ), then I can find any definite integral of _f_ simply by computing _F_(_b_) - _F_(_a_). So if you agree that definite integrals are global, then you must concede that indefinite integrals are global, since we may immediately compute definite integrals from them. (Assuming, of course, that _f_ is an elementary function)

---

<div class="post-metadata">

**Author:** ![DarrenS](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DarrenS](https://boards.straightdope.com/u/DarrenS)\
**Post date:** [March 31, 2003, 7:44am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/15 "2003-03-31T07:44:14Z")

</div>

I can’t quite explain why, but intuitively this strikes me as being a bit similar to multiplication vs. factoring.

What is 597 x 3343? Relatively easy: 1,995,771

But: what are the factors of 1,995,771? Tougher problem. (For this example I’m not even s ure if they’re the prime factors.) Modern cryptography relies on this asymmetry between the ease of multiplying large numbers vs. the difficulty of factoring them. There is a sense of “trying to get the eggs back out of an omelette”.

Not sure what any of this has to do with the difference in complexity between integration and differentiation. Interesting question.

---

<div class="post-metadata">

**Author:** ![flight](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@flight](https://boards.straightdope.com/u/flight)\
**Post date:** [March 31, 2003, 7:55am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/16 "2003-03-31T07:55:09Z")

</div>

The global vs local argument is also the reason numerical integration is hard, particularly when you consider Control Theory. If you have a sensor that measures velocity, then you are dependent upon the exacting accuracy of every bit of information from the beginning in order to calculate position, while if you have a sensor that measures position you are only dependent upon a few bits of info around the examined time to calculate velocity. Also, as time moves on you accumulate errors when you have to integrate to find position while errors are noncumulative when you take a derivative to find velocity.

In effect, integration does not undo derivation the way division undoes multiplication. You could say some info is lost in the derivation process, and that info must be put back in when you integrate. Or, a formula contains all the information about its derivatives, but only part of the information about its integrals. In multiplication and division no information is lost.

---

<div class="post-metadata">

**Author:** ![Urban\_Ranger](https://avatars.discourse-cdn.com/v4/letter/u/e9c0ed/32.png) [@Urban\_Ranger](https://boards.straightdope.com/u/Urban_Ranger)\
**Post date:** [March 31, 2003, 8:14am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/17 "2003-03-31T08:14:45Z")

</div>

> [@](#):
>
> \*Originally posted by RyanD004 \*  
> Here’s my thought. The derivitive involves attaining information from something you already have.
> 
> [snip]
> 
> The integral is different though, because your trying to infer info about a more complicated function.

This line of thinking has merit. Generally, it’s easy to go from a general form to a specific form, but very hard to go from a specific form to a general form. That’s why deduction is easy, while induction is hard.

In the former case, you have all the information you need, you just apply it to a specific situation. In the later case, you are trying to make heads and tails out of the information you have on your hand, sometimes like a blind man groping an elephant.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [March 31, 2003, 8:23am UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/18 "2003-03-31T08:23:42Z")

</div>

> [@](#):
>
> \*Originally posted by Tyrrell McAllister \*  
> So if you agree that definite integrals are global, then you must concede that indefinite integrals are global, since we may immediately compute definite integrals from them.

Your concepts of global and local are not well-defined enough for you to make this assertion. It’s possible that I misunderstood what you meant by them, but from what I could tell, antidifferentiation is local under the meaning you ascribe to that word.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 31, 2003, 3:21pm UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/19 "2003-03-31T15:21:33Z")

</div>

> [@](#):
>
> \*Originally posted by Urban Ranger \*  
> \*\*This line of thinking has merit. Generally, it’s easy to go from a general form to a specific form, but very hard to go from a specific form to a general form. That’s why deduction is easy, while induction is hard.
> 
> In the former case, you have all the information you need, you just apply it to a specific situation. In the later case, you are trying to make heads and tails out of the information you have on your hand, sometimes like a blind man groping an elephant. \*\*

A function f is related to its antiderivative in exactly the same way that it’s related to its antiderivative, in the sense that f contains enough information to uniquely determine either related function.

I still think the key here is that integration is a very complicated process compared to differentiation. That gives it more power, but it makes it harder to do.

---

<div class="post-metadata">

**Author:** ![RyanD004](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@RyanD004](https://boards.straightdope.com/u/RyanD004)\
**Post date:** [March 31, 2003, 4:24pm UTC](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356/20 "2003-03-31T16:24:44Z")

</div>

> [@](#):
>
> \*Originally posted by ultrafilter \*  
> \*\*A function f is related to its antiderivative in exactly the same way that it’s related to its antiderivative, in the sense that f contains enough information to uniquely determine either related function.
> 
> I still think the key here is that integration is a very complicated process compared to differentiation. That gives it more power, but it makes it harder to do. \*\*

Heres the thing. When you take the antiderivitive, you’re almost trying to ‘undo’ a previous process. The problem is that you might not be able to clearly see the process that was used.

For instance.  
If we have a function such that: y = xe^x

Then the derivitive is: y’= e^x + xe^x  
If you think about taking the integral of y’ you’ll probably be considering two integrals- the first one is the easy e^x, and the second could be an integration by parts. It’s not obvious that the function was the derivitive of xe^x. True- that relationship is still there- the information is there- but it’s harder to infer. Now there could be any number of possible equivilant answers. If you do it the way I suggested, you will get the original xe^x +c.

The second part of your argument makes no sense to me. Saying that integration is harder because it’s more complicated doesn’t answer the question- why is it more complicated?

As for the whole “global” vs “local” argument- I thought about it, but I have one gripe. The slope of the fuction is determined by the other points around it. If you have one point in space,it doesn’t have a slope. There has to be a change in something- which can only exist relative to something else. Just a thought. IANA Mathematician.

[Next page](https://boards.straightdope.com/t/math-intergals-harder-than-derivatives-why/165356.md?page=2)
