if dy/dx = 1+y, and when x=0, y=2, show that y = 3e^x -1
use separation of variables cross multiply \[dy=(1+y)dx\] divide both sides by 1+y \[\frac{1}{1+y}dy=dx\] integrate both sides \[\int\limits_{}^{}\frac{1}{1+y}dy=\int\limits_{}^{}dx\] \[\ln|y+1|=x+C\] \[\ln|2+1|=0+C\] \[C=\ln(3)\] \[\ln|y+1|=x+\ln(3)\] lets solve this for y \[e^{\ln|y+1|}=e^{x+\ln3}\] \[y+1=e^x+e^{\ln3}\] \[y=e^x+3-1=e^x+2\]
oops made an error e^(x+ln3) does not equal e^x+e^ln3 lol
\[y+1=e^x*e^{\ln3}\] \[y+1=e^x*(3)\] \[y=3e^x-1\]
thank you math genius!
btw where did x+c come from?
after you integrate you add constant
integrate what?
we integrated both sides the x came from integrating 1 with respect to x
i got all my x's on one side and all my y's on the other side then i integrated to find solve both sides
y+1=e^x*e^{ln3} ?
i don't get that part as well
law of exponents
x^(a+b)=x^a*x^b
y+1=e^x*(3) how did e^{ln3} become (3)? and what happened to the absolute value brackets around y+1
Join our real-time social learning platform and learn together with your friends!