# Homework 4.5-1: Quadratic Optimization

Source: https://cca.twango.dev/Precalculus-Honors/homework/chapter-4/4.5-1

# Homework 4.5-1: Quadratic Optimization

Transcribed from the original handwritten page. Textbook prompts are absent; the original numbering and available work are preserved. Substantive corrections are labeled separately.

Original: [[../../assets/4.5-1.jpg|Handwritten source]]. Related: [[../../assignments|Homework archive]].
## 5. Rectangle with fixed perimeter

$$2\ell+2w=P,\qquad w=-\ell+P/2,$$
$$A=\ell w=-\ell^2+\frac P2\ell.$$

For the recorded $P=25$, the vertex occurs at $\ell=25/4$ and $w=25/4$.

## 7. Triangle with constrained base and height

The sheet writes $b+h=S$, $h=S-b$, and

$$A=\frac12b(S-b)=-\frac12b^2+\frac S2b.$$

It then substitutes $S=100$, obtaining $b=50$, $h=50$, and $\boxed{A=1250}$.

## 11. Height model

For the recorded $h(t)=-16t^2+32t$:

- (a) $h(1)=16$ and $h(3/2)=12$.
- (b) The maximum height is $16$ at $t=1$ second.
- (c) Setting $h(t)=7$ gives $16t^2-32t+7=(4t-1)(4t-7)=0$, so $\boxed{t=1/4,7/4}$.

## 27. Minimizing a sum of squares

**(a)** With $x+y=15$, the sheet writes $y=15-x$ and $x^2+(15-x)^2$, then records $2x^2-30x+255$. Its minimizing input is $x=15/2$.

> [!warning] Correction
> The constant is $15^2=225$, so the expansion is $\boxed{2x^2-30x+225}$. The minimizing input remains $15/2$.

**(b)** With $x+y=c$:

$$x^2+(c-x)^2=2x^2-2cx+c^2,\qquad x=-\frac{-2c}{2(2)}=\boxed{c/2}.$$

## 29. Square inscribed in a unit square

![[assets/precalc-5-4.5-inscribed-square.svg|4.5 inscribed square]]

Schematic of the inscribed square. Adjacent corner legs are $a$ and $1-a$; the inner side is $x$. The drawing illustrates a general offset, rather than prescribing a value of $a$.

If the inner side is $x$, the work gives

$$x^2=a^2+(1-a)^2=2a^2-2a+1.$$

The minimum occurs at $a=1/2$, so the minimum area is $\boxed{1/2}$ and the side length is $\boxed{\sqrt2/2}$.

## 31. Rectangle beneath a line

For the depicted line $y=-3x+7$:

$$A=xy=x(-3x+7)=-3x^2+7x,$$
$$x=\frac76,\qquad A=-3(7/6)^2+7(7/6)=\boxed{49/12}.$$

![[assets/precalc-5-4.5-line-rectangle.svg|4.5 line rectangle]]

The rectangle beneath the stated line is drawn at the maximizing $x=7/6$; its top-right corner lies on $y=-3x+7$.

Continuation: [[4.5-2|Problems 33–57]].
