Home Notes Research CV Projects Outside of Math

← Back to Course Resources

MATH 1071 — Calculus for Business & Economics

Lecture Notes. This is NOT meant to be a substitute for coming to lecture or consulting the textbook directly, but rather a helpful resource to review for exams/ review what was discussed in lecture. Each section ends with a Self-Check taken from the in-class activity — try the problem first, then click the button to see the answer.

Elasticity of Demand

↑ Back to top
Goals Define and interpret elasticity of demand; understand what elasticity tells us about a product's demand function; understand what it means for demand to be elastic, inelastic and unit elastic; learn how to use elasticity of demand to maximize revenue.

How Sensitive Is Demand to Price?

Compare the demand for furniture (say, a couch) with the demand for gas (a gallon). What happens when the price goes up? In both cases demand goes down — but for gas we expect demand to drop much less, because people still need to drive. Elasticity is a number that measures how strongly demand reacts to a change in price.

Is a $10 price increase "a lot"? It depends on the starting price: $10 is a huge jump for a $5 item and barely noticeable for a $2000 couch. So instead of raw changes we compare percent changes:

\[ \text{percent change in price} = \frac{\Delta p}{p}, \qquad \text{percent change in demand} = \frac{\Delta x}{x}. \]

The idea is to look at the ratio of the percent change in demand to the percent change in price. Since one goes up when the other goes down, this ratio is negative, so we put a minus sign in front to make it positive:

\[ -\frac{\ \Delta x / x\ }{\Delta p / p} = -\frac{\Delta x}{x}\cdot\frac{p}{\Delta p} = -\frac{\Delta x}{\Delta p}\cdot\frac{p}{x}. \]

When the change in price is very small, the difference quotient \(\frac{\Delta x}{\Delta p}\) becomes the derivative \(\frac{dx}{dp}\). This gives the definition.

Definition (Elasticity of Demand) If the demand equation is given by \(x = f(p)\), where \(p\) is the price per item and \(x\) is the number of items sold at that price, then the elasticity of demand is \[ E(p) = \frac{-p}{x}\cdot\frac{dx}{dp}. \]
Remark Demand goes down as price goes up, so \(\frac{dx}{dp}\) is negative. The minus sign in the formula cancels that out, so \(E(p)\) is a positive number. Also notice that the formula needs demand written as \(x = \) (something in \(p\)). If you are given \(p\) in terms of \(x\), solve for \(x\) first.
Definition (Elastic, Inelastic, Unit Elastic)

Inelastic demand means changing the price doesn't have a huge impact on demand: think medication, milk, or baby formula — things people need no matter what. Elastic demand means demand reacts strongly to price: think restaurant meals, or anything with lots of substitutes.

Computing Elasticity of Demand
  1. Write demand in the form \(x = f(p)\) (solve for \(x\) if necessary).
  2. Find \(\dfrac{dx}{dp}\).
  3. Plug into \(E(p) = -\dfrac{dx}{dp}\cdot\dfrac{p}{x}\), replace \(x\) by its formula in \(p\), and simplify.
Example The demand equation for a 20 oz soda is \(p = 3-2x\), where \(p\) is the price and \(x\) is the number sold (in hundreds) in one week. Find the elasticity of demand at \(p = 1.25,\ 1.50,\ 2\). Is demand elastic, inelastic or unit elastic in each case?
1. Solve for \(x\).
\[ p = 3-2x \;\Longrightarrow\; p - 3 = -2x \;\Longrightarrow\; x = -\tfrac12 p + \tfrac32. \]
2. Differentiate.
\[ \frac{dx}{dp} = -\frac12. \]
3. Plug in and simplify.
\[ E(p) = -\left(-\frac12\right)\cdot\frac{p}{-\frac12p+\frac32} = \frac{p}{2\left(-\frac12p+\frac32\right)} = \frac{p}{3-p}. \]

Now evaluate:

\[ E(1.25) = \frac{1.25}{1.75} = \frac57 \approx 0.714, \qquad E(1.5) = \frac{1.5}{1.5} = 1, \qquad E(2) = \frac{2}{1} = 2. \]

So demand is inelastic at \(p = 1.25\), unit elastic at \(p = 1.50\), and elastic at \(p = 2\).

Interpreting Elasticity

In general, think of elasticity as

\[ E(p) = \frac{\%\text{ decrease in demand}}{\%\text{ increase in price}}. \]
Example Suppose \(E(4) = \tfrac35\). What does this mean? Does increasing the price increase or decrease revenue?

\(E(4) = \dfrac{3\%\text{ decrease in demand}}{5\%\text{ increase in price}}\): when the price is $4, a 5% increase in price leads to (about) a 3% decrease in demand. Demand falls by a smaller percentage than price rises, so raising the price increases revenue.

Now suppose instead \(E(4) = 2 = \dfrac{2\%\text{ decrease in demand}}{1\%\text{ increase in price}}\). When the price is $4, a 1% increase in price leads to a 2% decrease in demand. We lose more customers than we gain in price, so raising the price decreases revenue.

Elasticity and Revenue
Remark (Why This Works) Revenue is \(R = p\cdot x\), where \(x\) depends on \(p\). By the product rule, \[ \frac{dR}{dp} = x + p\frac{dx}{dp} = x\left(1 + \frac{p}{x}\frac{dx}{dp}\right) = x\bigl(1 - E(p)\bigr). \] Since \(x > 0\), revenue is increasing when \(E < 1\), decreasing when \(E > 1\), and has a critical point exactly when \(E = 1\).
Example (Maximizing Revenue) The demand for a product is \(x = (36-2p)^2\), where \(p\) is the price and \(x\) is the number of items sold, \(0\le p\le 18\). What should be charged to maximize revenue?

To maximize revenue, set \(E = 1\). By the chain rule,

\[ \frac{dx}{dp} = 2(36-2p)\cdot(-2) = -4(36-2p). \]

So

\[ E(p) = -\bigl(-4(36-2p)\bigr)\cdot\frac{p}{(36-2p)^2} = \frac{4p\,\cancel{(36-2p)}}{(36-2p)^{\cancel{2}}} = \frac{4p}{36-2p}. \]

Set \(E(p) = 1\):

\[ \frac{4p}{36-2p} = 1 \;\Longrightarrow\; 4p = 36 - 2p \;\Longrightarrow\; 6p = 36 \;\Longrightarrow\; p = 6. \]

Revenue is maximized at a price of $6. Check: graphing \(R(p) = p(36-2p)^2\) on \([0,18]\) shows a peak at \((6, 3456)\).

Example A small grocery store makes their own candy bars and finds \(E(p) = \dfrac{p}{5-p}\). How much should they charge to maximize revenue? \[ \frac{p}{5-p} = 1 \;\Longrightarrow\; p = 5 - p \;\Longrightarrow\; 2p = 5 \;\Longrightarrow\; p = 2.5. \]

Revenue is maximized when \(p = \)$2.50.

Estimating Changes in Demand

Rearranging \(E = \dfrac{\%\text{ decrease in demand}}{\%\text{ increase in price}}\) gives a quick estimate:

\[ \%\text{ decrease in demand} \approx E(p)\cdot(\%\text{ increase in price}). \]
Example The price of season tickets is $40 and \(E(40) = 1.75\). If the price increases by $4, what change do we expect in demand? If demand was 1000, what would the new demand be?

Going from $40 to $44 is an increase of \(\frac{4}{40} = 0.10\), i.e. a 10% increase in price. Then

\[ \%\text{ decrease in demand} \approx 1.75 \times 10\% = 17.5\%. \]

New demand \(\approx 1000 - (0.175)(1000) = 1000 - 175 = 825\) tickets.

Example Demand is given by \(x(p) = 1200 - 6p^2\). Find \(x(10)\) and \(E(10)\). Use these to estimate \(x(11)\), then compare with the actual value.
1. Plug \(p = 10\) into the demand equation.
\[ x(10) = 1200 - 6(100) = 600. \]
2. Find \(E(p)\) first, then plug in \(p = 10\).
\[ \frac{dx}{dp} = -12p, \qquad E(p) = -(-12p)\cdot\frac{p}{1200-6p^2} = \frac{12p^2}{1200-6p^2}, \qquad E(10) = \frac{1200}{600} = 2. \]
3. Interpret and estimate.

When the price is $10, a 1% increase in price leads to about a 2% decrease in demand. Going from \(p = 10\) to \(p = 11\) is a \(\frac{1}{10} = 10\%\) increase in price, so we expect about a \(20\%\) decrease in demand:

\[ x(11) \approx 600 - (0.20)(600) = 600 - 120 = 480. \]

Check: the actual value is \(x(11) = 1200 - 6(121) = 474\). Pretty close!

Self-Check

From Activity 18: Elasticity of Demand

(a) Suppose we have a demand function given by \(x = (30-10p)^2\), where \(0\le p\le 3\). Find the price that maximizes revenue.

(b) Given the demand function \(x = \dfrac{3}{4p^3}\), find \(E(p)\) and give an interpretation of \(E(3)\) in the context of the problem.

Linear Approximation

↑ Back to top
Goals Find and use the linearization of a function to approximate the function near a point; connect the idea of linear approximation to the idea of the cost (or value) of the "next" item.

Tangent Lines as Approximations

Recall how to find the tangent line to \(y = f(x)\) at \(x = a\). We need a point and a slope:

