How do I find the minimum value of f(k) with summations and exponents?

  • Thread starter onako
  • Start date
  • Tags
    Derivative
In summary, to determine the value of k for which f(k) is minimized, one can take the derivative and equate it with 0. For linear functions, this is relatively simple, but for functions involving summations and exponents, it may be more complicated. Assuming the sums are finite, one can differentiate term by term and solve the resulting equation. However, finding a closed form solution may be difficult and other methods may need to be employed.
  • #1
onako
86
0
To determine the value of the unknown for which the function is minimized, we take the derivative and equate with 0. This is relatively simple with linear functions, but I have problem with a function involving
summations and exponents. What would be the way to express the value of k for which f(k) is minimized:
[tex]
f(k)=\sum a_i^{2k} - 2 \sum a_i^kb_i
[/tex]
Suppose equal number of terms a_i and b_i in the summation.
 
Physics news on Phys.org
  • #2
Assuming the sums are finite, you can differentiate term by term.

[tex]f'(k)= 2\sum a_i^{2k}ln(a_i)- 2\sum a_i^k b_i ln(a_i)= 0[/tex]

[tex]f'(k)= 2\sum (ln(a_i))(a_i^{2k}- a)_i^k b_i)= 0[/quote]

[tex]f'(k)= 2\sum ln(a_i)a_i^k(a_i^k- 1)b_i)= 0[/quote]

Solving that equation may be quite difficult.
 
  • #3
HallsofIvy said:
Assuming the sums are finite, you can differentiate term by term.

[tex]f'(k)= 2\sum a_i^{2k}ln(a_i)- 2\sum a_i^k b_i ln(a_i)= 0[/tex]

[tex]f'(k)= 2\sum (ln(a_i))(a_i^{2k}- a_i^k) b_i= 0[/tex]

[tex]f'(k)= 2\sum ln(a_i)a_i^k(a_i^k- 1)b_i= 0[/tex]

Solving that equation may be quite difficult.
The last equation means that for k=0 the term (a_i^k-1) is 0, leading to complete 0 summation.
But, what would be the way to discover other values of k for which f(k) is min?
Is there a closed form solution, or would I have to employ some other procedure approaching the correct value gradually?
(I have some problems with viewing tex portions and the edit does not seem to work)
I really appreciate your help.
 
Last edited:

FAQ: How do I find the minimum value of f(k) with summations and exponents?

What is a derivative?

A derivative is a mathematical concept that represents the rate of change of a function with respect to its independent variable. In other words, it measures how much a function is changing at a specific point.

Why is it important to minimize a derivative?

Minimizing a derivative is important because it helps us find the optimal value or solution for a given function. This is especially useful in real-world applications such as optimization problems in economics, engineering, and physics.

How do you find the derivative of a function?

The derivative of a function can be found by using the rules of differentiation, which involve taking the limit of the difference quotient as the change in the independent variable approaches zero. Alternatively, you can use the power rule, product rule, quotient rule, or chain rule to calculate the derivative.

What is the relationship between a derivative and a minimum value?

The derivative of a function at a minimum value is equal to zero. This is because the minimum value is where the function stops decreasing and starts increasing, which means the rate of change is zero at that point. In other words, the slope of the tangent line at a minimum value is horizontal or flat.

How can derivatives help in curve fitting?

Derivatives can help in curve fitting by allowing us to find the best-fit line or curve for a given set of data points. By minimizing the derivative of the function, we can adjust the parameters or coefficients of the function to fit the data points as closely as possible. This is commonly used in regression analysis and machine learning algorithms.

Similar threads

Back
Top