# How to remember which function is concave and which one is convex?

I always struggle to remember when a function is convex and concave:

My trick is based on the Spanish phrase "No cabe", pronounced nô ˈka.βe, which sound just like "concave". "No cabe" means it does not fit. Thus, whilst you can put something into a convex function (e.g. think of a bowl), you cannot put something into a concave function. Hence the relation.

I am curious on what other, perhaps more efficient methods people use.

• I personally prefer "convex exponential function" and conclude that the logarithm is concave. Jul 19, 2017 at 17:29
• If you know the standard English meaning of the words convex and concave, you can remember that for a convex function it is the epigraph that is convex, and for a concave function it is the epigraph that is concave. Failing that, the "cave" mnemonic mentioned by @SeanRoberson seems unforgettable. Jul 19, 2017 at 17:45
• In Swedish, which probably luchonacho doesn't know, one can connect convex with växande, meaning growing. Here, vex and väx sound the same. A convex function doesn't have to be growing, but if it's differentiable, then the derivative is growing. Jul 19, 2017 at 20:17
• @md2perpe: And "konkav" matches "avtagande" (=decreasing) too! :-) Jul 20, 2017 at 9:03
• Doubling down on the first comment. "$e$ to the $x$ is convex" (which even sort of rhymes) is how I remember it. Just remembering one example of a convex function is enough. Feb 17, 2021 at 15:57

I think it just depends on how you learn.

When I took calculus, we didn't use "concave" and "convex" - rather, we (and the AP exam) used "concave up" and "concave down." I still use these as a grad student.

One can also remember that concave functions look like the opening of a cave.

• Why not use convex up and convex down, though? Jul 19, 2017 at 17:35
• @k.stm Who knows. I just went with it. Jul 19, 2017 at 17:37
• To this I might add "concave up, like a cup" and "concave down, like a frown" if you have more difficulty remembering. Jul 19, 2017 at 18:20
• @BobKrueger I did something similar when dealing with curve sketching and derivatives - concave up, smiley face, $f''(x) > 0$. Concave down, frowny face, $f''(x) < 0$. Jul 19, 2017 at 18:21

In English, there is a great trick from David MacKay's recommended book on information theory: Just keep pronouncing the word "convex" as "convec-smile" and "concave" as "conca-frown" and the direction of the mouth of the corresponding smiley will tell you what the graph of the function looks like.

Well, I think of it as they both are in a smiling contest, concave smiles with the v and convex with the v and x. However, the fact that the function convex smiles more makes the concave sad.

conVex - V looks like the convex function :)

• But concaVe....
– F.A.
Apr 16, 2018 at 17:46
• @F.A. But Co⋂cave... ;) May 18, 2023 at 15:21
• @TheQuark There is a "n" also in "convex" Jun 3, 2023 at 17:05
• @robertspierre Yes, thus my actual (different) answer to the question here Jun 24, 2023 at 8:27

you just need to remember 1 of them, conCAVE, it is already in the word it is a cave hence the shape :-)

• Duplicate of @Sean Roberson answer Jun 3, 2023 at 17:04

For consistency and coherence between curve shapes in a $$(x,y)$$ plane and the shape of the surface of lenses, it is better to relate the terms with the sign of the curvature $$\partial^2 y/\partial x^2$$:

• concave = negative curvature: $$\partial^2 y/\partial x^2 < 0$$ (thus: downward curve or hollow surface)
• convex = positive curvature: $$\partial^2 y/\partial x^2 > 0$$ (thus: upward curve or domed surface)

concAve <-> negAtive

conveX <-> $$+$$ (rotated X)

And when you look at a surface, the equivalent of the y-axis is the axis of your gaze, oriented away from you.

I was taught in my language that concave = the one I can't pour coffee ("káva") in. Anyway it doesn't help that with lenses and mirrors this is the other way around.