{Calculus 1} Optimization Problem

Click For Summary
The discussion centers on an optimization problem involving a wire divided into two parts: one forming a square and the other a circle. Participants clarify the objective function, which is the total area of the square and circle, and the constraint, which relates to the wire's length. A key mistake identified was misinterpreting the variables, as the wire's length should be treated as a constant rather than a variable. After correcting the area formula and taking the derivative, the solution for the ratio of the circumference of the circle to the perimeter of the square was determined to be pi/4. Understanding the problem correctly significantly simplified the optimization process.
youngstudent16
Messages
59
Reaction score
1

Homework Statement


A wire is divided into two parts. One part is shaped into a square, and the other part is shaped into a circle. Let r be the ratio of the circumference of the circle to the perimeter of the square when the sum of the areas of the square and circle is minimized. Find r.

Homework Equations


Derivative and area of circle and square

The Attempt at a Solution



So I figure I have a wire y since I don't know the length cut it into two pieces x for the square and y-x for the circle. Area of the square is (x/4)^2 While y-x=2pir, r=y-x/2pi So area of circle is (y-x/2pi)^2

Now I want to minimize the total area by taking the derivative and setting it equal to zero. My problem is the y and this doesn't seem right. Any help is appreciated I still struggle with these word problems
 
Physics news on Phys.org
What is the objective function?

What is the constraint function?

Define those first.
 
Dr. Courtney said:
What is the objective function?

What is the constraint function?

Define those first.

I messed up the area of the circle

so I want to minimize
area of square + area of circle = x^2/16 + (y-x)^2/pi

Which would be my constraint

Objective function

In order to get x and y for r = circumference of circle / perimeter of square = (y - x) / x

Do I have all the information I need now my problem is if I take the derivative of that and set it equal to zero I have two variables
 
Last edited:
youngstudent16 said:
I messed up the area of the circle

so I want to minimize
area of square + area of circle = x^2/16 + (y-x)^2/pi

Which would be my constraint

Objective function

In order to get x and y for r = circumference of circle / perimeter of square = (y - x) / x

Do I have all the information I need now my problem is if I take the derivative of that and set it equal to zero I have two variables

(1) You do not have two variables; a poor choice of notation has allowed you to mislead yourself. The wire is given, so its length is not variable. Of course, you do not happen to be told its exact length, but for purposes of optimization that is irrelevant: the length is an input parameter, not a variable. Or, to put in another way: if the length of the wire is also regarded as a variable, the best solution is to take length = 0, as that certainly minimizes the total of both areas.
(2) In optimization, the objective function is the thing you are trying to maximize or minimize, while constraints are restrictions on the variables.
(3) Your formula for the area of the circle is wrong.
 
  • Like
Likes youngstudent16
Yes thank you your first point was my biggest mistake I was making. Its funny how understanding the question correctly makes the process much easier.

I fixed the area equation took the derivative set it equal to zero and finally got the solution of pi/4 as the correct answer
 
youngstudent16 said:
Yes thank you your first point was my biggest mistake I was making. Its funny how understanding the question correctly makes the process much easier.

I fixed the area equation took the derivative set it equal to zero and finally got the solution of pi/4 as the correct answer

Correct!
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K