Equation of ellipse whose centre at (0,0) is
a2x2+b2y2=1
It passes through (4,−1)
⇒a216+b21=1
⇒16b2+a2=a2b2...(i)
Again it passes through (−2,2)
⇒a24+b24=1
⇒4b2+4a2=a2b2...(ii)
From the equation (i) and (ii), we get,
16b2+a2=4a2+4b2
⇒a2=4b2
Now, we have, e2=1−a2b2=1−41=43
⇒e=23.