why the answers are different?
-integral of 2 ln(x)
-integral of ln(x)^2
by ln(x)^2 do you mean (ln(x))2 or ln(x2)? If you meant the second one then your answers should not be different as they are exactly the same, however, if you meant the first then the two functions are not equal and you should not expect equivalent answers.
[tex]\ln(x^2)=2\ln(x)[/tex]. More generally, it is a property of logarithms that [tex]\log_a(b^c)=c\log_a(b)[/tex].
Separate names with a comma.