Variational expression: a demonstration

Click For Summary

Homework Help Overview

The discussion revolves around a variational expression involving a quantity K defined as the ratio of squared integrals of functions E(x) multiplied by known functions e_n(x) and e_1(x). The original poster, Emily, seeks to demonstrate that a perturbation in E(x) leads to a proportional change in K, specifically that the change in K is proportional to the square of the perturbation.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Emily attempts to manipulate the expression for K by substituting E(x) with E_0(x) + δE(x) and expanding the resulting ratio. She questions whether certain terms can be neglected and how to isolate variables in her expression.
  • Another participant challenges the validity of Emily's conclusion, suggesting that the Taylor expansion of K does not support her claim about the proportionality of δK to [δE(x)]².
  • Emily responds by attempting to clarify the definitions of the variables involved and questions the conditions under which her result might hold true.
  • Further discussion includes an exploration of the implications of the integrals involved and whether certain relationships must hold for the results to be valid.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the mathematical relationships involved. Some guidance has been offered regarding the assumptions underlying the Taylor expansion, but no consensus has been reached. The dialogue reflects a mix of attempts to clarify definitions and challenge assumptions.

Contextual Notes

Participants are working within the constraints of a homework problem, which may limit the information available for discussion. There is an emphasis on understanding the implications of perturbations in the context of variational expressions, and the validity of certain mathematical manipulations is under scrutiny.

EmilyRuck
Messages
134
Reaction score
6

Homework Statement



Hello!
My problem is with a variational expression. I have a quantity, say L, which could be determined by the ratio:

K = \displaystyle \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2}

Where e_1(x), e_n(x) are known functions and n is an integer, with n > 1.
If I couldn't know exactly E(x) and I substitute it with E_0(x) + \delta E(x), I have to demonstrate that the corresponding \delta K is proportional to [\delta E(x)]^2.
So an error of 10 % made during the estimation of E(x) is an error of only 1 % for the corresponding estimation of K.

Homework Equations





The Attempt at a Solution



I tried to write the square of numerator and denominator:

K + \delta K = \displaystyle \frac{\left[\int_a^b [E(x) + \delta E(x)] e_n(x)dx\right]^2}{\left[\int_a^b [E(x) + \delta E(x)] e_1(x)dx\right]^2} =
\displaystyle = \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2 + 2\int_a^b E(x)e_n(x)dx \int_a^b \delta E(x)e_n(x)dx + \left[\int_a^b \delta E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2 + 2\int_a^b E(x)e_1(x)dx \int_a^b \delta E(x)e_1(x)dx + \left[\int_a^b \delta E(x)e_1(x)dx\right]^2}

We can easily substitute the integral expression with letters and write:

K + \delta K = \displaystyle \frac{a^2 + 2ab + b^2}{c^2 + 2cd + d^2}

How could I do now?
Could I neglect the b^2 and d^2 terms because they are small? If I do this, then I could divide both numerator and denominator by c^2 and take the Taylor series expansion of the denominator truncated to the first order, so

K + \delta K \simeq \frac{\displaystyle \frac{a^2}{c^2} + \displaystyle \frac{2ab}{c^2}}{1 + \displaystyle \frac{2d}{c}} \simeq \left(\displaystyle \frac{a^2}{c^2} + \frac{2ab}{c^2}\right)\left(1 + \displaystyle \frac{2d}{c}\right)

But in this way I can't separate yet a and c from b and d, and I can't write a term with only c^2 or d^2. How can I proceed?
Thank you if you read this post,

Emily
 
Physics news on Phys.org
EmilyRuck said:

Homework Statement



Hello!
My problem is with a variational expression. I have a quantity, say L, which could be determined by the ratio:

K = \displaystyle \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2}

Where e_1(x), e_n(x) are known functions and n is an integer, with n > 1.
If I couldn't know exactly E(x) and I substitute it with E_0(x) + \delta E(x), I have to demonstrate that the corresponding \delta K is proportional to [\delta E(x)]^2.
So an error of 10 % made during the estimation of E(x) is an error of only 1 % for the corresponding estimation of K.

