Step 1: Identify the standard form of the ellipse
The standard form of the ellipse is: \[ \frac{(x - h)^2}{a^2} + \frac{(y - k)^2}{b^2} = 1 \] where \( (h, k) \) is the center, \( a \) is the semi-major axis, and \( b \) is the semi-minor axis.
Given center: \( (-2,1) \), so the equation becomes: \[ \frac{(x + 2)^2}{a^2} + \frac{(y - 1)^2}{b^2} = 1 \]
Step 2: Find the lengths of the semi-major and semi-minor axes
One vertex of the major axis is \( (1,1) \), so the distance from the center is: \[ |1 - (-2)| = |1 + 2| = 3 \] This is the semi-major axis, so \( a = 3 \) and \( a^2 = 9 \).
One vertex of the minor axis is \( (-2,-1) \), so the distance from the center is: \[ |1 - (-1)| = |1 + 1| = 2 \] This is the semi-minor axis, so \( b = 2 \) and \( b^2 = 4 \).
Step 3: Write the final equation
Substituting \( a^2 = 9 \) and \( b^2 = 4 \) into the equation: \[ \frac{(x + 2)^2}{9} + \frac{(y - 1)^2}{4} = 1 \]
Final Answer: The equation of the ellipse is \(\frac{(x+2)^2}{9}+\frac{(y-1)^2}{4}=1\).