Step 1: Identify the forces acting on the balloon.
Let the buoyant force acting on the balloon be \(B\).
Since the volume does not change, \(B\) remains constant.
Step 2: Case I — Before releasing mass \(m\).
The balloon (mass \(M\)) is descending with acceleration \(\alpha\).
Taking downward direction as positive, applying Newton’s second law:
\[
Mg - B = M\alpha
\]
\[
\Rightarrow B = M(g - \alpha) \quad \cdots (1)
\]
Step 3: Case II — After releasing mass \(m\).
Now the mass of the balloon becomes \((M - m)\) and it rises with acceleration \(\alpha\).
Taking upward direction as positive:
\[
B - (M-m)g = (M-m)\alpha
\]
\[
\Rightarrow B = (M-m)(g+\alpha) \quad \cdots (2)
\]
Step 4: Equate buoyant forces from (1) and (2).
\[
M(g-\alpha) = (M-m)(g+\alpha)
\]
Step 5: Solve for \(m\).
\[
Mg - M\alpha = Mg + M\alpha - mg - m\alpha
\]
\[
mg + m\alpha = 2M\alpha
\]
\[
m(g+\alpha) = M\alpha
\]
\[
m = \frac{M\alpha}{g+\alpha}
\]
Final Answer:
\[
\boxed{m = \left(\dfrac{\alpha}{\alpha+g}\right)M}
\]