Homework Equations





The Attempt at a Solution



I tried to write the square of numerator and denominator:

K + \delta K = \displaystyle \frac{\left[\int_a^b [E(x) + \delta E(x)] e_n(x)dx\right]^2}{\left[\int_a^b [E(x) + \delta E(x)] e_1(x)dx\right]^2} =
\displaystyle = \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2 + 2\int_a^b E(x)e_n(x)dx \int_a^b \delta E(x)e_n(x)dx + \left[\int_a^b \delta E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2 + 2\int_a^b E(x)e_1(x)dx \int_a^b \delta E(x)e_1(x)dx + \left[\int_a^b \delta E(x)e_1(x)dx\right]^2}

We can easily substitute the integral expression with letters and write:

K + \delta K = \displaystyle \frac{a^2 + 2ab + b^2}{c^2 + 2cd + d^2}

How could I do now?
Could I neglect the b^2 and d^2 terms because they are small? If I do this, then I could divide both numerator and denominator by c^2 and take the Taylor series expansion of the denominator truncated to the first order, so

K + \delta K \simeq \frac{\displaystyle \frac{a^2}{c^2} + \displaystyle \frac{2ab}{c^2}}{1 + \displaystyle \frac{2d}{c}} \simeq \left(\displaystyle \frac{a^2}{c^2} + \frac{2ab}{c^2}\right)\left(1 + \displaystyle \frac{2d}{c}\right)

But in this way I can't separate yet a and c from b and d, and I can't write a term with only c^2 or d^2. How can I proceed?
Thank you if you read this post,

Emily

The result you want is false, in general. Let us write \delta E(x) as r h(x), where h(x) is a function (not necessarily small) and r is the perturbation parameter (which we do think of a small). We have
K = K(r) = \left(\frac{a + br}{c + dr}\right)^2, where
\begin{array}{l}a = \int_a^b e_0(x) E_0(x) \, dx \\<br /> b = \int_a^b e_0(x) h(x) \, dx \\<br /> c = \int_a^b e_n(x) E_0(x) \, dx \\<br /> d = \int_a^b e_n(x) h(x) \, dx \end{array}<br />
Your result requires that the Taylor expansion of K(r) have the form K(0) + K_2 r^2, with no r^1 term. This is false: we have
K&#039;(0) = dK(r)/dr|_{r=0} = \frac{2a}{c^3}(bc - ad),
which is nonzero in general.

RGV
 
Ray Vickson said:
The result you want is false, in general. Let us write \delta E(x) as r h(x), where h(x) is a function (not necessarily small) and r is the perturbation parameter (which we do think of a small). We have
K = K(r) = \left(\frac{a + br}{c + dr}\right)^2, where
\begin{array}{l}a = \int_a^b e_0(x) E_0(x) \, dx \\<br /> b = \int_a^b e_0(x) h(x) \, dx \\<br /> c = \int_a^b e_n(x) E_0(x) \, dx \\<br /> d = \int_a^b e_n(x) h(x) \, dx \end{array}<br />
Your result requires that the Taylor expansion of K(r) have the form K(0) + K_2 r^2, with no r^1 term. This is false: we have
K&#039;(0) = dK(r)/dr|_{r=0} = \frac{2a}{c^3}(bc - ad),
which is nonzero in general.

RGV

First of all, thank you for your reply!
Maybe you wanted to write:

\begin{array}{l}a = \int_a^b E_0(x) e_n(x) \, dx \\<br /> b = \int_a^b h(x) e_n(x) \, dx \\<br /> c = \int_a^b E_0(x) e_1(x) \, dx \\<br /> d = \int_a^b h(x) e_1(x) \, dx \end{array}<br />

Substituting:

