INTEGRATION. Why both results are the same?

enter image source here

#4 ln(x^2-4) + x^2 - 4 + c#
and
#4 ln(x^2-4) + x^2 + c#

Redirected from "An electron in a hydrogen atom drops from energy level n=5 to n=3. What is the energy transition using the Rydberg equation?"