Found a typo? Is this solution unclear? Let us know here. Please rate my easiness! It's quick and helps everyone guide their studies.
First we solve the integral considering as a constant:
The first integral in the sum is
Now we solve by parts letting and so that and . Hence
The last integral in the sum is:
So
The derivative is directly computed to be:
Which is zero at .
To make sure it is a minimum we use the second derivative test. The second derivative is:
Which is always positive (Remember that ). This means is the minimum for . Plugging in this value gives
|