Contents:

Free course: "Quick Start with Python"
Learn MoreFunctions are an important mathematical tool for describing changing quantities in the real world. For example, parameters such as air temperature, exchange rates, and internet speed can be expressed through functions. These functions can exhibit various patterns, from smooth increases and sharp declines to repeated changes in direction. Understanding functions and their properties is key to analyzing data and predicting trends in various fields.
To successfully work with processes, it is necessary to master function behavior analysis. It is important to be able to determine the intervals over which a function increases, where it decreases, and at what points it reaches its extreme values. Let's consider methods and approaches that allow you to effectively perform this analysis.
Content optimization for SEO is an essential part of successful online promotion. It is important not only to create high-quality material but also to properly structure it for search engines. Keywords should be seamlessly woven into the text, ensuring its naturalness and readability. Pay attention to headings and subheadings, as they help both users and search engines understand the essence of the material. It is also important to use meta tags and alternative attributes for images to improve visibility in search engines. Don't forget about internal and external links, which can increase the authority of your content. This integrated approach to creating and optimizing text will help you achieve better results in search results.
- What is a function
- Increasing and decreasing function
- Conditions for increasing and decreasing function
- Function extrema: maximums and minimums
- Determining intervals of monotonicity of a function
What is a function and how to represent it
A function is a mathematical rule that describes the dependence of one quantity on another. For example, when water boils, it's important to consider that the higher the temperature (the independent variable), the faster the water reaches its boiling point (the dependent variable). This clearly demonstrates how changes in one quantity affect another, a key element in the study of functions. Understanding these relationships is essential for solving many problems in mathematics and physics.
In mathematics, the independent variable is typically denoted by the letter x, and the dependent variable by the letter y. To express the relationship between these variables, a formula can be used that illustrates the dependence of y on x. For example, if y depends on x, then this can be written as an equation showing how a change in x affects y.
In this formula:
- f is the name of the function;
- x is the value we pass to the function input;
- y is the result that the function returns after calculation.
Let's consider a simple example of a linear function using the calculation of the salary of a sales manager. Suppose the base salary is 30,000 rubles. For each successful deal, the manager receives an additional 5,000 rubles. This system can be described by a linear function, where the salary depends on the number of deals: the more deals the manager closes, the higher their salary. In this case, salary is the dependent variable, and the number of deals is the independent variable. The formula will look like this: S(x) = 30,000 + 5000x.
Now let's analyze each element of this formula. The base salary of 30,000 rubles is fixed and represents the initial income level, while the variable 5000x indicates that for each deal the manager closes, their income increases by 5,000 rubles. Thus, we observe a linear relationship between the number of deals and the final salary. This is a clear example of how linear functions can be applied in real-world scenarios such as payroll calculation.
- S(x) is the salary amount, where S stands for salary and x is the number of deals;
- 30,000 is the base salary in rubles that the manager receives regardless of the number of deals;
- 5000x is the bonus portion, where 5000 is the fee for one deal and x is the number of deals.
If a manager closes three deals within a month, his salary will be calculated as: S(3) = 30,000 + 5,000 × 3, which will total 45,000 rubles.
The function can be represented in various ways, such as formulas, tables, graphs, text descriptions, diagrams, and program code. The choice of representation method depends on the problem. Formulas are convenient for performing mathematical calculations, tables effectively display specific values, and graphs help visualize relationships and trends. Choosing the right function representation facilitates better understanding and analysis of data, which is especially important in scientific and engineering problems. Let's represent the manager's salary calculation function as a table. This will allow us to clearly see the salary structure, including key components such as the base salary, bonuses, and allowances. The table will help us better understand how various factors influence the manager's final salary. It is important to keep in mind that a transparent salary structure contributes to increased employee motivation and performance. Data analysis shows that for every increase in the number of closed deals, the salary increases by 5,000 rubles. This clearly illustrates the linear relationship between deal volume and salary level, which can be useful for assessing employee performance and planning the company's financial performance. The graph shows the dependence of salary on the number of deals. The horizontal axis (x-axis) indicates the number of closed deals, which is the independent variable. The vertical axis (y-axis) shows the salary in rubles, which is the dependent variable. This graph allows you to visually analyze how the salary changes depending on the number of transactions completed.

For practice, create a copy of the functions.ipynb file and open it in Google Colab. This file contains example functions described in the article. You can change various parameters and instantly see how they affect the graph. This is a great way to visually examine functions and their behavior.
Try changing the base rate in the linear salary function from 30,000 rubles to 40,000 rubles, or increase the trade bonus from 5,000 rubles to 7,000 rubles. Observe how these changes affect the graph and change its slope. This will help you better understand how different parameters affect your overall salary and how to visualize these changes on a graph.

Read also:
Google Colab is a cloud platform provided by Google that allows users to run and share Python code. It is based on Jupyter Notebook and is suitable for a variety of tasks, such as data analysis, machine learning, and visualization. Colab provides access to computing resources, including graphics processing units (GPUs), making it a popular tool among researchers and developers.
To get started with Google Colab, you need to have a Google account. After signing in, you can create a new notebook or open an existing one. Colab's interface is intuitive and includes cells for code and text, making it easy to structure projects.
Users can load data from various sources, such as Google Drive and external URLs, making it easier to work with large amounts of information. Colab also supports the installation of third-party libraries, which expands its functionality.
One of the key advantages of Google Colab is the ability to collaborate. Users can share their notebooks with others, granting editing or view-only access. This makes the platform ideal for training courses, workshops, and team projects.
In addition, Google Colab offers built-in data visualization tools, making it easy to analyze and present results. Integration with libraries such as TensorFlow and PyTorch makes the platform a powerful tool for machine learning developers.
In conclusion, Google Colab is a convenient and powerful tool for working with Python that is suitable for both beginners and experienced developers. It allows you to easily perform complex calculations, analyze data, and create visualizations without worrying about configuring a local environment.
The nature of the function change: increasing and decreasing
The function can exhibit a variety of behavior: in some intervals it increases, in others it decreases, and in others it remains stable. This can be compared with the change in temperature during a summer day: in the morning it gradually increases, fluctuates at the same level during the day, and begins to decrease towards the evening. Such changes in the function are important for analyzing its graphs and understanding the dynamics of processes.
To analyze the behavior of the function, it is necessary to select two points on the graph, let's denote them as x₁ and x₂, where x₁ is located to the left of x₂ (x₁ < x₂). By comparing the values of the function f(x) at these two points, we can identify the nature of the function change. Possible analysis options include studying the increase or decrease of the function, as well as determining its constant state in a given interval. This method allows for a deeper understanding of the properties of the function and its graphical representation.
- If the values increase, then the function increases: f(x₁) < f (x₂) when x₁ < x₂. For example, if f(1) = 2 and f(2) = 5, then 2 < 5.
- If the values decrease, the function is decreasing: f(x₁) > f(x₂) when x₁ < x₂. An example of a decreasing function: if f(1) = 7 and f(2) = 4, then 7 > 4.
- If the values remain unchanged, the function maintains a constant value: f(x₁) = f(x₂) when x₁ < x₂. Example: f(1) = 3, f(2) = 3.
For a visual analysis of the function's behavior, consider f(x) = x². On the interval from minus infinity to zero (−∞, 0), the function decreases, reaching a minimum at x = 0, after which it begins to increase on the interval from zero to positive infinity (0, +∞). The graph of this function is a classic parabola, familiar from high school mathematics. Analyzing the behavior of a function on different parts of an interval helps to better understand its characteristics and properties, which is especially important in mathematics and related disciplines.

In this section, we will learn how to visually identify areas of increasing and decreasing function on its graph. Then we will move on to a more precise method of analysis – using the derivative of the function. This will allow us to better understand the behavior of the function and its changes.

Read also:
Quadratic function and construction of a parabola: basic graphs, formulas and properties
The quadratic function has the form f(x) = ax² + bx + c, where a, b, and c are coefficients and x is a variable. The graph of this function is a parabola that can be directed upward or downward depending on the sign of the coefficient a. If a > 0, the parabola is open upward, if a < 0, it is open downward.
To graph a parabola, it is important to consider key characteristics such as the vertex, axis of symmetry, and zeros of the function. The vertex of the parabola is determined by the coordinates (x₀, y₀), where x₀ = -b/(2a) and y₀ = f(x₀). The axis of symmetry passes through the vertical line x = x₀. The zeros of the function, or roots, can be found using the discriminant D = b² — 4ac. If D > 0, the function has two distinct roots; if D = 0, one root; if D < 0, no roots.
Properties of quadratic functions include having a minimum or maximum value, which is at the vertex of the parabola. It is also important to note that the parabola is symmetric about its axis of symmetry, which simplifies its construction.
Understanding quadratic functions and their graphs is important in mathematics and related fields such as physics and economics. These functions are used to model various processes and phenomena, so knowledge of their properties and the ability to work with graphs is an essential skill.
Conditions for increasing and decreasing a function
The derivative of a function is its rate of change at each point. It is analogous to the speedometer in a moving car, showing at what speed and in what direction (up or down) the value of the function is changing at a particular moment in time. Knowing the sign of the derivative, you can determine the behavior of the function: is it increasing, decreasing, or remains constant. This property is called the sufficient condition for monotonicity and is an important tool in function analysis. Understanding the derivative allows for a deeper understanding of the dynamics of function change and its application in various fields, such as physics, economics, and engineering.
If the derivative of a function f'(x) is greater than zero, this indicates that the function is strictly increasing over the entire given interval. This means that each subsequent value of the function exceeds the previous one. Consider, for example, the linear function f(x) = 2x + 1. In this case, the derivative is f'(x) = 2, indicating constant growth of the function. Thus, the function is increasing for all values of x. This example illustrates an important aspect of the analysis of functions and their derivatives, which plays a key role in mathematics and its applications.

Derivative of a function is negative when f'(x) < 0. This means that the function is decreasing, meaning its values decrease as the variable x increases. Consider the example of the function f(x) = -3x + 10. In this case, the derivative f'(x) = -3 remains negative for any value of x. This confirms that the function f(x) is decreasing over its entire domain. Decreasing functions are important in mathematical analysis and are used in various fields, such as economics and physics, to model processes where values decrease over time or as conditions change.

When the derivative of a function is zero, this means that the function does not change its value over a given interval. For example, in the case of a function f(x) = 5, its derivative f'(x) = 0 for all values of x. This results in the function's graph being a horizontal line. This result indicates that the function is constant and retains its value regardless of changes in the variable x. Understanding the properties of the derivative and its equality to zero is a key aspect in the analysis of functions and their behavior.

It should be emphasized that functions do not always behave the same throughout their domain. Some of them may exhibit different behavior: increasing on certain intervals and decreasing on others. This can be compared to moving along hilly terrain, where ascents and descents alternate. Such functions are classified as non-monotonic. Understanding the properties of non-monotonic functions is important in mathematics and can be useful in various fields, such as economics, physics, and statistics, where analyzing the behavior of functions is critical for decision making.
Let's study the characteristics of the non-monotonic function f(x) = sin(x). This function is periodic and oscillates between the values -1 and 1. It is not monotonic, since it increases on certain intervals and decreases on others.
The function f(x) has many local maxima and minima, which makes its behavior varied and interesting to analyze. The period of the sine function is 2π, which means that the function repeats its values every 2π units.
Changes in the values of a function occur on intervals such as [0, π], where it increases, and [π, 2π], where it decreases. These properties make the sin(x) function an important object in mathematics and physics, with applications in a variety of fields, from analyzing oscillations to solving differential equations.
Understanding the behavior of the function f(x) = sin(x) can be useful for learning more complex mathematical concepts and helps in visualizing waves and cyclic processes.
- it increases on (−π, 0), (0, π), (2π, 3π), and so on - in all intervals where its derivative f'(x) = cos(x) is positive;
- decreases on (0, π), (π, 2π), and other intervals where cos(x) takes negative values;
- reaches maxima and minima at the points where f'(x) = 0.
The derivative of the function f(x) = sin(x) is periodic, changing sign from positive to negative and vice versa. This results in the formation of a wave-like graph, in which the function alternates between increasing and decreasing phases. Such a graph illustrates the oscillations of the derivative, which is an important aspect in the analysis of functions and their behavior. Understanding this process helps in studying the properties of trigonometric functions and their derivatives, as well as in applying this knowledge in various areas of mathematics and physics.


