Answer on Question #70217 – Math – Differential Equations
Question
Solve the initial value problem
(ex+y)dx+(2+x+yey)dy=0,y(0)=1.
Solution
Let P(x,y)=ex+y and Q(x,y)=2+x+yey.
This is a total differential equation P(x,y)dx+Q(x,y)dy=0, because ∂y∂P=∂x∂Q=1.
Define f(x,y) such that ∂x∂f=P(x,y) and ∂y∂f=Q(x,y). Then the solution will be given by f(x,y)=c1, where c1 is an arbitrary real constant.
∂x∂f=ex+y⇒f(x,y)=∫(ex+y)dx+g(y)=ex+xy+g(y) where g(y) is an arbitrary function of y.
Differentiate f(x,y) with respect to y in order to find g(y):
∂y∂f=x+g′(y)=2+x+yey⇒g′(y)=2+yey⇒⇒g(y)=∫(2+yey)dy=2y+ey(y−1)+c2.f(x,y)=ex+xy+2y+ey(y−1)+c2.ex+xy+2y+ey(y−1)+c2=c1 or ex+xy+2y+ey(y−1)=c
If y(0)=1 then e0+0∗1+2∗1+e0(1−1)=c⇒c=3⇒
⇒ex+xy+2y+ey(y−1)=3
Answer: ex+xy+2y+ey(y−1)=3.
Answer provided by https://www.AssignmentExpert.com