Integrating Initial Condition Problems: Finding the Constant of Integration

  • Thread starter Thread starter Jbreezy
  • Start date Start date
  • Tags Tags
    Condition Initial
Jbreezy
Messages
582
Reaction score
0

Homework Statement



They give me y ' = (xysinx)/ (y+1) , y(0) = 1

Homework Equations



So I just separated and integrated

The Attempt at a Solution



I'm 99 percent sure I'm OK up till here. I just wanted to get an explanation for something.

I was wondering my answer is y + ln(y) = sinx -xcosx +C
So there is no way to write this so I just have y on the right. So what am I to say? There is an example similar in my book they does this mean I can't find the constant?
 
Physics news on Phys.org
Jbreezy said:

Homework Statement



They give me y ' = (xysinx)/ (y+1) , y(0) = 1

Homework Equations



So I just separated and integrated

The Attempt at a Solution



I'm 99 percent sure I'm OK up till here. I just wanted to get an explanation for something.

Sure. This differential equation is variable separable.

I was wondering my answer is y + ln(y) = sinx -xcosx +C
So there is no way to write this so I just have y on the right. So what am I to say? There is an example similar in my book they does this mean I can't find the constant?

I think that the initial condition is, at x=0, y=1. Well the equation can be simplified as,

ln(yey) = sinx -xcosx +C
yey = ke(sinx -xcosx), where k is another constant. But does this lead to anything ?
 
ln(y(e^y)) = sinx -xcosx +C
How did you get this?
 
Jbreezy said:

Homework Statement



They give me y ' = (xysinx)/ (y+1) , y(0) = 1

Homework Equations



So I just separated and integrated

The Attempt at a Solution



I'm 99 percent sure I'm OK up till here. I just wanted to get an explanation for something.

I was wondering my answer is y + ln(y) = sinx -xcosx +C
So there is no way to write this so I just have y on the right. So what am I to say? There is an example similar in my book they does this mean I can't find the constant?

Just put x=0 and y=1 in that last equation to evaluate C.
 
This last equation ?
y + ln(y) = sinx -xcosx +C
 
Yes.
 
Got it thanks
 
Back
Top