How to solve this Boundary Value problem? [closed]











up vote
-2
down vote

favorite
2












$$ left(frac{d^2 u}{d x^2} right)+frac{2}{x+x_0} frac{d u}{d x}=frac{lambda}{k} u; quad x in [0,L], k,x_0>0 $$



$$u(0)=0$$
$$u(L)=0$$










share|cite|improve this question















closed as off-topic by Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra Dec 4 at 13:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    What have you tried? We're not here to do your homework for you.
    – Mattos
    Dec 3 at 3:17










  • I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
    – anik faisal
    Dec 3 at 3:20










  • It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
    – Mattos
    Dec 3 at 3:21










  • thanks! I will give it a go
    – anik faisal
    Dec 3 at 3:22






  • 2




    @mattos I don't think it would. There's a $u$ term in that equation
    – Dylan
    Dec 3 at 13:24















up vote
-2
down vote

favorite
2












$$ left(frac{d^2 u}{d x^2} right)+frac{2}{x+x_0} frac{d u}{d x}=frac{lambda}{k} u; quad x in [0,L], k,x_0>0 $$



$$u(0)=0$$
$$u(L)=0$$










share|cite|improve this question















closed as off-topic by Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra Dec 4 at 13:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    What have you tried? We're not here to do your homework for you.
    – Mattos
    Dec 3 at 3:17










  • I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
    – anik faisal
    Dec 3 at 3:20










  • It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
    – Mattos
    Dec 3 at 3:21










  • thanks! I will give it a go
    – anik faisal
    Dec 3 at 3:22






  • 2




    @mattos I don't think it would. There's a $u$ term in that equation
    – Dylan
    Dec 3 at 13:24













up vote
-2
down vote

favorite
2









up vote
-2
down vote

favorite
2






2





$$ left(frac{d^2 u}{d x^2} right)+frac{2}{x+x_0} frac{d u}{d x}=frac{lambda}{k} u; quad x in [0,L], k,x_0>0 $$



$$u(0)=0$$
$$u(L)=0$$










share|cite|improve this question















$$ left(frac{d^2 u}{d x^2} right)+frac{2}{x+x_0} frac{d u}{d x}=frac{lambda}{k} u; quad x in [0,L], k,x_0>0 $$



$$u(0)=0$$
$$u(L)=0$$







differential-equations boundary-value-problem






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 3 at 18:47

























asked Dec 3 at 3:11









anik faisal

216




216




closed as off-topic by Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra Dec 4 at 13:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra Dec 4 at 13:06


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Morgan Rodgers, user302797, José Carlos Santos, Cesareo, Vidyanshu Mishra

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    What have you tried? We're not here to do your homework for you.
    – Mattos
    Dec 3 at 3:17










  • I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
    – anik faisal
    Dec 3 at 3:20










  • It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
    – Mattos
    Dec 3 at 3:21










  • thanks! I will give it a go
    – anik faisal
    Dec 3 at 3:22






  • 2




    @mattos I don't think it would. There's a $u$ term in that equation
    – Dylan
    Dec 3 at 13:24














  • 1




    What have you tried? We're not here to do your homework for you.
    – Mattos
    Dec 3 at 3:17










  • I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
    – anik faisal
    Dec 3 at 3:20










  • It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
    – Mattos
    Dec 3 at 3:21










  • thanks! I will give it a go
    – anik faisal
    Dec 3 at 3:22






  • 2




    @mattos I don't think it would. There's a $u$ term in that equation
    – Dylan
    Dec 3 at 13:24








1




1




What have you tried? We're not here to do your homework for you.
– Mattos
Dec 3 at 3:17




What have you tried? We're not here to do your homework for you.
– Mattos
Dec 3 at 3:17












I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
– anik faisal
Dec 3 at 3:20




I have tried taking $$u=e^{rx}$$ to find the characteristic equation but I'm not quite sure if that is the way to go
– anik faisal
Dec 3 at 3:20












It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
– Mattos
Dec 3 at 3:21




It's not, because you have non-constant coefficients. How about setting $u' = v$ and then using an integrating factor.
– Mattos
Dec 3 at 3:21












thanks! I will give it a go
– anik faisal
Dec 3 at 3:22




