# Coupled Differential Equations with Eigenvalue

**URL:** <https://community.wolfram.com/t/coupled-differential-equations-with-eigenvalue/5405>\
**Category:** Questions\
**Tags:** astronomy, physics\
**Created:** [April 12, 2015, 2:55pm UTC](https://community.wolfram.com/t/coupled-differential-equations-with-eigenvalue/5405 "2015-04-12T14:55:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fitrahalfian](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fitrahalfian/32/9523_2.png) [@fitrahalfian](https://community.wolfram.com/u/fitrahalfian)\
**Post date:** [April 12, 2015, 2:55pm UTC](https://community.wolfram.com/t/coupled-differential-equations-with-eigenvalue/5405/1 "2015-04-12T14:55:00Z")

</div>

I want to solve 2 coupled differential equations with eigenvalue (Ei) like this  
[Phi]‘’[r] + (2/r) [Phi]‘[r] + mb^2 [Phi][r] + (Ei + g_A[r])^2 [Phi][r] == 0,  
A’‘[r] + (2/r) A’[r] + mv^2 A[r] + 2 g (Ei + g_A[r])^2 ([Phi][r])^2 == 0  
where mb, mv, and g are constants that we assume 1. The boundary conditions of these equations are [Phi][0] = 1, [Phi]’[0] = 0, A[0] = 0, A’[0] = 0. Because the singularity of r, we assume r = 1e-8. and also I want to find the maximum radius (r) when [Phi][r\_max] = 0, [Phi]‘[r\_max] = 0, A[r\_max] = 0, A’[r\_max] = 0.

I’ve tried the code mb = mv = g = 1;  
b = ParametricNDSolveValue[{[Phi]‘’[r] + (2/r) [Phi]‘[r] +  
mb^2 [Phi][r] + (Ei + g_A[r])^2 [Phi][r] == 0,  
A’‘[r] + (2/r) A’[r] + mv^2 A[r] +  
2 g (Ei + g_A[r])^2 ([Phi][r])^2 == 0, [Phi][0.00000001] ==  
1, [Phi]’[0.00000001] == 0, A[0.00000001] == 0,  
A’[0.00000001] == 0}, {[Phi], A}, {r, 0.00000001, 100}, {Ei}] but it didn’t work when I wanted to find Ei by this val = Map[FindRoot[b[Ei][100], {Ei, #}] &, {1, 2, 3}] and the maximum radius. I want to know where is the problem of my code.  
I also want to know the plot of Phi and A vs r.