Check out more:
Derivatives for Beginners: Mastering Measuring the Rate of Change of a Function
Derivatives are an important concept in mathematics, especially in function analysis. They allow you to determine how quickly the value of a function changes at a particular point. Studying derivatives helps you better understand the behavior of functions and their graphs, which has wide applications in various fields such as physics, economics, and engineering.
To begin studying derivatives, it is helpful to familiarize yourself with their definition. The derivative of a function at a point represents the limit of the ratio of the change in the function's value to the change in its argument as this change approaches zero. This process allows you to calculate the slope of the tangent to the graph of the function at a given point, which reflects the rate of change.
Learning to calculate derivatives requires familiarity with basic rules and techniques, such as the sum rule, product rule, quotient rule, and chain rule. Each of these rules simplifies the process of finding the derivative and allows you to quickly solve problems related to function analysis.
Studying derivatives also includes application to real-world problems. For example, in physics, derivatives are used to determine velocity and acceleration, and in economics, they are used for limit analysis and optimization. By mastering derivatives, you will be able to not only solve mathematical problems but also apply your knowledge in practical situations, which makes studying this material especially valuable.
Thus, understanding derivatives and their application opens new horizons in mathematics and other sciences, allowing for a deeper understanding of the changes and trends that surround us in everyday life.
How to Find Extremum Points of a Function
An extremum point is an important element of function graph analysis, representing the point at which the function changes direction: from increasing to decreasing or vice versa. At such points, the derivative of the function is either zero (if it exists) or does not exist, which can happen, for example, if there is a break or a kink in the graph. Determining extrema is a key step in mathematical analysis and can help in solving practical problems related to maximizing and minimizing various quantities.
There are two main types of extremum points: maximum and minimum points. To determine them, several key steps must be followed. First, you need to find the derivative of the function and establish where it is zero or does not exist. These values indicate potential extreme points. A second derivative analysis or extreme value tests should then be performed to determine whether each point found is a maximum or a minimum. Correctly identifying extreme points is important in mathematics and various fields of science and engineering, as they help identify key values of a function.
- First, find the derivative of the function;
- Determine where the derivative is zero or does not exist;
- Then, check whether the derivative changes sign at these points—a change in sign indicates the presence of a maximum or a minimum.
Consider the function f(x) = x³ − 3x² + 2 and analyze it. This function is a third-degree polynomial, and its graph exhibits characteristic features, such as the presence of maxima and minima, as well as inflection points. For a deeper understanding of the function's behavior, it is useful to calculate its derivative and find critical points. This will allow us to identify intervals of increasing and decreasing values, as well as local extrema. Understanding these aspects is important for applications in various fields, such as economics, physics, and engineering. Note how changing the coefficients affects the shape of the graph and its key characteristics.
Calculating the derivative is an important task in mathematics. Since the derivative of a sum of functions is equal to the sum of their derivatives, we can use the method of partial differentiation. To approach the problem, we will break the function into components and find the derivatives for each of them separately, and then sum the results. This method allows us to simplify the calculations and achieve an accurate result.
- the derivative of x³ is 3x²;
- the derivative of -3x² is -6x;
- the derivative of the constant 2 is 0.
Consider the derivative of the function f(x). We have the expression f'(x) = 3x² − 6x. This equation represents the derivative of the function, which allows us to analyze the behavior of the function f(x) as a function of the variable x. In particular, this derivative shows how the value of the function changes as x changes, which is important for studying extrema and inflection points of the function's graph.
Let's factor out the common factor to simplify the process of finding the derivative's zeros. We get: f'(x) = 3x (x − 2). This will allow us to more easily analyze the function's behavior and find critical points.
Determining the critical points of a function begins with finding a derivative that is equal to zero. In this case, we are considering the equation 3x(x − 2) = 0. To identify the values of x for which this product vanishes, we need to solve this equation. This will allow us to determine the critical points, which are important for analyzing the function's behavior.
This expression contains three factors: 3, x, and (x − 2). The numerical coefficient 3 can be ignored, since it does not affect the result of the expression. The product will be equal to zero only if at least one of the factors, namely x or (x − 2), is equal to zero. Let's consider this in more detail.
To find the values of x for which the product is zero, we need to solve the equations x = 0 and x − 2 = 0. The first equation gives us the value x = 0, and the second equation leads to the value x = 2. Thus, the expression is zero at x = 0 and x = 2.
This property of factors in algebraic expressions is an important aspect that allows us to find the roots of equations and analyze their behavior.
- x = 0 → the first factor is zero;
- x − 2 = 0 → hence we find x = 2.
The derivative of the function is zero at two points: x = 0 and x = 2. This means that extrema of the function are observed at these points, which may indicate minima or maxima. Analyzing these points is important for understanding the behavior of the function graph and its changes.
Let's study the change in the sign of the derivative to understand how it changes when passing through critical points. This will allow us to determine the nature of the extremum, be it a maximum or a minimum. To do this, take the values of x located just below and just above each critical point and substitute them into the derivative expression. This approach will help us analyze the behavior of the function at these points and draw conclusions about the presence of extrema.
- if the derivative changes from plus to minus, this means that the function initially increased and then began to decrease → maximum;
- if the derivative changes from minus to plus, the function initially decreased and then began to increase → minimum.
Consider the values of x that are slightly below and above the found points. Substitute these values into the derivative of the function f'(x) = 3x(x − 2). This will allow us to analyze the function's behavior in the neighborhood of these points and understand how it changes.
We'll start with the point x = 0 and set its values to -1 and 1. These values will help us analyze the function's behavior in the neighborhood of this point. Considering the values on both sides of zero will allow us to better understand how the function changes and also reveal its characteristics, such as continuity and derivatives. The analysis of such values is an important step in the study of mathematical functions and their graphs.
- Substitute x = −1 → f'(−1) = 3 × (−1) × (−1 − 2) = 9;
- Substitute x = 1 → f'(1) = 3 × 1 × (1 − 2) = −3.
The derivative of the function changes its sign from positive (9) to negative (−3), which indicates that at the point x = 0 the function reaches a local maximum. This shows that the function first increases and then begins to decrease, which is a characteristic sign of a local maximum. Analyzing the derivative allows us to identify critical points and understand the behavior of the function in the neighborhood of these points.
Consider the point x = 2 and the corresponding values 1 and 3. These values play an important role in analyzing the function at this point. By studying the behavior of the function near x = 2, we can determine how it changes and what conclusions can be drawn about its characteristics. The values 1 and 3 will help in further calculations and analysis.
- Substitute x = 1 → f'(1) = 3 × 1(1 − 2) = −3;
- Substitute x = 3 → f'(3) = 3 × 3(3 − 2) = 9.
The derivative of the function changes its sign from negative (−3) to positive (9) at the point x = 2. This indicates that the function reaches a minimum at this point. Minimum values of functions are important for analyzing their behavior and finding extrema.

