Is f convex on (a,b) if and only if f(y)-f(x)>(y-x)f'(x) for all x, y in (a,b)?

  • Thread starter Thread starter barksdalemc
  • Start date Start date
  • Tags Tags
    Convex Functions
barksdalemc
Messages
54
Reaction score
0
Can someone tell me if my logic in answering the following questions is ok:

1. Suppose that f(x) and g(x) are convex on (a,b). Show that the functions h(x)=max[f(x), g(x)] is also convex on (a,b).

-I said that since f and g are convex their second derivatives are not equal to zero in (a,b) and then said since h is the max of f or g, that h also has a second derivative in (a,b) not equal to zero implying it is also convex.

2. Let f be differentiable on (a,b). Show that if f is convex if and only if for all x, y in (a,b): f(y)-f(x)>(y-x)f'(x)

-I'm at a loss on this one.
 
Physics news on Phys.org
What is your definition of convex? I guarantee it is not equivalent to "having a second derivative not equal to zero." Not only do convex function need not have even first derivatives, let alone second ones, but those that do certainly can have second derivatives equal to zero, such as any line.
 
ok. the definition states that a curve is convex in a ndb about some x if every point on the curve in the nbd is either above or below the tangent line at x.
 
barksdalemc said:
2. Let f be differentiable on (a,b). Show that if f is convex if and only if for all x, y in (a,b): f(y)-f(x)>(y-x)f'(x)

Rearrange: f(y)\gef(x)+(y-x)f'(x).
Draw a diagram: Two points (x,f(x)) and (y,f(y)), the horizontal distance between (y-x) and slope at (x,f(x)) is f'(x).
 
Thanks, but it seems like rewording of the definition of convexity. Is that ok?
 
Convex is when the curve is never below any tangent line (it can be above or contained in the tangent).
 
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