The right answer, according to Wolfram Alpha, is -(x^2 (-ln(x^2-4))+4 ln(x^2-4)+4)/(x^2-4)+constant Alternate form: -4/( x^2 - 4 ) + ln[ x^2 - 4]
Simplifying 8 - 4x + (x^4)/2 = (x^2-4)^2 If ln[ x^2 - 4]^2 = 2*ln[ x^2 - 4] and 0.5*2*ln[ x^2 - 4] = ln[ x^2 - 4] Which seems to imply that the first part of my answer is correct, as well as the reasoning on -4/( x^2 - 4 ), where I worried that my approach of integrating with two variables could be wrong, as I expressed dx through the differential of a new variable, thus making the other variable, x, a constant - however, according to Wolfram Alpha, it should be correct. Then it seems that my mistakes are: 1) Multiplying both integrals by 0.5, however, I don't understand how this could be a mistake in this instance, as the fraction 0.5 should apply to both - which means that my whole approach was incorrect, 2) Integrating du/u, as it is not in the Wolfram Alpha's answer. In conclsion, it seems, that either my whole approach is incorrect, which is unlikely (as changing the variables and the algebra seems to be OK), or I am making some other fundamental mistakes I can't really see right now. I'd really appreciate if someone could answer. Thank you.