# Homework 3.7 — Optimization

Source: https://cca.twango.dev/AP-Calculus-AB/homework/HW3.7

# Homework 3.7 — Optimization

Reviewed handwritten work, pages 1–3. The full textbook prompts are absent; the constraints, work, original answers and diagrams that appear on the sheet are retained. Related: [[HW3.1|Extrema]], [[HW3.3A|Derivative tests]].

## 8. Rectangle of area $1000$

![[../assets/diagrams/ab_home_8-hw3-7-8-rectangle.svg|Rectangle length and width]]

Regenerated dimensional schematic, not drawn to the final optimum. The vertical side is $\ell$ and horizontal side is $w$.

**Student work:** $1000=\ell w$, so $w=1000/\ell$. The perimeter is

$$
P=2\ell+2w=2\ell+\frac{2000}{\ell},\qquad P'=2-\frac{2000}{\ell^2}.
$$

Setting $P'=0$ gives $\ell^2=1000$; the positive dimensions are

$$
\boxed{\ell=w=10\sqrt{10}\text{ m}}.
$$

## 13. Rectangle with an interior partition

![[../assets/diagrams/ab_home_8-hw3-7-13-partition.svg|Rectangle dimensions with partition]]

Regenerated dimensional schematic, not drawn to the final optimum. The interior partition has length $w$, matching $P=2\ell+3w$.

**Student work:** $1{,}500{,}000=\ell w$, so $w=1{,}500{,}000/\ell$. The required fencing is

$$
P=2\ell+3w=2\ell+\frac{4{,}500{,}000}{\ell},\qquad P'=2-\frac{4{,}500{,}000}{\ell^2}.
$$

Setting $P'=0$ gives $\ell^2=2{,}250{,}000$, so

$$
\boxed{\ell=1500\text{ ft},\quad w=1000\text{ ft}}.
$$

## 21. Closest point on $y=2x+3$ to the origin

**Student work:**

$$
D=\sqrt{x^2+y^2}=\sqrt{x^2+(2x+3)^2}=\sqrt{5x^2+12x+9}.
$$

The page uses the quadratic vertex $x=-12/10=-6/5$. Substituting into the line gives $y=2(-6/5)+3=3/5$, so the answer is

$$
\boxed{(-6/5,3/5)}.
$$

> [!note]
> The quadratic being minimized is $D^2=5x^2+12x+9$; $D$ itself is its square root. Because the square root is increasing on nonnegative inputs, both have the same minimizing point.

## 25. Largest rectangle inscribed in a circle of radius $r$

![[../assets/diagrams/ab_home_8-hw3-7-25-inscribed-rectangle.svg|Inscribed rectangle with diameter diagonal]]

Regenerated generic inscribed rectangle. The diagonal passes through the center and consists of two radii $r$, so $\ell^2+w^2=(2r)^2$. It does not depict only the maximizing square.

**Student work:** $(2r)^2=\ell^2+w^2$, so $w=\sqrt{4r^2-\ell^2}$ and

$$
A=\ell\sqrt{4r^2-\ell^2}=\sqrt{4r^2\ell^2-\ell^4}.
$$

The source sets $8r^2\ell-4\ell^3=-4\ell(\ell^2-2r^2)=0$, excludes $\ell=0$ for a positive rectangle, and finds

$$
\boxed{\ell=w=r\sqrt2}.
$$

> [!note]
> The differentiated expression $4r^2\ell^2-\ell^4$ is $A^2$, not $A$. Maximizing it is valid here because $A\ge0$; the source's derivative notation blurred that distinction. The maximizing rectangle is a square.

## 27. Largest rectangle inscribed in an equilateral triangle

![[../assets/diagrams/ab_home_8-hw3-7-27-triangle-rectangle.svg|Equilateral triangle and generic inscribed rectangle]]

Regenerated generic construction: the triangle has base $L$, rectangle width $w$, rectangle height $\ell$, and remaining height $\sqrt3L/2-\ell$.

**Student work:** The triangle's height is $(\sqrt3/2)L$. Similarity gives

$$
\frac{(\sqrt3/2)L-\ell}{w}=\frac{\sqrt3}{2},\qquad \ell=\frac{\sqrt3}{2}(L-w).
$$

Then

$$
A=\ell w=\frac{\sqrt3}{2}Lw-\frac{\sqrt3}{2}w^2.
$$

Its vertex gives $w=L/2$, hence

$$
\boxed{w=\frac L2,\quad\ell=\frac{\sqrt3}{4}L}.
$$

## 29. Largest triangle inscribed in a circle

