Laplace's Equation Solution in 2D

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 11K views
neutrino2063
Messages
6
Reaction score
0
I am using separation of variables and superposition to solve:

[tex]u_{xx}+u_{yy}=0; <br /> for (x,y) \in (0,L)[/tex] X [tex](0,H)[/tex]
[tex]u(0,y)=f(y);<br /> u(L,y)=0;<br /> u(x,0)=g(x);<br /> u(x,H)=0[/tex]

Is it correct to assume that I can write my solution as:
[tex]u=u_1+u_2[/tex]

Where:
[tex]u_1[/tex]
is the solution with BC
[tex]u(0,y)=0;<br /> u(L,y)=0;<br /> u(x,0)=g(x);<br /> u(x,H)=0[/tex]

And:
[tex]u_2[/tex]
is the solution with BC
[tex]u(x,0)=0;<br /> u(x,H)=0;<br /> u(0,y)=f(y);<br /> u(L,y)=0[/tex]
 
Physics news on Phys.org
neutrino2063 said:
I am using separation of variables and superposition to solve:

[tex]u_{xx}+u_{yy}=0; <br /> for (x,y) \in (0,L)[/tex] X [tex](0,H)[/tex]
[tex]u(0,y)=f(y);<br /> u(L,y)=0;<br /> u(x,0)=g(x);<br /> u(x,H)=0[/tex]

Is it correct to assume that I can write my solution as:
[tex]u=u_1+u_2[/tex]

Where:
[tex]u_1[/tex]
is the solution with BC
[tex]u(0,y)=0;<br /> u(L,y)=0;<br /> u(x,0)=g(x);<br /> u(x,H)=0[/tex]

And:
[tex]u_2[/tex]
is the solution with BC
[tex]u(x,0)=0;<br /> u(x,H)=0;<br /> u(0,y)=f(y);<br /> u(L,y)=0[/tex]

Yes, your assumption looks fine; because Laplace's equation is linear, any solution to it will obey the superposition principle. This means that if you find one solution that satisfies one set of boundary conditions, and another solution that satisfies a different set of boundary conditions, The superposition of the two solutions will satisfy the sum of the two sets of boundary conditions.