Solving for y in an ODE with Initial Conditions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
mmzaj
Messages
107
Reaction score
0
what is the solution for y in this peculiar ODE ?

[tex]A\left(y,x\right)=\frac{dy}{dx}+B(x)(1-y)[/tex]

with initial conditions :

[tex]\frac{dy}{dx}=\left0 \ldots , y=0[/tex]

[tex]\frac{dy}{dx}=\delta(x-x_{0})\ldots,y=1[/tex]

moreover

[tex]\int^{\infty}_{-\infty}Adx=\int^{\infty}_{-\infty}Bdx=1[/tex]
 
Physics news on Phys.org
mmzaj said:
what is the solution for y in this peculiar ODE ?

[tex]A\left(y,x\right)=\frac{dy}{dx}+B(x)(1-y)[/tex]

with initial conditions :

[tex]\frac{dy}{dx}=\left0 \ldots , y=0[/tex]

[tex]\frac{dy}{dx}=\delta(x-x_{0})\ldots,y=1[/tex]

moreover

[tex]\int^{\infty}_{-\infty}Adx=\int^{\infty}_{-\infty}Bdx=1[/tex]

What is the context of your question? Is this schoolwork?
 
berkeman said:
What is the context of your question? Is this schoolwork?

yes and no , it's not a homework , it's for a term paper . the functions A&B are PDFs of some kind , and y is a cumulative distribution function .
 
ok , here is a trial :

[tex]\frac{dy}{dx} = \alpha(x)\cdot y + \beta (x)[/tex] (1)

where ...

[tex]\alpha(x)= B(x)[/tex]

[tex]\beta(x)= A(x) - B(x)[/tex]

(1) is a linear first order DE and its general solution is...

[tex]\ y(x)= e^{\int \alpha(x)\cdot dx} (\int \beta(x)\cdot e^{-\int \alpha(x)\cdot dx}\cdot dx + c)[/tex]

The constant c is derived [if possible...] from the initial conditions
 
HallsofIvy said:
"A(x,y)" implies that A is a function of the independent variables x and y but then dy/dx makes no sense.

you can think of [tex]\frac{dy}{dx}[/tex] as an implicit derivative rather than explicit
 
Last edited: