no. 4x/x = 4 which is what you started with. it is just a rule, when you integrate a constant, just attach the variable you are integrating with respect to on it. if that does not suffice you for a reason, think of 4 as 4(x^0) and use the power rule