- #1
Dusty912
- 149
- 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