Mathematics Asked by costard on December 4, 2020
I am attempting to solve the system of first-order ODE’s:
$$ frac{dy_1(x)}{dx} = g(y_1)frac{y_2(x)}{int_{a}^b y_2(z) dz} $$
$$ frac{dy_2(x)}{dx} = frac{y_2(x)}{f(y_1(x),x)} frac{partial f(y_1(x),x)}{partial x} $$
with boundary conditions $y_1(a) = c$, $y_1(b) = d$ for constants $a,b,c,d$.
My problem is conceptual, and very likely silly: I’m not sure whether I can break apart this problem apart in order to solve it. I would like to exploit separability to obtain a general solution for the second equation:
$$ y_2(x) = e^N f(y_1(x),x) $$
with N a constant, and use this to reduce the first equation to
$$ frac{dy_1(x)}{dx} = g(y_1)frac{f(y_1(x),x)}{int_{a}^b f(y_1(z),z) dz} $$
which I would then solve numerically, presumably by treating the integral as a constant to be determined. I’m not seeing the problem with this approach, but on the other hand it strikes me as "too good to be true." My questions:
Any input would be much appreciated.
Your system does not define $y_2(x)$ uniquely. If $(y_1(x), y_2(x))$ is a solution then also $(y_1(x), Cy_2(x))$ where $C neq 0$ is a constant also is a solution.
Thus you may impose an extra condition on $y_2(x)$, the simplest to me is $$ int_a^b y_2(x) dx = 1. $$ After that the system reduces to $$ y_1'(x) = g(y_1(x)) y_2(x)\ y_2'(x) = y_2(x) F(x, y_1(x)) $$ with conditions $y_1(a) = c, y_1(b) = d, int_a^b y_2(x) dx = 1$. Here I've denoted $F(x, y) = frac{f_x(y, x)}{f(y, x)}$.
Having a system of two first-order ODE's with three conditions makes me think that the problem does not have a solution in general (but may have for some particular values of $c$ or $d$, like an eigenproblem).
The general solution to the second equation is $$ y_2(x) = C_1 expleft(int_a^x F(s, y_1(s)) dsright) $$ with $C_1$ determined by $int_a^b y_2(x) dx = 1$ condition. Practically it is easier to put $y_2(a) = C_1 = 1$ and normalize $y_2(x)$ after integration.
Summarizing, the following algorithm may solve the problem:
Answered by uranix on December 4, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP