From a practical point of view, the greatest interest is in using the derivative to find the largest and smallest values of a function. What is this connected with? Maximizing profits, minimizing costs, determining the optimal load of equipment... In other words, in many areas of life we have to solve problems of optimizing some parameters. And these are the tasks of finding the largest and smallest values of a function.
It should be noted that the largest and smallest values of a function are usually sought on a certain interval X, which is either the entire domain of the function or part of the domain of definition. The interval X itself can be a segment, an open interval , an infinite interval.
In this article we will talk about finding the largest and smallest values of an explicitly defined function of one variable y=f(x) .
Page navigation.
The largest and smallest value of a function - definitions, illustrations.
Let's briefly look at the main definitions.
The largest value of the function that for anyone inequality is true.
The smallest value of the function y=f(x) on the interval X is called such a value that for anyone inequality is true.
These definitions are intuitive: the largest (smallest) value of a function is the largest (smallest) accepted value on the interval under consideration at the abscissa.
Stationary points– these are the values of the argument at which the derivative of the function becomes zero.
Why do we need stationary points when finding the largest and smallest values? The answer to this question is given by Fermat's theorem. From this theorem it follows that if a differentiable function has an extremum (local minimum or local maximum) at some point, then this point is stationary. Thus, the function often takes its largest (smallest) value on the interval X at one of the stationary points from this interval.
Also, a function can often take on its largest and smallest values at points at which the first derivative of this function does not exist, and the function itself is defined.
Let’s immediately answer one of the most common questions on this topic: “Is it always possible to determine the largest (smallest) value of a function”? No not always. Sometimes the boundaries of the interval X coincide with the boundaries of the domain of definition of the function, or the interval X is infinite. And some functions at infinity and at the boundaries of the domain of definition can take on both infinitely large and infinitely small values. In these cases, nothing can be said about the largest and smallest value of the function.
For clarity, we will give a graphic illustration. Look at the pictures and a lot will become clearer.
On the segment
In the first figure, the function takes the largest (max y) and smallest (min y) values at stationary points located inside the segment [-6;6].
Consider the case depicted in the second figure. Let's change the segment to . In this example, the smallest value of the function is achieved at a stationary point, and the largest at the point with the abscissa corresponding to the right boundary of the interval.
In Figure 3, the boundary points of the segment [-3;2] are the abscissas of the points corresponding to the largest and smallest value of the function.
On an open interval
In the fourth figure, the function takes the largest (max y) and smallest (min y) values at stationary points located inside the open interval (-6;6).
On the interval , no conclusions can be drawn about the largest value.
At infinity
In the example presented in the seventh figure, the function takes the largest value (max y) at a stationary point with abscissa x=1, and the smallest value (min y) is achieved on the right boundary of the interval. At minus infinity, the function values asymptotically approach y=3.
Over the interval, the function reaches neither the smallest nor the largest value. As x=2 approaches from the right, the function values tend to minus infinity (the line x=2 is a vertical asymptote), and as the abscissa tends to plus infinity, the function values asymptotically approach y=3. A graphic illustration of this example is shown in Figure 8.
Algorithm for finding the largest and smallest values of a continuous function on a segment.
Let us write an algorithm that allows us to find the largest and smallest values of a function on a segment.
- We find the domain of definition of the function and check whether it contains the entire segment.
- We find all the points at which the first derivative does not exist and which are contained in the segment (usually such points are found in functions with an argument under the modulus sign and in power functions with a fractional-rational exponent). If there are no such points, then move on to the next point.
- We determine all stationary points falling within the segment. To do this, we equate it to zero, solve the resulting equation and select suitable roots. If there are no stationary points or none of them fall into the segment, then move on to the next point.
- We calculate the values of the function at selected stationary points (if any), at points at which the first derivative does not exist (if any), as well as at x=a and x=b.
- From the obtained values of the function, we select the largest and smallest - they will be the required largest and smallest values of the function, respectively.
Let's analyze the algorithm for solving an example to find the largest and smallest values of a function on a segment.
Example.
Find the largest and smallest value of a function
- on the segment ;
- on the segment [-4;-1] .
Solution.
The domain of definition of a function is the entire set of real numbers, with the exception of zero, that is. Both segments fall within the definition domain.
Find the derivative of the function with respect to:
Obviously, the derivative of the function exists at all points of the segments and [-4;-1].
We determine stationary points from the equation. The only real root is x=2. This stationary point falls into the first segment.
For the first case, we calculate the values of the function at the ends of the segment and at the stationary point, that is, for x=1, x=2 and x=4:
Therefore, the greatest value of the function is achieved at x=1, and the smallest value – at x=2.
For the second case, we calculate the function values only at the ends of the segment [-4;-1] (since it does not contain a single stationary point):
Problem statement 2:
Given a function that is defined and continuous on a certain interval. You need to find the largest (smallest) value of the function on this interval.
Theoretical basis.
Theorem (Second Weierstrass Theorem):
If a function is defined and continuous in a closed interval, then it reaches its maximum and minimum values in this interval.
The function can reach its largest and smallest values either at the internal points of the interval or at its boundaries. Let's illustrate all the possible options.
Explanation:
1) The function reaches its greatest value on the left boundary of the interval at point , and its minimum value on the right boundary of the interval at point .
2) The function reaches its greatest value at the point (this is the maximum point), and its minimum value at the right boundary of the interval at the point.
3) The function reaches its maximum value on the left boundary of the interval at point , and its minimum value at point (this is the minimum point).
4) The function is constant on the interval, i.e. it reaches its minimum and maximum values at any point in the interval, and the minimum and maximum values are equal to each other.
5) The function reaches its greatest value at point , and its minimum value at point (despite the fact that the function has both a maximum and a minimum on this interval).
6) The function reaches its greatest value at a point (this is the maximum point), and its minimum value at a point (this is the minimum point).
Comment:
“Maximum” and “maximum value” are different things. This follows from the definition of maximum and the intuitive understanding of the phrase “maximum value”.
Algorithm for solving problem 2.
4) Select the largest (smallest) from the obtained values and write down the answer.
Example 4:
Determine the largest and smallest value of a function on the segment.
Solution:
1) Find the derivative of the function.
2) Find stationary points (and points suspected of extremum) by solving the equation. Pay attention to the points at which there is no two-sided finite derivative.
3) Calculate the values of the function at stationary points and at the boundaries of the interval.
4) Select the largest (smallest) from the obtained values and write down the answer.
The function on this segment reaches its greatest value at the point with coordinates .
The function on this segment reaches its minimum value at the point with coordinates .
You can verify the correctness of the calculations by looking at the graph of the function under study.
Comment: The function reaches its greatest value at the maximum point, and its minimum at the boundary of the segment.
A special case.
Suppose you need to find the maximum and minimum values of some function on a segment. After completing the first point of the algorithm, i.e. calculating the derivative, it becomes clear that, for example, it takes only negative values throughout the entire interval under consideration. Remember that if the derivative is negative, then the function decreases. We found that the function decreases over the entire segment. This situation is shown in graph No. 1 at the beginning of the article.
The function decreases on the segment, i.e. it has no extrema points. From the picture you can see that the function will take the smallest value on the right boundary of the segment, and the largest value on the left. if the derivative on the segment is positive everywhere, then the function increases. The smallest value is on the left border of the segment, the largest is on the right.
x | |||
y |
Definition. Straight y =kx +b (k≠ 0) is called oblique asymptote function graphics y = f(x) at , where
General scheme for studying functions and constructing graphs.
Function Research Algorithmy = f(x) :
1. Find the domain of the function D (y).
2. Find (if possible) the points of intersection of the graph with the coordinate axes (if x= 0 and at y = 0).
3. Examine the evenness and oddness of the function ( y (‒ x) = y (x) ‒ parity; y(‒ x) = ‒ y (x) ‒ odd).
4. Find the asymptotes of the graph of the function.
5. Find the intervals of monotonicity of the function.
6. Find the extrema of the function.
7. Find the intervals of convexity (concavity) and inflection points of the function graph.
8. Based on the research conducted, construct a graph of the function.
Example. Explore the function and build its graph.
1) D (y) =
x= 4 – break point.
2) When x = 0,
(0; ‒ 5) – point of intersection with oh.
At y = 0,
3) y(‒ x)= a function of general form (neither even nor odd).
4) We examine for asymptotes.
a) vertical
b) horizontal
c) find the oblique asymptotes where
‒oblique asymptote equation
5) In this equation it is not necessary to find intervals of monotonicity of the function.
6)
These critical points divide the entire domain of definition of the function into the interval (˗∞; ˗2), (˗2; 4), (4; 10) and (10; +∞). It is convenient to present the results obtained in the form of the following table.