def integrand_x(x, alpha, beta, l, i):
    """Integrand in the reparametrized q^l_i expression."""
    return (
        x ** (alpha - 1)
        * (1 - x) ** (l + beta - i / 2 - 1)
        * (1 + x) ** (i / 2)
    )