MHB ?'s questions at Yahoo Answers regarding optimization

  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Optimization
AI Thread Summary
The discussion addresses three optimization problems involving calculus. The first problem involves cutting a 40 cm wire into two pieces to minimize the combined area of a circle and a square, concluding that the optimal lengths are approximately 24.74 cm for the square and 15.26 cm for the circle. The second problem focuses on designing an open box with a square base and a surface area of 108 square inches, determining that the maximum volume occurs with a base length of 6 inches and a height of 3 inches. The third problem analyzes the concentration of a drug in the bloodstream, identifying that the maximum concentration of approximately 0.02485 mg/cm³ occurs at about 1 hour and 24 minutes after administration. Each problem employs calculus techniques such as derivatives and critical point analysis to find optimal solutions.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here are the questions:

What is the function and answer to these optimization questions?

1. A piece of wire 40 cm long is to be cut into two pieces. One will be bent to form a circle; the other will be bent to form a square. Find the lengths of the two pieces that cause the sum of the area of the circle and the area of a square to be a minimum.

2. A manufacturer wants to design an open box having a square base and a surface area of 108 square inches. What dimensions will produce a box with maximum value?

3. The concentration in mg/cm^3, of a particular drug in a patient's bloodstream is given by the formula C(t) = (0.12t) / (t^2+2t+2), where t represents the number of hours after the drug is taken.
a) Find the maximum concentration on the interval 0<=t<=4.
b) Determine when the maximum concentration occurs

I have posted a link to this topic so the OP can see my work.
 
Mathematics news on Phys.org
Re: ?'s questions at Yahoo Answers regarding optimization

Hello ?,

1.) A piece of wire 40 cm long is to be cut into two pieces. One will be bent to form a circle; the other will be bent to form a square. Find the lengths of the two pieces that cause the sum of the area of the circle and the area of a square to be a minimum.

Let's let the length of the wire be $0<L$, and the let $0\le S$ be the portion of the wire used to form the square, and let the portion of the wire that is the circumference of the circle be $0\le C$

Each side of the square will be $\dfrac{S}{4}$, and so the area of the square is:

$$A_S=\left(\frac{S}{4} \right)^2=\frac{S^2}{16}$$

The area of the circle is:

$$ A_C=\pi r^2$$

Now, the circumference of the circle is $C$ and so the radius of the circle is:

$$r=\frac{C}{2\pi}$$

hence the area of the circle in terms of $C$ is:

$$A_C=\pi\left(\frac{C}{2\pi} \right)^2=\frac{C^2}{4\pi}$$

Adding the two areas, we find the total area of the two shapes is:

$$A=A_S+A_C=\frac{S^2}{16}+\frac{C^2}{4\pi}$$

To find the absolute extrema, we first observe we must have:

$0\le S\le L$ which also means $0\le C\le L$

So, we will find the local extrema within this interval, and also look at the area at the end-points of the interval as possible absolute extrema as well.

There are 3 ways to find the local extremum, since the area is a quadratic in $S$.

For the first two methods, we wish to have an area function in one variable, and so we may use:

$C=L-S$

and we have:

$$A(S)=\frac{S^2}{16}+\frac{(L-S)^2}{4\pi}$$

Method 1: find the axis of symmetry

We will write the area function in standard quadratic form:

$$A(S)=\frac{4+\pi}{16\pi}S^2-\frac{L}{2\pi}S+\frac{L^2}{4\pi}$$

Thus, the axis of symmetry is at:

$$S=-\frac{-\frac{L}{2\pi}}{2\left(\frac{4+\pi}{16\pi} \right)}=\frac{4L}{4+\pi}$$

Since the parabola opens upward, we know the global minimum is at this value of $S$.

Thus, this is the amount of the wire that should go to the square to minimize the total area. Analysis of the end-points reveals:

$$A(0)=\frac{L^2}{4\pi}$$

$$A(L)=\frac{L^2}{16}$$

Since $A(0)>A(L)$, we find that to maximize the area, none of the wire should go to the square, and this makes sense as a circle will enclose more area per perimeter than a square.