Intervals of Increasing and Decreasing Functions
In the previous section, we looked at extremum points, including maxima and minima, and analyzed the behavior of the function on both sides of these points. Now, we will combine our findings and determine the intervals of monotonicity—intervals over which the function exhibits growth or decline. This will allow us to understand the function’s behavior in more detail and identify its key characteristics.
We examine the function f(x) = x³ − 3x² + 2. This function is a cubic polynomial expression that can be analyzed to determine its properties, such as zeros, extrema, and behavior at infinity. To better understand a function, we can find its derivative, which allows us to identify its maximum and minimum points. By analyzing the function's graph, we can visualize how it changes and where it intersects with the x-axis. Thus, the function f(x) = x³ − 3x² + 2 becomes an interesting object for further study, including its application in various areas of mathematics and physics.
- derivative: f'(x) = 3x(x − 2);
- critical points: x = 0 and x = 2;
- change of the function on intervals:
- (−∞, 0) — the function increases, since the derivative is positive;
- (0, 2) — the function decreases, the derivative is negative;
- (2, +∞) — the function increases again.
Our analysis demonstrates that the function has increasing sections on the intervals (−∞, 0) and (2, +∞), while on the interval (0, 2) the function decreases. This behavior of the function is confirmed by the sign of the derivative on each of the specified intervals.

To consolidate the material, independently determine the intervals of increasing and decreasing function f(x) = x⁴ − 4x². Start by calculating the derivative of the function, then find the critical points. Then, analyze the sign of the derivative on each of the resulting intervals to determine where the function is increasing and where it is decreasing. This approach will help you better understand the function's behavior and analysis methods.
Learn more about coding and new technologies in our Telegram channel. Subscribe to stay up to date with interesting content and updates!
Also learn:
- Number System Basics: From Counting Sticks to Machine Code
- Math for Juniors: What to Review Before a Data Science Interview
- Limits in Mathematics: What They Are and How to Solve Them

