Bug introduced in 6.0 or earlier and fixed in 10.1
Consider this set of PDE $$\left( x^{2}+y^{2}\right) \dfrac {\partial u}{\partial x}+n x y\dfrac{\partial u}{\partial y}=0$$ have general solution $$u\left( x,y\right) =f\left( \dfrac {1}{n-1}\dfrac {\left( n-1\right) x^{2}-y^{2}}{y^{\dfrac{2}{n}}}\right)$$for $n\in Z$ and $n\geq 2$, where $f$ is an arbitrary function.
However, in Mathematica, only solution for $n=2$ can be given. For $n=3$ and $n=4$, Mathematica calculates for a long time (I didn't wait for the result).
The key point is when $n\geq 5$, Mathematica starts giving strange error messages and refuse to solve the PDE. For example,
DSolve[(x^2 + y^2) D[u[x, y], x] + 5 x y D[u[x, y], y] == 0, u[x, y], {x, y}] (*{{c[x, y] -> C[1][DSolve`DSolvePDEDump`const$19959[1]]}}*) I get
Function::slot: Slot[DSolve
DSolvePDEDumpiPowerExpand[1]] (in DSolveDSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[-1024] DSolveDSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[<<1>>]^DSolveDSolvePDEDumpiPowerExpand[<<1>>]]]+<<1>>+<<3>>+DSolveDSolvePDEDumpiPowerExpand[<<33>>[Slot[<<33>>[<<1>>]]]^<<33>>[5]]]&) should contain a non-negative integer. >>Root::npoly: (DSolve
DSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[-1024] DSolveDSolvePDEDumpiPowerExpand[DSolveDSolvePDEDumpiPowerExpand[<<1>>]^DSolveDSolvePDEDumpiPowerExpand[<<1>>]]]+<<4>>+DSolveDSolvePDEDumpiPowerExpand[<<33>>[Slot[<<33>>[<<1>>]]]^<<33>>[5]]]&)[#1] is not a polynomial in #1. >>
I understand that Mathematica may not always be able to solve a PDE, but why am I getting those error messages? What do they mean?
fin the "general" solution ... Can you share some info about it? $\endgroup$DSolve[D[u[x, y], x] + D[u[x, y], y] == 1, u, {x, y}]andDSolve[D[u[x, y], x] + u[x, y] D[u[x, y], y] == 1, u, {x, y}]thefshows up asC[1]. $\endgroup$n-1variables, wherenis the number of variables in the fn./PDE being integrated. $\endgroup$