bc - ad = 0 \Rightarrow \int_a^b h(x) e_n(x) \, dx \int_a^b E_0(x) e_1(x) \, dx - \int_a^b E_0(x) e_n(x) \, dx \int_a^b h(x) e_1(x) \, dx = 0

It seems to be true just if the product of the integrals equals the integrals of the products. Isn't it?
According to my notes, the result about [\delta E(x)]^2 should be true in general: my professor and another one said that in their lessons, without explaining why :frown:.

Emily
 
EmilyRuck said:
First of all, thank you for your reply!
Maybe you wanted to write:

\begin{array}{l}a = \int_a^b E_0(x) e_n(x) \, dx \\<br /> b = \int_a^b h(x) e_n(x) \, dx \\<br /> c = \int_a^b E_0(x) e_1(x) \, dx \\<br /> d = \int_a^b h(x) e_1(x) \, dx \end{array}<br />

Substituting:

bc - ad = 0 \Rightarrow \int_a^b h(x) e_n(x) \, dx \int_a^b E_0(x) e_1(x) \, dx - \int_a^b E_0(x) e_n(x) \, dx \int_a^b h(x) e_1(x) \, dx = 0

It seems to be true just if the product of the integrals equals the integrals of the products. Isn't it?
According to my notes, the result about [\delta E(x)]^2 should be true in general: my professor and another one said that in their lessons, without explaining why :frown:.

Emily

Sorry, no. The product b*c involves the integral of e_n * h, while the product a*d involves the integral of e_1 * h. There is no reason why they should cancel. Look at it this way:
bc-ad = \int_a^b h(x) e_n(x) \, dx \int_a^b E_0(w) e_1(w) \, dw - \int_a^b E_0(w) e_n(w) \, dw \int_a^b h(x) e_1(x) \, dx .
Does that look like 0 to you?

RGV
 
Last edited:
EmilyRuck said:
First of all, thank you for your reply!
Maybe you wanted to write:

\begin{array}{l}a = \int_a^b E_0(x) e_n(x) \, dx \\<br /> b = \int_a^b h(x) e_n(x) \, dx \\<br /> c = \int_a^b E_0(x) e_1(x) \, dx \\<br /> d = \int_a^b h(x) e_1(x) \, dx \end{array}<br />

Substituting:

bc - ad = 0 \Rightarrow \int_a^b h(x) e_n(x) \, dx \int_a^b E_0(x) e_1(x) \, dx - \int_a^b E_0(x) e_n(x) \, dx \int_a^b h(x) e_1(x) \, dx = 0

It seems to be true just if the product of the integrals equals the integrals of the products. Isn't it?
According to my notes, the result about [\delta E(x)]^2 should be true in general: my professor and another one said that in their lessons, without explaining why :frown:.

Emily


To convince you the result is false, let's look at a numerical example. (Of course, the functions you are using in your study may not resemble the ones I use below; it may be that for the special functions you are using, the result could, conceivably, hold---just not for the reasons you claim.) Let's take E_0(x) = x,\: h(x) = x^2,\: e_n(x) = \sin(\pi x/2), \: e_1(x) = \cos(\pi x/2), \: a = 0, \:b = 1. Then
\begin{array}{rcl}K &amp;=&amp; \frac{\left( \int_0^1 (x + r x^2) \sin(\pi x/2) \, dx \right)^2}{\left( \int_0^1 (x + r x^2) \cos(\pi x/2) \, dx \right)^2}\\<br /> &amp;\doteq&amp; \frac{4(2.283185308\: r + 3.141592654)^2}{(3.586419096+1.869604404\: r)^2} \\<br /> &amp;=&amp;3.069288133 + 1.261227604\: r - 0.527913928\: r^2 + O(r^3).<br /> \end{array}<br />
The term linear in r is not zero.

RGV
 
Ray Vickson said:
To convince you the result is false, let's look at a numerical example. (Of course, the functions you are using in your study may not resemble the ones I use below; it may be that for the special functions you are using, the result could, conceivably, hold---just not for the reasons you claim.) Let's take E_0(x) = x,\: h(x) = x^2,\: e_n(x) = \sin(\pi x/2), \: e_1(x) = \cos(\pi x/2), \: a = 0, \:b = 1.

