# Is there a way to find the critical points and inflection points of a finction w/o derivitives?

**URL:** <https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743>\
**Category:** Factual Questions\
**Created:** [May 25, 2010, 8:12pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743 "2010-05-25T20:12:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![brickbacon](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@brickbacon](https://boards.straightdope.com/u/brickbacon)\
**Post date:** [May 25, 2010, 8:12pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/1 "2010-05-25T20:12:27Z")

</div>

I know you can just use derivatives, but is there a way to solve for them without doing that? Is graphing it the only other way? Thanks in advance.

Sorry about the spelling errors. Can a mod please change those if possible?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 25, 2010, 8:45pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/2 "2010-05-25T20:45:28Z")

</div>

I’ve never seen anything like that. Why would you want to?

---

<div class="post-metadata">

**Author:** ![billfish678](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@billfish678](https://boards.straightdope.com/u/billfish678)\
**Post date:** [May 25, 2010, 9:17pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/3 "2010-05-25T21:17:53Z")

</div>

Well.

This is stupid, but it would work I think.

Take the integral of the function. This allows you calculate the area under the curve from point A to point B.

Use a computer to calculate the area from X=A to X=B. Now calculate from X=A to X=B plus some small number. Do that over and over adding some small number everytime.

That should allow you to detect inflection points without technically graphing the function or taking a dir.

Was just heading out the door, so havent given this much thought.

---

<div class="post-metadata">

**Author:** ![hogarth](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hogarth/32/1773_2.png) [@hogarth](https://boards.straightdope.com/u/hogarth)\
**Post date:** [May 25, 2010, 9:25pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/4 "2010-05-25T21:25:58Z")

</div>

Define “using derivatives”. For instance, do you consider the [Secant method](http://en.wikipedia.org/wiki/Secant_method) to be using derivatives?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 25, 2010, 9:38pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/5 "2010-05-25T21:38:44Z")

</div>

> [@billfish678](#):
>
> Well.
> 
> This is stupid, but it would work I think.
> 
> Take the integral of the function. This allows you calculate the area under the curve from point A to point B.
> 
> Use a computer to calculate the area from X=A to X=B. Now calculate from X=A to X=B plus some small number. Do that over and over adding some small number everytime.
> 
> That should allow you to detect inflection points without technically graphing the function or taking a dir.
> 
> Was just heading out the door, so havent given this much thought.

I don’t understand the intuition behind this at all.

---

<div class="post-metadata">

**Author:** ![Hypnagogic\_Jerk](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hypnagogic_jerk/32/4252_2.png) [@Hypnagogic\_Jerk](https://boards.straightdope.com/u/Hypnagogic_Jerk)\
**Post date:** [May 25, 2010, 10:23pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/6 "2010-05-25T22:23:11Z")

</div>

Try doing this. Say you have a function from a bounded subset of **R** to **R**. Split the domain of the function into n intervals, and only consider the value of the function at the endpoints of your intervals. For each endpoint, check the value of the function there and at both neighbours. If both neighbours have a higher (resp. lower) value, you have a minimum (resp. maximum). Otherwise it was a regular point. The finer the mesh you’re using, the closer you are to the actual critical point set of your function. This is basically how it’s done in numerical analysis, when you can’t always symbolically differentiate your function.

Similar but more complicated things could be done to find critical points of functions from **R** [sup]n[/sup] to **R** [sup]m[/sup].

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [May 25, 2010, 10:35pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/7 "2010-05-25T22:35:21Z")

</div>

Of course, for certain specific types of functions (like quadratic functions and sine waves), it’s possible to give a formula for where the critical points or inflection points are.

---

<div class="post-metadata">

**Author:** ![statsman1982](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@statsman1982](https://boards.straightdope.com/u/statsman1982)\
**Post date:** [May 26, 2010, 12:17am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/8 "2010-05-26T00:17:01Z")

</div>

Well, to check for changes in concavity (which is what inflection points indicate), you could use the definitions of a convex and concave function. A concave function, by definition, lies above a line connecting two points on the graph. So pick some interval [a,b] and a mesh size, say, [b-a]/10and see if that condition is true for a, a+[b-a]/10, …, b. If the condition changes somewhere in that interval, there’s an inflection point somewhere. Rinse and repeat, maybe with smaller mesh.

The reason to use derivatives to find extrema and inflection points is that other methods will only give approximations (but very good ones). Derivatives, though, are based on the idea of limits which, due to certain properties of the real line, can give you answers to an arbitrary degree of precision, and are in that sense “exact.”

[btw: there’s probably some problems with what I said, but I’m not a mathematician.]

---

<div class="post-metadata">

**Author:** ![robert\_columbia](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@robert\_columbia](https://boards.straightdope.com/u/robert_columbia)\
**Post date:** [May 26, 2010, 12:33am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/9 "2010-05-26T00:33:19Z")

</div>

> [@statsman1982](#):
>
> Well, to check for changes in concavity (which is what inflection points indicate), you could use the definitions of a convex and concave function. A concave function, by definition, lies above a line connecting two points on the graph. So pick some interval [a,b] and a mesh size, say, [b-a]/10and see if that condition is true for a, a+[b-a]/10, …, b. If the condition changes somewhere in that interval, there’s an inflection point somewhere. Rinse and repeat, maybe with smaller mesh.

What I see as a problem with this is that for a function f(x), in any interval [a,b] where a,b are reals, there could be an arbitrary number of local extrema (minima and maxima) and inflection points, so you are looking at recursing infinitely over smaller and smaller intervals looking for tiny tiny little twitches, and voila, you end up needing to use limits to avoid having to chug f(x) for aleph(1) reals eternally, and you are back at the deriviative.

E.g. you could say that you are going to measure intervals that are 0.0001 units wide, assuming that’s small enough, but then some wise guy gives you a function that for the interval [0.0000000000000004 0.0000000000000005], has 50 local extrema.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 26, 2010, 12:55am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/10 "2010-05-26T00:55:48Z")

</div>

> [@Hypnagogic\_Jerk](#):
>
> Try doing this. Say you have a function from a bounded subset of **R** to **R**. Split the domain of the function into n intervals, and only consider the value of the function at the endpoints of your intervals. For each endpoint, check the value of the function there and at both neighbours. If both neighbours have a higher (resp. lower) value, you have a minimum (resp. maximum). Otherwise it was a regular point. The finer the mesh you’re using, the closer you are to the actual critical point set of your function. This is basically how it’s done in numerical analysis, when you can’t always symbolically differentiate your function.

The issue with this approach is that the number of grid points you need to check (and the number of neighbors of each of them) grows exponentially with the dimension of your domain. It works well in one or two dimensions, but after that, you’re not going to want to run it over a particularly fine grid.

> [@](#):
>
> Similar but more complicated things could be done to find critical points of functions from **R** [sup]n[/sup] to **R** [sup]m[/sup].

This isn’t my area of expertise, but once you’re dealing with functions whose codomain is not totally ordered, you probably have to be very careful about specifying exactly what you’re looking for. Wikipedia [says](http://en.wikipedia.org/wiki/Critical_point_%28mathematics%29#Definition_for_maps) that the notion of a critical point doesn’t generalize in the completely obvious way, and I have no idea how to search for points like that. (That doesn’t mean that there isn’t an efficient algorithm, mind you, but it’s not going to be obvious to a non-specialist.)

---

<div class="post-metadata">

**Author:** ![Rysdad](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Rysdad](https://boards.straightdope.com/u/Rysdad)\
**Post date:** [May 26, 2010, 1:10am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/11 "2010-05-26T01:10:01Z")

</div>

Just dropped in to note that I like the word “finction.” I’m going to have to come up with a definition, though.

---

<div class="post-metadata">

**Author:** ![Kimstu](https://avatars.discourse-cdn.com/v4/letter/k/ecd19e/32.png) [@Kimstu](https://boards.straightdope.com/u/Kimstu)\
**Post date:** [May 26, 2010, 1:20am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/12 "2010-05-26T01:20:30Z")

</div>

> [@Rysdad](#):
>
> Just dropped in to note that I like the word “finction.” I’m going to have to come up with a definition, though.

It’s a made-up function that you specifically tweaked to demonstrate some particular property that you wanted to illustrate for the students, although you told the class that you were just selecting some function at random to use in your example. 😉

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 26, 2010, 1:21am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/13 "2010-05-26T01:21:26Z")

</div>

> [@robert\_andrews](#):
>
> What I see as a problem with this is that for a function f(x), in any interval [a,b] where a,b are reals, there could be an arbitrary number of local extrema (minima and maxima) and inflection points, so you are looking at recursing infinitely over smaller and smaller intervals looking for tiny tiny little twitches, and voila, you end up needing to use limits to avoid having to chug f(x) for **aleph(1)** reals eternally

Pedantic note: **aleph\_1** isn’t the cardinality of the reals, except under the Continuum Hypothesis. **beth\_1** is the cardinality of the reals.

---

<div class="post-metadata">

**Author:** ![GameHat](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@GameHat](https://boards.straightdope.com/u/GameHat)\
**Post date:** [May 26, 2010, 1:27am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/14 "2010-05-26T01:27:10Z")

</div>

Nobody’s pointed out you can just graph the thing and pick them out? Sure, it doesn’t have the precision of calculus, but in lots of real world engineering examples it’s plenty good enough

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 26, 2010, 2:08am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/15 "2010-05-26T02:08:47Z")

</div>

A critical point of a function is a point where its derivative is neither positive or negative; an inflection point of a function is a point where its second derivative changes sign. No one’s forcing you to take derivatives to figure these out (any correct reasoning to find them is, you know, correct), but generally people have lots of practice taking derivatives and lots of practice finding points where functions are neither positive or negative, or points where they change sign, so taking advantage of this is, in addition to being quite directly motivated, often an easy way to go. As **ultrafilter** asked, what situation do you have in mind for which you are opposed to using derivatives?

---

<div class="post-metadata">

**Author:** ![Ace309](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ace309/32/1050_2.png) [@Ace309](https://boards.straightdope.com/u/Ace309)\
**Post date:** [May 26, 2010, 2:12am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/16 "2010-05-26T02:12:26Z")

</div>

> [@GameHat](#):
>
> Nobody’s pointed out you can just graph the thing and pick them out? Sure, it doesn’t have the precision of calculus, but in lots of real world engineering examples it’s plenty good enough

The OP did, when he asked if graphing was the only alternative.

---

<div class="post-metadata">

**Author:** ![billfish678](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@billfish678](https://boards.straightdope.com/u/billfish678)\
**Post date:** [May 26, 2010, 2:14am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/17 "2010-05-26T02:14:23Z")

</div>

> [@ultrafilter](#):
>
> I don’t understand the intuition behind this at all.

Just got back home.

If your function has inflection points, the area under the curve will have inflection points of a sort as you plot total area vs X.

Its kind of a “why bother?” and stupid way to do it, but it can probably dectect at least some kinds of inflection points without technically graphing the function itself or taking the dir to directly compute inflection points.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [May 26, 2010, 2:16am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/18 "2010-05-26T02:16:24Z")

</div>

I don’t understand **billfish678** ’s method either. You’re basically numerically computing the integral of f; how is it helpful to move from a function whose second derivative’s changes of sign are the points of interest to a function whose third derivative’s changes of sign are the points of interest? It’s all the bother of moving into the derivatives, except only numerically and in the other direction!

---

<div class="post-metadata">

**Author:** ![Hypnagogic\_Jerk](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hypnagogic_jerk/32/4252_2.png) [@Hypnagogic\_Jerk](https://boards.straightdope.com/u/Hypnagogic_Jerk)\
**Post date:** [May 26, 2010, 2:27am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/19 "2010-05-26T02:27:53Z")

</div>

> [@ultrafilter](#):
>
> This isn’t my area of expertise, but once you’re dealing with functions whose codomain is not totally ordered, you probably have to be very careful about specifying exactly what you’re looking for.

You’re right, I should have said **R** [sup]n[/sup] to **R**. I believe I’ve seen an extension of critical points to functions from **R** [sup]n[/sup] to **R** [sup]m[/sup], but it’s been a long time so I don’t remember.

---

<div class="post-metadata">

**Author:** ![billfish678](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@billfish678](https://boards.straightdope.com/u/billfish678)\
**Post date:** [May 26, 2010, 2:48am UTC](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743/20 "2010-05-26T02:48:54Z")

</div>

> [@Indistinguishable](#):
>
> … You’re basically \*\*numerically computing \*\*the integral of f…

No, I said TAKE the integral, then use THAT to calculate area vs changing X and blah blah blah.

Now, if its an equation you can’t find the exact integral of, you’ve got problems.

And yeah, I said it was stupid, but it is (assuming my thinking isnt all buggered up here) a way to get at least some inflection points without graphing the function itself or explicitly taking the dir.

[Next page](https://boards.straightdope.com/t/is-there-a-way-to-find-the-critical-points-and-inflection-points-of-a-finction-w-o-derivitives/540743.md?page=2)
