Show that affine functions are both concave and convex

retspool
Messages
35
Reaction score
0

Homework Statement


In my textbook, the author briefly makes a statement that affine functions are both concave and convex, how is that true? and how can it be proven?


Homework Equations





The Attempt at a Solution

 
on Phys.org
Isn't an affine function a line?
Lines don't have any concavity.
 
This is exactly how the problem goes
let f(x) be a function in Rn.
prove that f(x) is both concave and convex if f(x) = cTx for some vector c

I thought that the function was a affine function, but i can't prove it
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K