- #1
yungman
- 5,726
- 280
I want to solve:
[tex]y(x)''-(\frac{m\pi}{a})^2y(x)=0[/tex]
With boundary condition y(0)=y(a)=0.
First part is very easy using constant coef. which give:
[tex]y(x)=c_1 cosh(\frac{m\pi}{a}x) + c_2 sinh(\frac{m\pi}{a}x) [/tex]
[tex]y(0)=0 \;\Rightarrow\; c_1=0 \;\Rightarrow\; y(x) = c_2 \; sinh(\frac{m\pi}{a} x) [/tex]
[tex] y(a)=0 \;\Rightarrow\; y(x) = c_2 sinh(\frac{m\pi}{a}(a-x)) [/tex]
Obviously the two boundary condition give two different answer and each solution only satisfy one boundary condition and fail on the other. The book just gave:
[tex] y_1(x)=sinh(\frac{m\pi}{a}(a-x)) \;\; and \;\; y_2(x)=sinh(\frac{m\pi}{a}x)[/tex]
My understanding is the general solution is a combination of the two solution that satisfy both boundary conditions. But in this case, each solution meet only one of the boundary condition and not the other. The general solution is the linear combination of the two solution which will not meet either one of the boundary condition!
Please help me clarify this. Thanks
[tex]y(x)''-(\frac{m\pi}{a})^2y(x)=0[/tex]
With boundary condition y(0)=y(a)=0.
First part is very easy using constant coef. which give:
[tex]y(x)=c_1 cosh(\frac{m\pi}{a}x) + c_2 sinh(\frac{m\pi}{a}x) [/tex]
[tex]y(0)=0 \;\Rightarrow\; c_1=0 \;\Rightarrow\; y(x) = c_2 \; sinh(\frac{m\pi}{a} x) [/tex]
[tex] y(a)=0 \;\Rightarrow\; y(x) = c_2 sinh(\frac{m\pi}{a}(a-x)) [/tex]
Obviously the two boundary condition give two different answer and each solution only satisfy one boundary condition and fail on the other. The book just gave:
[tex] y_1(x)=sinh(\frac{m\pi}{a}(a-x)) \;\; and \;\; y_2(x)=sinh(\frac{m\pi}{a}x)[/tex]
My understanding is the general solution is a combination of the two solution that satisfy both boundary conditions. But in this case, each solution meet only one of the boundary condition and not the other. The general solution is the linear combination of the two solution which will not meet either one of the boundary condition!
Please help me clarify this. Thanks
Last edited: