Maximum/minimum problem

  • Thread starter Karol
  • Start date
  • #1
Karol
1,380
22

Homework Statement


Capture.JPG


Homework Equations


Maxima/minima are where the first derivative is 0

The Attempt at a Solution


Capture.JPG

$$r^2=\frac{x^2}{4}+h^2~\rightarrow~h^2=r^2=\frac{x^2}{4}$$
S will be the strength of the light through the whole opening: the semicircle and the rectangle inside.
I take the strength of light through of light through the rectangle as 1 and through the colored glass as ##~\frac{1}{2}##.
$$S=\frac{1}{2}(\text{area of a semicircle})+\frac{1}{2}hx$$
$$S=\frac{1}{2}\left[ \frac{\pi r^2}{2}+hx \right],~~S'=\frac{1}{2}\left[ \left( -\frac{2x}{4} \right)x+h \right]$$
$$S=\frac{1}{2}\left[ \left( r^2-\frac{x^2}{4} \right)-\frac{x^2}{2} \right],~~S'=0:~~\rightarrow~~x^2=-4r^2$$

If i try the ##~GM \leq AM~##: ##~\sqrt{h^2x^2}\leq \frac{h^2+x^2}{2}##
In order to maximize the left side equality is when the elements are equal: ##~x^2=h^2~\rightarrow~x^2=h^2-\frac{x^2}{4}~\rightarrow~x^2=\frac{4r^2}{5}##
Both answers are wrong
 

Attachments

  • Capture.JPG
    Capture.JPG
    16.5 KB · Views: 627
  • Capture.JPG
    Capture.JPG
    4.2 KB · Views: 651

Answers and Replies

  • #2
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722

Homework Statement


View attachment 221827

Homework Equations


Maxima/minima are where the first derivative is 0

The Attempt at a Solution


View attachment 221828
$$r^2=\frac{x^2}{4}+h^2~\rightarrow~h^2=r^2=\frac{x^2}{4}$$
S will be the strength of the light through the whole opening: the semicircle and the rectangle inside.
I take the strength of light through of light through the rectangle as 1 and through the colored glass as ##~\frac{1}{2}##.
$$S=\frac{1}{2}(\text{area of a semicircle})+\frac{1}{2}hx$$
$$S=\frac{1}{2}\left[ \frac{\pi r^2}{2}+hx \right],~~S'=\frac{1}{2}\left[ \left( -\frac{2x}{4} \right)x+h \right]$$
$$S=\frac{1}{2}\left[ \left( r^2-\frac{x^2}{4} \right)-\frac{x^2}{2} \right],~~S'=0:~~\rightarrow~~x^2=-4r^2$$

If i try the ##~GM \leq AM~##: ##~\sqrt{h^2x^2}\leq \frac{h^2+x^2}{2}##
In order to maximize the left side equality is when the elements are equal: ##~x^2=h^2~\rightarrow~x^2=h^2-\frac{x^2}{4}~\rightarrow~x^2=\frac{4r^2}{5}##
Both answers are wrong

As I read the problem you have a rectangle of height ##h## and width ##2r##, surmounted by a semi-circle of radius ##r##. The total glass area is ##A = A_2 + A_s##, where ##A_r## is the rectangular area and ##A_s## is the semicircular area. What formulas (in terms of ##r## and ##h##) would you use to get ##A_r, A_s?##
The perimeter is ##P = 2h + 2r + \pi r.## The light admitted is proportional to ##F =A_r + (1/2) A_s##, and you want to maximize ##F## subject to constant ##P##.

Other interpretations: perhaps the author intends "perimeter" to mean total perimeter of both glass pieces, in which case it would be ##2h + 6r + \pi r,## or perhaps the glass individual glass pieces are to be surrounded by a frame, and "perimeter" means the total length of all material in the frame. In that case it would be##2h + 4r + \pi r.## However, my guess is that he/she means the original interpretation ##2h + 2r + \pi r.## That is just the total length of the outside edges.
 
Last edited:
  • #3
256bits
Gold Member
3,776
1,808
S=12(area of a semicircle)+12hxS=12(area of a semicircle)+12hx​
That equation states that all light goes through a semicircular area, and intensity is cut in half.
And that more light goes through a clear rectangular area, and intensity is also cut in half, contrary to the problem statement.
As I understand it, light enters a semicircular area, part of which is taken up by a clear window, and the rest taken up by colored glass.

I take that the perimeter of the clear glass is fixed, and is equal to 2x + 2h as one of the boundary conditions.
 
  • #4
Karol
1,380
22
This:
$$S=\frac{1}{2}(\text{area of a semicircle})+\frac{1}{2}hx$$
Isn't a mistake. ifi interpret correctly, according to my drawing, then the light from the rectangular window adds to the light from the semicircle.
I took the whole semicircle.
Ray, your ##~2h + 4r + \pi r.~## means:
Capture.JPG
The rectangle isn't surrounded and it should be
 

