Solving Minimization and Maximization Problems without Calculus [3]

A rectangular green space is to be built on an oval open space. The sides of the rectangle are parallel to the axis of symmetry of the ellipse. How should the design be done to maximize the green space area? What is the maximum area?


To maximize the green space area, we need to find the dimensions of the rectangle that can be inscribed within the oval such that its area is maximized.

Let’s denote the semi-major axis of the ellipse as a and the semi-minor axis as b. The equation of the ellipse is

\frac{x^2}{a^2}+\frac{y^2}{b^2}=1

The sides of the rectangle will be parallel to the axes of the ellipse. Let’s assume the width of the rectangle is 2x_0​ and the height is 2y_0​.

Fig. 1

As illustrated in Fig. 1,

\frac{x_0^2}{a^2}+\frac{y_0^2}{b^2}=1 \implies y_0 = \frac{b}{a}\sqrt{a^2-x_0^2}.\quad\quad\quad(1)

The area of the rectangle is given by A=4 x_0 y_0.

To maximize A, we express y_0​ in terms of x_0​ so that

A = 2x_0 \cdot 2y_0 \overset{(1)}{=} 2x_0\cdot 2\frac{b}{a}\sqrt{a^2-x_0^2}=\frac{4b}{a}x_0\sqrt{a^2-x_0^2}

This expression reveals that maximizing A is equivalent to maximizing x_0\sqrt{a^2-x_0^2} :

x_0\sqrt{a^2-x_0^2}

= \sqrt{a^2x_0^2-x_0^4}

= \sqrt{-x_0^4+a^2x_0^2-(\frac{a^2}{2})^2 + (\frac{a^2}{2})^2}

= \sqrt{(\frac{a^2}{2})^2-\left(x_0^4-a^2x_0^2+(\frac{a^2}{2})^2\right)}

= \sqrt{(\frac{a^2}{2})^2-\left(x_0^2-\frac{a^2}{2}\right)^2}.\quad\quad\quad(2)

Since \left(x_0^2-\frac{a^2}{2}\right)^2 \ge 0, (2) reaches its maximum when \left(x_0^2-\frac{a^2}{2}\right)^2 = 0. Consequently,

x_0^2-\frac{a^2}{2} = 0 \implies x_0 = \frac{a}{\sqrt{2}}\implies \left(x_0\sqrt{a^2-x_0^2}\right)_{max} = \frac{a^2}{2}.

Thus,

A_{max} = \frac{4b}{a}\cdot \left(x_0\sqrt{a^2-x_0^2}\right)_{max}=\frac{4b}{a}\cdot \frac{a^2}{2} = 2ab.


Exercise-1 Maximizing x_0\sqrt{a-x_0^2} using the theorem stated in “Solving Kepler’s Wine Barrel Problem without Calculus” (hint: x_0\sqrt{a^2-x_0^2} = (x_0^2)^\frac{1}{2}(a^2-x_0^2)^\frac{1}{2} and x_0^2+(a^2-x_0^2)=a^2, a constant)

A Stroll in the Woods

Solve z^4=(z-1)^4 for z \in \mathbb{C}


Solution-1

We define \sqrt[n]{X} first:

\sqrt[n]{X} : Y \in \mathbb{C} \ni Y^n = X.\quad\quad\quad(1)

When n=4, (1) becomes

\sqrt[4]{X} : Y \in \mathbb{C} \ni Y^4=X\quad\quad\quad(2)

Since (z)^4 = z^4, (-z)^4 = (-1)^4z^4=z^4, (iz)^4 = i^4z^4 = (i^2)^2 z^4 = (-1)^2z^4=z^4, (-iz)^4 = (-i)^4z^4 = i^4z^4 = z^4,

we have (by (2))

\sqrt[4]{z^4} = z or -z or iz or -iz.\quad\quad\quad(3)

Similarly,

\sqrt[4]{(z-1)^4} = z-1 or -(z-1) or i(z-1) or -i(z-1).\quad\quad\quad(4)

From observing that

z^4 = (z-1)^4 \implies \sqrt[4]{z^4} = \sqrt[4]{(z-1)^4},

we now proceed to solve z^4=(z-1)^4 for z \in \mathbb{C} by examining the following sixteen cases:

[1] z = z-1 \implies 0=-1 dismissed!

[2] z =-(z-1) \implies 2z = 1 \implies z = \frac{1}{2}

[3] z=i(z-1) \implies z=\frac{-i}{1-i} = \frac{1-i}{2}

[4] z=-i(z-1) \implies z=\frac{i}{1+i}=\frac{1+i}{2}


[5] -z=z-1 \implies 2z=1 \implies z = \frac{1}{2}

[6] -z=-(z-1) \implies 0 = 1 dismissed!

[7] -z=i(z-1) \implies z = \frac{i}{1+i} = \frac{1+i}{2}

[8] -z = -i(z-1) \implies z = \frac{-i}{1-i}=\frac{1-i}{2}


[9] iz =z-1 \implies z=\frac{1}{1-i} = \frac{1+i}{2}

