Optimization is a fundamental concept in mathematics and engineering, concerned with determining the maximum or minimum values of a function. This process is essential across various fields, including physics, economics, and engineering design, where one often seeks to minimize costs, maximize efficiency, or optimize performance parameters.
At its core, the problem of optimization begins with a function f(x) defined on some interval, and the goal is to identify values of x at which f(x) attains either its highest or lowest value. Such points are called extrema. If a function reaches its highest value at some point within a given domain, that point is called a maximum; if it attains its lowest value, it is called a minimum. Depending on the context, one may be interested in either local extrema—where the function reaches a peak or valley within a small neighborhood—or global extrema, where the function attains its absolute highest or lowest value over the entire domain.
Optimization problems appear naturally in real-world applications. Engineers optimize material usage in construction, economists seek to maximize profit functions, and physicists analyze equilibrium conditions by finding extrema of energy functions. Understanding how to systematically identify these points and characterize their nature is an essential step before progressing to more advanced optimization techniques.
The goal of optimization is to determine the maximum and minimum values of a function over a given interval. These values, called the global maximum and global minimum, represent the highest and lowest function values within the interval and are essential in many mathematical and real-world applications.
One way to find these extrema is by drawing the graph of the function and visually identifying the highest and lowest points. While this can sometimes be helpful, it is not always practical. For many functions, sketching an accurate graph is difficult or even impossible without prior knowledge of the function’s behavior. Therefore, we seek a structured mathematical approach that allows us to determine maximum and minimum values without relying on graphing.
In some cases, it is possible to find extrema using algebraic methods, such as factoring or completing the square. However, these methods work only for specific types of functions and are not always applicable. To develop a more general and systematic approach, we rely on calculus, which provides powerful techniques for finding local and global extrema of a function.
Our approach begins with identifying all local maxima and minima, which are points where the function reaches a peak or a valley in a small neighborhood. Once we determine these points, we use these with some other information to find global maximum and global minimum values of the function.
A function f is said to have a local extremum at x=a if there exists δ>0 such that:
f has a local maximum at x=a if for all x∈(a−δ,a) and y∈(a,a+δ),
f(x)≤f(a)≥f(y).
This means that within a small interval around a, the function attains its highest value at x=a, making it a local peak.
Similarly,
f has a local minimum at x=a if for all x∈(a−δ,a) and y∈(a,a+δ),
f(x)≥f(a)≤f(y).
This means that within a small neighborhood around a, the function attains its lowest value at x=a, forming a local valley.
These definitions formalize the idea that a local maximum is a peak, while a local minimum is a valley, both occurring within a small region of the function's domain.
In this definition it does not matter whether the function is continuous or distcontinuous at a. This is valid for any possibility.
To check whether a point x=a is a local maximum, we compare f(a) with f(a+δ) and f(a−δ) for a small positive number δ. This is quite a practical approach. Our goal is to show that:
f(a−δ)≤f(a)≥f(a+δ)
for every sufficiently small δ. This ensures that as δ gets arbitrarily small, f(a) remains greater than or equal to the values of the function at nearby points.
Similarly, for a local minimum, we must show:
f(a−δ)≥f(a)≤f(a+δ)
for all sufficiently small δ, ensuring that f(a) is the smallest function value in its neighborhood.
Consider the function
f(x)=x(2−x).
We check whether it has a local maximum at x=1.
First, we evaluate:
f(1)=1(2−1)=1.
Now, for a small δ>0, compute f(1+δ):
f(1+δ)=(1+δ)(2−(1+δ))=(1+δ)(1−δ).
Expanding,
f(1+δ)=1+δ−δ−δ2=1−δ2.
Since δ2>0 for any δ=0, we see that:
f(1+δ)=1−δ2<1=f(1).
Similarly, compute f(1−δ):
f(1−δ)=(1−δ)(2−(1−δ))=(1−δ)(1+δ).
Expanding,
f(1−δ)=1−δ+δ−δ2=1−δ2.
Again, since δ2>0,
f(1−δ)=1−δ2<1=f(1).
Since both f(1+δ) and f(1−δ) are less thanf(1) for every sufficiently small δ, we conclude that x=1 is a local maximum of f(x).
The above method to check whether a point is a local maximum or minimum is valid for any function. Let us now consider a smaller class of functions: those that are continuous but may be non-differentiable at some points. For this class of functions, we can use derivatives to quickly identify all local maxima and minima.
Let f be a continuous function, possibly non-differentiable at a countable number of points, defined on an interval (a,b). It turns out that if a function has a local extremum at some point, then either its derivative there vanishes or does not exist. However, the converse is not true—a point where f′(x)=0 or does not exist may not necessarily be a local extremum.
At a local maximum, the function changes its behavior from increasing to decreasing. This means that f′ must change from positive to negative. At the maximum itself, f′ may be zero or may not exist.
Similarly, at a local minimum, the function changes from decreasing to increasing, meaning f′ must change from negative to positive. Again, at the minimum itself, f′ may be zero or may not exist.
Example 1:f(x)=∣x∣
The function f(x)=∣x∣ is continuous but not differentiable at x=0. Its derivative is:
f′(x)={1,−1,x>0x<0
At x=0, f′does not exist. Checking the behavior of f′, we see that as x increases past 0, f′ changes from negative to positive, indicating that f(x) is transitioning from decreasing to increasing. Thus, x=0 is a local minimum, even though f′ does not exist there.
Example 2:g(x)=x2
For g(x)=x2, the derivative is:
g′(x)=2x.
At x=0, we have g′(0)=0.
For x<0, g′(x)<0, so the function is decreasing.
For x>0, g′(x)>0, so the function is increasing.
Since g′(x) changes from negative to positive at x=0, we conclude that x=0 is a local minimum.
From these two examples, we understand that at a local extremum, the derivative either vanishes or does not exist. To determine whether a critical point is an extremum, we just need to check whether f′ changes sign around that point.
Now consider the function f(x)=x3. Its derivative is
f′(x)=3x2.
At x=0, we compute
f′(0)=3(0)2=0.
However, x=0 is not a local extremum. To see why, observe the sign of f′(x) on both sides of x=0:
For x>0, we have f′(x)=3x2>0.
For x<0, we also have f′(x)=3x2>0.
Since f′(x) is positive on both sides of x=0, the function does not change from increasing to decreasing or vice versa. Instead, f(x) is strictly increasing for all x, meaning x=0 is neither a local maximum nor a local minimum.
This example illustrates that having f′(x)=0 at a point does not necessarily mean the function has a local extremum there. The behavior of the derivative around that point must also be examined.
To find all local maxima and minima of a function in a given interval, there are three primary methods: the first derivative test, the second derivative test, and the higher-order derivative test. We begin with the first derivative test, which we have already described conceptually. Here, we present it in a more algorithmic manner for systematic application.
Let f be a continuous function on an open interval (a,b), possibly non-differentiable at some points. The first derivative test consists of the following steps:
Compute the derivative and find all critical points
Recall that a critical point of f is any point c in (a,b) where either
f′(c)=0orf′(c) does not exist.
Compute f′(x) and solve for f′(x)=0.
Identify points where f′(x) does not exist.
Plot these critical points in ascending order on the real number line and analyze the sign of f′(x) around them
Mark the critical points on a number line.
Choose test points in each subinterval formed by these critical points.
Determine the sign of f′(x) at these test points and construct a sign graph for f′(x).
Make conclusions based on the sign changes of f′(x):
If f′(x)changes sign from positive to negative at x=c (i.e., f′>0 for x<c and f′<0 for x>c), then f has a local maximum at x=c. This corresponds to the function changing from increasing to decreasing.
If f′(x)changes sign from negative to positive at x=c (i.e., f′<0 for x<c and f′>0 for x>c), then f has a local minimum at x=c. This corresponds to the function changing from decreasing to increasing.
If f′(x) does not change sign at x=c (i.e., f′>0 on both sides or f′<0 on both sides), then f is monotonic near x=c, and there is no local extremum at x=c.
In the previous discussion, f was assumed to be a continuous function, possibly non-differentiable at some points. The second derivative test, however, applies to a smaller class of functions—those that are differentiable in an interval.
Let f be a differentiable function on an open interval (a,b). The idea is the same as before:
First, we compute f′(x) and find all points where f′(x)=0. These points are called critical points.
Unlike the first derivative test, where we examined sign changes in f′, we now differentiate f′ again to obtain the second derivativef′′(x).
We check the sign of f′′(x) at each stationary point (a critical point where f′(x)=0).
Classification Using f′′(x):
If f′′(s)>0 at a stationary point s, then f is concave upward at s, indicating a local minimum.
If f′′(s)<0 at a stationary point s, then f is concave downward at s, indicating a local maximum.
If f′′(s)=0, the test is inconclusive—the point may be a local extremum, or it may not. Further analysis (such as higher derivatives or another method) is needed.
Rationale Behind the Test:
At a local minimum, the function transitions from decreasing to increasing, implying an upward curvature—which means f′′(x)>0. Similarly, at a local maximum, the function transitions from increasing to decreasing, implying a downward curvature—which means f′′(x)<0. However, when f′′(x)=0, the curvature test fails, and further investigation is required.
Handling the Case When f′′(s)=0 at a Stationary Point
If f′′(s)=0 at a stationary point s, the second derivative test becomes inconclusive. In such cases, we need an alternative method to determine whether s is a local maximum, a local minimum, or neither.
Consider the function:
f(x)=x4.
We compute its derivatives:
f′(x)=4x3.
Setting f′(x)=0, we find the stationary point:
4x3=0⇒x=0.
Now, compute the second derivative:
f′′(x)=12x2.
At x=0:
f′′(0)=12(0)2=0.
Since f′′(0)=0, the second derivative test is inconclusive.
Alternative Approaches
Fallback to the First Derivative Test
Checking the sign of f′(x) on either side of x=0, we see that:
For x<0, f′(x)<0 (decreasing).
For x>0, f′(x)>0 (increasing).
Since f(x) changes from decreasing to increasing, x=0 is a local minimum.
Checking the Sign of f′′(x) Around s
Even though f′′(0)=0, we examine the sign of f′′(x) for x near 0:
For x>0, f′′(x)=12x2>0.
For x<0, f′′(x)=12x2>0.
Since f′′(x) is positive on both sides, the function is concave upwards, confirming x=0 as a local minimum.
General Rule When f′′(s)=0:
If f′′(x) is positive on both sides of s, then s is a local minimum (concave up).
If f′′(x) is negative on both sides, then s is a local maximum (concave down).
If f′′(x)changes sign (from + to − or vice versa), then s is neither a maximum nor a minimum, but an inflection point—indicating a change in concavity.
Thus, when the second derivative test is inconclusive (i.e., f′′(s)=0), checking the sign of f′′(x) in a small neighborhood of s is an effective alternative approach.
When the second derivative test fails for a stationary point s, meaning we obtain f′′(s)=0, we may apply a more general method known as the nth derivative test. This test can help classify s as a local maximum, local minimum, or neither when lower-order derivatives provide no information.
nth Derivative Test
We assume that f is differentiable at least n times in a neighborhood of s. If the second derivative test fails at s, meaning f′′(s)=0, we continue differentiating higher-order derivatives until we find the first nonzero derivative.
Compute the third derivativef′′′(x) and evaluate at x=s:
f′′′(s).
If f′′′(s)=0, we differentiate again.
Compute the fourth derivativef(4)(x) and evaluate at x=s:
f(4)(s).
If f(4)(s)=0, we differentiate again.
Continue this process until we obtain the first nonzero derivative at some order n, i.e.,
f(n)(s)=0.
Conclusion Based on n:
If n is odd, then s is a point of inflection (not a local extremum). The function does not attain a local maximum or minimum at s, but instead undergoes a change in concavity.
If n is even, then the sign of f(n)(s) determines the nature of the extremum:
If f(n)(s)>0, then s is a local minimum.
If f(n)(s)<0, then s is a local maximum.
Example: f(x)=x4
Consider f(x)=x4, for which we already established that the second derivative test fails at x=0. Applying the nth derivative test:
Compute derivatives:
f′(x)=4x3,f′′(x)=12x2,f′′′(x)=24x,f(4)(x)=24.
Evaluate at x=0:
f′(0)=0,f′′(0)=0,f′′′(0)=0,f(4)(0)=24.
Since f(4)(0)=0 and n=4 (even), we check the sign:
f(4)(0)=24>0.
Since n is even and f(n)(0)>0, x=0 is a local minimum.
Since f(5)(0)=0 and n=5 (odd), we conclude that x=0 is a point of inflection, not a local extremum.
Conclusion
The nth derivative test is a more general tool that applies when the second derivative test fails. It provides a systematic way to determine whether a stationary point is a local extremum or a point of inflection. If the first nonzero derivative beyond the second is:
Of even order (n is even), we use its sign to classify the point as a local minimum or maximum.
Of odd order (n is odd), the point is an inflection point, not an extremum.
The value f(c) is called the global maximum value of f.
f(x) has a global (absolute) minimum at x=d if
f(d)≤f(x)for all x∈D.
The value f(d) is called the global minimum value of f.
A function may have local extrema that are not global, meaning they are extreme only within a small neighborhood but not over the entire domain. The global extrema are the true highest and lowest values of the function across its entire domain.
To find the global extremum, we have two approaches: one through algebraic methods, which apply to many functions, and the other through derivatives, which we will focus on first.
We distinguish two cases:
When f is defined on a closed interval.
When f is defined on an open interval.
Case 1: Function Defined on a Closed Interval
Let f be a continuous function defined on a closed interval[a,b]. The process to find the global extrema is straightforward:
Find all points of local extrema by solving f′(x)=0 or where f′(x) does not exist. Let these points be c1,c2,…,cn inside (a,b).
Evaluate f(x) at these local extrema and at the endpointsa and b.
The global maximum occurs at either one of the local maxima or one of the endpoints.
The global minimum occurs at either one of the local minima or one of the endpoints.
Thus, the global maximum value is given by:
M=max{f(a),f(c1),f(c2),…,f(cn),f(b)}.
Similarly, the global minimum value is:
m=min{f(a),f(c1),f(c2),…,f(cn),f(b)}.
Since f is continuous on a closed interval, the Extreme Value Theorem guarantees that f attains both a global maximum and a global minimum at some points in [a,b].
Case 2: Function Defined on a Open Interval
For an open interval, we may not have a global minimum or maximum. The absence of closed endpoints means the function may approach extreme values without actually attaining them. To see this, consider an example.
Let
f(x)=x3,x∈(−1,2).
What are the maximum and minimum values of f in this interval?
From our previous knowledge, we recognize that f(x)=x3 is a strictly increasing function. This means that as x increases, f(x) also increases. The function takes values in the range:
(f(−1),f(2))=(−1,8).
This is an open interval, meaning the function values approach −1 and 8 but never actually attain them.
Is 8 the maximum value of f? No, because the interval is open at x=2, meaning x=2 is not included in the domain. Thus, the function never actually attains the value 8 for any c∈(−1,2).
Similarly, the function does not attain −1 as a minimum value, because x=−1 is also not included in the domain.
Thus, f(x)=x3 on (−1,2) has no global maximum value and no global minimum value.
In contrast consider the following example:
Consider the function
f(x)=x2−2x,x∈(−1,2).
What are the maximum and minimum values of f in this interval?
Since the function is defined on an open interval, we must carefully analyze whether the function attains a maximum or minimum.
From the graph of f(x)=x2−2x, we observe that the function achieves a minimum value at x=1. Substituting x=1,
f(1)=(1)2−2(1)=1−2=−1.
Thus, the global minimum value is−1 at x=1.
Now, does the function attain a global maximum? The function is increasing for x>1, and if the left endpoint x=−1 were included, it would serve as the maximum point. However, since x=−1 is not part of the domain, the function does not actually attain this value. Instead, we analyze its limit:
x→−1+limf(x)=(−1)2−2(−1)=1+2=3.
Thus, the function approaches 3 but never actually attains it. This means that there is no global maximum value.
Procedure to Calculate Global Extrema for Functions on Open Intervals§
For functions defined on open intervals, we must be extra cautious at the endpoints, as the function may not attain extreme values there. The process follows these steps:
Find all local extrema by solving f′(x)=0 or checking where f′(x) does not exist. Suppose the local maxima occur at points c1,c2,…,cn and the local minima occur at points d1,d2,…,dm.
Analyze the function's behavior at the endpoints by computing
p=x→a+limf(x),q=x→b−limf(x).
Compare all function values at the local extrema and the endpoint limits:
The global maximum is determined by
M=sup{f(c1),f(c2),…,f(cn),p,q}.
If this maximum is attained at some x in (a,b), we declare it as the global maximum. If it is never attained, there is no global maximum.
The global minimum is determined by
m=inf{f(d1),f(d2),…,f(dm),p,q}.
If this minimum is attained at some x in (a,b), we declare it as the global minimum. Otherwise, no global minimum exists.
Since the function is not defined at x=a and x=b, the values p and q provide only approaching behavior, not actual function values. If the function diverges at an endpoint, meaning p=±∞ or q=±∞, no finite global extremum can exist at that endpoint.
Unlike the closed interval case, where the Extreme Value Theorem guarantees the existence of global extrema, in an open interval, global extrema may fail to exist. Thus, we must carefully consider the endpoint limits when evaluating the function's overall behavior.
The Single Critical Point Theorem states that if a function has exactly one critical point in an interval, and that point is a local extremum, then it must also be the global extremum.
Theorem Statement
Let f be a differentiable function on an interval I, and suppose that f has exactly one critical point c in I (i.e., f′(c)=0 and there are no other critical points in I). Then:
If f has a local maximum at c, then f(c) is the global maximum of f over I.
If f has a local minimum at c, then f(c) is the global minimum of f over I.
Proof
Since f has only one critical point, it must be monotonic on both sides of c. This means that the derivative does not vanish or change direction anywhere else in I. If f is increasing before c and decreasing after c, then c is the highest point in I, making it the global maximum. Similarly, if f is decreasing before c and increasing after c, then c is the global minimum.
This conclusion follows from the First Derivative Test: since f′ has only one zero, f(x) cannot attain a greater or smaller value at any other point in I. Thus, the local extremum at c must also be the absolute extremum.
■
This theorem is particularly useful in situations where checking endpoints or analyzing the global behavior of the function might be tedious. If we establish that a function has exactly one local extremum within an interval, the theorem guarantees that this extremum is also the global extremum, eliminating the need to verify function values at endpoints or evaluate additional limits.
For example, consider the function f(x)=xx for x>0. Previously, we found that the only critical point occurs at x=e1, obtained by solving f′(x)=xx(1+lnx)=0, which leads to lnx=−1 and hence x=e−1. By analyzing the sign of f′(x), we concluded that x=e1 is a local minimum.
Since this function is defined on an open interval(0,∞), we might typically check the behavior of f(x) as x→0+ and x→∞ to determine whether x=e1 is indeed the global minimum. However, applying the Single Critical Point Theorem, we recognize that x=e1 is the only critical point in (0,∞). Since it is a local minimum and no other extrema exist, it must also be the global minimum by virtue of the theorem.
Thus, we do not need to explicitly evaluate the limiting values x→0+limxx or x→∞limxx, nor do we need to compare function values across the interval. The theorem allows us to immediately conclude that
x>0minf(x)=f(1/e)=e−1/e.
This application of the Single Critical Point Theorem not only confirms the correctness of our conclusion but also eliminates unnecessary computations that would otherwise be required to establish the global minimum.
We use several algebraic techniques to evaluate the maximum and minimum values of functions, depending on the nature of the function itself. One common technique is transforming the expression through algebraic manipulation into a form where only a single term depends on x, whose range is either known or easy to compute. By isolating this term, we can directly determine the range of the entire function without differentiation.
Consider f(x)=2+sinx1,x∈R, let us find the maximum and minimum value of this fucntion.
The function depends on x only through sinx. Since the well-known range of the sine function is
−1≤sinx≤1,
we transform the denominator:
2+sinx.
Adding 2 throughout the inequality gives:
1≤2+sinx≤3.
Now, reciprocating (which reverses the inequality because all terms are positive):
31≤2+sinx1≤1.
Thus, the range of f(x) is:
[31,1].
To determine when these values occur, we recall that the function f(x)=2+sinx1 reaches its global maximum when its denominator is smallest, which happens when sinx=−1. The sine function achieves sinx=−1 at
x=2nπ−2π,n∈Z.
Substituting sinx=−1 into f(x), we get:
f(x)=2+(−1)1=11=1.
Thus, the global maximum value is 1, occurring at:
x=2nπ−2π,n∈Z.
Similarly, the function reaches its global minimum when its denominator is largest, which happens when sinx=1. The sine function achieves sinx=1 at
x=2nπ+2π,n∈Z.
Substituting sinx=1 into f(x), we get:
f(x)=2+(1)1=31.
Thus, the global minimum value is 31, occurring at:
x=2nπ+2π,n∈Z.
This confirms that without using derivatives, we can algebraically determine the global extrema of the function solely by analyzing the range of sinx and applying transformations.
Application of the AM-GM Inequality in Finding Maximum and Minimum Values§
The Arithmetic Mean - Geometric Mean (AM-GM) Inequality states that for any set of non-negative real numbers a1,a2,…,an,
na1+a2+⋯+an≥na1a2…an,
with equality holding if and only ifa1=a2=⋯=an.
This inequality is particularly useful in optimization problems where the function consists of non-negative terms whose product is constant or has a simple bound. By applying AM-GM, we can establish lower or upper bounds on the function without using derivatives.
The Cauchy-Schwarz inequality and its lemma are fundamental results in inequalities that can be ingeniously applied to functions to determine their maximum and minimum values. These results allow us to bound expressions involving sums and products, making them powerful tools in optimization problems without requiring calculus.
Cauchy-Schwarz Inequality
For any real numbers a1,a2,…,an and b1,b2,…,bn, the following inequality holds:
In engineering design, optimizing material usage is crucial for cost efficiency. Suppose you are tasked with designing a closed cylindrical tin box intended to store powdered milk. The box must have a fixed volume of V cubic units, but you have the freedom to choose its radius and height. The goal is to minimize the amount of tin used in constructing the box, as more material results in higher manufacturing costs.
Since the amount of tin required is directly proportional to the surface area of the cylinder, minimizing the tin usage translates to minimizing the total surface area while ensuring that the volume remains V. Thus, the problem reduces to determining the optimal values of the radius and height that achieve this minimum.
To proceed with the optimization, let us define the necessary mathematical expressions. Let the radius of the cylindrical box be r and the height be h. The volume of the box is given by
V=πr2h
Since the volume is fixed, the variables r and h are not independent; they must satisfy this equation. We refer to such an equation as a constraint because it restricts our choice of r and h.
Now, let S denote the total surface area of the cylindrical box. The surface area consists of two circular ends and the lateral curved surface. Hence,
S=2πrh+2πr2
Here, S is a function of both r and h, but we can express it in terms of a single variable using the constraint equation. The choice of which variable to eliminate is arbitrary; here, we eliminate h. Solving for h from the volume equation,
h=πr2V
Substituting this into the expression for S,
S=2πr⋅πr2V+2πr2
Simplifying,
S=r2V+2πr2
Now, S is expressed as a function of r alone. The problem reduces to finding the value of r that minimizes this function, ensuring the optimal design of the cylindrical box using the least amount of tin.
To find the optimal value of r that minimizes the surface area S, we differentiate S with respect to r:
drdS=drd(r2V+2πr2)
Differentiating term by term,
drdS=−r22V+4πr
To find the critical points, we set drdS=0:
−r22V+4πr=0
Solving for r,
r3=4π2V=2πVr=(2πV)31
To confirm that the critical point we found corresponds to a minimum, we apply the first or second derivative test. We apply second derivative test here for its simplicity in this problem:
We compute the second derivative of S:
dr2d2S=drd(−r22V+4πr).
Differentiating term by term,
dr2d2S=r34V+4π.
Since both terms are positive for all r>0, we conclude that
dr2d2S>0for all r>0.
Thus, S is concave upward at the critical point, confirming that it is a local minimum. By Single Critical Point Theorem we can claim that it is also the global minimum.
Once r is determined, we substitute it back into the volume constraint equation to find h:
h=πr2V
Substituting r=(2πV)31,
h=π(2πV)32V
Simplifying,
h=2(2πV)31
Thus, the optimal dimensions for minimizing the tin used are:
r=(2πV)31,h=2(2πV)31
This result indicates that the height of the optimal cylinder is exactly twice its radius. Hence, for a fixed volume, the most efficient cylindrical tin box is one where its height is twice the radius, ensuring minimal material usage.
Optimization is the process of finding the best possible value of a quantity while satisfying given conditions or constraints. In mathematics and engineering, this typically involves maximizing or minimizing a function subject to certain constraints. Problems in optimization arise in a wide range of applications, such as minimizing material costs in manufacturing, maximizing efficiency in transportation, or even determining the optimal shape for a physical structure.
The general procedure to solve an optimization problem follows these steps:
Identify the quantity to be optimized:
Determine what needs to be maximized or minimized (e.g., cost, surface area, time, distance).
Assign a variable to represent this quantity.
Express the quantity as a function:
Identify parameters relevant to the problem and express the quantity to be optimized as a function of these parameters.
This function may depend on multiple variables.
Find the constraints:
Constraints are given conditions that restrict the values of the parameters.
These may come from physical, geometrical, or problem-specific conditions.
If the function depends on two variables, we need one constraint to express one variable in terms of the other. If it depends on three variables, we need two constraints, and so on.
Eliminate extra parameters:
Use the constraints to express the function in terms of a single variable by eliminating extra parameters.
Differentiate and find critical points:
Compute the derivative of the function with respect to the remaining variable.
Solve for the critical points by setting the derivative equal to zero.
Confirm whether the critical point is a minimum or maximum:
Use either the first derivative test (checking sign changes) or the second derivative test (checking concavity) to confirm whether the critical point corresponds to a minimum or maximum.
Interpret the result:
Verify that the solution satisfies all constraints and makes sense in the context of the problem.
Section 5 of 8 · Application of Derivatives
Mark this section complete when you have worked through its proofs.
Type any topic, theorem, or concept to jump directly to the section.