Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have an expression obtain from an integral, which is:

Integrate[ϵ^2/Sqrt[(ϵ - u)^2 + Δ^2], ϵ] // FullSimplify

The denominator and numerator of the result have an obvious common factor:

Sqrt[Δ^2 + (u - ϵ)^2]

How can I let mathematica to cancel this common factor? I have tried Cancel and Refine all the variables to be positive.

share|improve this question

2 Answers 2

up vote 5 down vote accepted
Integrate[ϵ^2/Sqrt[(ϵ - u)^2 + Δ^2], ϵ] // Apart // FullSimplify
share|improve this answer

You could help Mathematica by temporarily renaming the factor.

exp = Integrate[ϵ^2/Sqrt[(ϵ - u)^2 + Δ^2], ϵ] // FullSimplify
exp /. (Δ^2 + (u - ϵ)^2) :> w
FullSimplify[%] /. w :> Δ^2 + (u - ϵ)^2

Mathematica graphics

share|improve this answer
Your result works well too, I think It will helps me on other occasions. I follow your answer with symbol :> replaced by ->, it also works. What's the difference between these two symbols? –  buzhidao Mar 24 '14 at 9:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.