Attachments

  • Capture.JPG
    Capture.JPG
    2.7 KB · Views: 586
  • #5
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722
This:
$$S=\frac{1}{2}(\text{area of a semicircle})+\frac{1}{2}hx$$
Isn't a mistake. ifi interpret correctly, according to my drawing, then the light from the rectangular window adds to the light from the semicircle.
I took the whole semicircle.
Ray, your ##~2h + 4r + \pi r.~## means:
View attachment 221891 The rectangle isn't surrounded and it should be

No, that is not what it means. The perimeter of the rectangle is ##2h + 2(2r) = 2h + 4r## because each side has length ##h## and the top and bottom each have length ##2r## (which is the diameter of the semicircle).
 
  • #6
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,568
774
View attachment 221891 The rectangle isn't surrounded and it should be
@Karol: "Surrounded" and "surmounted" don't mean the same thing. This is a typical problem seen in many calculus texts, and in my opinion "surmounted" means the semicircular window is on top of the rectangle shaped one, and the "perimeter" means the outside perimeter. I could be wrong. (But I don't think so :oldsmile:).
 
  • #7
Karol
1,380
22
So it's:
Capture.JPG
Then the total glass area isn't ##~A=A_r+A_s##
Is a semicircle always exactly half a circle? if so then the proportions are fixed, h is always equal to r
 

Attachments

  • upload_2018-3-13_21-24-40.png
    upload_2018-3-13_21-24-40.png
    1.2 KB · Views: 442
  • Capture.JPG
    Capture.JPG
    3.8 KB · Views: 624
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,738
1,322
So it's:
View attachment 221930 Then the total glass area isn't ##~A=A_r+A_s##
Is a semicircle always exactly half a circle? if so then the proportions are fixed, h is always equal to r
I could barely see the detail in this figure. I changed brightness values to get:

upload_2018-3-13_15-7-5.png


This is not the correct sketch for your problem.

Your figure in post #4 is the correct one.
capture-jpg.jpg


The perimeter for this window in ##\ 2r+2h+\pi r \ ##.
 

Attachments

  • upload_2018-3-13_15-7-5.png
    upload_2018-3-13_15-7-5.png
    1.2 KB · Views: 272
  • capture-jpg.jpg
    capture-jpg.jpg
    2.7 KB · Views: 196
  • #9
Karol
1,380
22
How did you change the brightness of the jpeg, with which program?
The intensity of light F is proportional to:
$$F=A_r+\frac{1}{2}A_s=2(hr)+\frac{1}{2}\left[ \frac{1}{2}\pi r^2 \right]$$
I will denote the fixed perimeter as ##~K=2h+2r+\pi r##
$$F=(K-2r-\pi r)r+\frac{1}{4}\pi r^2$$
$$F'=K-2r-\pi r+r(-2-\pi)+\frac{\pi}{2}r=K-\left[ 2(\pi+2)-\frac{\pi}{2} \right]K$$
$$F'=0:~r=\frac{2K}{3\pi+8}~\rightarrow~h=\frac{(\pi+4)K}{2(3\pi+8)}$$
The relation:
$$\frac{h}{r}=\frac{\pi+4}{4}$$
Solved. the answer is:
Capture2.JPG
 

Attachments

  • Capture2.JPG
    Capture2.JPG
    4.2 KB · Views: 206
  • #10
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,738
1,322
How did you change the brightness of the jpeg, with which program?
...
I inserted a copy of your figure into a blank MS Word (2010) document. (That graphic of yours is actually in PNG format.)

I then used Picture Tools in MS Word to alter the contrast as well as the brightness.

Finally, I used the Snipping Tool from Windows 7 to get the resulting PNG file which I uploaded to PF and Post #8 above.
 
  • #11
Karol
1,380
22
Thank you Ray, 256bits, LCKurtz and SammyS
 
  • #12
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722
So it's:
View attachment 221930 Then the total glass area isn't ##~A=A_r+A_s##
Is a semicircle always exactly half a circle? if so then the proportions are fixed, h is always equal to r

Yes, by definition, a semi-circle is exactly one-half of a circle. Non-half circles are termed "segments" or "circular segments".

And no, ##r## and ##h## are two separate variables. The rectangle has width ##2r## and height ##h##. You can have ##h## be any number between 0 and infinity, no matter what is the value of ##r.##

If ##r## and ##h## are not separate variables you do not have an optimization problem at all----no maximum or minimum, just one single value, once you have been told the value of the perimeter.
 

Suggested for: Maximum/minimum problem

Replies
5
Views
948
  • Last Post
Replies
10
Views
860
Replies
2
Views
315
Replies
4
Views
998
  • Last Post
Replies
11
Views
1K
  • Last Post
Replies
25
Views
653
Replies
6
Views
482
Replies
5
Views
283
  • Last Post
Replies
11
Views
1K
Top