I have the following equation:
$$ \sum_{i=1}^N \ln (d_i) d_i^{-x} = C \sum_{i=1}^N d_i^{-x} $$ where $C$ and $d_i$ are constants (known variables).
For $N=2$ the equation takes the form $$ \ln (d_1) d_1^{-x} + \ln (d_2) d_2^{-x} = C (d_1^{-x} + d_2^{-x}) $$ and it is possible to solve it analytically for $x$.
My question is whether it is possible to solve the first equation analytically for $N>2$. In general, this type of equation can be written as:
$$ \sum_{i=1}^N g(x_i) f(x_i) = C \sum_{i=1}^N f(x_i) $$
Edit: from @ancient mathematician we can rewrite $d_i$ to $e^{\lambda_i}$. Thus, the equation now is defined as
$$ \sum_{i=1}^N \lambda_i e^{-\lambda_i x} = C \sum_{i=1}^N e^{-\lambda_i x} $$ We can notice that the left part is the derivative of the right part, such as
$$ -\frac{d}{dx} \sum_{i=1}^N e^{-\lambda_i x} = C \sum_{i=1}^N e^{-\lambda_i x} $$ with $f(x) = \sum_{i=1}^N e^{-\lambda_i x}$ we have
$$ f'(x) + Cf(x) = 0 $$
The task is to find the $x$ from this equation.