1. May 14, 2013

### yungman

I am having some sort of blindness today!!! I just don't see how I can go from the first step to the second:

$$2\int_0^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u^2} du = \int_{-1}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du$$
Where "a" is just a constant.

As you can see, the numerator does not change. so it really boils down to
$$2\int_0^1\frac{1}{1-u^2} du = \int_{-1}^1\frac{1}{1+u} du$$

I tried using partial fraction where:
$$\frac 1 { (1+u)(1-u)}=\frac A {(1+u)}+\frac B {(1-u)}$$
where A=B=$\frac 1 2$.
$$\Rightarrow\; 2\int_0^1\frac{1}{1-u^2} du=\int_0^1\frac{1}{1+u} du+\int_0^1\frac{1}{1-u} du$$

Last edited: May 14, 2013
2. May 14, 2013

### SammyS

Staff Emeritus
Doing the pertial fraction decomposition may help -- probably does help, but you can't just say it boils down to $\ \displaystyle 2\int_0^1\frac{1}{1-u^2} du = \int_{-1}^1\frac{1}{1+u} du\ .$

One other thing also changes, the limits of integration.

Also notice that the numerator is a perfect square.

There is also a sum to product identity for cos(A) - cos(B) .

http://en.wikipedia.org/wiki/Trigonometric_identities#Product-to-sum_and_sum-to-product_identities

3. May 14, 2013

### yungman

I get to this directly from what is given from the solution manual:

$$2\int_0^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u^2} du = \int_{-1}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du$$
Where "a" is just a constant.

$$\Rightarrow\;2\int_0^1\frac{1}{1-u^2}[\cos^2 (au) +\cos^2a-2\cos (au) \cos a] du = \int_{-1}^1\frac{1}{1+u} [\cos^2 (au) +\cos^2a-2\cos (au) \cos a]du$$

As you can see, the numerator does not change. I just remove the whole numerator and boils down to
$$2\int_0^1\frac{1}{1-u^2} du = \int_{-1}^1\frac{1}{1+u} du$$

I really did not change anything. I just don't get this and I show my work in the first post where I got stuck. I don't even see why I need to worry about sine and cosine terms in the numerator as it is not even affected. I only show the whole equation just to show where it comes from.

Last edited: May 14, 2013
4. May 14, 2013

### Dick

You are barking up the wrong tree here. Saying that the integral of 1/g(x) is equal to the integral of 1/h(x) means that the integral of f(x)/g(x) equals the integral f(x)/h(x) is completely wrong. Not that I know how to solve your problem, but the integral of 1/(1+u) from -1 to 1 doesn't even exist. And the other one diverges as well. You can't 'cancel' the numerator.

Last edited: May 14, 2013
5. May 14, 2013

### SammyS

Staff Emeritus
Hint: What is $\displaystyle \ \left( \cos(au)-\cos(a) \right)^2 \$ when expanded ?

After suitably changing the integrand and splitting the integral into the sum of two integrals, it looks like you will need to use a change of variable (substitution) with one of the integrals.

I haven't done the problem either, but it looks to me that the integral does converge. (As u → 1 , we have the indeterminate form, 0/0 .)

Last edited: May 15, 2013
6. May 15, 2013

### Dick

I don't think that helps. The original numerator is symmetric in u. I would try splitting 1/(1+u) into symmetric and antisymmetric parts. I think that will.

Last edited: May 15, 2013
7. May 15, 2013

### yungman

Actually that's where it came from......$(\cos au -\cos a)^2$.

I am still looking at this, I understand what I did wrong. But I still have no idea how to solve this.

8. May 15, 2013

### yungman

I see what you mean. But now I am even more lost. This is a scan of the solution manual. I use a=kl/2.

#### Attached Files:

• ###### Integral.jpg
File size:
24.7 KB
Views:
58
Last edited: May 15, 2013
9. May 15, 2013

### SammyS

Staff Emeritus
Use the difference to product identity for $\ \cos(\theta) - \cos(\varphi) \ .$

$\displaystyle \cos \theta - \cos \varphi = -2\sin\left( {\theta + \varphi \over 2}\right) \sin\left({\theta - \varphi \over 2}\right)$

In this case, $\displaystyle \ {\theta + \varphi \over 2}\$ and $\displaystyle \ {\theta - \varphi \over 2}\$ work out very nicely .

The only reason to change to the product of sines is to show that the limit of the integrand exists as u → ±1 .

Last edited: May 15, 2013
10. May 15, 2013

### SammyS

Staff Emeritus
Using the partial fraction decomposition you found for 1/(1-u2) , split the integral into the sum of two integrals, one with a denominator
of 1 + u, the other with 1 - u.

Each, of course, has a numerator of (cos(au)-cos(a))2 .

Then, for the integral with a denominator of 1 - u, do a substitution such as x = -u .

11. May 15, 2013

### yungman

Thanks

Let me work on this and come back later.

12. May 15, 2013

### yungman

Let me try this and see whether this is right

$$\frac 2 { (1+u)(1-u)}=\frac A {(1+u)}+\frac B {(1-u)}=\frac 1 {(1+u)}+\frac 1 {(1-u)}$$
where A=B=$\frac 1 2$.

$$\Rightarrow\;2\int_0^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u^2} du = \int_{0}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du\;+\; \int_{0}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u} du$$

$$\hbox {Let}\;v=-u\Rightarrow\; du=-dv$$
$$\int_{0}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u} du\;=\;-\int_{0}^{-1}\frac{[\cos^2 (-av) +\cos^2a-2\cos (-av) \cos a]}{1+v} dv\;=\;\int_{-1}^0\frac{[\cos^2 (av) +\cos^2a-2\cos (av) \cos a]}{1+v} dv$$

