Need a concave function

  • Thread starter johnd17
  • Start date
1
0
I need a concave function in 2 variables X and Y for some modelling i'm doing.

For 0<x<1 and 0<y<1, the function needs to satisfy the following:

f(x,y) < 0 for x<0.5 and/or y<0.5
f(x,y) = 0 for x=0.5 and y=0.5
f(x,y) > 0 for x>0.5 and y>0.5

MUST be concave.. i.e. second order partials wrt X and Y must both be < 0.

My maths was never that good and I can't seem to make any progress here.. can anyone help out? Thanks
 

I like Serena

Homework Helper
6,553
176
Hi johnd17! Welcome to PF! :smile:

What about:
[tex]f(x,y) = \ln(x + \frac 1 2) + \ln(y + \frac 1 2)[/tex]
 

Related Threads for: Need a concave function

Replies
11
Views
856
Replies
4
Views
4K
  • Posted
Replies
1
Views
2K
  • Posted
Replies
2
Views
3K
Replies
2
Views
357
Replies
1
Views
973

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top