thanks! I will give it a go
– anik faisal
Dec 3 at 3:22




2




2




@mattos I don't think it would. There's a $u$ term in that equation
– Dylan
Dec 3 at 13:24




@mattos I don't think it would. There's a $u$ term in that equation
– Dylan
Dec 3 at 13:24










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Rewrite



$$ (x+x_0)^2frac{d^2u}{dx^2} + 2(x+x_0)frac{du}{dx} - frac{lambda}{k}(x+x_0)^2u = 0 $$



A non-trivial solution only exists for $lambda < 0$. The substitution $z = sqrt{frac{-lambda}{k}}(x+x_0)$ gives



$$ frac{d^2u}{dz^2} + 2zfrac{du}{dz} + z^2 = 0 $$



The solution is in the form of spherical Bessel functions for $n=0$ which happen to have a closed form



$$ u(z) = c_1j_0(z) + c_2y_0(z) = frac{c_1sin z - c_2cos z}{z} $$



The boundary conditions are $u(alpha x_0) = u(alpha (L+x_0)) = 0$ where $alpha = sqrt{frac{-lambda}{k}}$. We need to pick $alpha$ such that two of the zeroes of this function align with the boundary.



Case 1: If $c_2=0$, then the zeroes are the zeroes of $sin z$, which are $z_n = npi$. Since any 2 roots always differ by a constant multiple of $pi$, we have



$$ alpha(L+x_0) - alpha x_0 = alpha L = m pi implies alpha = frac{mpi}{L} $$



where $m$ is an integer. Note that $alpha x_0 = frac{mpi x_0}{L}$ must also be an integer multiple of $pi$, therefore $frac{x_0}{L}$ must be rational.



Case 2: If $c_1=0$, then the zeroes are the zeroes of $cos z$, which are $z_n = (n+frac12)pi$. Similarly, these roots also differ by a constant multiple of $pi$, so we have the same eigenvalue as Case 1, with the condition



$$ alpha x_0 = frac{mpi x_0}{L} = (2n+1)frac{pi}{2} $$



or $frac{2x_0}{L} = frac{2n+1}{m}$ must be rational.



Case 3: If $c_1,c_2 ne 0$, then we can write



$$ u(z) = frac{c_1(sin z - mu cos z)}{z} $$



where the zeroes occur at $tan z = mu$ for some $mu in (0,infty)$. These roots also differ by a constant multiple of $pi$, so yet again, $alpha = frac{mpi}{L}$.



Combining the 3 cases, the eigenfunction can be simplified as



$$ u(z) = frac{cos z_0 sin z - sin z_0 cos z}{z} $$



where $z_0 = alpha x_0 = frac{mpi x_0}{L}$






