# Homework Help: Trigonometric Integral

1. Aug 8, 2009

### Stratosphere

1. The problem statement, all variables and given/known data

$$\int cos^{2}(2x) dx$$

2. Relevant equations

3. The attempt at a solution

After doing all of the steps I came out with $$\frac{x+sin4x}{8}+c$$
In the text it says the answer is $$\frac{x}{2}+\frac{sin4x}{8}+c$$

Where did I go wrong?

2. Aug 8, 2009

### Cyosis

While I and other people can guess, how do you expect us to point out the mistakes in your steps by only showing the answers? Show your steps.

3. Aug 8, 2009

### Stratosphere

OK here are my steps then,
$$\cos^{2}=1/2(1+cos2x)$$

$$\frac{1}{2}\int1+cos^{2}2x$$

$$\frac{1}{8}(x+sin4x)$$

Last edited: Aug 8, 2009
4. Aug 8, 2009

### Cyosis

Well the first error I can see is that your cosine squared doesn't have an argument at all which is obviously wrong. If you mean that the argument is x then your formula holds if the argument is 2x, as is shown in the integral, that formula does not hold.

Equation two is also wrong it says $\cos^2 2x=1/2+1/2 \cos^22x$, which again isn't true. You should use the first formula (the correct version of it) to replace the squared cosine so you end up without any squared trigonometric functions. Also don't forget the dx in your integration.

5. Aug 8, 2009

### Stratosphere

I meant to write $$\ \frac{1}{2}\int cos(4x)$$ on the second one.

6. Aug 8, 2009

### Cyosis

That is incorrect. If you use the first identity you've written down in its correct form you get $\cos^2(2x)=\frac{1}{2}(1+\cos (4x))$. The left hand side is equal to the integrand so your integral becomes $\frac{1}{2}\int 1+\cos (4x)dx$. Now can you show me the steps on how to integrate this?

Last edited: Aug 8, 2009
7. Aug 8, 2009

### Stratosphere

Integrate the one that then turns into an x and then the integral of cos(4x) is sin(4x), let u=4x, then du=4dx, after this is were I get confused, I think I'm suppose to take the 2 and divide everything by it which would make all of the integral times 1/8, but that must be wrong since I didn't get the right answer.

8. Aug 8, 2009

### Cyosis

The first thing you need to teach yourself is being accurate. You've put wrong and sloppy info in each of your post so far. First off $\int \cos(4x) dx \neq \sin (4x)$. The substitution you list however is the correct way of doing it. Sow me how you worked out the entire substitution and how dividing all the terms by 2 would cause the entire integral to be multiplied by 1/8. You're pretty close, but you're being very sloppy. I am quite sure that if you write it out neatly you will notice the mistake all by yourself.

Last edited: Aug 8, 2009
9. Aug 8, 2009

### Stratosphere

Oh, I see what I did wrong there, thanks.