What is the meaning of convexity for a function on an interval?

  • Thread starter Thread starter Izzhov
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
Convexity of a function on an interval means that the function's graph lies below the straight lines connecting any two points on the graph within that interval. A function is convex at a point if its second derivative is positive, while it is concave if the second derivative is negative. This concept can also apply to non-differentiable functions, where a function is considered convex if the set of points above its graph forms a convex set. For example, the parabola x^2 is convex, while -x^2 is concave. The discussion confirms that the function x^x is indeed convex for x > 0.
Izzhov
Messages
120
Reaction score
0
What does it mean for a function to be convex (or concave) on an interval [a,b]? I understand what a function is and what an interval is, but I don't get what "convexity" is.
 
Mathematics news on Phys.org
A (twice-differentiable) function is concave at a point if its second derivative is negative at that point. Similarly a function is convex at a point if its second derivative is positive at that point.

You can extend the definition to functions that aren't differentiable also; see http://en.wikipedia.org/wiki/Concave_function.

Intuitively: A concave (or "concave down") function is one that is "cupped" downwards. For example, the parabola -x^2 is concave throughout its domain, and the parabola x^2 is convex throughout its domain.

There are functions which are "cupped" but don't actually have the cup shape. For example, 1/x is concave on the negative reals and convex on the positive reals, however it doesn't have any extrema at all.Another way to present it is: A function f is convex on an interval if the set of points above its graph on that interval is a convex set; that is, ifp = (x_1, y_1) and q = (x_2, y_2) are points with x_1, x_2 on the interval of interest, y_1 \geq f(x_1), and y_2 \geq f(x_2), then the straight line joining p to q lies entirely above the graph of f. Then you can define f is concave whenever -f is convex.
 
Last edited:
A convex set is a set where all points can be connected with a straight line inside the set (so every point can "see" every other). A function is convex if the set above it (ie the set {(x,y):y>f(x)}) is convex.

If the function is twice differentiable, this is equivalent with that the second derivative is everywhere non-negative.
 
Data said:
A (twice-differentiable) function is concave at a point if its second derivative is negative at that point. Similarly a function is convex at a point if its second derivative is positive at that point.

You can extend the definition to functions that aren't differentiable also; see http://en.wikipedia.org/wiki/Concave_function.

Intuitively: A concave (or "concave down") function is one that is "cupped" downwards. For example, the parabola -x^2 is concave throughout its domain, and the parabola x^2 is convex throughout its domain.

There are functions which are "cupped" but don't actually have the cup shape. For example, 1/x is concave on the negative reals and convex on the positive reals, however it doesn't have any extrema at all.


Another way to present it is: A function f is convex on an interval if the set of points above its graph on that interval is a convex set; that is, ifp = (x_1, y_1) and q = (x_2, y_2) are points with x_1, x_2 on the interval of interest, y_1 \geq f(x_1), and y_2 \geq f(x_2), then the straight line joining p to q lies entirely above the graph of f. Then you can define f is concave whenever -f is convex.

So this means the function x^x is convex where x>0, correct?
 
Yes. (damn character limit)
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top