How do I solve a differential equation with the given initial condition?

AI Thread Summary
The discussion focuses on solving the differential equation dy/dx = (3x^2)(e^-y) using separation of variables. The initial steps involve rewriting and integrating the equation, leading to the expression y = ln(x^3 + C). To apply the initial condition y(0) = 1, the constant C is determined to be e, resulting in the particular solution y = ln(x^3 + e). Participants emphasize the importance of correctly applying logarithmic properties during the solution process. The conversation highlights collaborative problem-solving and clarifies misunderstandings in the calculations.
Mitchtwitchita
Messages
187
Reaction score
0
dy/dx = (3x^2)(e^-y)

1/(e^-y) dy = 3x^2 dx
1/(e^-y) = x^3 + C

Can anybody please give me any help or advice on to where to go from here? I'm having a really tough time with this one.
 
Mathematics news on Phys.org
\frac{dy}{dx}=3x^{2}e^{-y}

this diff. eq. can be solved with separation of variables.So:

e^{y}dy=3x^{2}dx now integrate both sides and solve for y.
 
So, y = ln(x^3+C)?
 
Mitchtwitchita said:
So, y = ln(x^3+C)?

Looks like it is right.
 
Thanks stupidmath! Now, if I wanted to solve, for example y(0)=1

ln (C) = y - ln(x^3)
ln (C) = 1 - 0
C = e^1 ?

y = ln(x^3) + e^1 ?
 
Well, to impose the initial condition y(0)=1, you actually here have that when x=0, y=1.

So it means:

1=ln(c)=>C=e

so our particular solution would be

y=ln(x^{3}+e)

You just misplaced the parentheses on your final answer.
 
Ah, thanks a bunch stupidmath!
 
One last question stupidmath. wouldn't dy/dx = 4(2y-1) end up being y = Ce^-32x?
 
It is not "stupidmath". Beware of his ire!

You should be able to do this one yourself now. If dy/dx= 4(2y-1) then dy/(2y-1)= 4dx.
Integrating on both sides (1/2)ln|2y-1|= 4x+ C so ln|2y-1|= 8x+ C' (C'= 2C). Then 2y-1= C"e^(8c).
 
  • #10
It is suttypud-math, not stupidmath!
 
  • #11
Oh, I apologize for the faux pas sutupidmath. I also appreciate the help, thanks.
 
  • #12
arildno said:
It is suttypud-math, not stupidmath!

Is there any meaning to this?:smile:
 
  • #13
Mitchtwitchita said:
Thanks stupidmath! Now, if I wanted to solve, for example y(0)=1

ln (C) = y - ln(x^3)
ln (C) = 1 - 0
C = e^1 ?

y = ln(x^3) + e^1 ?


Remember that ln(a + b) =/= ln(a) + ln(b), which is what you did here.
 
Back
Top