# Linear optimization problem.

1. Mar 11, 2009

### quantumfireball

First let me clarify this is not a homework question.
This part has cropped up as part of a small project i am doing on Cosmic microwave background.

How would i go about minimizing the function

f(x$$_{1}$$,x$$_{2}$$....x$$_{n}$$)=$$\Sigma$$*x$$_{i}$$*a$$_{i}$$

subject to the constraint:
$$\Sigma$$ x$$_{i}$$*(2*i+1)=constant

a$$_{i}$$ are constants

2. Mar 11, 2009

### mathman

Use Lagrange multipliers. See Wikipedia (or other Google reference) for tutorial.