I'm also not sure why you think this is a nonlinear DE? I googled for "solving second order linear DEs", this is one of the links you might want to read: http://silmaril.math.sci.qut.edu.au/~gustafso/mab112/topic12/
That's not what remainder is. If you take x and divide it by n then you have a*q + r so r is the remainder, for example 4 divided by 3 is 4 = 3*1 + 1, so the remainder is 1.
I was responding to the OP saying that he thought they were the same function if the domains were the same, etc. and pointing out that the domains are not the same.