The solution of dydx-y=1, y(0)=1 is given by:
(4)
Ans. y=2ex-1
Explanation :
Given that,
dydx-y=1
⇒ dydx=1+y
⇒ dy1+y=dx
On integrating both sides, we get
log(1+y)=x+C ...(i)
When x=0 and y=1, then
log2=0+C
⇒ C=log2
The required solution is
log(1+y)=x+log2
⇒ log(1+y2)=x
⇒ 1+y2=ex
⇒ 1+y=2ex
⇒ y=2ex-1