The question of the OP is equivalent to ask if the two following expressions are equal :
and
The InputForm of the first expression is :
Log[SeriesData[x, 0, {1/2, 5/2, 23/2}, 2, 6, 1]]
Once evaluated, it gives :
The InputForm of the secondexpression is :
Log[SeriesData[x, 0, {1/2, 5/2, 23/2, 119/2}, 2, 6, 1]]
Once evaluated, it gives :
Mathematica gives two differents answers.
In the general case, ie if there were something else than a Log
, it is normal.
Concerning the Log
, let's try to evaluate the symbolic form :
(The InputForm is SeriesData[x, 0, { n2, n3, n4, n5}, 2, 6, 1]
)
It gives :
We see that the coefficient of x^3
depends on n5
.
It seems also normal that the two expressions are different, assuming there is no error in the symbolic evaluation of Log[n2 x^2 + n3 x^3 ...+ O[x]^6]
.
update
One can verify thaht there's no error in the evaluation of : Log[n2 x^2 + n3 x^3 ...+ O[x]^6]
The expression :
(InputForm : expr[x_] =
Log[n2 x^2 + n3 x^3 + n4 x^4 + n5 x^5] -
Normal[Log[
n2 x^2 + n3 x^3 + n4 x^4 + n5 x^5 + SeriesData[
x, 0, {}, 2, 6, 1]]]
)
should be O[x^4]
That is true : Limit[expr[x] / x^4, x -> 0]
gives :
-((n3^4 - 4 n2 n3^2 n4 + 2 n2^2 n4^2 + 4 n2^2 n3 n5)/(4 n2^4))
which is bounded.