Question: integral sometimes gives ln with negative aqrgument

i do:

int(ln(k3+r)/r^2,r);

i get:

either 1/k3*ln(r)-ln(k3+r)*(k3+r)/k3/r

or 1/k3*ln(-r)-ln(k3+r)*(k3+r)/k3/r

the expected behaviour would be to always get the absolute value inside the ln

Please Wait...