# Concave function

## Definition

### For a function of a single variable

Suppose $f$ is a function from an interval $(a,b)$ in the real numbers, to the real numbers. We say that $f$ is a concave function on $(a,b)$ if:

$\frac{\partial^2 f}{\partial x^2} \le 0 \ \forall \ x \in (a,b)$.

We say that $f$ is a strictly concave function on $(a,b)$ if:

$\frac{\partial^2 f}{\partial x^2} < 0 \ \forall \ x \in (a,b)$.

Concave functions could be of many type:

• Concave functions that are increasing throughout, and in the limit still have positive first derivative.
• Concave functions that are increasing throughout, and in the right limit have zero derivative.
• Concave functions that start off increasing and end up decreasing.
• Concave functions that start off with zero derivative and end up decreasing.
• Concave functions that start off with negative first derivative.

## Facts

### Negative of convex

A function $f$ is concave if and only if the function $-f$ is a convex function. Similarly, $f$ is a strictly concave function if and only if $-f$ is a strictly convex function.

If $f$ is a concave function, and it is invertible, then the inverse function $f^{-1}$ is also a concave function.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 14, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7993634343147278, "perplexity": 210.29099984120953}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-24/segments/1590347413097.49/warc/CC-MAIN-20200531085047-20200531115047-00572.warc.gz"}