![[../assets/diagrams/ab_home_8-hw3-7-29-inscribed-triangle.svg|Inscribed triangle with half-base b and height x plus r]]

Regenerated generic triangle, preserving $h=x+r$, half-base $b$, and the right triangle $x^2+b^2=r^2$. The pictured proportions are schematic, not the maximizing dimensions.

**Student work:** With height $h=x+r$, half-base $b=\sqrt{r^2-x^2}$:

$$
A=\frac12(2b)h=\sqrt{r^2-x^2}(x+r).
$$

$$
A'=\sqrt{r^2-x^2}-\frac{x(x+r)}{\sqrt{r^2-x^2}}.
$$

Setting the numerator to zero gives

$$
r^2-2x^2-rx=0,\qquad x=\frac{-r\pm\sqrt{9r^2}}4.
$$

The nondegenerate solution is $x=r/2$. Therefore $h=3r/2$, $b=r\sqrt3/2$, and

$$
\boxed{h=\frac{3r}{2},\quad\text{base}=r\sqrt3}.
$$

## 31. Largest cylinder inscribed in a sphere of radius $R$

![[../assets/diagrams/ab_home_8-hw3-7-31-cylinder-sphere.svg|Projected cylinder and radius right triangle]]

Regenerated projection preserving the source’s half-height $h$, cylinder radius $r$, and sphere radius $R$. The relation $h^2+r^2=R^2$ refers to the right triangle; full cylinder height is $2h$.

**Student work:** $h^2+r^2=R^2$, so $h=\sqrt{R^2-r^2}$. The cylinder's full height is $2h$ and

$$
V=2\pi r^2\sqrt{R^2-r^2}.
$$

$$
V'=4\pi r\sqrt{R^2-r^2}-\frac{2\pi r^3}{\sqrt{R^2-r^2}}.
$$

Setting $V'=0$ yields

$$
4\pi r(R^2-r^2)-2\pi r^3=0.
$$

For $r>0$, divide by $r$ to get $4\pi R^2-6\pi r^2=0$, hence $r=\sqrt{2/3}\,R$. Substitution gives the source's final answer

$$
\boxed{V_{\max}=\frac{4\pi R^3}{3\sqrt3}}.
$$

> [!correction]
> One intermediate source line drops the factor $r$ from $4\pi rR^2$ without also reducing $r^3$ to $r^2$. The consistent cancellation is shown above; the final radius and volume written in the source are correct.

## 35. Border around an area-$384$ rectangle

![[../assets/diagrams/ab_home_8-hw3-7-35-border.svg|Inner rectangle and four-sided border]]

Regenerated schematic with 4-unit side borders and 6-unit top/bottom borders, consistent with $\ell=x+8$ and $w=y+12$. The original incorrect final $w=32$ remains quoted and corrected below; no unit is supplied by the sheet.

**Student work:** $xy=384$, so $y=384/x$. The border adds $8$ to one total dimension and $12$ to the other:

$$
\ell=x+8,\qquad w=y+12.
$$

The outer area is

$$
A=(x+8)(y+12)=384+12x+\frac{3072}{x}+96=12x+\frac{3072}{x}+480.
$$

$$
A'=12-3072x^{-2}=0\quad\Longrightarrow\quad x^2=256.
$$

The source finds $x=16$, $y=24$, then writes $\ell=16+8=24$, $w=24+12=32$, boxing $\ell=24,w=32$.

> [!correction]
> $24+12=36$, so the corrected outer dimensions are $\boxed{\ell=24,\ w=36}$. The interior dimensions $16$ by $24$ and the calculus setup are correct.

## 37. Split a length-$10$ wire between a square and equilateral triangle

**Student work:** Let $x$ be the length used for the square and $10-x$ the length for the triangle. Then

$$
A=\left(\frac x4\right)^2+\frac{\sqrt3}{4}\left(\frac{10-x}{3}\right)^2
=\frac{(9+4\sqrt3)x^2-80\sqrt3\,x+400\sqrt3}{144}.
$$

**(a)** Since this quadratic opens upward, compare endpoints on $[0,10]$. The source notes $A(10)>A(0)$ and concludes to use the entire $10$ for the square to maximize area.

**(b)** The vertex minimizes area:

$$
\boxed{x=\frac{40\sqrt3}{9+4\sqrt3}}.
$$

The remaining wire length is $10-x$. If the original prompt requires two nondegenerate shapes, the maximum in part (a) is approached at an endpoint rather than attained with both shapes present.

## 41. Unanswered item

The number **41** appears at the top right of page 3 with no question, calculation or answer below it. No content is supplied for this item.

## Original pages

[[../assets/HW3.7.pdf|Original handwritten pages (PDF)]]
