Linked Questions
11 questions linked to/from Optimization of ODE with respect to the initial condition
9 votes
2 answers
2k views
The time-like geodesics (orbits) in the Schwarzschild spacetime
I am trying to plot Schwarzschild's orbit without invoking the geodesic equation. As a reference I am using Chandrasekhar's Book (The Mathematical theory of Black Holes, Oxford University Press). In ...
14 votes
3 answers
2k views
Why does Integrate declare a convergent integral divergent?
When I try this command Integrate[1/Sqrt[(s^2 - u)^2 - 1], {s, m, Infinity}, Assumptions -> u > 2 && m > 10] Mathematica declares that the ...
5 votes
3 answers
718 views
Integrating a real function I get a complex value, while after variable transformation the result is real. Bug?
I have the following integral: Integrate[1/Sqrt[0.7 + 0.3*(1 + z)^3], {z, 0, ∞}, Assumptions -> z ∈ Reals] >> -3.36354 - 3.85013 I The output is complex, ...
6 votes
4 answers
517 views
A fraught with incorrect results ODE
I mean the following ODE $$y''(x)+y'(x)=\exp (-2 x) y(x)^3.$$ Trying to solve it in version 13.1 on Windows 10 by ...
0 votes
3 answers
924 views
Solving elliptic integrals in Mathematica
I have an integral $$\int_{a2}^{a1}\frac{dx}{\sqrt{(a1 -x)(a2 - x)(a3 - x)}}$$ And I'm trying to integrate it with ...
1 vote
3 answers
651 views
Problems with solutions involving Lambert W function of transcendental equation
Solve and Reduce fail here with rational parameter l, but succeed when I plug in a value <...
2 votes
2 answers
410 views
Boundary value problem for a nonlinear ODE
I want to solve the following equation y''[x] + a + b y[x] + c y[x]^2 == 0, y[∞] == 0, y'[∞] == 0 where a, ...
3 votes
1 answer
188 views
Function with EllipticK does not evaluate in certain range
I have some rather complicated function (related to the capacitance of coplanar waveguides for specific geometric parameters, for those who are interested) which I've trimmed down to the following for ...
0 votes
3 answers
264 views
Solve BVP involving user defined function [closed]
I have a second order ODE which I would like to solve numerically: $\frac{d^2 y}{dx^2}+f(y)=0$ BCs: $ y(0) = c$, $y(L)=0$ Where $c$ is a known constant and $f(y)$ is a complicated user defined ...
1 vote
1 answer
217 views
How do I use Solve to find a variable in the integral?
I have the following formula: $$t(a) = \frac{1}{H_0}\int_0^a \frac{da'}{\sqrt{\Omega_{r,0}a^{-2} + \Omega_{m,0}a^{-1}+\Omega_{\Lambda,0}a^2 + (1-\Omega_0)}}$$ I want to go in the opposite direction. ...
1 vote
1 answer
228 views
Solve and understand a NDSolve error: Step Size effectively zero; singularity or stiff system suspected
I am trying to solve the non-linear differential equation: $$ \ddot{x}(t) =\frac{3kx(t)}{\gamma^2}\left[kx^4(t)-2 \right] $$ numerically on Mathematica, but I can not find a solution. My code is: <...