The vertices of the hyperbola is and
.
The foci of the hyperbola is and
.
Since - coordinates of the foci are same the transverse axis of the hyperbola is vertical.
Standard form of vertical hyperbola is .
The centre of the hyperbola is midpoint of vertices and
.
Center of the hyperbola is .
Distance between one of the vertices to the center
is
.
.
The value of is the distance from a focus
to the center
is
.
Find the value of .
Substitute and
.
Substitute ,
and
in
.
Thus, equation of hyperbola is .
Equation of hyperbola is .