Introduce a second multiplier and useThe stationary equations become . Writing givesThe two constraints determine the constants throughEquivalently, with , and . This is the maximum entropy distribution with a prescribed finite mean.
For nonconstant , a strictly positive solution exists exactly when . The mean's derivative with respect to is , so is unique in that case. At either extreme mean no strictly positive solution exists. If all , feasibility requires and the extra constraint is redundant: , while are not separately identifiable. The negative entropy Hessian ensures that any feasible interior stationary point is the unique constrained maximum.