Diff.Eq. Seperation of variables.

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation using separation of variables, specifically addressing the equation (e^-y + 1)sinxdx=(1+cosx)d with the initial condition y(0)=0.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the process of separating variables and integrating both sides of the equation. There are questions about the application of the initial condition and how it affects the constant of integration. Some participants express uncertainty about the implications of the initial condition and whether x(0) being non-zero affects the solution.

Discussion Status

Participants are actively engaging with the problem, exploring the implications of the initial condition and verifying integration steps. There is a suggestion to check the integration by taking the derivative of the resulting expression, indicating a productive direction in the discussion.

Contextual Notes

There is some ambiguity regarding the interpretation of the initial condition y(0)=0, particularly in relation to the value of x at that point. This has led to discussions about how to handle constants of integration in the context of parameters.

Jtechguy21
Messages
51
Reaction score
0

Homework Statement


Solve the given differential equation subject to the indicated initial condition.

(e^-y + 1)sinxdx=(1+cosx)d, y(0)=0

Homework Equations


Basically we have to use separation of varaibles to solve before using initial value condition.

The Attempt at a Solution


After separation of variables

Dy/(e^-y +1) = sinx dx/(1+cosx)

take the integral of both sides
∫Dy/(e^-y +1)=ln|e^-y+1|+y

∫sinx dx/(1+cosx)= -ln(1+cosx)+c

Clean it up a bit
ln|e^-y+1|+y= -ln(1+cosx)+cI have no idea what to do now with the y(0)=0
That means plus in x=0 for the equation correct?
 
Last edited:
Physics news on Phys.org
You use the initial condition to determine the value of c.

when x = 0, y = 0.
 
  • Like
Likes   Reactions: 1 person
SteamKing said:
You use the initial condition to determine the value of c.

when x = 0, y = 0.

How did you get y=0?
 
Jtechguy21 said:
How did you get y=0?

That's what y(0) = 0 means!
 
  • Like
Likes   Reactions: 1 person
well still there is a problem if x(0) is not zero for y(0)=0...
In that case you solve c with respect to x(0) (a parameter) and input it
 
  • Like
Likes   Reactions: 1 person
okay thank you.
My last question is.
can someone please check my integration
∫Dy/(e^-y +1)=ln|e^-y+1|+y

to make sure ^ is correct?
 
you can always try to take the derivative of the righthand side and check by yourself ;) much easier
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K