Given
dxdy+ex(x2−2)y=(x2−2x)(x2−2)e2x
It is linear differential equation so,
IF=e∫(x2−2)exdx
=ex2ex−2∫xexdx−2ex =ex2ex−2[xex−ex]−2ex
IF=e(x2−2x)ex
Now solution is given by
y×e(x2−2x)ex=∫e(x2−2x)ex×(x2−2x)(x2−2)e2x
=∫e(x2−2x)ex×(x2−2x)ex(x2−2)ex
Now let (x2−2x)ex=t
We get ex(x2−2x)+ex(2x−2)dx=dt
ex(x2−2x+2x−2)dx=dt
ex(x2−2)dx=dt
y×e(x2−2x)ex=∫et×t×dt
y×e(x2−2x)ex=et(t−1)+c
y×e(x2−2x)ex=e(x2−2x)ex((x2−2x)ex−1)+c
Now at x=0y=0
0×e0=e0(0xex−1)+c
0=−1+c c=1
Putting the value of c=1 we get the equation as
⇒y×e(x2−2x)ex=e(x2−2x)ex((x2−2x)ex−1)+1
Now putting x=2 in equation we get
y×e(4−4)e2=e(4−4)e2((4−4)e2−1)+1
⇒y×e0=e0((0)e2−1)+1
⇒y=−1+1=0