For a differentiable scalar function and a differentiable curve, the multivariable chain rule is
Let . Choose to be an invariant of the method of characteristics. Then , so and a convenient choice is . For , the chain rule gives . Thus, writing the unknown in the new coordinates,
Integrating with fixed yields
where is an arbitrary differentiable function on the relevant interval. This gives all local solutions on each patch where the specified change of variables is invertible: its Jacobian determinant is .
The axes need care because is undefined at and the Jacobian vanishes at . Reparameterizing gives the simpler chart expression
It is the general solution on either component or , including when is differentiable there. Indeed is a nonsingular coordinate chart for , and the weighted Euler first-order equation reduces to .
For a patch crossing with , the characteristic invariant instead gives , with an arbitrary differentiable function on each sign component of . These chart descriptions must agree on overlaps. On the axes the original equation gives and on their separate components; a solution defined smoothly through the origin must have and compatible smooth limits, in particular . No boundary data select a particular arbitrary function.