Maximize a Function: Extrema of ρsinθ + cosθ over [0,pi/2]

  • Thread starter Thread starter Qube
  • Start date Start date
  • Tags Tags
    Function Maximum
Qube
Gold Member
Messages
461
Reaction score
1

Homework Statement



Find the extrema of over [0,pi/2]

ρsinθ + cosθ = f(θ), where ρ is a constant

Homework Equations



Extrema occur at critical points and global extrema occur at end points.

The Attempt at a Solution



f(0) = 1
f(pi/2) = ρ

f'(θ) = ρcosθ - sinθ = 0

ρcosθ = sinθ.

θ = pi/4. This seems to maximize the original function because geometrically, the largest triangle is constructed on the unit circle by making the two legs (the cosine and sine functions) equal in length.

f(pi/4) = √2ρ > ρ.

Or is θ = arctan(ρ)?
 
Physics news on Phys.org
Qube said:

Homework Statement



Find the extrema of over [0,pi/2]

ρsinθ + cosθ = f(θ), where ρ is a constant

Homework Equations



Extrema occur at critical points and global extrema occur at end points.

The Attempt at a Solution



f(0) = 1
f(pi/2) = ρ

f'(θ) = ρcosθ - sinθ = 0

ρcosθ = sinθ.

[STRIKE]θ = pi/4. This seems to maximize the original function because geometrically, the largest triangle is constructed on the unit circle by making the two legs (the cosine and sine functions) equal in length.
f(pi/4) = √2ρ > ρ.
[/STRIKE]

No, the derivative is not zero at θ=pi/4. Not the area of a triangle in the unit circle has to be maximized but the f(θ) function. And d(pi/4) is not √2ρ.

Qube said:
Or is θ = arctan(ρ)?

yes, it is. Is there a local maximum or a minimum? What is f(θ) at θ=arctan(ρ)?

ehild
 
Qube said:

Homework Statement



Find the extrema of over [0,pi/2]

ρsinθ + cosθ = f(θ), where ρ is a constant

Homework Equations



Extrema occur at critical points and global extrema occur at end points.

The Attempt at a Solution



f(0) = 1
f(pi/2) = ρ

f'(θ) = ρcosθ - sinθ = 0

ρcosθ = sinθ.

θ = pi/4. This seems to maximize the original function because geometrically, the largest triangle is constructed on the unit circle by making the two legs (the cosine and sine functions) equal in length.

f(pi/4) = √2ρ > ρ.

Or is θ = arctan(ρ)?

I don't know if your statement "Extrema occur at critical points and global extrema occur at end points." is intended to apply to ANY function, or just to the one given in the question. In any case that statement is incorrect in general; depending on the sign of ρ, the statement can be true in some cases and false in other cases. You do not even need calculus to solve this problem; just use the standard trick of applying trigonometric addition formulas, to write f as
f(t) = R \sin(t+w), \text{ where }\: R = \sqrt{1+\rho^2}, \; \cos(w) = \frac{\rho}{R}, \: \sin(w) = \frac{1}{R}.
What would the graph of this f(t) look like on the interval [0,π/2]?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top