Bug introduced in 13.1. and fixed in V 13.2.1
Submitted to WRI. CASE ID [CASE:4975479].
I was looking at this question.
In V 13.1 I get an internal error which the above question does not mention so I assume it is a version difference? I slightly changed the input to make it more clear:
ClearAll[r, x, u]
ode1 = r''[x] + r[x] * (u'[x])^2 == 0
ode2 = u''[x] * r[x] + 2 * r'[x] * u'[x] == 0
ic = {r[0] == 1, r'[0] == 0, u[0] == 0, u'[0] == 0}
And now
DSolve[{ode1, ode2, ic}, {r[x], u[x]}, x]
gives
Why this error generated? Is this a bug? I see nothing wrong with the input. Does this happen on other versions/systems?
V 13.1 on windows 10.
13.0.1 for Linux x86 (64-bit) (January 29, 2022)
$\endgroup$DSolve
doesn't evaluate, perhaps because{ode1, ode2} /. x -> 0 /. (ic /. Equal -> Rule)
gives{r''[0] == 0, u''[0] == 0}
$\endgroup$