Concave and Convex Function

Concave and Convex Function

What is Concave Function?

Concave function is a function where the line segement between any two points of the function lies below or on the graph.[1]

Mathematically, as for concave function, the derivative of the left side of the max point is > 0, whereas the right side of the max point is < 0. There is one and only one value to make the derivative of the function equal to 0.

See the example below.

Concave function
Concave Function

What is Convex Function?

Oppose to concave function, convex function is a function where the line segement between any two points of the function lies above or on the graph.[2]

Mathematically, as for concave function, the derivative of the left side of the max point is < 0, whereas the right side of the max point is > 0. There is one and only one value to make the derivative of the function equal to 0.

See the example below.

Convex function
Convex Function

Neither Concave or Convex Function

As for other function which is neither concave or convex function, the number of the value to make the derivative of the function equal to 0 is multiple or none.

See the example below.

Neither
Neither

How to Find the Max/Min of Concave/Convex Function?

To find the max/min of concave/convex function, we need to make the value converge to the max/min.

So to converge the value, as for concave function, we should plus the derivative of the function, whereas we should substract the derivative of the function.

Let summary the attribute concave and convex function

ConcaveConvex
Concave function is a function where the line segement between any two points of the function lies below or on the graph.Oppose to concave function, convex function is a function where the line segement between any two points of the function lies above or on the graph.
Mathematically, as for concave function, the derivative of the left side of the max point is > 0, whereas the right side of the max point is < 0. There is one and only one value to make the derivative of the function equal to 0.Mathematically, as for concave function, the derivative of the left side of the max point is < 0, whereas the right side of the max point is > 0. There is one and only one value to make the derivative of the function equal to 0.
Plus the derivative of the functionSubstract the derivative of the function

See more detail below.

Converge
Converge

Reference

[1] Concave function - Wikipedia

[2] Convex function - Wikipedia

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值