Sorry if I'm late (I didn't receive notifications by e-mail).
I tried to do some numerical examples too, with functions very similar to your ones. In the particular problem, it should be

e_n(x) = \sin(n \pi x/w)\\<br /> e_1(x) = \sin(\pi x/w)\\<br /> E(x) = \displaystyle \sqrt{(x - a)(b - x)}

with h(x) whatever error function and w a numerical positive constant; in my example I chose a sort of Gaussian distribution, h(x) = e^{-x^2}. E(x) should be the estimated function, so it is E(x) = E_0(x) + rh(x) and this is all we know about the function. Don't worry if somewhere E(x) becomes imaginary, it could happen.
But now I wonder why the professor said that . I agree with you, the first order error is nonzero!
Anyway, thank you so much for your calculations and observations, which are all right and useful!

Emily
 
With a more accurate example, I tried these realistic values for each integral:

a = 1.9;\\<br /> b=2.1;\\<br /> w = 4

and I had to consider E_0(x) = \sqrt{(x - a)(b - x)} instead of E(x) to make this example (I need an expression for E_0(x)!).

n = 3, 5 gave a difference bc - ad which is nonzero only if we consider a 10^{-7} precision (now a and b are the integrals, not their extremes!).
n = 9 gave a difference bc - ad which is nonzero only if we consider a 10^{-6} precision and so on for increasing values of n.
But the contribution of the nth term for increasing n is decreasing, so maybe we can consider in this case bc - ad \simeq 0.
I can't say which are the mathematical reasons for this result, but - strictly numerically - it seems to work.

Emily
 
Even if in this textbook the calculation are quite different, the results that I should demonstrate are the same: the statement is:
K «is stationary for small arbitrary variations in the electric field distribution about its correct value. It, therefore, follows that a first-order approximation to the electric field distribution will yield a second-order approximation to» the value of K.
(Robert E. Collin, Field Theory of Guided Waves, Ch. 8)
 
EmilyRuck said:
Even if in this textbook the calculation are quite different, the results that I should demonstrate are the same: the statement is:
K «is stationary for small arbitrary variations in the electric field distribution about its correct value. It, therefore, follows that a first-order approximation to the electric field distribution will yield a second-order approximation to» the value of K.
(Robert E. Collin, Field Theory of Guided Waves, Ch. 8)

I don't know why you are arguing; we are talking about two different things. The thing you wrote down in your original post was not, in general, stationary, so that is why the first-order differential was nonzero. If you did have a stationary thing then, of course, the first-order differential would be zero BY DEFINITION, and that would mean your deviations would be of second or higher order---no argument there.

RGV
 
  • #10
we are talking about two different things. The thing you wrote down in your original post was not, in general, stationary

Oh, so it had been a misunderstanding. My professor presented the first expression,

K = \displaystyle \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2}

as a variational, stationary expression. This is why I wrote the post.

If you did have a stationary thing then, of course, the first-order differential would be zero BY DEFINITION

So, the K expression is not stationary?
How can I recognize a stationary expression and where I can see that it has zero first-order differential?

Emily
 
  • #11
EmilyRuck said:
Oh, so it had been a misunderstanding. My professor presented the first expression,

K = \displaystyle \frac{\left[\int_a^b E(x)e_n(x)dx\right]^2}{\left[\int_a^b E(x)e_1(x)dx\right]^2}

as a variational, stationary expression. This is why I wrote the post.



So, the K expression is not stationary?
How can I recognize a stationary expression and where I can see that it has zero first-order differential?

Emily

I don't know the background or the context, so I don't know what K is supposed to be, or where it came from. I just took your word for it that K was supposed to be stationary at E = E_0, and I disputed that. However, maybe what you wrote is not what was meant, etc. At this point I give up.

RGV
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
Replies
12
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K