Solving Linear Differential Equations of First Order
Let y = yx ...
Question
Let y=y(x) be the solution of the differential equation dydx+2y=f(x), where f(x)={1,x∈[0,1]0,otherwise If y(0)=0, then y(32) is
A
e2−12e3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
e2−1e3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
12e
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
e2+12e4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is De2−12e3 Solving the initial value problem, we get y=12−12e−2x when x∈[0,1]. We can check this by substituting this in the differential equation and checking the initial value.
So, y(1)=1−e−22=e2−12e2...(1)
Now, for x∈(1,∞), we have e2xy=c2 (solving the differential equation separately for this interval)
Using the condition found above in (1), we have c2=e2−12. That gives y=e2−12e−2x for x∈(1,∞)