(i) When the major axis is parallel to the x-axis Let (x−x1)2a2+(y−y1)2b2=1 ...(1)
Here, x1 and y1 are -2 and 3, respectively, and 3 and 2 are the lengths of the axes.
Substituting the value in eq. (1), we get, (x+2)29+(y−3)24=1
⇒4(x2+4+4x)+9(y2+9−6y)36=1
⇒4x2+16+16x+9y2+81−54y=36
⇒4x2+9y2+16x−54y+61=0
This is the required equation of the ellipse.
(ii) When the major axis is parallel to the y-axis
Let (x−x1)2b2+(y−y1)2a2=1 ...(1)
Here, x1 and y1 are -2 and 3, respectively, and 3 and 2 are the lengths of the axes.
Substituting the value in eq. (1), we get:
(x+2)24+(y−3)29=1
⇒9(x2+4+4x)+4(y2+9−6y)36=1
⇒9x2+36+36x+4y2+36−24y=36
⇒9x2+4y2+36x−24y+36=0
This is the required equation of the ellipse.