def parabola_directrix(a, b, c):
    if a == 0:
        raise ValueError("Not a parabola")
    return c - (b * b + 1) / (4 * a)