How do you find the number and location of local minima of a given function?

  • Mathematica
  • Thread starter spaghetti3451
  • Start date
  • Tags
    Minima
In summary, minima refers to the lowest or smallest value within a set of numbers and can be determined by analyzing the graph of the data. A dataset can have multiple minima, which can be found by calculating the derivative and setting it equal to 0. The location of minima can change if the dataset is manipulated or altered.
  • #1
spaghetti3451
1,344
33
Take the function

$$f(x) = ax^{2} + bx^{4} - c \cos(x/d),$$

where ##a##, ##b##, ##c## and ##d## are arbitrary parameters.

For some given choice of the parameters, how do you find the number of local minima of the function and the location of the minima?
 
Physics news on Phys.org
  • #2


To find the number of local minima of the given function, we first need to take the derivative of the function and set it equal to zero. This will give us the critical points of the function, where the slope is equal to zero.

$$f'(x) = 2ax + 4bx^{3} + \frac{c}{d} \sin(x/d) = 0$$

We can then solve this equation for ##x## to find the critical points. Once we have the critical points, we can use the second derivative test to determine if they are local minima or maxima.

The second derivative of the function is given by:

$$f''(x) = 2a + 12bx^{2} + \frac{c}{d^{2}} \cos(x/d)$$

If ##f''(x) > 0##, then the critical point is a local minimum. If ##f''(x) < 0##, then the critical point is a local maximum. If ##f''(x) = 0##, then the test is inconclusive and we need to try a different method to determine the nature of the critical point.

We can also use the first derivative test to determine if the critical points are local minima or maxima. This involves plugging in values on either side of the critical point into the first derivative and checking if the slope changes from positive to negative or vice versa. If the slope changes from positive to negative, then the critical point is a local maximum. If the slope changes from negative to positive, then the critical point is a local minimum.

To find the location of the local minima, we can plug in the values of ##x## that we found from solving the first derivative equation into the original function. This will give us the corresponding ##y## values of the local minima.

In summary, to find the number and location of the local minima of the given function, we need to:

1. Take the derivative of the function and set it equal to zero to find the critical points.
2. Use the second derivative test or the first derivative test to determine if the critical points are local minima or maxima.
3. Plug in the values of ##x## from the critical points into the original function to find the corresponding ##y## values of the local minima.
 

1. What is the concept of minima in relation to numbers and their location?

Minima refers to the lowest or smallest value within a set of numbers. In terms of location, minima can refer to the position within a number line or coordinate system where the smallest value occurs.

2. How can we determine the number of minima in a dataset?

The number of minima in a dataset can be determined by analyzing the graph or plot of the data. The number of times the graph dips or reaches a low point (valley) indicates the number of minima present.

3. Is it possible for a dataset to have more than one minimum?

Yes, it is possible for a dataset to have multiple minima. This occurs when the data contains multiple local lows or valleys, with each representing a minimum value.

4. How can we find the exact location of minima within a dataset?

The exact location of minima can be found by calculating the derivative of the dataset and setting it equal to 0. The values of x that satisfy this equation will be the locations of the minima.

5. Can the location of minima change if the dataset is manipulated or altered?

Yes, the location of minima can change if the dataset is manipulated or altered. For example, if data points are added or removed, the graph may change, resulting in a different number and location of minima.

Similar threads

Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Replies
18
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
Replies
3
Views
500
  • Calculus and Beyond Homework Help
Replies
22
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
295
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • Calculus
Replies
4
Views
2K
Back
Top