[10] iz = i(z-1) \implies 0 = -1 dismissed!

[11] iz=-i(z-1) \implies 2iz = i \implies z = \frac{1}{2}

[12] -iz = z-1 \implies z=\frac{1}{1+i} = \frac{1-i}{2}


[13] -iz = z-1 \implies z=\frac{1}{1+i}=\frac{1-i}{2}

[14] -iz = -(z-1) \implies z=\frac{1}{1-i} = \frac{1+i}{2}

[15] -iz = i(z-1) \implies 2z=1 \implies z=\frac{1}{2}

[16] -iz = -i(z-1) \implies -iz=-iz + i \implies 0 = i dismissed!

Hence,

z=\frac{1}{2} or \frac{1-i}{2} or \frac{1+i}{2}.

The number of cases can be reduced if we express z^4=(z-1)^4 as

(z^2)^2 = ((z-1)^2)^2

(see Exercise-1)


Solution-2

z^4=(z-1)^4 \implies (\frac{z-1}{z})^4=1 \implies \left((\frac{z-1}{z})^2\right)^2= 1.

This leads to

(\frac{z-1}{z})^2 = 1 \implies (z-1)^2=z^2 \implies z^2-2z+1=z^2 \implies z=\frac{1}{2}.

Or,

(\frac{z-1}{z})^2 =-1 \implies (z-1)^2=-z^2 \implies z^2-2z+1=-z^2\implies 2z^2-2z+1=0

\implies z=\frac{1 - i}{2} or \frac{1+i}{2}


Solution-3

z^4-(z-1)^4 =0

