Error, (in dsolve) y(x) and y cannot both appear in the given ODE
This error occurs when both yx and y appear in an ordinary differential equation (ODE), resulting in an ambiguous equation which could mean (for instance) that either the ODE y'+y=0 or the ODE y'+constant=0 is used.
Specifying an equation containing both the function yt and the constant/parameter y is ambiguous because it is not clear whether the ODE y'+y=0 or y'+constant=0 is intended to be used.
Error, (in dsolve) y(x) and y cannot both appear in the given ODE.
Remove the ambiguity by replacing y with yx.
Similarly, in the following example, it is unclear whether the ODE is meant to be x2y'−3 x y'+2 y=x2 or x2y'−3 x y'+2 ⋅constant=x2.
IC ≔ y0 = 7, Dy1 = 2
dsolveode, IC, yt
Error, (in dsolve) y(t) and y cannot both appear in the given ODE.
Remove the ambiguity by replacing y in ode with yt.
Download Help Document
What kind of issue would you like to report? (Optional)