TSny said:
Bring the denominator## 4 \pi ε_0 r^2 ##over to the left side. Then take the derivative of both sides with respect to r.
O.K. So, for proving that ## \rho \left (r \right ) ## is constant, I have to bring ## \rho \left (r \right ) ## out of the integration.
And this could be done by differentiating both sides wrt r. I never had this idea before. Thanks for giving this insight.
## qr =\alpha \frac 1 {4 \pi ε_0 r^2} \int_0 ^r 4 \pi \rho \left (r \right ) r^2 d\, r ##
## r^3 = C \int_0 ^r \rho \left (r \right ) r^2 d\, r ##
Differentiating both sides wrt r,
## r^2 = C' \rho \left (r \right ) r^2 \\ \rho \left (r \right ) = C" ##
Where C, C' and C" are appropriate constants.
While I have used here,
## \frac {d \int_0 ^r f \left (r \right ) d\, r} {dr} = f\left (r \right )##
Proof:
## \int_0 ^r f \left (r \right ) d\, r = F \left (r \right ) + F \left (0 \right ) ##
Since integration and differentiation are inverse operation of each other,
## \frac {d\{F \left (r \right ) + F \left (0 \right )\} } {dr} = f \left (r \right )
\\ \frac {d \int_0 ^r f \left (r \right ) d\, r } {dr} = f \left (r \right )##