I need a way to calculate the very minimum of each variable for a grade average.
Each grade variable have a weighing percentage (I don't know if it's the right term)
The weighing sum must be the total (100%)
The value it must be >=1 and <=7
For example
$$ 0.25x + 0.2y + 0.25z + 0.3u = 4 $$ or any number of variables $$ 0.15x + 0.2y + 0.25z + 0.15u + 0.25w = 4 $$
So I need the minimum value for each grade/variable to match 4
How can I do that?
Sorry if it's a dumb question
Thanks
$$\text{There are a lot of ways to define the minimum for the grades as a whole.}$$ $$\text{One way to define the magnitude for a set of values is distance from the origin.}$$ $$$$ $$\text{Use Lagrange Multipliers to compute the extreme values.}$$
$\text{Let } f(x, y, z, u) = x^2 + y^2 + z^2 + u^2$
$\text{Let } g(x, y, z, u) = 0.25x + 0.2y + 0.25z + 0.3u - 4 = 0$
$$\text{We wish to find the points of extreme values of }f \text{ about the constraint g.}$$
$$\vec{\bigtriangledown{f}} = \bigg(2x, 2y, 2z, 2u \bigg) $$ $$\vec{\bigtriangledown{g}} = \bigg(0.25, 0.2, 0.25, 0.3 \bigg)$$
$$\text{There exists }\lambda \text{ such that: } \vec{\bigtriangledown f} = \lambda \cdot \vec{\bigtriangledown g}$$
$$\begin{align} 2x &= 0.25\lambda\\ 2y &= 0.2\lambda\\ 2z &= 0.25\lambda\\ 2u &= 0.3\lambda \end{align}$$
$$\text{Thus, }\lambda = 8x = 10y = 8z = \frac{20}{3}u$$
$$\text{Now, we can solve for one of the variables, say } x \text{ about the constraint.}$$ $$0.25x + 0.2(0.8x) + 0.25x + 0.3(1.2x) - 4 = 0 \space \implies \space x = \frac{4}{1.02} \approx 3.92$$ $$\text{Using the equality with } \lambda \text{ to find } y \text{, } z \text{ and } u \text{ is left as an exercise for the reader.}$$