I am new to Mathematica in general. Just trying to solve a couple of coupled ODES. Dont really understand the error it throws.
DSolve[{y'[t] == A*x[t]/((x[t]^2 + y[t]^2)*(1 - R/Sqrt[(x[t]^2 + y[t]^2)])),
x'[t] == A*y[t]/((x[t]^2 + y[t]^2)*(1 - R/Sqrt[(x[t]^2 + y[t]^2)])),
x[0] == 1, y[0] == 1}, {x, y}, t,
Assumptions -> x \[Element] Reals, y \[Element] Reals].
This gives the error
"DSolve::derlen
: The length of the derivative operator Derivative[1] in y'[t] is not the same as number of arguements." Now this system actually has a singularity if x^2+y^2=R. I just don't understand how to put in that as an assumption. I have tried "Assumptions-> x[t]^2+y[t]^2<R", it doesnt work. Moreover I have a physical understanding that if the system starts at x[0]=1 and y[0]=1 it should not reach this singularity since the solution would go in a circle around the centre. I might have made some superflous errors as well, so I am grateful for any help
{}
around assumptions:Assumptions -> {…..}
$\endgroup$Element[y, Reals]
argument that looks like a domain spec. It’s an unhelpful error message in any case. $\endgroup$DSolve
can find the general solution (remove the initial conditions). You’ll have to solve for the integration parameters yourself. The solutions is rather complicated and it might be difficult. $\endgroup$