MHB Junie12's questions at Yahoo Answers regarding optimization

  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Optimization
AI Thread Summary
Junie12 seeks assistance with optimization problems in calculus, specifically focusing on minimizing distances and maximizing areas under various constraints. Key problems include minimizing the distance from a parabola to a point, maximizing the area of a right triangle with a linear constraint, and optimizing the area of a rectangle given its perimeter. Solutions involve deriving critical points through differentiation and applying constraints to find maximum values. The final results indicate specific dimensions and areas for the respective geometric shapes, demonstrating the application of optimization techniques in calculus.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here are the questions:

Please help me with calculus? Optimization? I have no idea. :/?

I'm still doing this horrible study guide for Calculus that my teacher is making me do because I missed most of the semester due to family issues and getting sick a lot. Can someone answer these questions and an example would be awesome if you have the time.

1. Find the formula that should be used to minimize the distance between y = 5x^2 and the point (4, 3).

2. The legs of a right triangle are x and y. Find the equation that will maximize the area of the triangle given that 2x + y = 16.

3. Given the area of a rectangle is A = bh. If perimeter of the rectangle is 2b + 2h = 20, maximize the area of the rectangle.

4. Find the point on the parabola y = x^2 that is closest to the point (0, 2).

5. A student wishes to maximize the amount of poster space for an art exhibit. The requirements are that the height and width must sum to 50. What should the dimensions of the poster be?

I have posted a link there to this thread so the OP can view my work.
 
Mathematics news on Phys.org
Hello Junie12,

1. Find the formula that should be used to minimize the distance between y = 5x^2 and the point (4, 3).

If we look at problem 4.), we see that they are of the same form, so let's generalize this problem as much as we need to derive a formula into which we may then plug the given data. So let's let the parabola be:

$$y=ax^2$$

and the point (not on the parabola) we'll call:

$$\left(x_0,y_0 \right)$$

Now, an arbitrary point on the parabola is $$(x,y)=\left(x,ax^2 \right)$$ and so the square of the distance $D$ between the two points is:

$$D^2=\left(x-x_0 \right)^2+\left(ax^2-y_0 \right)^2$$

In order to minimize the distance, we need to implicitly differentiate with respect to $x$, solve for $$\frac{dD}{dx}$$, and equate this result to zero to obtain the critical value(s).

$$2D\frac{dD}{dx}=2\left(x-x_0 \right)(1)+2\left(ax^2-y_0 \right)(2ax)$$

Dividing through by $2D$, and equating to zero, we obtain:

$$\frac{dD}{dx}=\frac{2a^2x^3+\left(1-2ay_0 \right)x-x_0}{D}=0$$

This implies:

(1) $$2a^2x^3+\left(1-2ay_0 \right)x-x_0=0$$

Plugging in our given data:

$$a=5,\,x_0=4,\,y_0=3$$

we obtain:

$$50x^3-29x-4=0$$

Now, if we let $$r_1,\,r_2,\,r_3$$ be the three roots of this cubic function in ascending numeric value, we observe that the leading coefficient is positive, thus we know on:

$$\left(-\infty,r_1 \right)$$ cubic is negative.

$$\left(r_1,r_2 \right)$$ cubic is positive.

$$\left(r_2,r_3 \right)$$ cubic is negative.

$$\left(r_3,\infty \right)$$ cubic is positive.

Hence, we know there are local minima associated with $r_1$ and $r_3$. Let's obtain a plot of the cubic:

View attachment 1860

Here is a link to the program use to obtain the plot in case you cannot view the attachment:

y=50x^3-29x-4 where x=-1 to 1 - Wolfram|Alpha

We see that $r_1\approx-0.7$. We may now use Newton's method to obtain a better approximation:

$$x_{n+1}=x_{n}-\frac{50x_n^3-29x_n-4}{150x_n^2-29}=\frac{4\left(25x_n^3+1 \right)}{150x_n^2-29}$$

$$x_0=-0.7$$

$$x_1\approx-0.680898876404494$$

$$x_2\approx-0.679962570724380$$

$$x_3\approx-0.679960352828821$$

$$x_4\approx-0.679960352816386$$

$$x_5\approx-0.679960352816388$$

$$x_6\approx-0.679960352816388$$

Thus $$r_1\approx-0.679960352816388$$. Now to find $r_3$, which we see is about $0.8$.

$$x_0=0.8$$

$$x_1\approx0.823880597014925$$

$$x_2\approx0.822931436888217$$

$$x_3\approx0.822929903556085$$

$$x_4\approx0.822929903552086$$

$$x_5\approx0.822929903552086$$

And so $$r_3\approx0.822929903552086$$. To determine which of these critical values associated with local minimums of the distance function, we may evaluate the distance function at them:

$$D(-0.679960352816388)=\sqrt{(-0.679960352816388-4)^2+\left(5(-0.679960352816388)^2-3)^2 \right)}\approx4.73030061799106$$

$$D(0.822929903552086)=\sqrt{(0.822929903552086-4)^2+\left(5(0.822929903552086)^2-3)^2 \right)}\approx3.20044106325424$$

Thus, we know the minimum distance between the parabola $y=5x^2$ and the point $(4,3)$ is about $3.20044106325424$ units.

2. The legs of a right triangle are x and y. Find the equation that will maximize the area of the triangle given that 2x + y = 16.

Maximizing the area of the right triangle with legs $x$ and $y$ is equivalent to maximizing the rectangle whose base is $x$ and whose height is $y$. Doing this will given us a formula to use also for problems 3.) and 5.)

So, let our objective function by:

$$f(x,y)=xy$$

Subject to the constraint:

$$g(x,y)=Ax+By+C=0$$

Solving the constraint for $y$, we obtain:

$$y=-\frac{Ax+C}{B}$$

Substituting into the objective function for $y$, we obtain:

$$A(x)=-\frac{Ax^2+Cx}{B}$$

To obtain our critical value, we may differentiate this function with respect to $x$, and equate the result to zero:

$$A'(x)=-\frac{2Ax+C}{B}=0$$

This implies:

$$x=-\frac{C}{2A}$$

To determine the nature of the extremum associated with this critical value, we may look at the second derivative:

$$A''(x)=-\frac{2A}{B}$$

Thus we see that if $$\frac{2A}{B}>0$$ there is a maximum and if $$\frac{2A}{B}<0$$ there is a minimum.

For this problem, we have:

$$A=2,\,B=1,\,C=-16$$

and so $$\frac{2A}{B}=4>0$$, and so the critical value $$x=-\frac{C}{2A}=4$$ is at a maximum.

Hence, the area of the given right triangle is maximized at $x=4$. This maximal area is:

$$A_{\max}=\frac{1}{2}\left(-\frac{2(4)^2+(-16)(4)}{1} \right)=16$$

3. Given the area of a rectangle is A = bh. If perimeter of the rectangle is 2b + 2h = 20, maximize the area of the rectangle.

Using the formula from problem 2.) we first identify the objective function:

$$f(b,h)=bh$$

subject to the constraint:

$$g(b,h)=b+h-10=0$$

Next, we identify the parameters:

$$A=1,\,B=1,\,C=-10$$

Hence, the critical value is:

$$b=-\frac{C}{2A}=5$$

$$\frac{2A}{B}=2>0$$ so we know this critical value is at a maximum.

Thus, we find:

$$f_{\max}=-\frac{(5)^2-10(5)}{1}=25$$

Thus, the area of the rectangle is maximized at an area of $25$ units squared.

4. Find the point on the parabola y = x^2 that is closest to the point (0, 2).

Using the formula from problem 1.) we first identify the parameters:

$$a=1,\,x_0=0,\,y_0=2$$

and so our critical value(s) will come from the cubic

$$2x^3-3x=x\left(2x^2-3 \right)=0$$

Hence, the critical values are:

$$x=-\sqrt{\frac{3}{2}},\,0,\,\sqrt{\frac{3}{2}}$$

Using the same logic as in problem 1.), we know the local minima occur at:

$$x=\pm\sqrt{\frac{3}{2}}$$

Because the distance formula in this case is:

$$D(x)=\sqrt{x^2+\left(x^2-2 \right)^2}$$

We see that the distance is the same for both critical values. Hence, we may conclude:

$$D_{\min}=\sqrt{\frac{3}{2}+\frac{1}{4}}= \frac{\sqrt{7}}{2}$$

5. A student wishes to maximize the amount of poster space for an art exhibit. The requirements are that the height and width must sum to 50. What should the dimensions of the poster be?

Using the formula from problem 2.) we first identify the objective function:

$$f(b,h)=bh$$

subject to the constraint:

$$g(b,h)=b+h-50=0$$

Next, we identify the parameters:

$$A=1,\,B=1,\,C=-50$$

Hence, the critical value is:

$$b=-\frac{C}{2A}=25$$

$$\frac{2A}{B}=2>0$$ so we know this critical value is at a maximum.

Thus, we find:

$$f_{\max}=-\frac{(25)^2-50(25)}{1}=625$$

Thus, the area of the rectangle is maximized at an area of $625$ units squared when the base $b=25$ and the height $h=25$.
 

Attachments

  • junie12a.jpg
    junie12a.jpg
    5.2 KB · Views: 85
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top