Solving Differential Equation with Boundary Conditions

Click For Summary

Discussion Overview

The discussion revolves around solving a differential equation with boundary conditions, specifically focusing on the equation y'' - a*y = δ(x-d). Participants explore methods for finding the Green's function and the implications of boundary conditions on the solutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the homogeneous solution y_H = C_1 exp(√a x) + C_2 exp(-√a x) and seeks help applying boundary conditions to find the Green's function.
  • Another participant suggests using the variation of parameters method, proposing a solution form involving two functions, u_1(x) and u_2(x), and outlines the necessary conditions for these functions based on boundary behavior.
  • A participant expresses uncertainty about their derivation of u_1(x) and u_2(x), leading to a discussion on the correct application of boundary conditions and the implications for coefficients in the Green's function.
  • There is a correction regarding the relationship between coefficients in the Green's function and the conditions at x=y, emphasizing the need for continuity and derivative conditions.
  • A later participant questions whether the same methods apply when the boundary conditions are removed, specifically regarding the use of variation of parameters for the Green's function calculation.

Areas of Agreement / Disagreement

Participants generally agree on the methods to approach the problem but express differing views on the application of boundary conditions and the derivation of specific functions. The discussion remains unresolved regarding the exact implications of the boundary conditions on the coefficients and the Green's function.

Contextual Notes

There are limitations regarding the assumptions made about the coefficients and the behavior of the solutions at boundaries. The discussion also highlights the dependence on the definitions of the functions involved and the conditions under which they are applied.

germana2006
Messages
39
Reaction score
0
solve the next differential equation:

[tex]y´´- a*y= \delta (x-d)[/tex]

with the boundary conditions:

[tex]\left.\frac{\partial y}{\partial x} \right|_ {x=0} = 0[/tex]

[tex]lim _{x\rightarrow\infty} y = 0[/tex]

I get the homogeneous solution: [tex]y_H = C_1 exp (\sqrt{a}x) + C_2 exp (-\sqrt{a}x)[/tex]

and then to obtain the inhomogeneous solution (the particular solution), one should get the Green function. For these case, it is G equal to:

