The solution of the differential equation d2ydx2−dydx−2y=3e2x, where, y(0)=0 and y(0)=−2
A
y=e−x−e2x+xe2x
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
y=ex−e−2x−xe2x
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
y=e−x+e2x+xe2x
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
y=ex−e−2x+xe2x
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Ay=e−x−e2x+xe2x Given DE is d2ydx2−dydx−2y=3e2x (D2−D−2)y=3e2x .... (i) AE in m2−m−2=0 ⇒(m+1)(m−2)=0 ⇒m=−1and2
So, CF=C1e−x+C2e2x
Now PI=1f(D)Q=1D2−D−2(3e2x) 3[x2D−1(e2x)]=3[x2×2−1(e2x)]=xe2x
General solution is y=CF+PI y=C1e−x+C2e2x+xe2x dydx=y′=−C1e−x+2C2e2x+2xe2x+e2x
using y(0)=0⇒0=C1+C2
using y′(0)=−2⇒−2=−C1+2C2+0+1
or −C1+2C2=−3
on solving C2=−1,C1=1
Solution is y=e−x−e2x+xe2x