You can put this solution on YOUR website!
I don't know what definition of convex you're working with, but they shouldn't differ too much, so here's mine.
A set is convex, if for all pairs of elements of the set, the geodesic lies entirely within the set.
The geodesic is the shortest path, in
it is always a straight line.
So lets pick two arbitrary points
, and find the straight line between them.
is a vector space, we can add and scalar multiply to our heart's content, without leaving
And that's it, proved.
Hope that helps, if you have any problems, please email back.
Question from original poster
Thanks......I have my line segment as L=mX1+(1-m)X2 0<=m<=1
is this any different then the line that you had?
There are two ways to think about this. You can say that any two straight lines that go through the same two points must be the same.
My line passes through
and it passes through
. Your line passes through
and passes through
. So we have two straight lines that each pass through two points, therefore the must be the same.
The other much better(If you like geometry, which I do) way to think about it is this.
Think of a person travelling along my line, now for any
they are on the line. Lets consider a general function s(x), that maps the closed unit interval to its self.
, we know that
is still the same line. Although the person moves along it differently. If we can choose an
then the two lines are clearly the same(note that this technique works in general for any path, not just lines)
If you tidy this up you will find you get the same equation, thus the lines are the same.
Hope that helps,