Separable Differential Equation

Click For Summary
SUMMARY

The discussion focuses on solving the separable differential equation (e^x + 1)cos(y) dy + e^x(sin(y) + 1)dx = 0 with the initial condition y(0) = 3. The solution process involves separating variables and integrating both sides, leading to the equation ln|sin(y) + 1| = -ln|e^x + 1| + C. Key mistakes identified include the incorrect use of substitution variables and the application of logarithmic properties. The correct formulation requires using distinct variables for substitutions and omitting absolute values where unnecessary.

PREREQUISITES
  • Understanding of separable differential equations
  • Familiarity with integration techniques, particularly substitution
  • Knowledge of logarithmic properties and their applications
  • Basic proficiency in solving initial value problems
NEXT STEPS
  • Review techniques for solving separable differential equations
  • Study integration by substitution in detail
  • Learn about the properties of logarithms and their applications in calculus
  • Practice solving initial value problems involving differential equations
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to improve their problem-solving skills in calculus and mathematical analysis.

Dusty912
Messages
149
Reaction score
1

Homework Statement


Solve the differential equation:
(ex+1)cosy dy + ex(siny +1)dx=0 y(0)=3

Homework Equations


none

The Attempt at a Solution


(ex+1)cosy dy + ex(siny +1)dx=0
(ex+1)cosy dy =- ex(siny +1)dx
cosy/(siny+1)dy=-ex/(ex+1)dx
∫cosy/(siny+1)dy=-∫ex/(ex+1)dx
using u sub on both the left and right for u=siny+1 on left and u=(ex+1) on right yeilds
∫1/u du=-∫ 1/u du
ln|siny +1|= -ln|ex+1| +c
exponentiating both sides ( this is where I think I messed up)
siny +1= -x-1 +c
 
Physics news on Phys.org
Dusty912 said:

Homework Statement


Solve the differential equation:
(ex+1)cosy dy + ex(siny +1)dx=0 y(0)=3

Homework Equations


none

The Attempt at a Solution


(ex+1)cosy dy + ex(siny +1)dx=0
(ex+1)cosy dy =- ex(siny +1)dx
cosy/(siny+1)dy=-ex/(ex+1)dx
∫cosy/(siny+1)dy=-∫ex/(ex+1)dx
using u sub on both the left and right for u=siny+1 on left and u=(ex+1) on right yeilds
∫1/u du=-∫ 1/u du
ln|siny +1|= -ln|ex+1| +c
exponentiating both sides ( this is where I think I messed up)
siny +1= -x-1 +c
Yes, it's messed up.
Use the ideas that a * ln(b) = ln(ba) and that exp(m + n) = exp(m) * exp(n)
 
So all of my work is fine up until the last step?
 
I don't see anything wrong, but you shouldn't use u for both of your substitutions -- maybe v or w for the other one.
 
yea, I figured that was bad notation. Anyways, for the next step, is the left side of the equation is right? sin(y) +1

as far as the right side and applying the rules you gave me. The right side would look something like this before the exponentiating:

-(x+1)ln|e| +c
 
You have a mistake that I didn't notice before.
Dusty912 said:
ln|siny +1|= -ln|ex+1| +c
On the right side it should be ##-\ln(e^x + 1) + C##. You had ##-\ln|e^{x + 1}| + C##.
Also note that I didn't use absolute values, since ##e^x > 0## for all real x, so ##e^x + 1 > 1 > 0## for all real x.

You don't need absolute values on the left side, either, since ##\sin(y) + 1 \ge 0## for all real y.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
19
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
9K