Elliptic partial differential equation

1 reply · 2K views · last reply
ATY
Messages
30
Reaction score
1
Hey guys, so my professor told me to take a look at an equation, because he thinks that there is a mistake. We are basically talking about exercise 6.3 (on last image). The pictures will show you the text, so that you have all the information, that I have
Printed textbook page section 6.2 showing boundary value problem equations: -d²φ/dx² = S(x) (6.10), variational energy integral E (6.11), and discretized sum form E (6.12) and difference equation 2φi - φi+1 - φi-1 = h²Si (6.13).

http://puu.sh/mrNDl/ec19cdff63.png
Printed textbook page 152 showing Eq. (6.15), the over-relaxation update phi_i to phi_i' = (1 - w)phi_i + (w/2)[phi_(i+1) + phi_(i-1) + h^2 S_i], and Eq. (6.16), the energy change E' - E = -(w(2 - w)/2h)[(1/2)(phi_(i+1) + phi_(i-1) + h^2 S_i) - phi_i]^2 <= 0.

http://puu.sh/mrNF3/7461f97ad4.png

So... I should "just use" 6.12 and 6.15 to get 6.16.
The point is that I have no clue how to do this.
my attemp was
http://puu.sh/mJ1HR/08899e8813.png
but, this gets super ugly when I start to insert the phi' from 6.15 and calculate everything. Is this even the right idea ?
 
Last edited by a moderator:
I would concentrate on collecting up terms so that you get a lot of occurrences of ##\phi'_i-\phi_i##, and likewise with i-1.
You will find terms like ##(\phi'_i\phi'_{i-1}-\phi_i\phi_{i-1})##. Here you can use 2(ab-cd)=(a-c)(b+d)+(a+c)(b-d).