krit.club logo

Calculus - Optimization

Grade 12IB_AI

Review the key concepts, formulae, and examples before starting your quiz.

🔑Concepts

•

Optimization involves finding the maximum or minimum value of a function, which occurs at stationary points where the first derivative is zero: dydx=0\frac{dy}{dx} = 0.

•

The first step in an optimization problem is to define the variables and establish a function for the quantity to be optimized (e.g., Area A(x)A(x), Volume V(x)V(x), or Cost C(x)C(x)).

•

If the function contains two variables, use a constraint equation (a given constant value like total length or volume) to substitute one variable so the function is in terms of a single variable.

•

To determine if a stationary point is a maximum or a minimum, use the second derivative test: if f′′(x)>0f''(x) > 0, it is a local minimum; if f′′(x)<0f''(x) < 0, it is a local maximum.

•

In the IB AI syllabus, optimization often relates to real-world shapes like cylinders, cuboids, and rectangles, as well as economic functions like profit and cost.

•

Consider the domain of the variable; for example, lengths and radii must be positive (x>0x > 0).

📐Formulae

Condition for stationary point: f′(x)=0\text{Condition for stationary point: } f'(x) = 0

Second Derivative Test for Minimum: f′′(x)>0\text{Second Derivative Test for Minimum: } f''(x) > 0

Second Derivative Test for Maximum: f′′(x)<0\text{Second Derivative Test for Maximum: } f''(x) < 0

Volume of a Cylinder: V=πr2h\text{Volume of a Cylinder: } V = \pi r^2 h

Surface Area of a Closed Cylinder: A=2πr2+2πrh\text{Surface Area of a Closed Cylinder: } A = 2\pi r^2 + 2\pi rh

Surface Area of an Open Cylinder: A=πr2+2πrh\text{Surface Area of an Open Cylinder: } A = \pi r^2 + 2\pi rh

💡Examples

Problem 1:

A rectangular garden is to be fenced using 4040 m of fencing. One side of the garden is a straight stone wall and does not need fencing. Find the maximum possible area of the garden.

Solution:

Let the width of the garden perpendicular to the wall be xx and the length parallel to the wall be yy.

  1. Constraint (total fencing): 2x+y=40  ⟹  y=40−2x2x + y = 40 \implies y = 40 - 2x
  2. Area function: A=x×y=x(40−2x)=40x−2x2A = x \times y = x(40 - 2x) = 40x - 2x^2
  3. Differentiate: dAdx=40−4x\frac{dA}{dx} = 40 - 4x
  4. Set derivative to zero: 40−4x=0  ⟹  x=1040 - 4x = 0 \implies x = 10
  5. Find yy: y=40−2(10)=20y = 40 - 2(10) = 20
  6. Max area: A=10×20=200A = 10 \times 20 = 200 m2m^2
  7. Verification: d2Adx2=−4\frac{d^2A}{dx^2} = -4. Since −4<0-4 < 0, the area is a maximum.

Explanation:

We expressed the area in terms of one variable using the perimeter constraint, found the critical point using the derivative, and verified it was a maximum using the second derivative.

Problem 2:

A closed cylindrical can must have a volume of 500500 cm3cm^3. Show that the surface area AA is given by A=2πr2+1000rA = 2\pi r^2 + \frac{1000}{r}, and find the value of rr that minimizes this area.

Solution:

  1. Volume constraint: V=πr2h=500  ⟹  h=500πr2V = \pi r^2 h = 500 \implies h = \frac{500}{\pi r^2}
  2. Surface Area: A=2πr2+2πrhA = 2\pi r^2 + 2\pi rh
  3. Substitute hh: A=2πr2+2πr(500πr2)=2πr2+1000rA = 2\pi r^2 + 2\pi r\left(\frac{500}{\pi r^2}\right) = 2\pi r^2 + \frac{1000}{r}
  4. Differentiate: dAdr=4πr−1000r−2=4πr−1000r2\frac{dA}{dr} = 4\pi r - 1000r^{-2} = 4\pi r - \frac{1000}{r^2}
  5. Set to zero: 4πr=1000r2  ⟹  r3=10004π=250π4\pi r = \frac{1000}{r^2} \implies r^3 = \frac{1000}{4\pi} = \frac{250}{\pi}
  6. Solve for rr: r=250π3≈4.30r = \sqrt[3]{\frac{250}{\pi}} \approx 4.30 cm

Explanation:

First, the height was expressed in terms of the radius using the volume formula. This was substituted into the surface area formula. The derivative was set to zero to find the radius that provides the minimum surface area.