Method 2: Equate derivative of area function to zero and solve for $S$ to get critical value.

$$A(S)=\frac{S^2}{16}+\frac{(L-S)^2}{4\pi}$$

$$A'(S)=\frac{S}{8}-\frac{L-S}{2\pi}=\frac{\pi S-4(L-S)}{8\pi}=0$$

This implies:

$$ \pi S-4(L-S)=0$$

$$ S=\frac{4L}{4+\pi}$$

To determine the nature of the associated extremum, we may use either the first or second derivative tests.

First derivative test:

$$A'(0)=\frac{\pi(0)-4(L-0)}{8\pi}=-\frac{L}{2\pi}<0$$

$$A'(L)=\frac{\pi L-4(L-L)}{8\pi}=\frac{L}{8}>0$$

Thus, the first derivative test shows the extremum is a minimum.

Second derivative test:

$$A''(S)=\frac{d}{dS}\left(\frac{\pi S-4(L-S)}{8\pi} \right)=\frac{p+4}{8\pi}>0$$

This shows the area function is concave up everywhere, and thus the extremum must be a global minimum.

Method 3: Use optimization with constraint

We have the objective function:

$$A(C,S)=\frac{S^2}{16}+\frac{C^2}{4\pi}$$

subject to the constraint:

$$g(C,S)=C+S-L=0$$

Using Lagrange multipliers, we find:

$$\frac{C}{2\pi}=\lambda$$

$$\frac{S}{8}=\lambda$$

this implies:

$$\frac{C}{2\pi}=\frac{S}{8}$$

$$C=\frac{\pi S}{4}$$

Substituting this into the constraint, we find:

$$\frac{\pi S}{4}+S-L=0$$

Solving for $S$, we find:

$$S=\frac{4L}{4+\pi}$$

The remaining analysis is the same as for Method 1.

In conclusion, we have found to minimize the area, we need:

$$S=\frac{4L}{4+\pi}$$

$$C=\frac{\pi}{4}S=\frac{\pi}{4}\cdot\frac{4L}{4+\pi}=\frac{\pi L}{4+\pi}$$

Using the given value $L=40\text{ cm}$ we find then:

$$S=\frac{160}{4+\pi}\,\text{cm}$$

$$C=\frac{40\pi}{4+\pi}\,\text{cm}$$
 
Last edited:
Re: ?'s questions at Yahoo Answers regarding optimization

2.) A manufacturer wants to design an open box having a square base and a surface area of 108 square inches. What dimensions will produce a box with maximum value?

I am assuming two things here...we wish to maximize the volume and the sirface area is the outer surface area only.

Let's let $0\le L$ be the lengths of the sides of the square base and $0<S$ be the outer surface area. We will let $0\le h$ be the height of the box. We may then write:

(1) $$V(h,L)=hL^2$$

(2) $$S(h,L)=L^2+4hL$$

We should observe that we require:

$$0\le L\le\sqrt{S}$$

Method 1: Single variable calculus

Solving (2) for $h$, we find:

$$h=\frac{S-L^2}{4L}$$

Substituting for $h$ into (1) we have:

$$V(L)=\left(\frac{S-L^2}{4L} \right)L^2=\frac{1}{4}\left(SL-L^3 \right)$$

Differentiating with respect to $L$ and equating to zero, we find:

$$V'(L)=\frac{1}{4}\left(S-3L^2 \right)=0$$

And this implies:

$$S-3L^2=0$$

Taking the positive root since $L$ represents a measurement of length, we have:

$$L=\sqrt{\frac{S}{3}}$$

and so:

$$h=\frac{S-\left(\sqrt{\frac{S}{3}} \right)^2}{4\sqrt{\frac{S}{3}}}= \frac{1}{2}\sqrt{\frac{S}{3}}$$

To determine the nature of the extremum associated with this critical value,we may use the first and second derivative tests.

First derivative test:

$$V'(0)=\frac{1}{4}\left(S-3(0)^2 \right)=\frac{S}{4}>0$$

$$V'(\sqrt{S})=\frac{1}{4}\left(S-3(\sqrt{S})^2 \right)=-\frac{S}{2}<0$$