Then point-slope form gives \(y - f(a) = f'(a)(x-a)\).

Example (Warm-up) Let \(f(x) = \sqrt x\). Find the tangent line at \(x = 4\) and at \(x = 9\).

First, \(f'(x) = \tfrac12x^{-1/2} = \dfrac{1}{2\sqrt x}\).

24681012141234xy (4, 2) y = √x tangent line
\(f(x) = \sqrt x\) and its tangent line \(y = \tfrac14(x-4)+2\) at \(x = 4\)

Near the point of tangency, the curve and the tangent line are almost indistinguishable. So the tangent line gives an approximation of the function near \(x = a\).

Definition (Linearization) The linearization (or linear approximation) of \(f\) at \(x = a\) is the tangent line at \(x=a\): \[ L(x) = f(a) + f'(a)(x-a). \] For \(x\) near \(a\), we have \(f(x)\approx L(x)\).

How good is the approximation? Compare the exact values of \(\sqrt x\) with the tangent line at \(x = 4\), \(\ell(x) = \tfrac14(x-4)+2\), and the tangent line at \(x=9\), \(m(x) = \tfrac16(x-9)+3\):

\(x\)Exact \(\sqrt x\)\(\ell(x)\) (near 4)\(m(x)\) (near 9)
4222.1666667
4.12.02484572.0252.1833333
4.22.04939022.052.2
933.253
8.92.98328683.2252.9833333
113.31662483.753.3333333

The line built at \(x=4\) is excellent near 4 and poor near 9; the line built at \(x=9\) is excellent near 9 and poor near 4. The lesson: choose \(a\) close to the input you care about, and somewhere where \(f(a)\) is easy to compute exactly.

Example Find the linear approximation of \(f(x) = (1+x)^4\) at \(x = 0\). Use it to approximate \((1.02)^4\), and compare with the actual value.

Point: \((0, f(0)) = (0,1)\). Slope: by the chain rule \(f'(x) = 4(1+x)^3\cdot 1\), so \(f'(0) = 4\).

\[ y - 1 = 4(x-0) \;\Longrightarrow\; L(x) = 4x+1. \]

Notice that \((1.02)^4 = f(0.02)\), and \(0.02\) is close to \(0\). So

\[ (1.02)^4 = f(0.02)\approx L(0.02) = 4(0.02)+1 = 1.08. \]

The actual value is \((1.02)^4 = 1.08243216\dots\), very close.

Linear Approximation and the "Next" Item

Recall that the marginal cost \(C'(x)\) approximates the cost of producing one more item. Linear approximation is the same idea written as a line.

Example Let \(C(x) = x^2+4x+3\).

(a) Find the linearization of the cost function at \(x = 10\).

\[ C(10) = 100+40+3 = 143, \qquad C'(x) = 2x+4, \qquad C'(10) = 24. \] \[ y - 143 = 24(x-10) \;\Longrightarrow\; L(x) = 24(x-10)+143. \]

(b) Once we have made ten items, what is the approximate cost of the next item?

\(C'(10) = 24\): after making 10 items, the next item costs approximately $24. (The exact cost of the 11th item is \(C(11)-C(10) = 168 - 143 = \$25\).)

(c) Compare the linear approximation with the "cost of the next item" idea, for example by estimating the cost of 13 items.

The first ten items cost $143, and each of the next \(13-10 = 3\) items costs about $24:

\[ C(13)\approx 143 + 24(13-10) = 215 = L(13). \]

The two ideas give exactly the same computation. (Actual: \(C(13) = 224\).)

Example Assume \(C(20) = 53\) and \(C'(20) = 2\). Approximate \(C(22)\) two ways.
1. "Cost of the next item."

It costs $53 to make 20 items. The 21st costs about $2 and the 22nd costs about $2:

\[ C(22)\approx 53 + 2 + 2 = 53 + 2\cdot(22-20) = \$57. \]
2. Linear approximation.

Point \((20,53)\), slope \(2\): \(L(x) = 53 + 2(x-20)\), so \(L(22) = 53 + 2(2) = 57\). Same answer.

Example (Exam 3 Review) The cost in dollars to produce \(x\) tons of a product is \(C(x) = \sqrt{2x^2+25}\).

Marginal cost: by the chain rule,

\[ C'(x) = \frac{1}{2\sqrt{2x^2+25}}\cdot 4x = \frac{2x}{\sqrt{2x^2+25}}. \]

At \(x = 10\): \(C(10) = \sqrt{225} = 15\) and \(C'(10) = \frac{20}{15} = \frac43\). So after producing 10 tons, the next ton costs about \(\$1.33\).

Linear approximation at 10: \(L(x) = 15 + \tfrac43(x-10)\), so the cost to produce 11 tons is about \(L(11) = 15 + \tfrac43 \approx \$16.33\) — the cost of 10 tons plus the marginal cost of one more. (Actual: \(C(11) = \sqrt{267}\approx 16.34\).)

Self-Check

From Activity 19: Linear Approximation/ Linearization

Recall the linearization of \(f\) at \(x = x_0\) is \(L(x) = f(x_0) + f'(x_0)(x-x_0)\), and \(f(a)\approx L(a)\) for \(a\) near \(x_0\).

(a) Find the linearization of \(f(x) = \ln(x)\) at \(x_0 = e\). Use that to estimate \(\ln(3)\) in terms of \(e\). (Your answer should be an expression containing \(e\).)

(b) Use a linearization of the function \(f(x) = \sqrt{x+1}\) to estimate \(\sqrt{10}\). (You pick the \(x_0\) for the linearization.)

Absolute Extrema

↑ Back to top
Goals Define absolute extrema; learn how to find critical points of a function; use critical points to find absolute extrema.

Biggest and Smallest Values

We often want to find the biggest and smallest values of a function: maximize revenue, maximize profit, minimize cost. Some vocabulary:

Example
Definition (Absolute Extrema) Let \(f\) be a function defined over an interval \(I\) and let \(c\) be in \(I\). We say \(f\) has an absolute maximum on \(I\) at \(c\) if \(f(c)\ge f(x)\) for all \(x\) in \(I\). We say \(f\) has an absolute minimum on \(I\) at \(c\) if \(f(c)\le f(x)\) for all \(x\) in \(I\). If \(f\) has an absolute maximum or an absolute minimum on \(I\) at \(c\), we say \(f\) has an absolute extremum on \(I\) at \(c\).

In words: the absolute maximum is the single highest output over the whole interval, and the absolute minimum is the single lowest. A maximum value can happen at more than one \(x\): if a graph reaches a height of 10 at two different places \(x=c\) and \(x=d\) and never goes higher, the absolute max is 10, occurring at both \(x=c\) and \(x=d\).

When Are Absolute Extrema Guaranteed?

Extreme Value Theorem If \(f\) is a continuous function over the closed, bounded interval \([a,b]\), then there is a point in \([a,b]\) at which \(f\) has an absolute maximum over \([a,b]\) and there is a point in \([a,b]\) at which \(f\) has an absolute minimum over \([a,b]\).

Both conditions matter:

Critical Points

Now we know which functions have absolute extrema. Where (at which \(x\)-values) can they be located? Only two kinds of places:

Definition (Critical Point) An \(x\)-value \(c\) in the domain of \(f\) where the derivative is zero or undefined is called a critical point (or critical value) of \(f\).
Example Find the critical points of \(f(x) = x^2-6x+14\). \[ f'(x) = 2x - 6 = 0 \;\Longrightarrow\; 2x = 6 \;\Longrightarrow\; x = 3. \]

The derivative is defined everywhere, so the only critical point is \(x = 3\).

Finding Absolute Extrema on a Closed Interval

Closed Interval Method: Absolute Max and Min of \(f\) on \([a,b]\)
  1. Find \(f'(x)\).
  2. Set \(f'(x) = 0\) (and find where \(f'\) is undefined) and solve for \(x\) to find the critical points.
  3. Make a table with \(x = a\), \(x = b\), and every critical point between \(a\) and \(b\).
  4. Find the original \(f(x)\) value for each \(x\)-value.
  5. The biggest output is the absolute max, and the smallest is the absolute min.
Example Find the absolute extrema of \(f(x) = x^2-6x+14\) on \([2,5]\).

From before, the only critical point is \(x = 3\), which lies in \([2,5]\). Check it along with the endpoints \(x = 2\) and \(x = 5\), plugging into the original function:

\(x\)\(f(x) = x^2-6x+14\)
2\(4-12+14 = 6\)
3\(9-18+14 = 5\)min
5\(25-30+14 = 9\)max

The absolute max is 9 (at \(x = 5\)) and the absolute min is 5 (at \(x=3\)).

Example Find the absolute extrema of \(f(x) = \dfrac{x^3}{3}+\dfrac{x^2}{2}-6x+2\) on \([0,4]\). (The square brackets mean the interval is closed.) \[ f'(x) = \tfrac13\cdot 3x^2 + \tfrac12\cdot 2x - 6 = x^2+x-6 = (x-2)(x+3) = 0. \]

So \(x = 2\) or \(x = -3\). But \(-3\) is not between 0 and 4, so we throw it out.

\(x\)\(f(x)\)
0 (endpoint)\(2\)
2 (critical point)\(\tfrac83 + 2 - 12 + 2 = -\tfrac{16}{3}\approx -5.33\)min
4 (endpoint)\(\tfrac{64}{3}+8-24+2 = \tfrac{22}{3}\approx 7.33\)max

Max value of \(\tfrac{22}{3}\) at \(x = 4\); min value of \(-\tfrac{16}{3}\) at \(x = 2\).

Intervals That Are Not Closed

If the interval is not closed, the Extreme Value Theorem doesn't apply, but we can still try:

Example Find the absolute extrema of \(f(x) = 4x^2-16x+5\) on \([1,4)\). \[ f'(x) = 8x - 16 = 0 \;\Longrightarrow\; x = 2. \]
\(x\)\(f(x)\)
1\(4-16+5 = -7\)
2\(16-32+5 = -11\)absolute min
4 (not included)\(64-64+5 = 5\)would be the max, but \(x=4\) is not included

The absolute min is \(-11\) at \(x=2\). There is no absolute max: the function gets closer and closer to 5 as \(x\to4\), but never reaches it.

1234−11−75xy min (2, −11) open circle: no max (1, −7)
\(f(x) = 4x^2-16x+5\) on \([1,4)\): a minimum at \((2,-11)\) but no maximum

Self-Check

From Activity 20: Absolute Extrema

(a) Find the absolute maximum and minimum values for the function \(f(x) = \tfrac13x^3 - \tfrac12x^2 + 7\) on the interval \([0,3]\).

(b) Show the function \(f(x) = e^{1-x^2}\) has only one critical point. Is this point a maximum or a minimum? Justify your reasoning.

Local Extrema

↑ Back to top
Goals Define local extrema; find the places where we might have local extrema.

What Are Local Extrema?

An absolute max is the highest point overall. A local (or relative) max is a point that is the highest compared to everyone nearby — the top of a hill, even if there is a taller hill somewhere else. Similarly a local min is the bottom of a valley.

Definition (Local Extrema) A function \(f\) has a local maximum at \(c\) if there exists an open interval \(I\) containing \(c\) such that \(I\) is contained in the domain of \(f\) and \(f(c)\ge f(x)\) for all \(x\) in \(I\). A function \(f\) has a local minimum at \(c\) if there exists an open interval \(I\) containing \(c\) such that \(I\) is contained in the domain of \(f\) and \(f(c)\le f(x)\) for all \(x\) in \(I\). A function \(f\) has a local extremum at \(c\) if \(f\) has a local maximum at \(c\) or a local minimum at \(c\).
Remark

Where Can Local Extrema Occur?

Local Extrema Occur at Critical Points If \(f\) has a local extremum at \(c\), then \(c\) is a critical point: either \(f'(c) = 0\) or \(f'(c)\) is undefined.
Remark (The Converse Is False) Just because \(f'(c) = 0\) doesn't mean we must have a local min or max. Take \(f(x) = x^3\): \[ f'(x) = 3x^2 = 0 \;\Longrightarrow\; x^2 = 0 \;\Longrightarrow\; x = 0. \] So \(x = 0\) is a critical point. But the graph of \(x^3\) just flattens out for a moment at the origin and keeps going up — it is neither a min nor a max. Critical points are only the candidates.
Example What are the critical points of \(f(x) = e^x(x-3)^{2/3}\)?

By the product rule and the chain rule,

\[ f'(x) = e^x\cdot\tfrac23(x-3)^{-1/3}\cdot(1) + e^x(x-3)^{2/3} = e^x\left[\frac{2}{3(x-3)^{1/3}} + (x-3)^{2/3}\right]. \]

Where \(f'\) is undefined: the fraction has \((x-3)^{1/3}\) in the denominator, which is zero when \(x = 3\). Since \(f(3) = 0\) is defined, \(x = 3\) is a critical point.

Where \(f' = 0\): since \(e^x\) is never zero, the bracket must be zero:

\[ \begin{aligned} \frac{2}{3(x-3)^{1/3}} + (x-3)^{2/3} &= 0\\ \frac{2}{3(x-3)^{1/3}} &= -(x-3)^{2/3}\\ 2 &= -3(x-3)^{2/3}(x-3)^{1/3} \qquad\text{(multiply both sides by } 3(x-3)^{1/3})\\ 2 &= -3(x-3)\\ 2 &= -3x + 9 \;\Longrightarrow\; -7 = -3x \;\Longrightarrow\; x = \tfrac73. \end{aligned} \]

The critical points are \(x = 3\) and \(x = \tfrac73\).

Now we want to know: how can we tell whether these are local mins or local maxes (or neither)? That is exactly what the first derivative test, in the next section, does.

Self-Check

From Activity 21: Local Extrema

Determine all local extrema for each function.

\[ \text{(a)}\ \ f(x) = \tfrac13x^3 + 4x^2 - 9x + 1 \qquad\qquad \text{(b)}\ \ f(x) = e^{-\frac13x^3 - \frac32x^2 + 10x} \]

(Hint: to classify each critical point, check whether \(f'\) is positive or negative just to the left and just to the right of it — positive means the graph is going up, negative means it is going down. This idea is developed fully in the next section.)

Increasing, Decreasing & the First Derivative Test

↑ Back to top
Goals Use the first derivative to tell us about the shape of the graph; classify local extrema.

What Does the Derivative Tell Us?

The derivative \(f'(x)\) is the slope of the tangent line. Where the tangent line slopes upward (positive slope), the graph is going up; where it slopes downward (negative slope), the graph is going down.

\(f\)\(f'\)
increasing ↗positive \((+)\)
decreasing ↘negative \((-)\)

Key observation: the derivative can only switch from \(+\) to \(-\) (or from \(-\) to \(+\)) by passing through 0 or where it is undefined — that is, at a critical point (or at a point not in the domain). So between consecutive critical points the sign of \(f'\) stays the same, and one test point per interval tells us the sign on the whole interval.

Sign Charts
  1. Find \(f'(x)\) and factor it. Find all critical points (and any \(x\)-values not in the domain).
  2. Draw a number line with each of these points marked. They break the number line into sections.
  3. In each section, pick a number in the middle and plug it into the (factored) derivative to determine its sign.
  4. If \(f'\) is \(+\) then \(f\) is increasing ↗; if \(f'\) is \(-\) then \(f\) is decreasing ↘.
Example Use the derivative of \(f(x) = x^3+3x^2-9x+3\) to help sketch its graph. \[ f'(x) = 3x^2 + 6x - 9 = 3(x^2+2x-3) = 3(x-1)(x+3) = 0. \]

The critical points are \(x = 1\) and \(x = -3\).

Interval\((-\infty,-3)\)\((-3,1)\)\((1,\infty)\)
Test point\(f'(-4) = 3(-5)(-1) = 15\)\(f'(0) = -9\)\(f'(2) = 3(1)(5) = 15\)
Sign of \(f'\)\(+\)\(-\)\(+\)
\(f\)increasing ↗decreasing ↘increasing ↗

Plugging the critical points into \(f\): \(f(-3) = -27+27+27+3 = 30\) and \(f(1) = 1+3-9+3 = -2\). So the graph rises to a peak at \((-3,30)\), falls to a valley at \((1,-2)\), then rises again. It crosses the \(y\)-axis at \(f(0) = 3\).

The First Derivative Test

First Derivative Test Suppose \(c\) is a critical point of \(f\).

For example, \(f(x) = x^3\) has \(f'(x) = 3x^2\), which is positive on both sides of \(x = 0\). The derivative touches 0 but doesn't change sign, so there is no local extremum at 0.

Example Let \(f(x) = -x^3 + \tfrac32x^2 + 18x\). Find the intervals where \(f\) is increasing and decreasing and the location of any local extrema. Then sketch a graph. \[ f'(x) = -3x^2 + 3x + 18 = -3(x^2 - x - 6) = -3(x+2)(x-3). \]

The critical points are \(x = -2\) and \(x = 3\).

Interval\((-\infty,-2)\)\((-2,3)\)\((3,\infty)\)
Test point\(f'(-3) = -3(-1)(-6) = -18\)\(f'(0) = 18\)\(f'(4) = -3(6)(1) = -18\)
Sign of \(f'\)\(-\)\(+\)\(-\)
\(f\)decreasing ↘increasing ↗decreasing ↘

Sketch: coming down from the upper left, a valley at \((-2,-22)\), up through the origin to a peak at \((3, 40.5)\), then down to the lower right.

Example Let \(f(x) = 3x^2+6x+7\). Find where \(f\) is increasing and decreasing and the location of any local extrema. \[ f'(x) = 6x + 6 = 6(x+1) = 0 \;\Longrightarrow\; x = -1. \]

Test points: \(f'(-2) = -12+6 = -6 < 0\) and \(f'(0) = 6 > 0\). So \(f\) is decreasing on \((-\infty,-1)\) and increasing on \((-1,\infty)\), with a local min at \(x=-1\): \(f(-1) = 3-6+7 = 4\). (This is a parabola opening up with vertex \((-1,4)\), crossing the \(y\)-axis at 7.)

Example (Reading the Graph of \(f'\)) The graph of the derivative \(f'(x)\) is shown below. Find and classify all local extrema of \(f\).
12345678910−11234xy y = f ′(x)
The graph of \(f'\) (not \(f\)!)

We only care about the sign of \(f'\): above the \(x\)-axis means \(+\), below means \(-\). The graph of \(f'\) touches the \(x\)-axis at \(x = 2\), \(5\) and \(9\).

Interval\((-\infty,2)\)\((2,5)\)\((5,9)\)\((9,\infty)\)
Sign of \(f'\)\(+\)\(-\)\(+\)\(+\)
\(f\)↗↘↗↗

Self-Check

From Activity 23: Increasing/Decreasing and Concavity

Find the intervals where the function

\[ f(x) = \frac{x+3}{x^2-4} \]

is increasing and decreasing. Write your answer in interval notation.

Concavity & the Second Derivative

↑ Back to top
Goals Define concavity; use the second derivative to determine the concavity of a graph; use the first and second derivative together to sketch graphs.

Concavity

An increasing graph can rise in two different ways. If its slope is increasing (slopes like 0, 1, 2, 3, … getting steeper and steeper), the graph bends upward like a cup: concave up. If its slope is decreasing (slopes like 4, 2, 0, \(-2\), \(-4\), …), the graph bends downward like a frown: concave down.

Definition (Concavity) Let \(f\) be a function that is differentiable over an open interval \(I\). If \(f'\) is increasing over \(I\), we say \(f\) is concave up over \(I\). If \(f'\) is decreasing over \(I\), we say \(f\) is concave down over \(I\).
Remark (Be Careful) This definition says \(f'\) is increasing/decreasing, not \(f\). Increasing/decreasing and concavity are separate questions, and all four combinations happen:
Concave up \(\cup\)Concave down \(\cap\)
Increasingrising, getting steeperrising, leveling off
Decreasingfalling, leveling offfalling, getting steeper

The Second Derivative

A function is concave up when its derivative \(f'\) is increasing. But \(f'\) is increasing exactly when its derivative, the second derivative \(f''\), is positive. Similarly, \(f\) is concave down when \(f'\) is decreasing, i.e. when \(f''\) is negative.

\(f\)\(f'\)\(f''\)
increasingpositive \(+\)
decreasingnegative \(-\)
concave up \(\cup\)increasingpositive \(+\)
concave down \(\cap\)decreasingnegative \(-\)
Concavity Test \(f\) is concave up where \(f''\) is positive, and \(f\) is concave down where \(f''\) is negative.
Definition (Inflection Point) A point (in the domain of \(f\)) where the concavity changes from concave up to concave down, or vice versa, is called an inflection point.

We find concavity with a sign chart for \(f''\), exactly like we did for \(f'\): find where \(f''\) is zero or undefined, then test a point in each section.

Example Determine the intervals of concavity for \(f(x) = x^3 + 6x^2 - 15x + 2\). \[ f'(x) = 3x^2+12x-15, \qquad f''(x) = 6x + 12 = 0 \;\Longrightarrow\; x = -2. \]
Interval\((-\infty,-2)\)\((-2,\infty)\)
Test point\(f''(-3) = -6\)\(f''(0) = 12\)
Sign of \(f''\)\(-\)\(+\)
\(f\)concave down \(\cap\)concave up \(\cup\)

Concave down on \((-\infty,-2)\), concave up on \((-2,\infty)\), and an inflection point at \(x = -2\).

Using \(f'\) and \(f''\) Together to Sketch

Example Let \(f(x) = x^3 + 6x^2 - 15x + 2\) (same as above). Find the intervals of increasing and decreasing, all local extrema, the intervals of concavity, all inflection points, and use this to sketch a graph.
1. First derivative.
\[ f'(x) = 3x^2+12x-15 = 3(x^2+4x-5) = 3(x-1)(x+5) = 0 \;\Longrightarrow\; x = 1,\ x = -5. \]
Interval\((-\infty,-5)\)\((-5,1)\)\((1,\infty)\)
Test point\(f'(-6) = 3(-7)(-1) > 0\)\(f'(0) = -15 < 0\)\(f'(2) = 3(1)(7) > 0\)
\(f\)increasing ↗decreasing ↘increasing ↗

Increasing on \((-\infty,-5)\cup(1,\infty)\); decreasing on \((-5,1)\). Plug the critical points into the original function: local max at \(x=-5\) with \(f(-5) = -125+150+75+2 = 102\); local min at \(x = 1\) with \(f(1) = 1+6-15+2 = -6\).

2. Second derivative (from before).

Concave down on \((-\infty,-2)\), concave up on \((-2,\infty)\). Inflection point at \(x=-2\), where \(f(-2) = -8+24+30+2 = 48\).

3. Sketch.

Coming from the lower left: increasing and concave down up to the peak \((-5,102)\); decreasing and still concave down until the inflection point \((-2,48)\); decreasing but now concave up down to the valley \((1,-6)\); then increasing and concave up.

−7−5−3−2−1150100xy local max (−5, 102) inflection (−2, 48) local min (1, −6)
\(f(x) = x^3+6x^2-15x+2\)
Example (Sketching from Information) Sketch a graph of a function \(f\) that is increasing on \((-\infty,2)\) and \((4,\infty)\), decreasing on \((2,4)\), concave down on \((-\infty,3)\) and concave up on \((3,\infty)\).

Combine the two charts: the graph rises while bending downward until a peak (local max) at \(x = 2\); falls, still bending down, until \(x=3\), where it switches to bending up (inflection point); keeps falling, now bending up, to a valley (local min) at \(x = 4\); then rises, bending up. Any curve with this shape is a correct sketch — the exact heights are not determined by this information.

Remark (Optional: The Second Derivative Test) The second derivative can also classify critical points (when \(f\) and its derivatives are continuous). If \(f'(c) = 0\) and the graph is concave up there (\(f''(c) > 0\)), the flat spot is at the bottom of a cup, so \(f\) has a local min at \(c\). If \(f'(c) = 0\) and \(f''(c) < 0\), the flat spot is at the top of a frown: a local max. (If \(f''(c) = 0\), this test tells us nothing.) For example, if \(f(2) = 8\), \(f'(2) = 0\) and \(f''(2) = 4\), then \(f\) has a local min at \(x = 2\). This was not assessed in our course — the first derivative test always works.

Self-Check

From Activity 23: Increasing/Decreasing and Concavity, and the Exam 3 Review Packet

(a) Determine where the function \(f(x) = \tfrac12x^3 - \tfrac92x^2 + 10x + 11\) is concave up and concave down. Write your answer in interval notation.

(b) An unknown function \(g(x)\) has \((-\infty,\infty)\) as its domain. The second derivative of \(g\) is given by

\[ g''(x) = \frac{(x-2)(x+1)^2}{x-5}. \]

Use this to determine the intervals where \(g(x)\) is concave up and concave down. Give the location of any inflection points.

Limits at Infinity & Horizontal Asymptotes

↑ Back to top
Goals Learn how to algebraically compute limits at infinity; define and find horizontal asymptotes; sketch graphs using the information from this and previous sections.

Limits as \(x\to\pm\infty\)

A limit at infinity asks: what happens to \(f(x)\) as \(x\) gets larger and larger without bound (\(x\to\infty\)), or more and more negative (\(x\to-\infty\))? Two basic examples:

\[ \lim_{x\to\infty}\frac1x = 0, \qquad\qquad \lim_{x\to\infty}x^2 = \infty \ \ (\text{grows without bound, so the limit does not exist as a number}). \]

Idea: a fixed number divided by something huge is tiny: \(\dfrac{\text{constant}}{\text{huge}}\to 0\). With "more \(x\)" on the bottom, as \(x\to\infty\) the fraction goes to 0.

What about \(\displaystyle\lim_{x\to\infty}\frac{3x^2+4x}{5x^2-3x}\)? Plugging in "\(\infty\)" gives \(\frac{\infty}{\infty-\infty}\), which is meaningless. Two ways to proceed:

Method 1: Estimate with a Table

\(x\)\(f(x)\)\(x\)\(f(x)\)
100.72340426\(-10\)0.49056604
1000.61167002\(-100\)0.58846918
10000.60116070\(-1000\)0.59884070
1000000.60001160\(-100000\)0.59998840

As \(x\to\infty\), \(f(x)\to 0.6\), and as \(x\to-\infty\), \(f(x)\to0.6\) as well.

−10−5510−2123xy y = 0.6
\(f(x) = \dfrac{3x^2+4x}{5x^2-3x}\) levels off at \(y = 0.6\) on both ends (it also has a vertical asymptote at \(x=0.6\) and a hole at \(x=0\))

Method 2: Algebraically

Technique for Limits at Infinity of Rational Functions
Divide each term (top and bottom) by \(x^n\), where \(n\) is the highest power in the denominator. Then use \(\dfrac{\text{constant}}{x^k}\to 0\) as \(x\to\pm\infty\).
Example The highest power in the denominator is \(x^2\): \[ \lim_{x\to\pm\infty}\frac{3x^2+4x}{5x^2-3x} = \lim_{x\to\pm\infty}\frac{\frac{3x^2}{x^2}+\frac{4x}{x^2}}{\frac{5x^2}{x^2}-\frac{3x}{x^2}} = \lim_{x\to\pm\infty}\frac{3+\frac4x}{5-\frac3x} = \frac{3+0}{5-0} = \frac35 = 0.6. \]
Example Divide each term by \(x\) (the highest power in the denominator): \[ \lim_{x\to\infty}\frac{x^2+4x}{3x+1} = \lim_{x\to\infty}\frac{\frac{x^2}{x}+\frac{4x}{x}}{\frac{3x}{x}+\frac1x} = \lim_{x\to\infty}\frac{x+4}{3+\frac1x} = \infty, \]

since the top grows without bound while the bottom approaches 3. Similarly \(\displaystyle\lim_{x\to-\infty}\frac{x+4}{3+\frac1x} = -\infty\).

Example Divide each term by \(x^4\): \[ \lim_{x\to\infty}\frac{3x^3+6x}{4x^4+5} = \lim_{x\to\infty}\frac{\frac3x+\frac{6}{x^3}}{4+\frac{5}{x^4}} = \frac{0+0}{4+0} = 0. \]

Horizontal Asymptotes

Definition (Horizontal Asymptote) The graph of \(f(x)\) has a horizontal asymptote at \(y = B\) if either \[ \lim_{x\to\infty}f(x) = B \qquad\text{or}\qquad \lim_{x\to-\infty}f(x) = B \] (or both).
Remark

So in the examples above: \(y = \tfrac35\) is a horizontal asymptote of \(\frac{3x^2+4x}{5x^2-3x}\); \(\frac{x^2+4x}{3x+1}\) has no horizontal asymptote; and \(y = 0\) is a horizontal asymptote of \(\frac{3x^3+6x}{4x^4+5}\). For rational functions there is a shortcut, remembered as "BOBO BOTN EATS DC":

MnemonicMeaningHorizontal asymptote
BOBOBigger On BottomO: \(y = 0\)
BOTNBigger On TopNone
EATS DCExponents Are The SameDivide the leading Coefficients

("Bigger" refers to the highest power of \(x\).) The shortcut is a good check, but you should be able to justify the answer with the algebraic technique.

Example Use limits to determine if each function has a horizontal asymptote.

Putting It All Together: Sketching Graphs

Drawing the Graph of a Function
  1. Determine the domain of the function.
  2. Locate the \(x\)- and \(y\)-intercepts.
  3. Evaluate \(\lim_{x\to\infty}f(x)\) and \(\lim_{x\to-\infty}f(x)\) to determine the end behavior. If either limit is a finite number \(L\), then \(y = L\) is a horizontal asymptote.
  4. Determine whether \(f\) has any vertical asymptotes.
  5. Calculate \(f'\). Find all critical points and determine the intervals where \(f\) is increasing and decreasing. Determine any local extrema.
  6. Calculate \(f''\). Determine the intervals where \(f\) is concave up and concave down, and find any inflection points.
Example Use all the steps to sketch a graph of \(f(x) = \dfrac{x^2}{1-x^2}\).
1. Domain.

\(1 - x^2 = (1+x)(1-x)\ne 0\), so \(x\ne\pm1\). Domain: \((-\infty,-1)\cup(-1,1)\cup(1,\infty)\).

2. Intercepts.

\(y\)-intercept: \(f(0) = \frac01 = 0\). \(x\)-intercepts: \(\frac{x^2}{1-x^2} = 0\) means \(x^2 = 0\), so \(x = 0\). The only intercept is the origin.

3. End behavior.
\[ \lim_{x\to\pm\infty}\frac{x^2}{1-x^2} = \lim_{x\to\pm\infty}\frac{\frac{x^2}{x^2}}{\frac{1}{x^2}-\frac{x^2}{x^2}} = \lim_{x\to\pm\infty}\frac{1}{\frac1{x^2}-1} = \frac{1}{0-1} = -1. \]

Horizontal asymptote at \(y = -1\).

4. Vertical asymptotes.

At \(x = \pm1\) the top is \(1\) and the bottom is \(0\) ("\(\frac10\)"), so the function blows up. Checking signs of the bottom just to each side:

\[ \lim_{x\to1^-}\frac{x^2}{1-x^2} = +\infty,\quad \lim_{x\to1^+}\frac{x^2}{1-x^2} = -\infty,\quad \lim_{x\to-1^-}\frac{x^2}{1-x^2} = -\infty,\quad \lim_{x\to-1^+}\frac{x^2}{1-x^2} = +\infty. \]

Vertical asymptotes at \(x = -1\) and \(x = 1\).

5. Increasing/decreasing.
\[ f'(x) = \frac{(1-x^2)(2x) - x^2(-2x)}{(1-x^2)^2} = \frac{2x - 2x^3 + 2x^3}{(1-x^2)^2} = \frac{2x}{(1-x^2)^2}. \]

Critical point: \(x = 0\). (\(x = \pm1\) are not in the domain but still go on the number line.) The denominator is always positive, so the sign of \(f'\) is the sign of \(2x\):

Interval\((-\infty,-1)\)\((-1,0)\)\((0,1)\)\((1,\infty)\)
Sign of \(f'\)\(-\)\(-\)\(+\)\(+\)
\(f\)decreasingdecreasingincreasingincreasing

Decreasing on \((-\infty,-1)\cup(-1,0)\), increasing on \((0,1)\cup(1,\infty)\), local min at \(x = 0\).

6. Concavity.

Quotient rule again (the chain rule gives \(\frac{d}{dx}(1-x^2)^2 = 2(1-x^2)(-2x)\)):

\[ f''(x) = \frac{(1-x^2)^2(2) - 2x\cdot 2(1-x^2)(-2x)}{(1-x^2)^4} = \frac{(1-x^2)\bigl[2(1-x^2) + 8x^2\bigr]}{(1-x^2)^4} = \frac{2+6x^2}{(1-x^2)^3}. \]

The top \(2+6x^2\) is never zero (it is always positive). The bottom is zero at \(x = \pm1\). So the sign of \(f''\) is the sign of \((1-x^2)^3\), which is the sign of \(1-x^2\):

Interval\((-\infty,-1)\)\((-1,1)\)\((1,\infty)\)
Sign of \(f''\)\(-\)\(+\)\(-\)
\(f\)concave downconcave upconcave down

The concavity changes at \(x = \pm1\), but these are not inflection points because they are not in the domain.

−2−112−4−224xy y = −1
\(f(x) = \dfrac{x^2}{1-x^2}\), with asymptotes \(x = \pm1\) and \(y = -1\)
Example (Sketching from Properties) A function satisfies the following. Use this to sketch a graph.

Draw the vertical asymptote \(x = 2\) and the horizontal lines \(y = 4\) and \(y = -2\). On the left piece, \(f\) is increasing and concave up and shoots up to \(\infty\) at \(x=2\); since it is increasing, it must level off toward \(y = 4\) as \(x\to-\infty\) (staying above it), passing through \((0,5)\). On the right piece, \(f\) comes down from \(\infty\) near \(x = 2\), decreasing and concave up, crosses the \(x\)-axis at \(x=4\), and levels off toward \(y=-2\) as \(x\to\infty\).

Self-Check

From the Exam 3 Review Packet (no in-class activity for this topic)

(a) Evaluate the limit below using algebraic techniques. Then describe how you can also estimate it by plugging in values.

\[ \lim_{x\to\infty}\frac{3x^2+2x+1}{5x^2+3x-1} \]

(b) Let

\[ f(x) = \frac{x^2-4}{x^2+8x+15} = \frac{(x-2)(x+2)}{(x+3)(x+5)}. \]
  1. Use algebraic techniques to evaluate \(\lim_{x\to\infty}f(x)\).
  2. Determine the location of the horizontal asymptotes of \(f(x)\). Explain your reasoning.
  3. Determine the location of the vertical asymptotes of \(f(x)\). Explain your reasoning using limits.
Applied Optimization

↑ Back to top
Goals Set up and solve optimization problems.

The Basic Idea

For a function of one variable, the min or max can only occur at critical points (where the first derivative is 0 or undefined) or at endpoints. But word problems often give us:

So we use the constraint to reduce the objective function to a single variable, then take the derivative and set it equal to 0.

Basic Steps for Optimization
  1. Variables: draw a picture and define your variables.
  2. Objective: determine the objective function — the function you want to minimize or maximize.
  3. Constraint: find any constraints, i.e. equations that relate the variables.
  4. One variable + domain: use the constraint to reduce the objective function to one variable, and find the domain of this new function.
  5. Derivative: find the derivative of the single-variable function and set it equal to 0 (and find where it's undefined) to get the critical points.
  6. Check! Test that you really have a min/max (a table with the endpoints, or a sign chart).
Example (Fencing a Garden) We have 100 feet of fencing and want to fence in a rectangular garden along a rock wall (no fence is needed along the wall). What dimensions maximize the area of the garden?
w w ℓ garden wall
Fence on three sides; the wall forms the fourth side

Objective: maximize the area \(A = \ell\cdot w\).

Constraint: the fence covers two sides of length \(w\) and one side of length \(\ell\): \(2w + \ell = 100\), so \(\ell = 100-2w\).

One variable + domain:

\[ A = (100-2w)\,w = 100w - 2w^2, \qquad 0\le w\le 50. \]

(The width can't be negative, and \(\ell = 100 - 2w\) can't be negative.)

Derivative:

\[ A' = 100 - 4w = 0 \;\Longrightarrow\; w = 25. \]

Check:

\(w\)\(A = (100-2w)w\)
00
25\((100-50)(25) = 1250\)absolute max
500

The dimensions are \(w = 25\) ft and \(\ell = 100-2(25) = 50\) ft, for a maximum area of 1250 ft².

Example (Maximizing the Volume of a Box) An open-top box is made from a 24 in \(\times\) 36 in piece of cardboard by removing a square from each corner and then folding up the sides. What is the maximum volume of the box?

Variables: let \(x\) be the side length of each removed square. Folding up the flaps makes a box of height \(x\); each side of the base loses \(x\) at both ends.

Objective: maximize volume \(V = \ell\cdot w\cdot h\).

Constraint: \(\ell = 24-2x\), \(w = 36-2x\), \(h = x\).

One variable + domain:

\[ V = x(24-2x)(36-2x) = 4x^3 - 120x^2 + 864x, \qquad 0\le x\le 12. \]

(We can't cut out more than half of the 24-inch side.)

Derivative:

\[ V' = 12x^2 - 240x + 864 = 12(x^2 - 20x + 72) = 0. \]

Try to factor; if that fails, use the quadratic formula:

\[ x = \frac{20\pm\sqrt{400 - 4(1)(72)}}{2} = \frac{20\pm\sqrt{112}}{2} = 10\pm2\sqrt7. \]

\(10+2\sqrt7\approx 15.29\) is outside \([0,12]\), so the only critical point is \(x = 10-2\sqrt7\approx 4.708\).

Check:

\(x\)\(V = x(24-2x)(36-2x)\)
00
\(10-2\sqrt7\approx4.708\)\(\approx 1825.3\)max
120

(A sign chart agrees: \(V'\) is \(+\) on \((0, 4.708)\) and \(-\) on \((4.708, 12)\).) The maximum volume is about 1825 in³, when squares of side \(10-2\sqrt7\approx 4.71\) in are removed.

Example (Maximizing Revenue) A car rental company is willing to rent cars for between $50 and $200 a day. If they price cars at $50, they can rent 750, and for each $1 they increase the price, the demand goes down by 5 cars. What price maximizes revenue?

Let \(x\) be the number of $1 increases. Making a table helps see the pattern:

Price$50$51$52$53…$60…\(50+x\)
# cars750745740735…\(750-5(10)\)…\(750-5x\)

Revenue \(=(\#\text{ items})(\text{price per item})\):

\[ R(x) = (750-5x)(50+x) = 37500 + 500x - 5x^2, \qquad 0\le x\le 150. \]

(Price \(50+x\) must be at most $200.)

\[ R'(x) = 500 - 10x = 0 \;\Longrightarrow\; x = 50. \]
\(x\)\(R(x) = (750-5x)(50+x)\)
0\(750\cdot 50 = 37{,}500\)
50\(500\cdot100 = 50{,}000\)max
150\(0\cdot200 = 0\)

The revenue-maximizing price is \(50+x = 50+50 = \)$100 per day (renting 500 cars for $50,000).

Example (Minimizing Cost) A company wants to produce a sturdy open-top rectangular container with a square base whose volume is 128 ft³. The sides cost $2 per square foot and the bottom costs $6 per square foot. Find the dimensions that minimize cost.

Variables: let \(x\) be the side length of the square base and \(y\) the height.

Objective: minimize cost.

\[ C = (\text{cost per ft}^2)(\text{area of bottom}) + (\text{cost per ft}^2)(\text{area of a side})(\#\text{ sides}) = 6x^2 + 2(xy)(4) = 6x^2+8xy. \]

Constraint: \(V = x^2y = 128\), so \(y = \dfrac{128}{x^2}\).

One variable + domain:

\[ C = 6x^2 + 8x\cdot\frac{128}{x^2} = 6x^2 + \frac{1024}{x}, \qquad x > 0. \]

Here \(x > 0\) (if \(x = 0\) the volume would be 0), but there is no upper bound, so we can't use the closed interval table. Instead we use a sign chart.

Derivative:

\[ C'(x) = 12x - \frac{1024}{x^2} = 0 \;\Longrightarrow\; 12x = \frac{1024}{x^2} \;\Longrightarrow\; 12x^3 = 1024 \;\Longrightarrow\; x^3 = \frac{256}{3} \;\Longrightarrow\; x = \sqrt[3]{\frac{256}{3}}\approx 4.40. \]

(\(C'\) is undefined at \(x = 0\), but that is not in the domain.)

Check: \(C'(1) = 12 - 1024 < 0\) and \(C'(10) = 120 - 10.24 > 0\). So \(C\) is decreasing before \(x\approx 4.40\) and increasing after: an absolute minimum at \(x = \sqrt[3]{256/3}\).

\[ y = \frac{128}{x^2} = \frac{128}{(256/3)^{2/3}}\approx 6.60. \]

The cheapest container has a base about 4.40 ft by 4.40 ft and a height of about 6.60 ft (costing about $348.89).

Self-Check

From Activity 24: Optimization

(a) We want to build a rectangular farm surrounded by fencing. We only have 300 m of fencing. Given this condition, what dimensions should the farm be to maximize the enclosed area?

(b) We are going to fence in a rectangular field. Looking at the field from above, the cost of the vertical sides is $10/ft, the cost of the bottom is $2/ft and the cost of the top is $7/ft. If we have $700, determine the dimensions of the field that will maximize the enclosed area.