[tex]\{A exp (\sqrt{a}x) + B exp (-\sqrt{a}x)[/tex]
[tex]\{C exp (\sqrt{a}x) + D exp (-\sqrt{a}x)[/tex]

and the A, B, C, D coefficients should be obtain from the boundary conditions. This is my problem, I try to applied this boundary conditions but I have not idea how I can do it. Can someone help me?
Thanks
 
Physics news on Phys.org
It's easier with variation of parameters. Consider the problem

[itex]y''(x)-ay(x)=f(x), \quad y'(0)=0, \quad y(x)\rightarrow 0 \hbox{ as } x\rightarrow \infty.[/tex]<br /> <br /> On one side of the boundary (<i>x=0</i>), the solution is<br /> <br /> [tex]u_1(x)=\cosh \sqrt{a} x,[/tex]<br /> <br /> while on the other side ([itex]x=\infty[/itex]), the solution is<br /> <br /> [tex]u_2(x)=e^{-\sqrt{a}x}.[/tex]<br /> <br /> Now, you want a solution of the ode in the form <br /> <br /> [tex]y(x)=a(x)u_1(x)+b(x)u_2(x),[/tex]<br /> <br /> where [itex]a(x)\rightarrow 0[/itex] as [itex]x\rightarrow \infty[/itex], and <i>b(0)=0</i> (so in <i>x=0</i>, [itex]u_1(x)[/itex] is the only term, hence satisfying that boundary condition, and in [itex]x\rightarrow \infty[/itex] the hole solution vanishes, satisfying the other boundary condition).<br /> <br /> Now, using variation of parameters, we require that <br /> <br /> [tex]a'(x)u_1(x)+b'(x)u_2(x)=0,[/tex]<br /> [tex]a'(x)u_1'(x)+b'(x)u_2'(x)=f(x).[/tex]<br /> <br /> Solving for <i>a'(x)</i> and <i>b'(x)</i><br /> <br /> [tex]\int_x^\infty a'(\xi)d\xi=-\int_x^\infty \frac{u_2(\xi)}{W[u_1,u_2](\xi)}f(\xi)d\xi,[/tex]<br /> <br /> [tex]\int_0^x b'(\xi)=\int_0^x \frac{u_1(\xi)}{W[u_1,u_2](\xi)}f(\xi)d\xi.[/tex]<br /> <br /> Evaluating, we obtain<br /> <br /> [tex]a(x)=\int_x^\infty \frac{u_2(\xi)}{W[u_1,u_2](\xi)}f(\xi)d\xi,[/tex]<br /> <br /> [tex]b(x)=\int_0^x \frac{u_1(\xi)}{W[u_1,u_2](\xi)}f(\xi)d\xi,[/tex]<br /> <br /> where [itex]W[u_1,u_2](\xi)[/itex] is the Wronskian. <br /> <br /> Substituting in the original solution, we obtain<br /> <br /> [tex]y(x)=\int_x^\infty \frac{u_1(x)u_2(\xi)}{W[u_1,u_2](\xi)}f(\xi)d\xi+\int_0^x \frac{u_1(\xi)u_2(x)}{W[u_1,u_2](\xi)}f(\xi)d\xi,[/tex]<br /> <br /> which can be written as<br /> <br /> [tex]y(x)=\int_0^\infty G(\xi,x) f(\xi) d\xi,[/tex]<br /> <br /> where [itex]G(\xi,x)[/itex] is the Green function of the problem and it's given by<br /> <br /> [tex]G(\xi,x)=\left\{\begin{array}{ll}\dfrac{u_1(\xi)u_2(x)}{W[u_1,u_2](\xi)} & \hbox{ if } \xi < x, \\ & \\ \dfrac{u_1(x)u_2(\xi)}{W[u_1,u_2](\xi)} & \hbox{ if } x<\xi .\end{array}\right.[/tex]<br /> <br /> The other way to solve the problem is far less intuitive and involves <i>symbolic calculus</i>. You use the fact that in <i>symbolic calculus</i>, [itex]H'(x)=\delta(x)[/itex], where <i>H(x)</i> is the Heaviside function, and [itex]\delta(x)[/itex] is the Dirac Delta function.[/itex]
 
Last edited:
first of all thanks for your help, it is very good. I have done the next to obtain [tex]u_1(x)[/tex] and [tex]u_2(x)[/tex] and I am not sure if this is correct:

1. [tex]y=0 \rightarrow y_H = C_1 + C_2 \rightarrow C_1 = C_2 \rightarrow[/tex]
[tex]C_1 [exp (\sqrt{a}x) + exp (-\sqrt{a}x)] = cosh (\sqrt{a}x) = u_1(x)[/tex]

2. [tex]y= \infty \rightarrow y_H = C_2 exp (-\sqrt{a}x)= 0 \rightarrow u_2(x)=exp (-\sqrt{a}x)[/tex]
 
I'll admit I read your post rather quickly, however in general to solve for the coeffients of the Green's function, you have to apply the properties of Green's functions.
(i.e. those two fcns correspond to x<y and x>y correct? )

Well at x=y, the Green's fcn must be continuous, and its first derivative differs by unity. This gives you two relations for the coefficients, the other two relations come from your boundary condtions.
 
germana2006 said:
first of all thanks for your help, it is very good. I have done the next to obtain [tex]u_1(x)[/tex] and [tex]u_2(x)[/tex] and I am not sure if this is correct:

1. [tex]y=0 \rightarrow y_H = C_1 + C_2 \rightarrow C_1 = C_2 \rightarrow[/tex]
[tex]C_1 [exp (\sqrt{a}x) + exp (-\sqrt{a}x)] = cosh (\sqrt{a}x) = u_1(x)[/tex]

2. [tex]y= \infty \rightarrow y_H = C_2 exp (-\sqrt{a}x)= 0 \rightarrow u_2(x)=exp (-\sqrt{a}x)[/tex]

1. is not correct, as it implies [itex]C_1=-C_2[/itex], hence given [itex]u_1(x)=\sinh \sqrt{a}x[/itex], but the condition of your original post is [itex]y'(0)=0[/itex] which implies [itex]C_1=C_2[/itex], so [itex]u_1(x)=\cosh \sqrt{a}x[/itex].

2. is not stated correctly, as it should read

[tex]\mathop{lim}_{x\rightarrow\infty} y(x)=\mathop{lim}_{x\rightarrow \infty} \{C_3 e^{\sqrt{a}x}+C_4 e^{-\sqrt{a}x}\}=0 \quad \hbox{if and only if}\quad C_3=0[/tex]
 
Last edited:
Thank you very much AiRAVATA for your help and explanation. You are right with u1, I have also noticed later my error. I have already all the calculations.

Now, I don't have to calculate anymore but I have a question, maybe it is very stupid. If one consider the same equation but without the boundary conditions, to calculate the Green's function one should use also the variation of parameters method but in this case, u1 and u2 are the solutions of the homogeneous equation. Is it correct?
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
3K