# An integration that doesn't quite make sense.

• Sep 11th 2008, 04:52 AM
Showcase_22
An integration that doesn't quite make sense.
http://i116.photobucket.com/albums/o...sproblem26.jpg

The question is copied directly from my book but the working is my own.

The answer isn't 0 and I have a feeling that my limits are wrong. I'm not really sure how else to write the limits in order for me to get an answer than isn't 0.

help would be greatly appreciated.
• Sep 11th 2008, 07:12 AM
Laurent
To find your error, I looked for the line where you start integrating functions taking negative values. This is the line with $\displaystyle \int_0^\pi \cos t\sin t dt$. To go from the previous line into this one, you wrote $\displaystyle (\cos^2 t)^{1/2}=\cos t$, whereas it should have been $\displaystyle (\cos^2 t)^{1/2}=|\cos t|$.

Laurent.
• Sep 11th 2008, 07:17 AM
Showcase_22
Okay then. I have absolutely no idea how to integrate moduli.

The last one I did was easy and it was just finding the area of two triangles and add them together. I don't think I can do the same for this.

I suppose what i'm asking is "how do you integrate moduli?"(Thinking)
• Sep 11th 2008, 08:40 AM
Moo
Quote:

Originally Posted by Showcase_22
Okay then. I have absolutely no idea how to integrate moduli.

The last one I did was easy and it was just finding the area of two triangles and add them together. I don't think I can do the same for this.

I suppose what i'm asking is "how do you integrate moduli?"(Thinking)

Separate the integral.

Remember you can write $\displaystyle \int_a^b \dots=\int_a^c \dots + \int_c^b \dots$

Find for what values of x between $\displaystyle 0$ and $\displaystyle \pi$, $\displaystyle |\cos(x)| \ge 0 \implies |\cos(x)|=\cos(x)$ and for which ones $\displaystyle |\cos(x)| \le 0 \implies |\cos(x)|=-\cos(x)$
• Sep 11th 2008, 09:48 AM
Showcase_22
My big worry is that i'm not sure if my limits are right.

I'd be integrating a cos x along the way that will give me a sign x.

Sin 0=0 and sin pi=0 so it would give me an area of 0.
• Sep 11th 2008, 09:58 AM
Showcase_22
Is this what I need to integrate:

http://i116.photobucket.com/albums/o...sproblem32.jpg

?

I just noticed something else. In the other post you write "mod cos x < (or equal to) 0" (I haven't figured out how to quote properly). Isn't mod cos x always greater than 0? If any of the values were negative then they wouldn't be needed in the question anyway since it wants the area above the x axis.

?
• Sep 11th 2008, 11:57 AM
Laurent
Quote:

Originally Posted by Showcase_22
In the other post you write "mod cos x < (or equal to) 0"

This was of course a typo for: $\displaystyle \cos x\leq 0\Leftrightarrow |\cos x|=-\cos x$.

To explicit Moo's hint a little, here is an example of computation of an integral with an absolute value: $\displaystyle \int_{-1}^2|x|dx=\int_{-1}^0 |x|dx +\int_0^2 |x|dx=\int_{-1}^0 (-x) dx+\int_0^2 x dx=\cdots$. Try to adapt this to your situation.
• Sep 12th 2008, 01:17 AM
Showcase_22
I decided to draw a graph of what I needed:

http://i116.photobucket.com/albums/o...sproblem37.jpg

...and it suddenly all made sense! I was supposed to use the symmetry of the graph (integrate the function from 0 to pi/2) and then double it)!!