Vertices are of the form (0, ±a), hence it is a vertical hyperbola.
So, the equation is of the form: y2/a2 – x2/b2 = 1 …..(1)
Given: vertices of hyperbola (0, ±5)
Here a = 5
Again,
Foci is of the form (0, ±c)
Given: foci of hyperbola at (0, ±8)
⇒ c = 8
Find b:
We know, c2 = a2 + b2
64 = 25 + b2
or b2 = 39
Equation (1)⇒
y2/25 – x2/39 = 1
Which is required equation.