from sympy import init_printing, latex
init_printing()
import sympy as sp
x,y,z,u,v = sp.symbols('x y z u v',real=True)
F = sp.Function('F', real=True)
F(x,y)
F(x,y).diff(x)
diffeq = sp.Eq(F(x,y).diff(x),F(x,y).diff(y))
diffeq
sol1 = sp.dsolve(diffeq, F(x,y))
sol1
l1 = list(sol1.rhs.atoms(sp.Symbol))
result = sol1.rhs.subs({x:2, 'C1':1})
sp.N(result)
from sympy.abc import x, y
u, X, T = map(sp.Function, 'uXT')
May want to explore the exact differential equation. Thats what this is. What does that imply? Doesnt that have something to do with a conservative field? https://en.wikipedia.org/wiki/Conservative_vector_field A conservative vector field has the property that the line integral is path independent. the choice of any path between two points does not change the value of the line integral. Vector fields represent forces of physical systems in which energy is conserved. So the probability function has properties of a system where energy is conserved. Energy conservation and complexity go hand in hand. The total energy of the system selects a different function? What is a line integral in the context of a probability function?
from sympy import Derivative as D
D(F(x,y),x) + D(F(x,y),y)*D(y,x)
P,Q = map(sp.Function,['P','Q'])
t,x0,y0 = sp.symbols('t, x0, y0')
eq1 = sp.Eq(F(x,y), sp.Integral(P(t,y),(t,x0,x))+sp.Integral(Q(x,t),(t,y0,y)))
eq1
def differential_operation(func_in):
return D(func_in, x)+D(func_in, yy)*D(yy(x),x)
yy = sp.Function('y')
D(F(x,yy(x)),x)
D(x*y,x)
sp.diff(x*y,x)
F(x,yy(x)).diff(x)
F(x,y).diff(x) + F(x,y).diff(y)*yy(x).diff(x)