$$\hbox {Let}\;u=v\Rightarrow\; du=dv$$
$$\int_{-1}^0\frac{[\cos^2 (av) +\cos^2a-2\cos (av) \cos a]}{1+v} dv\;=\;\int_{-1}^0\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du$$

Therefore
$$2\int_0^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u^2} du\;=\;\int_{0}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du\;+\;\int_{-1}^0\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du$$

$$\Rightarrow\;2\int_0^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1-u^2} du\;=\;\int_{-1}^1\frac{[\cos^2 (au) +\cos^2a-2\cos (au) \cos a]}{1+u} du$$

How does this look?

Last edited: May 15, 2013
13. May 15, 2013

### SteamKing

Staff Emeritus
In the first line, if A = B = 1/2, shouldn't the fractions be (1/2) / (1 + u) and (1/2) / (1 - u)?

14. May 15, 2013

### SammyS

Staff Emeritus
He is decomposing $\displaystyle \ \frac{2}{1-u^2}\$ not $\displaystyle \ \frac{1}{1-u^2}\ .$

15. May 15, 2013

### SammyS

Staff Emeritus
It looks good to me.

16. May 15, 2013

### SteamKing

Staff Emeritus
I agree that 1/(1+u) + 1/(1-u) = 2 / (1-u^2), but his partial fraction decomp says that his unknowns A = B = 1/2, which is incorrect according to his initial assumption. It is a minor point, but one should endeavor to be correct in all details.

17. May 15, 2013

### yungman

Thanks for the help from everybody.

18. May 15, 2013

### yungman

It was late, I was sloppy, it should be $2\frac 1 {1-u^2}$ and A=B=$\frac 1 2$.

19. May 15, 2013

### yungman

This is a new question all together, but it is on the same page of the derivation. I cannot follow the derivation of the notes. Here is my derivation starting from (1) or the notes.

$$I_{int}=\frac 1 2 \int_{-1}^1\frac{[1+\cos(klu)+1+\cos(kl)]}{(1+u)}du\;-\;\int_{-1}^1\frac{\cos\left (\frac{kl}{2}(1+u)\right)+\cos\left (\frac{kl}{2}(1-u)\right) }{(1+u)}du$$
$$\hbox {Let }\;(1+u)kl=v\;\Rightarrow\;v=(kl+klu),\;u=(\frac {v}{kl}-1),\;(1+u)=\frac {v}{kl}, \;\hbox { and } \;du=\frac {dv}{kl}$$

$$\Rightarrow\; I_{int}=\frac 1 2 \int_0^{2kl} \frac {[2 + \cos (v-kl)+\cos(kl)]}{v} dv-\int_0^{2kl}\frac{\cos\left(\frac v 2 \right)}{v}dv-\int_{-1}^1 \frac{\cos\left[\frac{kl}{2}(1-u)\right]}{1+u}du$$
$$\hbox {For the second term, let }\; w=\frac v 2 \;\hbox { and then Let } v=w \hbox { later}$$
$$\Rightarrow\; I_{int}=\frac 1 2 \int_0^{2kl} \frac {[2 + \cos (v-kl)+\cos(kl)]}{v} dv-\int_0^{kl}\frac{\cos(v)}{v}dv-\int_{-1}^1 \frac{\cos\left[\frac{kl}{2}(1-u)\right]}{1+u}du$$
$$\Rightarrow\; I_{int}=\frac 1 2 \int_0^{2kl} \frac {[2 +\cos(kl)]}{v} dv+ \frac 1 2 \int_0^{2kl} \frac { \cos (v-kl)}{v} dv -\int_0^{kl}\frac{\cos(v)}{v}dv-\int_{-1}^1 \frac{\cos\left[\frac{kl}{2}(1-u)\right]}{1+u}du$$

Now compare the line (2) in the scanned notes:
$$\Rightarrow\; I_{int}=\frac 1 2 \int_0^{2kl} \frac {[2 + \cos (klv)+\cos(kl)]}{v} dv-\int_0^{kl}\frac{\cos(v)}{v}dv-\int_{-1}^1 \frac{\cos\left[\frac{kl}{2}(1-u)\right]}{1+u}du$$
$$\Rightarrow\; I_{int}=\frac 1 2 \int_0^{2kl} \frac {[2 +\cos(kl)]}{v} dv+ \frac 1 2 \int_0^{2kl} \frac { \cos (klv)}{v} dv -\int_0^{kl}\frac{\cos(v)}{v}dv-\int_{-1}^1 \frac{\cos\left[\frac{kl}{2}(1-u)\right]}{1+u}du$$

If you compare the equation I derive with (2) of the notes, the only terms that is different is:
$$\frac 1 2 \int_0^{2kl} \frac { \cos (v-kl)}{v} dv\;\hbox { from my equation to }\;\frac 1 2 \int_0^{2kl} \frac { \cos (klv)}{v} dv\;\hbox { from the notes.}$$

I just don't see how I can get the answer from the notes. As you see, I separate the longer integration into two parts. I am pretty sure I did this right this time.....hopefully. Please help.

I attach the whole page of the notes as I might have more question coming and I might have typos. This is a difficult derivation that involve sine and cosine integral and I am rusty in math!!! I am not math major, I do this as part of the derivation of radiating power of antenna. I am not like you guys that are in "mid season condition"!!!:rofl:. Everything is rusty for me and need some kick start!!! What I posted is from equation (1) to (2) in the notes.

#### Attached Files:

• ###### Integration.jpg
File size:
46.3 KB
Views:
42
Last edited: May 15, 2013
20. May 15, 2013

### SammyS

Staff Emeritus
It's generally the case that a new question should be posted in a new thread. This is no exception.

If this question were very closely related to the one that you started this thread with, it might be justified to tack this on to the the thread, but that is not the case here.