- Learn
- Mathematics
- University Math
- Calculus 1
- L'Hôpital's Rule and Optimization
L'Hôpital's Rule and Optimization
Optimization Problems and L'Hôpital's Rule
BeginnerLesson 6 of 10 in Calculus 1 Course
What you will learn
- Identify the quantity to make as large or as small as possible, express it as a function of one variable using the given conditions, and decide which values of that variable make sense.
- Build the objective function from the situationName the objective and the constraint, draw and label a diagram, and use the constraint to write the objective in terms of a single variable.
- Decide which values make senseFind the domain of the objective function from the situation, decide whether its endpoints belong to it, and handle answers that must be whole numbers.
- Build the objective function from the situation
- Locate the optimal value of a one-variable objective function on closed, open and unbounded intervals, and give a valid reason why the value found is the best possible.
- Optimize on a closed intervalUse the Extreme Value Theorem and the closed interval method, and compare the values at critical numbers and endpoints, where the optimum can lie.
- Optimize on open or unbounded intervalsShow that an optimum exists when the interval is open or unbounded, using derivative signs, concavity or end behavior, and recognize problems that have no optimum.
- Optimize on a closed interval
- Apply the modeling and justification steps to typical problems about shapes and distances, motion, light and electricity, and revenue, cost and profit, and interpret each answer in its context.
- Optimize shapes and distancesUse area, volume and distance formulas to set up and solve problems about boxes, inscribed figures and closest points, using exact values and correct units.
- Optimize motion, travel time and physical systemsFind the greatest height of a moving object, the fastest route when speeds differ, and the greatest power in a simple circuit, and connect the least-time condition with the refraction of light.
- Maximize profit and minimize costBuild revenue, cost and profit functions from prices and demand, use marginal reasoning to locate optimal quantities and prices, and minimize average cost.
- Optimize shapes and distances
- Recognize when the form of a limit does not decide its value, apply L'Hôpital's rule correctly to quotients, and rewrite products, differences and powers so the rule can be used.
- Recognize indeterminate formsTell indeterminate forms from forms whose limit is already decided, avoid treating forms as numbers, and try algebra before reaching for a new rule.
- Apply L'Hôpital's rule to 0/0 and ∞/∞ limitsState the rule with its conditions, use it step by step and repeatedly, explain why it works, and recognize when it gives no answer.
- Rewrite other indeterminate formsTurn products, differences and powers with indeterminate forms into quotients, and use logarithms for the forms 1^∞, 0⁰ and ∞⁰.
- Recognize indeterminate forms
- Use limits, often with L'Hôpital's rule, to rank logarithmic, power and exponential functions by their growth as , and use the ranking to evaluate limits and judge models.
- Rank logarithms, powers and exponentialsDefine faster growth and equal growth rates with limits of ratios, prove the standard ranking with L'Hôpital's rule, and avoid judging growth from a few values.
- Use growth rates to evaluate limits and compare modelsFind limits by identifying the dominant term, use decaying exponentials and logarithms near zero, and judge algorithms and models by their long-run growth.
- Rank logarithms, powers and exponentials
L'Hôpital's Rule and Optimization study guide
1Turn a word problem into a function to optimize
An optimization problem starts with a choice: which quantity should be largest or smallest? The formula for that quantity must respect the limits of the situation. A fencing problem shows how a fixed total ties two changing lengths together. Cutting a sheet and designing a can then show why the algebraic domain can be much larger than the useful one, and why whole-item answers need a final comparison.
1.1 From a word problem to one variable
Optimization means finding the largest or smallest possible value. The objective is the quantity you want to improve; a constraint is a condition that every allowed choice must satisfy. A fixed amount of fencing is a constraint. The area enclosed by that fencing can be the objective.
Name the quantities
Read for what is fixed and what can change. Give the changing quantities names and units, then draw a labeled sketch when the shape or route matters. Write the objective before trying to eliminate variables. This keeps a convenient equation from being mistaken for the quantity the problem asks you to optimize.
A rectangular pen lies along a straight river. There are 600 m of fencing, and the river side needs no fence. Let be the depth perpendicular to the river and the length parallel to it, both in meters. A sketch has two fenced sides labeled and one labeled ; the fourth side is the river. The area and fencing equations are
The first expression varies; the second fixes the available total. Maximizing the fencing expression would answer no useful question because it already equals 600 for every feasible pen.
Substitute the constraint
Solve the fencing equation for the variable that is easiest to remove:
Substituting into the objective gives
Now every input determines a complete pen. The formula also has the right units: meters multiplied by meters gives square meters. Nonnegative side lengths require . The endpoints describe zero-area shapes and can be included when comparing areas.
Do not differentiate while holding constant. Here a deeper pen uses more of the fixed fencing total, so its parallel side must shorten. The substitution includes that change in the function you differentiate.
Find and interpret the best choice
Differentiate the one-variable formula:
Setting the derivative to zero gives . Compare the area there with the endpoint areas:
Since the area is continuous on the closed interval, the largest of these values is the absolute maximum. Recover the other dimension from the constraint: . The pen is 150 m deep and 300 m along the river, enclosing 45,000 m². Its fencing check is m.
Choose an input that keeps the work simple
The input need not be the shorter side. Eliminating instead gives
Its derivative is , so it reaches its maximum at and gives the same dimensions. Both models describe the same choices with a different input. Keep the variable definition fixed throughout your work: a number found for is the parallel side, not the depth.
A dimensions question needs both lengths. A largest-area question needs the area. Report the requested quantities with their units and use the constraint to recover any variable removed during setup.
Key Takeaways
- The objective names what is maximized or minimized; the constraint limits the allowed choices.
- Use the constraint to make the objective a function of one variable before differentiating.
- Define variables and units, then find the feasible interval.
- Recover eliminated variables and answer the question in context.
1.2 The feasible interval and whole-item answers
A formula can accept inputs that the situation cannot. The feasible domain keeps only meaningful choices. Determine it from lengths, time, available material, capacity, and whether the variable measures a continuous quantity or counts separate items.
Cut an open box from a sheet
Cut a square of side cm from each corner of a 24 cm square sheet. Folding the flaps makes a box of height and square base side . Thus
The cuts cannot be negative, and the base width cannot be negative:
Together these give . At either endpoint the volume is zero. A physical box with positive volume has , but including the flat endpoint shapes makes comparison easy and leaves the positive maximum unchanged.
The polynomial itself is defined beyond 12. For instance, . That positive result cannot describe a box: the base length would be negative. The polynomial even grows without bound for large positive inputs, so optimizing it on all real numbers would completely miss the physical problem.
Some domains have no finite endpoints
A closed cylindrical can must hold 1000 cm³. With radius and height in centimeters, the volume constraint gives
Radius zero is impossible, while any positive radius gives a positive height. Hence . The two ends and curved side have total area
There is no endpoint value at zero to put into this formula. Instead, as because the side term diverges. As , the ends' area grows without bound. These limits help establish a minimum despite the open, unbounded domain.
Keep only feasible candidates
For the sheet box,
The algebra gives zeros at 4 and 12. Only 4 is inside the interval; 12 is already an endpoint. In another problem, a negative length or a price above the range allowed by demand must be discarded even when it solves the derivative equation.
When the answer must be a whole number
Suppose profit from items is dollars. Calculus on the continuous model gives at . The graph is concave down, increasing before this point and decreasing after it. The best whole-number choice must therefore be one of the two adjacent integers:
Choose 11 items for a profit of $253. Compare the objective values instead of rounding the input without checking. This neighboring-integer step relies on knowing where the continuous objective rises and falls; with several peaks, inspect all relevant feasible candidates.
Closed, bounded domains and open or unbounded domains need different justifications. Establish which kind you have during setup, before deciding how to prove that an optimum is attained.
Key Takeaways
- Find the domain from the situation as well as from the formula.
- Decide whether zero-size endpoint shapes are included or excluded.
- An excluded endpoint is handled by a limit, not by substituting it.
- Discard algebraic candidates outside the feasible domain.
- For a single-peaked continuous model with integer inputs, compare the feasible integers on either side of the peak.
2Find and justify the absolute maximum or minimum
A zero derivative identifies a candidate for the best value; deciding whether it wins requires the whole domain. On a closed interval, continuity guarantees both absolute extrema and lets you compare a finite list of values. Open and unbounded intervals need a different argument. Derivative signs, concavity across the interval, and limits at its ends show whether a candidate is best or whether the requested optimum does not exist.
2.1 Compare candidates on a closed interval
An absolute maximum is at least as large as every other value on the domain. An absolute minimum is at most as large as every other value. These are comparisons across the whole interval, while a local extremum compares only nearby values.
Why a finite comparison works
The Extreme Value Theorem says that a continuous function on a closed, bounded interval attains both absolute extrema. Continuity matters: a break can remove a value the function approaches. The included endpoints matter because a best value may occur at an edge.
An interior absolute extremum must be a critical number, where the derivative is zero or does not exist and the function is defined. This gives the closed interval method:
- Check continuity on .
- Find all critical numbers in .
- Evaluate the original function at those numbers and at both endpoints.
- Select the largest and smallest outputs.
The comparison itself justifies the result. A second derivative test is unnecessary for this method.
Work through the sheet box
For on , continuity follows because the objective is a polynomial. Product and chain rules give
The only interior critical number is 4. Evaluate:
The maximum volume is 1024 cm³. The base is 16 cm by 16 cm and the height is 4 cm. The minimum value zero occurs at both endpoints.
A stationary point can give the minimum
Cut 20 cm of wire into two pieces. Use cm for a square and cm for a circle, allowing either piece to have length zero. The square side is and the circle radius is , so
The derivative equation gives . Its total area is cm². At the endpoints, cm² and cm². The critical number gives the minimum; all the wire in a circle gives the maximum. Stopping after solving the derivative equation would confuse the two tasks.
Include points with no derivative
For on ,
The derivative is never zero, but it is undefined at zero, where the function exists. The candidates give , , and . The absolute minimum is zero and the absolute maximum is 4.
An extreme value can be attained more than once. On , reaches its maximum value 1 at both and . Distinguish the output value from the input or inputs that produce it when writing your answer.
Key Takeaways
- Continuity on a closed, bounded interval guarantees both absolute extrema.
- Compare original function values at every interior critical number and both endpoints.
- Critical numbers include points where the function exists but its derivative does not.
- An extreme output value can occur at several inputs.
2.2 Prove an optimum on an open or unbounded domain
A continuous function can fail to reach a best value when the domain has a missing endpoint or extends forever. For on , values grow without bound near zero. They approach 1 near the other end but never reach it. There is neither an absolute maximum nor an absolute minimum.
Use derivative signs across the domain
For a continuous function on an interval, suppose is a critical number. If the derivative is negative everywhere left of and positive everywhere right of it, the function falls toward and rises away from it. This proves an absolute minimum. Reversing the signs proves an absolute maximum.
A useful shortcut follows: if a continuous function on an interval has exactly one critical number and a local minimum there, that minimum is absolute. A local maximum works the same way. Count every critical number, including points with no derivative, before using this shortcut.
Minimize the material in a closed can
For the 1000 cm³ can, the area is for . Differentiate and solve:
Hence cm. To prove that this is best on the entire positive axis, check
The graph is concave up throughout the domain, so its stationary point is the absolute minimum. Substituting into the volume constraint gives cm, with surface area about 553.6 cm².
The global sign of the second derivative does the work here. A positive second derivative at just one stationary point establishes only a local minimum.
Read behavior at the ends
When a continuous function tends to positive infinity at both ends of an open interval, it must attain an absolute minimum between them. Find all critical numbers and compare their values. The can does this: extremely thin cans and extremely wide cans both use unbounded amounts of material.
On a half-open interval, include the endpoint that belongs to the domain. For on ,
It is positive before 1 and negative after 1, giving the absolute maximum . The absolute minimum is because every positive input gives a positive output. The limit zero at infinity is approached without supplying an extra input.
State when there is no best value
For rectangles of area 100 m², the perimeter is for . Its minimum is 40 m at the 10 m square, but there is no maximum: making one side arbitrarily long makes the perimeter arbitrarily large.
Likewise, on has a local maximum of 2 at , yet its values increase without bound far to the right. Its other critical number is 1. The local test at cannot settle an absolute maximum across this domain.
Key Takeaways
- An open or unbounded domain may have no absolute optimum.
- A derivative sign change across the whole interval proves an absolute extremum.
- Concavity throughout the interval turns a stationary point into an absolute extremum.
- If a continuous objective tends to positive infinity at both open ends, it attains a minimum.
- A local extremum alone does not establish a best value on the full domain.
- An unattained limiting value is not an extreme value.
3Solve optimization problems in geometry, physics and business
The same modeling steps work for a box, a route, a circuit, or a business. What changes is the objective: material, distance, time, delivered power, or profit. Work from the physical or financial meaning of each variable before differentiating. Geometry rewards choosing a simpler equivalent objective, travel problems require separate times for different speeds, and business problems depend on keeping revenue, cost, and profit distinct.
3.1 Use the right geometric objective
A geometric optimization starts with a labeled shape. Check which lengths are independent, which faces exist, and which formula measures what the question asks. An open-top box needs a base and four sides; a closed cylinder needs its side and two ends.
Use a volume constraint to minimize material
An open-top box with a square base must hold 32,000 cm³. Let be its base side and its height, in centimeters. The constraint and material area are
The four rectangles each have area . Substituting gives
Then gives , hence cm. The height is cm. Because throughout the domain, this is the absolute minimum. It uses cm². A lid would add another base area, changing the objective to and changing the optimum.
Replace a nonnegative objective by its square
A rectangle is inscribed in a semicircle of radius 10 cm, with its bottom side on the diameter. Put the circle's center at the origin. If the upper right corner has coordinate , its height is . The full width is , not , so
Since area is nonnegative, squaring preserves which inputs give the largest and smallest values. Work with
Set , giving the quadratic on . Its maximum is at , while both endpoints give zero. Thus cm. The full rectangle is cm wide and cm high, with area 100 cm². Squaring an objective with both positive and negative values would not preserve its ordering.
Minimize squared distance
To find the point on closest to , begin with the distance formula. Its square is simpler:
Differentiating this objective gives . It is negative before and positive after it, so the closest point is . The distance is , while the endpoint point has distance 3. Give the point as well as the distance if both are requested.
Match the fixed quantity to the question
With a fixed rectangle perimeter , the area is . Its maximum occurs at , making a square. With fixed area, a square instead minimizes perimeter. These statements concern different objectives and constraints.
Use consistent length units before building the model. Keep radicals, fractions, and exact through the derivative and comparison steps; round only the requested final dimensions, areas, volumes, or distances.
Key Takeaways
- Count only the faces or edges that exist in the shape.
- Use the constraint to eliminate a length before differentiating.
- Squaring preserves extrema when the original objective is nonnegative.
- Squared distance often removes an unnecessary square root.
- Keep exact values until the final answer and distinguish length, area, and volume units.
3.2 Optimize height, time, and power
Physical problems ask for different kinds of best values. Height depends on time, travel time depends on a route, and delivered power depends on a circuit's resistance. Define the objective with units before taking a derivative.
Highest point of a vertical path
Ignoring air resistance, a ball launched upward at 19.6 m/s from 2 m above the ground has height
Its vertical velocity is . Setting this to zero gives s. Since throughout the flight, the height is greatest there: m. At the top the velocity is zero, but the downward acceleration is still −9.8 m/s². The time domain ends when the ball lands.
Fastest route with different speeds
A boat is 3 km offshore from the nearest shore point . Its destination is 8 km along a straight shore from . The rower moves at 3 km/h on water and 5 km/h on land. If the landing point is km from toward , the route takes
Each term is distance divided by its own speed. Total distance alone would ignore the time saved by faster walking.
Differentiate and solve:
so . Both sides are nonnegative. Squaring gives , hence km. Comparing h, h, and h proves the minimum. The best trip takes 2 hours 24 minutes.
If the destination is only 2 km along the shore, the derivative equation still gives 2.25, but this lies outside . Compare the endpoints instead: h and h. Rowing directly to the destination wins.
Connect the route to refraction
Let be the rowing path's angle from the perpendicular to the shore. Then . At the interior optimum, , so .
Light passing between two uniform media obeys the corresponding least-time condition:
This is Snell's law in terms of speeds. Both angles are measured from the perpendicular to the boundary, not from the boundary itself.
Greatest delivered electrical power
For battery voltage and positive internal resistance , the external resistance receives power
Its derivative is . It is positive for and negative for , so the absolute maximum occurs at and equals . A 12 V battery with internal resistance 2 Ω delivers a maximum of 18 W to a 2 Ω load.
Key Takeaways
- Maximum height occurs when vertical velocity is zero, with the maximum justified on the flight interval.
- Minimize total time by adding each distance divided by its speed.
- A route candidate must lie within the allowed landing interval.
- Snell’s law measures angles from the perpendicular to the boundary.
- In the battery model, delivered power is greatest when external and internal resistance match.
- Keep the units of distance and time consistent across route segments.
3.3 Choose quantity and price from profit or cost
A high sales total need not give the highest profit. Start by identifying the financial quantity being optimized and the input that can be chosen. A demand function connects the number sold with the price buyers will pay.
Build the business functions
Let be the quantity sold and the price per unit. Revenue is . Cost includes fixed costs and costs that change with production. Profit is , while average cost is for .
The derivatives and are marginal revenue and marginal cost, measured in dollars per unit. They approximate the gain or cost of one more unit: . This is exact at every quantity for a linear cost function; a changing rate usually makes it approximate for a nonlinear function.
Maximize profit
A company sells units per week at dollars and pays dollars. A nonnegative price and quantity give . Then
The derivative vanishes at 160. Since throughout, this is the absolute maximum. The best price is dollars and the weekly profit is dollars.
At a differentiable interior maximum of profit,
Here both marginal values equal 40 dollars per unit. This equation locates a candidate; a maximum still needs justification and comparison with any relevant endpoints. Revenue alone peaks at 200 units in this example, so optimizing revenue would give the wrong production target.
Adding the same fixed cost at every quantity shifts the profit curve down without moving its maximizing input. It changes whether that best profit is positive. This reasoning presumes the feasible quantities and the rest of the cost model stay the same.
Model sales from a price change
A theater sells 500 tickets at $10 and loses 20 sales per $1 increase. Under the linear demand model,
The revenue is for . From , the best price is $17.50. It sells 350 tickets and earns $6125 in revenue. The input here is price; the derivative's solution is not the number of tickets.
Minimize average cost
For dollars,
Setting gives . Since , the minimum average cost is dollars per unit. In general,
so a stationary average cost satisfies : marginal cost equals average cost. Whole-item quantities and prices restricted to cents require a final comparison of nearby feasible choices when the continuous optimum falls between them.
Key Takeaways
- Revenue is price times quantity; profit is revenue minus cost.
- Marginal values approximate changes for one additional unit.
- An interior profit candidate satisfies marginal revenue equals marginal cost.
- A stationary average cost has marginal cost equal to average cost.
- Interpret the optimizing input as price or quantity according to its definition.
4Evaluate indeterminate limits with L'Hôpital's rule
An indeterminate form tells you that the limiting behavior of the parts has not settled the limit of the whole expression. L'Hôpital's rule compares rates of change in two qualifying quotient forms. Products, differences, and variable powers need a rewrite first. Checking the form after every step matters as much as taking the derivative, and algebra remains useful when differentiation makes the expression harder.
4.1 Read the form before choosing a limit method
A limit's form describes what its pieces approach. An indeterminate form leaves the result undecided: different expressions with that form can have different limits. It is a signal to analyze further, not a value to report.
The same form can give different answers
As , each numerator and denominator below tends to zero:
All have the form , but the rates at which the parts approach zero differ. Indeterminate does not mean that a limit fails to exist.
The seven indeterminate forms are
Signed versions such as require the same care. Infinity describes unbounded behavior and is not an ordinary number on which to perform arithmetic.
Distinguish approaching from being equal
For , a base approaches 1 while an exponent increases without bound. As ,
Replacing the approaching base by exactly 1 would erase information needed for the limit. Similar shortcuts fail elsewhere: is a zero-times-infinity form, has an infinity-minus-infinity form, and has an infinity-over-infinity form.
Some forms already settle the behavior
| Behavior of the parts | Conclusion |
|---|---|
| A finite numerator over a denominator growing without bound in size | The quotient tends to zero. |
| A numerator approaching a nonzero finite value over a denominator approaching zero | The size becomes unbounded; inspect signs and sides. |
| Two positive quantities each growing without bound, added or multiplied | The expression tends to positive infinity. |
| A positive base tending to zero raised to an exponent tending to positive infinity | The power tends to zero. |
For example, tends to positive infinity as and negative infinity as . The two-sided limit therefore does not exist. A nonzero-over-zero form requires a sign check, not L'Hôpital's rule. A positive base tending to infinity with exponent tending to positive infinity gives positive infinity.
Try the simplest valid method
For , factoring gives
The limit is 6. The missing value at 3 does not prevent cancellation nearby. A conjugate, division by the highest power, or a known limit such as can also resolve an indeterminate form without a new derivative.
Write that a limit “has the form .” Do not equate the limit to that form. The quotient law for limits requires a nonzero denominator limit, so it cannot justify replacing a quotient by zero divided by zero.
Key Takeaways
- An indeterminate form labels unresolved limiting behavior, not a numerical answer.
- Identify the form by examining each part at the stated limit.
- A nonzero-over-zero form needs sign and one-sided analysis.
- Algebra and known limits remain useful before applying L’Hôpital’s rule.
4.2 Use the quotient of derivatives correctly
L'Hôpital's rule can replace a qualifying quotient limit with a limit of the numerator's derivative divided by the denominator's derivative. It is also spelled L'Hospital's rule. The result was published by Guillaume de l'Hôpital in 1696 and came from his teacher Johann Bernoulli.
State the conditions
For , suppose and are differentiable near , except possibly at itself, and nearby away from . If both functions tend to zero, or both have infinite limits, then
provided the derivative quotient has a finite limit or tends to positive or negative infinity. The rule also applies on the appropriate side for one-sided limits and sufficiently far along the domain for limits at positive or negative infinity.
The expression is the quotient of derivatives. It is not the derivative of . Do not use the quotient rule on the original fraction.
Recheck the form after each application
Consider . The numerator and denominator both approach zero, so differentiate them separately:
This still has form . A second application gives
Now direct substitution works. Continuing to differentiate would be unjustified because the current quotient has form .
For an infinite limit point,
has form . The derivative quotient simplifies to
The logarithm becomes negligible compared with the square root even though both functions increase without bound.
Why the simplest case works
If , both derivatives exist at , and , divide both parts by :
The two difference quotients tend to the derivatives at , giving . In terms of linear approximation, the common small change in input cancels. Cauchy's Mean Value Theorem provides the general proof.
Know when the rule supplies no answer
For , substitution gives 1. Applying the rule anyway would give , an incorrect answer, because the original form was not indeterminate.
Even a qualifying form can lead to an unhelpful derivative quotient. For , the derivatives give , which has no limit. This leaves the original limit unresolved by the rule. Algebra gives because the sine term is bounded.
Repeated differentiation can also cycle. For at infinity, it gives and then returns to the original expression. Dividing inside the root gives directly. An unsuccessful derivative limit is a reason to change methods, not a reason to declare the original limit nonexistent.
Key Takeaways
- Apply the rule only after confirming a zero-over-zero or infinity-over-infinity form and its derivative conditions.
- Differentiate the numerator and denominator separately.
- Check the new form before every repeated application.
- Stop when substitution or simplification settles the limit.
- A derivative quotient without a limit leaves the original limit unresolved by the rule.
- Linear approximation explains the simplest zero-over-zero case.
4.3 Rewrite products, differences, and powers
L'Hôpital's rule applies directly to quotients. Other indeterminate forms need algebra or logarithms to expose a qualifying quotient first. Choose a rewrite that makes the derivatives simpler.
Products: divide by a reciprocal
For a product with a zero-times-infinity form, use or . As , has form . Write
This has form , and the derivative quotient is . Thus the product tends to zero. The alternative is valid but produces a more complicated derivative. Keeping the logarithm upstairs often saves work.
Differences: combine or use a conjugate
For , a common denominator gives
It has form . One application gives , still zero over zero. A second gives
Differentiating the two original terms separately would not be an application of L'Hôpital's rule.
Sometimes no derivative is needed. As , rationalize:
The conjugate changes the difference of two large terms into a manageable quotient.
Powers: take a logarithm, then return
For with positive base, write
For the forms , , and , this is an indeterminate product. Rewrite it as a quotient and find its limit . Then the original power tends to . If the logarithm tends to positive infinity, the power tends to positive infinity; if it tends to negative infinity, the power tends to zero.
For as ,
The form is . Differentiate with the chain rule:
Therefore . Reporting 3 would give the limit of the logarithm instead of the requested power. In general, ; this limiting pattern leads to continuously compounded amounts .
Two related powers illustrate the same return step. For as , its logarithm , so the power tends to 1. For as , its logarithm is ; the derivative quotient is , so this power also tends to 1. The positive-base condition keeps the real logarithm defined throughout the calculation.
Key Takeaways
- Rewrite an indeterminate product as a quotient before applying the rule.
- Combine a difference into one fraction or use a conjugate.
- For positive-base variable powers, first find the limit of the logarithm.
- Exponentiate the logarithmic limit to recover the limit of the original power.
- Choose a rewrite with simple derivatives.
5Compare how fast functions grow
Large values and fast growth are different ideas. A polynomial can exceed an exponential across a wide range and still become negligible beside it eventually. Limits of ratios make that distinction precise. The resulting ranking helps with mixed expressions, decaying exponentials, algorithm step counts, and models that agree early but separate later. Near zero, a change of scale connects logarithmic limits to the same comparisons.
5.1 Compare growth with a ratio limit
A function's value at one input does not establish its long-run growth rate. Compare two functions that tend to positive infinity by taking a ratio. If , then grows faster than . If the ratio tends to a finite positive constant, they grow at the same rate.
Logarithms grow more slowly than powers
For any , the quotient has form . L'Hôpital's rule gives
Even eventually grows faster than . Every fixed positive power of the logarithm also grows more slowly than every positive power of .
Powers grow more slowly than exponentials
For a concrete proof,
Each arrow represents a valid application to an infinity-over-infinity limit except the final expression, whose limit is directly zero. A positive integer power needs that many applications. For a positive noninteger power, differentiate enough times that the numerator becomes a negative power; the denominator continues to grow exponentially.
The family ranking is
where means . Within the power family, if . Within exponentials, if .
What counts as the same growth rate?
| Pair | Ratio and conclusion |
|---|---|
| and | : the same rate. |
| and | The ratio is : the same rate. |
| and | The ratio is : the same rate. |
| and | The ratio is : the first grows faster. |
A constant multiplier outside an exponential changes scale. A multiplier on the variable in its exponent changes the growth rate. Changing a logarithm’s base multiplies it by a constant factor.
A large early value can mislead
The polynomial exceeds between about 1.12 and 35.77. At 10 the values are and about 22,026. Beyond about 35.77 the exponential wins; at 100 the values are and about . A small graph window can hide that reversal.
Same rate also does not mean a shrinking difference. The functions and have ratio tending to 1, while their difference increases without bound. The ratio measures relative size, so a growing absolute gap can coexist with matching growth rates.
Key Takeaways
- A ratio tending to zero identifies which function grows more slowly.
- A ratio tending to a finite positive constant means the same growth rate.
- Positive powers of x outgrow fixed powers of ln x; growing exponentials outgrow powers of x.
- Constant factors and lower-order terms do not change a growth rate.
- An exponential’s base changes its growth rate, while a logarithm’s base changes only its scale.
- Small-input values and differences do not determine relative growth.
5.2 Use dominant terms and judge long-run models
Once you know the growth ranking, many limits become simpler without repeated differentiation. Identify the term that controls the scale, then divide both parts by it. A slower term becomes negligible relative to that scale even when it grows without bound by itself.
Divide by the dominant term
For , exponential terms dominate the powers. Divide numerator and denominator by :
For polynomial quotients, compare degrees. A lower numerator degree gives zero. Equal degrees give the ratio of leading coefficients, as in
A higher numerator degree makes the magnitude grow without bound; determine the sign from the leading coefficients and the direction of the limit. If dominant terms in a sum cancel exactly, simplify that cancellation before deciding what remains dominant.
Pair a power with a decaying exponential
For every fixed positive power,
The decay defeats the growing power. In particular, on rises to at 1, then falls toward zero. This rise-and-fade shape can model a concentration after a dose. The limiting value describes the tail; it does not erase the positive values at finite times.
Compare near zero
As , the logarithm diverges negatively, but a positive power multiplying it still makes the product tend to zero:
This quotient has an infinite-over-infinite form. Differentiating gives
The product approaches zero from below for sufficiently small positive inputs. Substituting also connects this case to growth at infinity, since the product becomes .
Compare algorithm step counts
Suppose two methods take and steps. Their ratio is , so the first eventually uses fewer steps. The constant 100 still matters at practical input sizes: direct comparison gives fewer steps for at every integer from 2 through 996, while wins for every integer at least 997. A growth ranking predicts the eventual winner, not the crossover by itself.
Check what a model predicts later
The models and agree at 2 and 4 and are close at 3, where they give 8 and 9. At 10 they give 1024 and 100; at 20 they give 1,048,576 and 400. Early agreement alone cannot justify extending a model indefinitely.
Finally, distinguish from . The first has the same rate as because their ratio is 2. The second grows faster because its ratio to is .
Key Takeaways
- Divide by a dominant term to expose negligible ratios.
- For equal-degree polynomial quotients, the leading-coefficient ratio gives the limit.
- A decaying exponential defeats every fixed power.
- For p > 0, xᵖ ln x tends to zero as x approaches zero from the right.
- An eventual growth advantage does not locate the finite crossover.
- Models that agree early can predict very different long-run values.
L'Hôpital's Rule and Optimization examples
1Build an objective that respects the situation
11 steps
- 1IntroductionStart with the choice
An optimization model connects what you can choose with what you want to improve. A fencing total stays fixed while the area changes. Before taking a derivative, identify the objective, name the changing lengths, and make the fixed total into an equation. The interval of meaningful inputs belongs to the model too; a polynomial can accept a number that no physical shape can use.
- 2ExampleSketch the river pen
A pen sits beside a straight river, so only three sides need fencing. There are 600 m available. Label each perpendicular side and the parallel fenced side , in meters. The picture gives two different formulas: area and fencing . The area is what should be largest; the fencing equation is the condition every candidate pen must satisfy.
- 3ExplanationEliminate a changing length
Solve the fencing equation for and substitute into the area: . Each chosen depth now determines the parallel side and the area. Differentiating while treating as a constant would miss that connection. A larger depth uses fencing twice, which forces the parallel side to shorten by twice as much.
- 4ChallengeChange the fencing total
A similar river pen has 360 m of fencing, with depth and parallel side . What is its one-variable area function?
---reveal---
The constraint is , so . The area is . There are two fenced depths but only one fenced parallel side; the river supplies the fourth boundary.
- 5ExampleRecover the requested dimensions
For the 600 m pen, gives . The stationary depth is 150 m, and the constraint gives the other side as 300 m. On both endpoint areas are zero, while the interior area is 45,000 m². A dimensions answer needs 150 m by 300 m; an area answer needs 45,000 m².
- 6ExampleRestrict a cut from a sheet
A 24 cm square sheet loses a square of side at each corner. Its folded box has height and base side , so . Requiring both dimensions to be nonnegative gives . The endpoints are flat, zero-volume shapes; positive-volume boxes lie strictly between them.
- 7Key InsightA valid formula can describe an impossible box
The polynomial gives , yet a 13 cm cut leaves base side cm. A positive output does not rescue that impossible dimension. Domain restrictions must be applied before comparing candidate outputs. Otherwise this same polynomial eventually grows without bound, falsely suggesting that ever-larger cuts make ever-larger boxes.
- 8ChallengeA different sheet
A box is cut from a 14 cm by 22 cm sheet using corner squares of side . What interval gives positive-volume boxes?
---reveal---
The dimensions are , , and . All must be positive. The shorter side gives the tighter bound, so . The upper bound 11 from the longer side alone would allow the shorter base dimension to become negative.
- 9ExplanationCompare whole-item profits
For , the continuous model peaks at . The variable counts items, so compare the adjacent feasible integers: and dollars. The concave-down graph rises before its peak and falls after it, so no more distant integer can win. Choose the input by its profit, not by a rounding habit.
- 10ChallengeConnect the model and its domain
A closed can must hold 1000 cm³. Its radius is the input. What domain should accompany , and why?
---reveal---
Use . Radius zero cannot enclose the required volume, while any positive radius gives height . There is no finite upper bound on radius in this model. The area formula alone would not supply all these physical reasons.
- 11RecapA model ready for calculus
The river constraint turned two changing lengths into a single-input area function. The sheet dimensions supplied the cut interval, while positive volume excluded a zero can radius. For item counts, a continuous peak led to a comparison of permitted integers. Carry the variable definitions and units into the final answer, including any dimension recovered from the constraint.
2Decide whether a candidate is truly best
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionThe derivative gives candidates
- 2ExplanationMake the closed-interval candidate list
- 3ExampleDifferentiate the sheet-box volume
- 4ExampleCompare the volumes
- 5ChallengeRemember the corner
- 6ExplanationRead the full derivative sign pattern
- 7ExampleFind the can radius
- 8Key InsightUse concavity across the domain
- 9ChallengeAn infimum that is never reached
- 10ExampleKeep the included endpoint
- 11ChallengeChange only the domain
- 12RecapUse a domain-wide argument
3Optimize material, travel, and profit
17 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionLet the situation choose the formula
- 2ExampleCount the box faces
- 3ExampleSubstitute and solve
- 4Key InsightRemove the square root from a distance
- 5ChallengeRecover the full rectangle
- 6ExampleDifferentiate height, not acceleration
- 7ExampleAdd rowing and walking time
- 8ExampleSolve the landing equation
- 9ChallengeMove the destination closer
- 10ConnectionSee the refraction condition
- 11ExampleMatch the resistances for power
- 12ExplanationSeparate receipts from profit
- 13ExampleBuild the company profit
- 14ChallengeRaise only the fixed cost
- 15ExampleOptimize the cost per unit
- 16ChallengeCheck a nearby production choice
- 17RecapInterpret the optimizing input
4Resolve indeterminate limits step by step
17 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionRead the pieces before acting
- 2ExampleOne form, three outcomes
- 3ExplanationSort forms before choosing a method
- 4ChallengeSigns at a zero denominator
- 5ExplanationCheck the rule’s conditions
- 6ExampleTake the first derivative quotient
- 7ExampleStop when substitution works
- 8Key InsightA derivative ratio is not a quotient derivative
- 9ChallengeDirect substitution wins
- 10TipAn unhelpful derivative is inconclusive
- 11ExampleTurn a product into a quotient
- 12ExampleCancel an infinite difference with a conjugate
- 13ExplanationBring an exponent down
- 14ExampleFind the logarithm’s limit
- 15ChallengeHandle a zero-to-zero power
- 16ChallengeChoose a rewrite and finish the power
- 17RecapKeep the original question in view
5Read growth rates through ratios
11 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionCompare relative size
- 2ExplanationDefine the comparison precisely
- 3ExamplePut a logarithm below a power
- 4ExamplePut a power below an exponential
- 5ChallengeMove a constant inside the exponent
- 6ExampleNormalize by the dominant term
- 7ConnectionReturn to the tail of an optimization model
- 8ChallengeAn early winner and an eventual winner
- 9Key InsightModel agreement can disappear
- 10ChallengeSeparate two logarithmic expressions
- 11RecapUse the ranking for the question asked
L'Hôpital's Rule and Optimization practice questions
Set 1: Apply constraints and derivative rules10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Build models and check limits10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Justify choices across the full domain10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Combine methods and test conclusions10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Absolute maximum
Absolute minimum
Acceleration
Average cost
C
Closed interval method
Concavity
Conjugate
Constraint
Continuous input
Cost function
Critical number
Crossover
D
Demand function
Determinate form
Discrete input
Dominant term
E
End behavior
Endpoint
Exponential growth
Extrapolation
Extreme Value Theorem
F
Faster growth
Feasible domain
Fermat’s principle
Fixed cost
I
Indeterminate form
Inscribed figure
L
L’Hôpital’s rule
Leading coefficient
Limit form
Linear approximation
Local extremum
Logarithm method
M
Marginal cost
Marginal revenue
Maximum power transfer
N
Normal to a boundary
O
Objective function
One-sided limit
One-variable model
Open interval
Optimization
P
Positive-base condition
Profit
Q
Quotient of derivatives
R
Reciprocal rewrite
Relative size
Repeated application
Revenue
S
Same growth rate
Semicircle
Snell’s law
Squared distance
Surface area
T
Travel-time function
U
Unbounded interval
V
Velocity
- 1Limits and Continuity
- 2Derivative Rules
- 3Chain Rule and Implicit Differentiation
- 4Related Rates and Linear Approximation
- 5Extreme Value Theorem and Curve Sketching
- 6L'Hôpital's Rule and Optimization
- 7Antiderivatives and Riemann Sums
- 8Fundamental Theorem of Calculus
- 9Integration by Substitution
- 10Area Between Curves and Volumes
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.