Let dydx+y=f(x), where y is a continuous function of x with y(0)=1 and f(x)={e−x,0≤x≤2e−2,x>2.
Which of the following hold(s) good?
A
y(1)=2e−1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
y′(1)=−e−1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
y(3)=−2e−3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
y′(3)=−2e−3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is Dy′(3)=−2e−3 dydx+y=f(x) is first order linear differential equation.
I.F. =ex
General solution is yex=∫exf(x)dx+C
Now, if 0≤x≤2, then f(x)=e−x ∴yex=∫ex⋅e−xdx+C ⇒yex=x+C
Since y(0)=1, 1=0+C⇒C=1 ∴y=e−x(x+1) y′=−xe−x
Hence, y(1)=2e−1 and y′(1)=−e−1
If x>2, then f(x)=e−2 ∴yex=∫ex⋅e−2dx+C ⇒y=e−2+Ce−x
Since y is a continuous function, limx→2e−x(x+1)=limx→2(e−2+Ce−x) ⇒3e−2=e−2(C+1) ⇒C=2 ∴y=e−2+2e−x y′=−2e−x
Hence, y(3)=e−2+2e−3 and y′(3)=−2e−3