Thus, the first derivative test shows the extremum is a maximum. Since we have:

$$V(0)=V(\sqrt{S})=0$$, we know this is the absolute maximum on the restricted domain of $L$.

Second derivative test:

$$V''(L)=\frac{d}{dL}\left(\frac{1}{4}\left(S-3L^2 \right) \right)=-\frac{6L}{4}$$

Thus, on the restricted domain, the volume function is concave down, hence the extremum is a maximum.

Method 2: Multi-variable calculus (optimization with constraint)

We have the objective function:

$$V(h,L)=hL^2$$

subject to the constraint:

$$g(h,L)=L^2+4hL-S=0$$

Using Lagrange multipliers, we find:

$$L^2=4L\lambda$$

$$2hL=(2L+4h)\lambda$$

This implies:

$$\lambda=\frac{L^2}{4L}=\frac{hL}{L+2h}$$

$$\frac{L^2(L+2h)-4hL^2}{4L(L+2h)}=0$$

$$\frac{L^2(L-2h)}{4L(L+2h)}=0$$

Thus, knowing $L=0$ is a minimum, we are left with:

$$L=2h$$

and substitution of this into the constraint reveals:

$$(2h)^2+4h(2h)-S=0$$

$$h=\frac{1}{2}\sqrt{\frac{S}{3}}$$

and so:

$$L=2h=\sqrt{\frac{S}{3}}$$

So, in conclusion, we have found that the volume of the box is maximized for:

$$L=\sqrt{\frac{S}{3}}$$

$$h=\frac{1}{2}\sqrt{\frac{S}{3}}$$

Using the given value of $$S=108\text{ in}^2$$, we then have:

$$L=6\text{ in}$$

$$h=3\text{ in}$$
 
Re: ?'s questions at Yahoo Answers regarding optimization

3.) The concentration in $$\frac{\text{mg}}{\text{cm}^3}$$, of a particular drug in a patient's bloodstream is given by the formula $$C(t)=\frac{0.12t}{t^2+2t+2}$$, where $t$ represents the number of hours after the drug is taken.

a) Find the maximum concentration on the interval $0\le t\le4$.

b) Determine when the maximum concentration occurs.

First, we want to find the critical values by equating the derivative of the concentration function to zero. Use of the quotient rule gives:

$$C'(t)=\frac{0.12(t^2+2t+2)-0.12t(2t+2}{(t^2+2t+2)^2}=\frac{0.12(2-t^2)}{(t^2+2t+2)^2}=0$$

The denominator has no real roots, and for the given interval the only critical value is then:

$$t=\sqrt{2}$$

To determine the nature of the extremum associated with this critical value, we may use the first and second derivative tests.

First derivative test:

$$C'(0)=\frac{0.12(2-0^2)}{(0^2+2(0)+2)^2}=0.06>0$$

$$C'(4)=\frac{0.12(2-4^2)}{(4^2+2(4)+2)^2}=-\frac{21}{8450}<0$$

Thus, the first derivative test shows that the extremum is the absolute maximum.

Second derivative test:

$$C''(t)=\frac{d}{dt}\left(\frac{0.12(2-t^2)}{(t^2+2t+2)^2} \right)=0.12\left(\frac{(t^2+2t+2)^2(-2t)-(2-t^2)(2(t^2+2t+2)(2t+2))}{(t^2+2t+2)^4} \right)=\frac{0.24(t^3-6t-4)}{(t^2+2t+2)^3}$$

Knowing the denominator is positive for all real $t$, we need only look at:

$$(\sqrt{2})^3-6(\sqrt{2})-4=-4\sqrt{2}-4<0$$

And so we know the extremum is a maximum. Thus, we have found:

a) The maximum concentration in $$\frac{\text{mg}}{\text{cm}^3}$$ is

$$C_{\max}=C(\sqrt{2})=\frac{3}{50}(\sqrt{2}-1)\approx0.0248528137423857$$

b) This maximum occurs for $t$:

$$t=\sqrt{2}\text{ hr}\approx1\text{ hr }24\text{ min }51.1688245432\text{ sec }$$.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top