when i integrate 1/2x
int 1/2x dx = 1/2 int 2/2x dx
= 1/2 ln 2x + c
but if i had simplified before where
int 1/2x dx = 1/2 int 2/2x dx = 1/2 int 1/x dx
= 1/2 ln x + c
are both solutions valid, but the answer are different, can someone clarify the correct way to do it
int 1/2x dx = 1/2 int 2/2x dx
= 1/2 ln 2x + c
but if i had simplified before where
int 1/2x dx = 1/2 int 2/2x dx = 1/2 int 1/x dx
= 1/2 ln x + c
are both solutions valid, but the answer are different, can someone clarify the correct way to do it