\implies ((z^2+(z-1)^2)(z^2-(z-1)^2) = 0

\implies (2z^2-2z+1)(z+z-1)(z-z+1)=0

\implies (2z^2-2z+1)(2z-1)=0

\implies z = \frac{1}{2} or \frac{1-i}{2} or \frac{1+i}{2}


Solution-4

z^4 = \underbrace{z^4-4z^3+6z^2-4z+1}_{(z-1)^4 \; \text{expanded}}

\implies 4z^3-6z^2+4z-1=0

\implies 4z^3\underbrace{-2z^2-4z^2}_{-6z^2}+4z-1=0

\implies 2z^2(2z-1)-(2z-1)^2=0

\implies (2z-1)(2z^2-2z+1)=0

\implies z=\frac{1}{2} or \frac{1-i}{2} or \frac{1+i}{2}


Solution-5


Exercise-1 Solve (z^2)^2=((z-1)^2)^2 (hint: \sqrt{X^2}=X or -X)

Prove it analytically

Given a circle with diameter AB, let C be any point on the circle. If a perpendicular line CD is drawn from point C to diameter AB, and the tangent lines at C and A intersect at point Q, Prove that the intersection point E of lines CD and BQ is the midpoint of segment CD.


Fig. 1 A(-r, 0), B(r, 0), C(x_1, y_1), D(x_1, 0), E(x_1, y_E), Q(-r, y_Q),

As depicted in Fig. 1, the tangent line passing through C(x_1, y_1) is

x_1x + y_1y = r^2

(see “Constructing the tangent line of circle without calculus” ) and,

x_1^2+y_1^2=r^2 \implies r^2 - x_1^2 = y_1^2\quad\quad\quad(1)

At Q(-r, y_Q) where the tangent lines intersect,

x_1(-r) +y_1 y_Q = r^2 \implies y_Q = \frac{r^2+r x_1}{y_1}.

The slope of line BQ, denoted by k_{BQ}, is calculated as follows:

k_{BQ} = \frac{y_Q-0}{-r-r} = \frac{y_Q}{-2r} =\frac{1}{-2r}\cdot\frac{r(r+x_1)}{y_1} = -\frac{r+x_1}{2y_1}.

Subsequently, the line BQ can be represented by

y = k_{BQ}x+b = -\frac{r+x_1}{2y_1}x + b.

Since B(r, 0) is on line BQ, we have

0 = -\frac{(r+x_1)}{2y_1}\cdot r+b \implies b=\frac{(r+x_1)r}{2y_1}.

Hence, the equation of line BQ is

y = -\frac{(r+x_1)}{2y_1}x + \frac{(r+x_1)r}{2y_1} = \frac{(r-x)(r+x_1)}{2y_1}.

Given that E(x_1, y_E) lies on line BQ, we deduce that

y_E = \frac{(r-x_1)(r+x_1)}{2y_1}=\frac{r^2-x_1^2}{2y_1} \overset{(1)}{=} \frac{y_1^2}{2y_1}= \frac{y_1}{2}.

See also “A Proof“.


Exercise-1 Can you prove it synthetically ?

From Observation to Affirmation

A triangle possesses three altitudes, each of which connects a side to the opposite vertex perpendicularly. In an acute triangle, all three segments reside entirely within the triangle’s confines. However, in the case of an obtuse triangle, the altitudes from the acute angles intersect only the extensions of the opposite sides extended from the vertex of the obtuse angle, lying completely outside the triangle.


Case-1 \Delta ABC is acute

Assume there exists an altitude AD outside the triangle:

Fig. 1 AD \perp BD \;(\alpha_6=\frac{\pi}{2})

From Fig. 1, it is evident that

\alpha_5 = \pi - \alpha_3 \overset{\Delta ABC \text{is acute:\;\;} \alpha_3 < \frac{\pi}{2}}{\implies} \alpha_5 > \frac{\pi}{2}.\quad\quad\quad(1)

In \Delta ACD, it follows that

\alpha_4 + \alpha_5 + \alpha_6 \overset{\alpha_6 = \frac{\pi}{2}, (1)}{>} \alpha_4 + \frac{\pi}{2} + \frac{\pi}{2} = \alpha_4 + \pi > \pi \implies \alpha_4 + \alpha_5 + \alpha_6 > \pi,

contradicting \alpha_4+\alpha_5 + \alpha_6 = \pi.

Case-2 \Delta ABC is obtuse

If an altitude AD exists within the triangle:

Fig. 2 AD \perp BC \; (\alpha_5 = \frac{\pi}{2})

Then

\alpha_5 = \alpha_2 + \alpha_4 \overset{\Delta ACD \text{ is obtuse:}\;\; \alpha_2>\frac{\pi}{2}}{\implies} \alpha_5 >\frac{\pi}{2},

contradicting AD \perp BC.

Similarly, if there were an altitude outside the triangle connects to the extension of opposite side not extended from the vertex of the obtuse angle:

Fig. 3 AD \perp BD \; (\alpha_6 = \frac{\pi}{2})

We would have

\alpha_4+ \alpha_5 + \alpha_6 \overset{\alpha_5 = \alpha_1 + \alpha_2, \alpha_6=\frac{\pi}{2}}{=} \alpha_4 + \alpha_1 + \alpha_2 + \frac{\pi}{2} \overset{\alpha_2 > \frac{\pi}{2}}{>}\alpha_4 + \alpha_1 + \frac{\pi}{2} + \frac{\pi}{2} = \alpha_4 + \alpha_2 +\pi >\pi,

contradicting \alpha_4 + \alpha_5 + \alpha_6=\pi.


Exercise-1 Show that in any triangle where one angle is obtuse, the other two angles are acute.

Exercise-2 Show that in an obtuse triangle, the altitude connects to the opposite side of the obtuse angle resides within the triangle.

The Law of Cosines

We aim to derive the law of cosines.

Fig. 1 an acute triangle

From Fig. 1, we see that by the Pythagorean Theorem,

c^2 = (a-x)^2+h^2

= \underline{h^2}+a^2-2ax+\underline{x^2}

b^2=\underline{h^2}+\underline{x^2}

\overset{}{=} b^2 + a^2 - 2ax

x = b\cos(\gamma)

= a^2+b^2-2ab\cos(\gamma).

Fig. 2 an obtuse triangle

In Fig. 2,

c^2 = h^2 +(a+x)^2

= h^2+a^2+2ax + x^2

b^2=h^2+x^2

= a^2+2ax+b^2

= a^2+b^2+2ax

(\cos(\pi-\gamma) = -\cos(\gamma) , x=b\cos(\pi-\gamma)) \implies x = -b\cos(\gamma)

= a^2+b^2-2ab \cos(\gamma).

Thus, the law of cosines is established:

c^2=a^2+b^2-2ab\cos(\gamma).

The law of cosines can be established without relying on the Pythagorean Theorem:

Fig. 3

As depicted in Fig. 3,

a = b\cos(\gamma) + c\cos(\beta)\implies  a^2=ab\cos(\gamma) + ac\cos(\beta)

b=c\cos(\alpha) + a\cos(\gamma) \implies b^2 =bc\cos(\alpha) + ba\cos(\gamma)

c = b\cos(\alpha) + a\cos(\beta) \implies c^2 = cb\cos(\alpha) + ca\cos(\beta)

As a result,

c^2-a^2-b^2=-2ab\cos(\gamma) \implies c^2=a^2+b^2-2ab\cos(\gamma).

A similar approach is shown in Fig. 4:

Fig. 4

a = c\cos(\beta) - b\cos(\pi-\gamma) = c\cos(\beta) + b \cos(\gamma) \implies a^2 = ac\cos(\beta) + ab\cos(\gamma)

b = c\cos(\alpha) - a\cos(\pi-\gamma) = c\cos(\alpha) + a\cos(\gamma ) \implies b^2 = bc\cos(\alpha) + ba\cos(\gamma)

c=b\cos(\alpha) + a\cos(\beta) \implies c^2 =cb\cos(\alpha) + ca\cos(\beta)

Again, leading to c^2=a^2+b^2-2ab\cos(\gamma).

See also “From Observation to Affirmation“.


Exercise-1 Show that b^2=a^2+c^2-2ac\cos(\beta) and a^2=b^2+c^2-2bc\cos(\alpha).

Exercise-2 Show that when \gamma =\frac{\pi}{2} (90 degrees), the law of cosines reduces to the Pythagorean theorem.