I'm trying to add an extra bound of a gaussian probability distribution, solving for both $\mu$ and $\sigma$:
$L = f + \lambda(\int_{-\infty}^{\infty}p(x, \mu, \sigma)dx - 1)$ where $p$ is the expression for a normal distribution's probability.
I can't seem to wrap my head around how to approach this question, since I get stumped on the fact that it's a definite integral. Because it's definite, I can't just take the derivative of x and say it's done(or can I?). I also wanted to replace the pdf function with the cdf of the gaussian and use that as my constraint but it seemed too "unelementary", as I wanted something easier to handle.
Any ideas?