Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

"What is the difficulty when calculating the integral

$$\int_0^∞ \frac{6}{x^7+2x+1} dx $$

? Solve the integral with matlab's quad."

Sorry for my bad formatting, I'm just learning this formatting. But anyway I think the problem is the infinite bounds so we should chop off the bounds somewhere. Can you suggested how to trim the bounds and divide this integral into perhaps two integrals that we can handle?

I'm thinking of dividing the integral into two manageable integrals and then use matlab's quad.

share|cite|improve this question
It's okay if your formatting is not so great. Just look at the edits and learn, I guess. People are always gonna help if you're trying. There's a FAQ section about how to format stuff though, you should check it out. – Patrick Da Silva Sep 10 '12 at 7:51
The infinite bound is the most cumbersome part. Maybe you can split the integral into $\int_0^1 + \int_1^{\infty}$, and then make change of variable $x \mapsto 1/x$ to turn the latter into an integral on$[0, 1]$. – Sangchul Lee Sep 10 '12 at 7:56
up vote 6 down vote accepted

One could decompose this into an integral from $0$ to $1$ and an integral from $1$ to $\infty$ and use the change of variable $x\to1/z$ in the second part. Since $\mathrm dx=\mathrm dz/z^2$, this yields $$ \int_1^{+\infty}\frac{\mathrm dx}{x^7+2x+1}=\int_0^1\frac{z^5\mathrm dz}{z^7+2z^6+1} $$ and, finally, the integral to compute is $$ 6\int_0^1\left(\frac1{x^7+2x+1}+\frac{x^5}{x^7+2x^6+1}\right)\mathrm dx. $$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.