Investigating max and min value of a function

quantumphysic
Messages
4
Reaction score
0

Homework Statement



f(x) = (1/2)sin2x + cosx

Find

f^2 min +f^2 max = ?



Homework Equations



Differentiation not allowed... only by transformations and analysis.

The Attempt at a Solution



I am confused by what it means by f^2 min +f^2 max... does it imply we have to find max and min values seperately, square them and add them? Or does this formulation imply we can directly get the required value?

Do we have to square the function before investigating it?
 
Physics news on Phys.org
quantumphysic said:
f(x) = (1/2)sin2x + cosx

I think what they're asking you to do is find the sum of the squares of the maximum and minimum values of this function.

I'd suggest first writing out what sin(2x) is: you'll find that f(x) can be expressed as a product of two factors. It should be reasonably straightforward to see what the greatest and least values of that product are. Can f(x) be zero?
 
you need to take the derivative of that..

f(x) = (1/2)sin2x + cosx


f'(x)=1/4*cos2x-sinx
after that you solve f'(x)=0
find the extreme points and put the y values in the asked equation

f^2 min +f^2 max = ?
 
transgalactic said:
f(x) = (1/2)sin2x + cosx


f'(x)=1/4*cos2x-sinx
after that you solve f'(x)=0
find the extreme points and put the y values in the asked equation

f^2 min +f^2 max = ?

The problem statement says no differentiation allowed...

(If it were, the derivative would be f'(x)=1*cos2x - sinx .)
 
Last edited:
i'm getting

f(x) = cosx(1+sinx)

ok i got min value = 0 (the problem says 0 <= x <= pi/2)
how do we get the max value of the product?
 
you have a point in x=pi/2 +pi*k
and for x=3/4*pi +2pi*k

substitute them in the fuction and find their y values
 
Last edited:
how does that work?
 
quantumphysic said:
how does that work?

If the interval is [0, pi/2], then you don't have to worry about the other periodic values of sine and cosine. (You didn't mention the interval earlier...)

The minimum is zero at pi/2 because of the cosine term. For the maximum, you could either look at the terms in f(x) or square your result for f(x) first. In any case, using x = 0 would give you
f(0) = 1, but there's a place where we can do better. The problem with the endpoints is that sine is high when cosine is low and vice versa. What value of x gives both fairly high values for sine and cosine? (Consider graphs of those functions.)
 
pi/4 gives equal values for sine and cosine... however, how do we know there isn't a value that's higher? i think there may be a more rigorous proof...

e.g. on another similar problem i could obtain a quadratic equation containing f(x) in a constant term (by squaring function) and getting something like:

ax^2 +bx + c = f^2(x)

ax^2 +bx + (c - f^2(x)) = 0

b^2 - 4a(c - f^2(x)) &gt;or= 0 (for real f(x))

thus obtaining min and max values simultaneously...

on this example, on squaring i get a quartic equation on sin(x)... I'm unable to bring it to a simpler (quadratic) form or otherwise...
 
Last edited:
  • #10
Maybe we shouldn't look at the quartic polynomial, but rather the factored form. The function squared is

(cos x)^{2} (1+sin x)^{2} = (1 - [sin x]^{2})(1+sin x)^{2} = (1 - sin x)(1+sin x)^{3}<br />.

So we make the substitution t = sin x and ask for the maximum on the interval [0,1] of

(1 - t)(1+ t)^{3}<br />.

[I'm still thinking about how to solve this without calculus. (The maximum turns out to occur at sin x = 1/2 , BTW, not {sqrt(2)}/2 , as I'd earlier thought.) The instruction "use transformations and analysis" isn't very descriptive, so I'm still trying out ideas...]
 
Last edited:
Back
Top