## stottrupbailey Group Title integrate xcos^2(8x)dx one year ago one year ago

1. stottrupbailey Group Title

$\int\limits_{}^{}xcos^2(8x)dx$

2. stottrupbailey Group Title

I think I might need a half angle formula? I'm still confused though...

3. LolWolf Group Title

Yep, power-reducing formula, and then integration by parts. Use the fact that: $\cos^2(x)=\frac{1+\cos(2x)}{2}$

4. stottrupbailey Group Title

okay, so I've got it down to $\int\limits_{}^{}x \frac{ 1 }{ 2 }(1+\cos(16x))dx$

5. stottrupbailey Group Title

is that right?

6. LolWolf Group Title

To make life easier, think of it in terms of powers of e: $e^{i\theta}=\cos(\theta)+i\sin(\theta)$If you wish.

7. LolWolf Group Title

Yes, that is.

8. stottrupbailey Group Title

can you give me a hint what to do next please?

9. LolWolf Group Title

Sure: try to integrate it using integration by parts. Do you know how to do this...?

10. stottrupbailey Group Title

Yes I do. Should I use u=1+cos(16x) and dv=x ?

11. stottrupbailey Group Title

dv=x dx

12. LolWolf Group Title

Try the other way around. Since we wish to reduce it to an integrable series. E.g. we can integrate $$\sin(l)$$, but not $$\frac{x^2}{2}\sin(l)$$, without integration by parts.

13. LolWolf Group Title

Try doing the following case: $dv=(1+\cos(16))dx,\;v=\cdots\\ u=x,\;du=dx$

14. stottrupbailey Group Title

oh, gotcha. okay just a sec

15. LolWolf Group Title

Quick tip, remember, intuitively, what integration by parts does: For some functions $$f, g$$, integration by parts turns the problem: $\int f'\cdot g\;dx$Into the problem: $\int f\cdot g'\;dx$Think about this a little bit and it will become much easier to understand its use.

16. stottrupbailey Group Title

$x(x+\frac{ \sin(16x) }{ 16 })-\int\limits_{}^{}x+\frac{ \sin(16x) }{ 16 } dx$

17. stottrupbailey Group Title

is that right so far?

18. LolWolf Group Title

Yessir/ma'am. Although don't forget the constant $$\frac{1}{2}$$ that was at the beginning of the problem.

19. stottrupbailey Group Title

yep I left that hanging around somewhere. Okay, so without the 1/2 from before I got $x^2+xsin(16x)/16 -\int\limits_{}^{}x+\frac{ \sin(16x) }{ 16 }dx$

20. stottrupbailey Group Title

is that right?

21. stottrupbailey Group Title

which would then be $x^2+\frac{ xsin(16x) }{ 16 }-\frac{ x^2 }{ 2 }-\frac{ \cos(16x) }{ 32 }$

22. stottrupbailey Group Title

oops that last one should be plus, not minus

23. stottrupbailey Group Title

ahhh nope that's not right just a sec

24. LolWolf Group Title

You're really close, remember that the denominator has to multiply by 16, not add, and that the integral of sin is -cos, not +cos. But, you've got the jist. The devil is in the details.

25. stottrupbailey Group Title

Okay, I got the right answer. Thanks so much for the help!! :)

26. LolWolf Group Title

Sure thing, have a good one.