share|cite|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Rewrite



    $$ (x+x_0)^2frac{d^2u}{dx^2} + 2(x+x_0)frac{du}{dx} - frac{lambda}{k}(x+x_0)^2u = 0 $$



    A non-trivial solution only exists for $lambda < 0$. The substitution $z = sqrt{frac{-lambda}{k}}(x+x_0)$ gives



    $$ frac{d^2u}{dz^2} + 2zfrac{du}{dz} + z^2 = 0 $$



    The solution is in the form of spherical Bessel functions for $n=0$ which happen to have a closed form



    $$ u(z) = c_1j_0(z) + c_2y_0(z) = frac{c_1sin z - c_2cos z}{z} $$



    The boundary conditions are $u(alpha x_0) = u(alpha (L+x_0)) = 0$ where $alpha = sqrt{frac{-lambda}{k}}$. We need to pick $alpha$ such that two of the zeroes of this function align with the boundary.



    Case 1: If $c_2=0$, then the zeroes are the zeroes of $sin z$, which are $z_n = npi$. Since any 2 roots always differ by a constant multiple of $pi$, we have



    $$ alpha(L+x_0) - alpha x_0 = alpha L = m pi implies alpha = frac{mpi}{L} $$



    where $m$ is an integer. Note that $alpha x_0 = frac{mpi x_0}{L}$ must also be an integer multiple of $pi$, therefore $frac{x_0}{L}$ must be rational.



    Case 2: If $c_1=0$, then the zeroes are the zeroes of $cos z$, which are $z_n = (n+frac12)pi$. Similarly, these roots also differ by a constant multiple of $pi$, so we have the same eigenvalue as Case 1, with the condition



    $$ alpha x_0 = frac{mpi x_0}{L} = (2n+1)frac{pi}{2} $$



    or $frac{2x_0}{L} = frac{2n+1}{m}$ must be rational.



    Case 3: If $c_1,c_2 ne 0$, then we can write



    $$ u(z) = frac{c_1(sin z - mu cos z)}{z} $$



    where the zeroes occur at $tan z = mu$ for some $mu in (0,infty)$. These roots also differ by a constant multiple of $pi$, so yet again, $alpha = frac{mpi}{L}$.



    Combining the 3 cases, the eigenfunction can be simplified as



    $$ u(z) = frac{cos z_0 sin z - sin z_0 cos z}{z} $$



    where $z_0 = alpha x_0 = frac{mpi x_0}{L}$






    share|cite|improve this answer



























      up vote
      1
      down vote



      accepted










      Rewrite



      $$ (x+x_0)^2frac{d^2u}{dx^2} + 2(x+x_0)frac{du}{dx} - frac{lambda}{k}(x+x_0)^2u = 0 $$



      A non-trivial solution only exists for $lambda < 0$. The substitution $z = sqrt{frac{-lambda}{k}}(x+x_0)$ gives



      $$ frac{d^2u}{dz^2} + 2zfrac{du}{dz} + z^2 = 0 $$



      The solution is in the form of spherical Bessel functions for $n=0$ which happen to have a closed form



      $$ u(z) = c_1j_0(z) + c_2y_0(z) = frac{c_1sin z - c_2cos z}{z} $$



      The boundary conditions are $u(alpha x_0) = u(alpha (L+x_0)) = 0$ where $alpha = sqrt{frac{-lambda}{k}}$. We need to pick $alpha$ such that two of the zeroes of this function align with the boundary.



      Case 1: If $c_2=0$, then the zeroes are the zeroes of $sin z$, which are $z_n = npi$. Since any 2 roots always differ by a constant multiple of $pi$, we have



      $$ alpha(L+x_0) - alpha x_0 = alpha L = m pi implies alpha = frac{mpi}{L} $$



      where $m$ is an integer. Note that $alpha x_0 = frac{mpi x_0}{L}$ must also be an integer multiple of $pi$, therefore $frac{x_0}{L}$ must be rational.



      Case 2: If $c_1=0$, then the zeroes are the zeroes of $cos z$, which are $z_n = (n+frac12)pi$. Similarly, these roots also differ by a constant multiple of $pi$, so we have the same eigenvalue as Case 1, with the condition



      $$ alpha x_0 = frac{mpi x_0}{L} = (2n+1)frac{pi}{2} $$



      or $frac{2x_0}{L} = frac{2n+1}{m}$ must be rational.



      Case 3: If $c_1,c_2 ne 0$, then we can write



      $$ u(z) = frac{c_1(sin z - mu cos z)}{z} $$



      where the zeroes occur at $tan z = mu$ for some $mu in (0,infty)$. These roots also differ by a constant multiple of $pi$, so yet again, $alpha = frac{mpi}{L}$.



      Combining the 3 cases, the eigenfunction can be simplified as



      $$ u(z) = frac{cos z_0 sin z - sin z_0 cos z}{z} $$



      where $z_0 = alpha x_0 = frac{mpi x_0}{L}$






      share|cite|improve this answer

























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Rewrite



        $$ (x+x_0)^2frac{d^2u}{dx^2} + 2(x+x_0)frac{du}{dx} - frac{lambda}{k}(x+x_0)^2u = 0 $$



        A non-trivial solution only exists for $lambda < 0$. The substitution $z = sqrt{frac{-lambda}{k}}(x+x_0)$ gives



        $$ frac{d^2u}{dz^2} + 2zfrac{du}{dz} + z^2 = 0 $$



        The solution is in the form of spherical Bessel functions for $n=0$ which happen to have a closed form



        $$ u(z) = c_1j_0(z) + c_2y_0(z) = frac{c_1sin z - c_2cos z}{z} $$



        The boundary conditions are $u(alpha x_0) = u(alpha (L+x_0)) = 0$ where $alpha = sqrt{frac{-lambda}{k}}$. We need to pick $alpha$ such that two of the zeroes of this function align with the boundary.



        Case 1: If $c_2=0$, then the zeroes are the zeroes of $sin z$, which are $z_n = npi$. Since any 2 roots always differ by a constant multiple of $pi$, we have



        $$ alpha(L+x_0) - alpha x_0 = alpha L = m pi implies alpha = frac{mpi}{L} $$



        where $m$ is an integer. Note that $alpha x_0 = frac{mpi x_0}{L}$ must also be an integer multiple of $pi$, therefore $frac{x_0}{L}$ must be rational.



        Case 2: If $c_1=0$, then the zeroes are the zeroes of $cos z$, which are $z_n = (n+frac12)pi$. Similarly, these roots also differ by a constant multiple of $pi$, so we have the same eigenvalue as Case 1, with the condition



        $$ alpha x_0 = frac{mpi x_0}{L} = (2n+1)frac{pi}{2} $$



        or $frac{2x_0}{L} = frac{2n+1}{m}$ must be rational.



        Case 3: If $c_1,c_2 ne 0$, then we can write



        $$ u(z) = frac{c_1(sin z - mu cos z)}{z} $$



        where the zeroes occur at $tan z = mu$ for some $mu in (0,infty)$. These roots also differ by a constant multiple of $pi$, so yet again, $alpha = frac{mpi}{L}$.



        Combining the 3 cases, the eigenfunction can be simplified as



        $$ u(z) = frac{cos z_0 sin z - sin z_0 cos z}{z} $$



        where $z_0 = alpha x_0 = frac{mpi x_0}{L}$






        share|cite|improve this answer














        Rewrite



        $$ (x+x_0)^2frac{d^2u}{dx^2} + 2(x+x_0)frac{du}{dx} - frac{lambda}{k}(x+x_0)^2u = 0 $$



        A non-trivial solution only exists for $lambda < 0$. The substitution $z = sqrt{frac{-lambda}{k}}(x+x_0)$ gives



        $$ frac{d^2u}{dz^2} + 2zfrac{du}{dz} + z^2 = 0 $$



        The solution is in the form of spherical Bessel functions for $n=0$ which happen to have a closed form



        $$ u(z) = c_1j_0(z) + c_2y_0(z) = frac{c_1sin z - c_2cos z}{z} $$



        The boundary conditions are $u(alpha x_0) = u(alpha (L+x_0)) = 0$ where $alpha = sqrt{frac{-lambda}{k}}$. We need to pick $alpha$ such that two of the zeroes of this function align with the boundary.



        Case 1: If $c_2=0$, then the zeroes are the zeroes of $sin z$, which are $z_n = npi$. Since any 2 roots always differ by a constant multiple of $pi$, we have



        $$ alpha(L+x_0) - alpha x_0 = alpha L = m pi implies alpha = frac{mpi}{L} $$



        where $m$ is an integer. Note that $alpha x_0 = frac{mpi x_0}{L}$ must also be an integer multiple of $pi$, therefore $frac{x_0}{L}$ must be rational.



        Case 2: If $c_1=0$, then the zeroes are the zeroes of $cos z$, which are $z_n = (n+frac12)pi$. Similarly, these roots also differ by a constant multiple of $pi$, so we have the same eigenvalue as Case 1, with the condition



        $$ alpha x_0 = frac{mpi x_0}{L} = (2n+1)frac{pi}{2} $$



        or $frac{2x_0}{L} = frac{2n+1}{m}$ must be rational.



        Case 3: If $c_1,c_2 ne 0$, then we can write



        $$ u(z) = frac{c_1(sin z - mu cos z)}{z} $$



        where the zeroes occur at $tan z = mu$ for some $mu in (0,infty)$. These roots also differ by a constant multiple of $pi$, so yet again, $alpha = frac{mpi}{L}$.



        Combining the 3 cases, the eigenfunction can be simplified as



        $$ u(z) = frac{cos z_0 sin z - sin z_0 cos z}{z} $$



        where $z_0 = alpha x_0 = frac{mpi x_0}{L}$







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 5 at 12:45

























        answered Dec 4 at 9:16









        Dylan

        11.8k31026




        11.8k31026