Which of the following is true for y(x) that satisfies the differential equation dydx=xy−1+x−y;y(0)=0
A
y(1)=1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
y(1)=e12−1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
y(1)=e12−e−12
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
y(1)=e−12−1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is Dy(1)=e−12−1 dydx=(x−1)y+(x−1)⇒dydx=(x−1)(y+1)⇒dyy+1=(x−1)dx⇒ln|y+1|=x22−x+c x=0,y=0 ⇒c=0ln|y+1|=x22−x⇒y=−1±ex22−x
But we know x=0,y=0, so y=−1+ex22−x∴y(1)=e−12−1