So I have f'(x)=-f(x)<=>f'(x)+f(x)=0, let h(x)=f'(x)+f(x)=0, I found two ways to approach this:
- e^x•f'(x)+e^x•f(x)=0<=>(e^x•f(x))'=0
- (f'(x)/f(x))+1=0<=>(ln(|f(x)|)+x)'=0 So h(x) is either 1) or 2), but I found that the 2) one is equal to ln(f(x)•e^x) so 1) and 2) definitely aren't the same initial functions and although I understand that them being equal is not necessary for their derivatives to be the same, the problem is that graphing the two initial functions it's clear to me that they have different derivatives, how is that possible? For f(x)=5x and other ones I tried the derivatives are different.enter image description here