## Tricky Optimization Problem

can someone PLEASE help me wit this problem? i will be ETERNALLY GRATEFUL. THANK YOU!!.

A light is suspended at a height "h" above the floor. The illumination at the point P is inversely proportional to the square of the distance from the point P to the light ("r") and directly proportional to the cosine of the angle theta. How far from the floor should the light be to maximize the illumination at the point P?

light
|\ o=theta
|o \
| \
h| \ r
| \
| \
|__10M__\
floor P

 PhysOrg.com science news on PhysOrg.com >> 'Whodunnit' of Irish potato famine solved>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change>> Curiosity Mars rover drills second rock target
 light |\ o=theta |o \ | \ h | \ r | \ | \ |__10M__\ floor P
 thats supposed to be a triangle by the way. sry.

Recognitions:
Gold Member
Staff Emeritus

## Tricky Optimization Problem

I assume that theta is set so that the light is shining directly at point p.

Okay, let "h" be the height of the light- which is, after all, what you want to find. Use the Pythagorean theorem to determine r, the straight line distance from the light to P, in terms of h. Use that, together with the definition of cosine, to find cos(theta) in terms of h. Since " The illumination at the point P is inversely proportional to the square of the distance from the point P to the light ("r") and directly proportional to the cosine of the angle theta" you can now write a formula for illumination entirely in terms of h. Differentiate that with respect to h and set equal to 0.