Thursday

July 31, 2014

July 31, 2014

Posted by **Sarah** on Saturday, April 21, 2007 at 6:30pm.

f(x) = sinx

g(x) = cosx

x = 0

x = 2pi

I set my calculator to graph on the x-axis as a 2pi scale. The two functions appear to cross three times between x = 0 and 2pi. (including 2pi) Now, from top to bottom, I can't distinguish which equation is which. I know to look from left to right, and it appears that the first intersection has cosine on top, and the second has sin on top, but I'm not sure about the intersection at 2pi. Further, I know this requires the use of values on the unit circle that I'm not entirely sure how to use.

After I've found each top-bottom equation and can add them all together to get the integral from 0-2pi OF (3 different sets of cos and sin subtractions) how do I determine the values? Will it be for quadrant 1, quadrant 4, then quadrant 1 again? (In order of intersection)

Thank you in advance. These problems have a tendency to get very involved and I lose myself in them.

You need to integrate the function

ABS[f(x) - g(x)] from zero to 2 pi.

Here ABS denotes the absolute value.

Note that:

cos(x) - sin(x) = sqrt(2)cos(x + pi/4)

Use the formula:

cos(a + b) = cos(a)cos(b) - sin(a)sin(b)

to derive this formula.

So, you have to integrate the function:

sqrt(2) ABS[cos(x + pi/4)]

from zero to 2 pi. Since the integral is over one period you can forget about the pi/4 and just integrate

sqrt(2) ABS[cos(x)] or perhaps slightly easier the function sqrt(2) ABS[sin(x)] from zero to 2 pi.

Integral of sqrt(2) ABS[sin(x)] dx

from zero to 2 pi is th same as twice the integral of sqrt(2) sin(x) from zero to pi.

Thank you so much for your help!

I'm having trouble putting that into a calculator using FnInt.

FnInt: (sqrt2) (ABS (cos(x))), x, 0, 2pi

Returns and error.

Is that the correct function etc? or am I missing something else?

Thanks again,

Sarah

Maybe you get the error because your calculator doesn't know how to integrate the absolute value of cosine.

Because we are integrating over an entire period, you can also integrate the absolute value of the sinus from zero to 2 pi, but that's twice the integral of sin(x) from zero to pi. The integral of sin(x) from zero to pi is 2. The answer is thus 4 sqrt(2).

If you sketch the two curves it is easy to see that they intersect at pi/4 and again at 5pi/4.

(Sarah, they don't intersect at 2pi because

sin(2pi)= 0, cos(2pi)=1 )

total area =

integral(cosx-sinx)dx from 0 to pi/4

+

integral(sinx-cosx)dx from pi/4 to 5pi/4

+ integral(cosx-sinx)dx from 5pi/4 to 2pi.

the integral of cosx-sinx is (sinx+cosx), the angles are all special angles and can be found without any calculators.

Thank you both again! Which values am I supposed to be using? I set up the integrals and FnInted the first one, which gave me a decimal. I figured I should get the same answer if I use the values from the unit circle for pi/4.

I had cos [(sqrt 2)/2]- sin [(sqrt 2)/2] - 1. This gave me a very different answer than the first decimal I got.

Thank you,

Sarah

**Related Questions**

Pre-Calc - Trigonometric Identities Prove: (tanx + secx -1)/(tanx - secx + 1)= ...

Trig........ - I need to prove that the following is true. Thanks (cosx / 1-sinx...

Check a few more CALC questions, please? - I feel pretty good on my answers. Are...

Math-trigonometry - Several questions from my homework, any are appreciated. ...

Trigonometry Check - Simplify #3: [cosx-sin(90-x)sinx]/[cosx-cos(180-x)tanx] = [...

Pre-calc - prove the identity: (cosx)(tanx + sinx cotx)=sinx+cos(squared)x i ...

Trigonometry. - ( tanx/1-cotx )+ (cotx/1-tanx)= (1+secxcscx) Good one! ...

Math - 1) evaluate without a calculator: a)sin(3.14/4) b) cos(-3(3.14)/4) c) ...

Trigonometry - 4. Find the exact value for sin(x+y) if sinx=-4/5 and cos y = 15/...

Math - Verify the identity . (cscX-cotX)^2=1-cosX/1+cosX _______ sorry i cant ...