3

am I doing this the right way? $\int_{-1}^{1} \frac{2x}{x^2 - 9}dx = \int_{-1}^{1} \frac{d(x^2 - 9)}{x^2 - 9}dx = \left[\ln|x^2 - 9|\right]_{-1}^{1} = 0$

Hamza
  • 33

3 Answers3

10

The calculation is correct.

You might note instead that in the interval you are integrating over, our function is well-behaved (integrable). It is an odd function, and we are integrating over an interval symmetric about $x=0$. So we can conclude that the integral is $0$ without doing any calculation at all.

Recall that a function $f(x)$ is odd if $f(-x)=-f(x)$ for all $x$.

You might want to sketch the curve, or have software do it for you. The negative "area" from $-1$ to $0$ exactly cancels the positive area from $0$ to $1$.

André Nicolas
  • 507,029
  • I think that it is important to mention that by well-behaved you mean integrable. $1/x$ is odd alright, but we still can't say that $\int_{-1}^1 1/x=0$. – tomasz Mar 02 '13 at 23:47
  • Thank you. I have inserted the term "integrable," but also kept "well-behaved," to try to balance intuition and correctness. – André Nicolas Mar 03 '13 at 01:25
1

It's completely right, minus one small notational flaw, which might come back to bite in a totally different problem.

$$\int \frac{2x}{x^2 - 9}dx = \int \frac{d(x^2 - 9)}{x^2 - 9}$$ not $$\int \frac{d(x^2 - 9)}{x^2 - 9}dx $$

Thinking of it as $$\int \frac{2x\,dx}{x^2 - 9}$$ helps.

Milind R
  • 111
-3

Not quite. Use u-substitution and set u=x^2-9.