## Horizontal lines as local max/mins?

**Moderators:** gmalivuk, Moderators General, Prelates

- lu6cifer
**Posts:**230**Joined:**Fri Mar 20, 2009 4:03 am UTC**Location:**That state with the all-important stone

### Horizontal lines as local max/mins?

Let's say you have a function with a horizontal line y = 5, which is also as the highest y-value. Let's say that y = 5 between x = [-4,4]. Could you say that a local maximum exists for the x-value of any point within [-4,4]? Or do local maxes and mins exist only for values that are a single point?

lu6cifer wrote:"Derive" in place of "differentiate" is even worse.

doogly wrote:I'm partial to "throw some d's on that bitch."

### Re: Horizontal lines as local max/mins?

A constant function has a local maximum at each point.

wee free kings

- lu6cifer
**Posts:**230**Joined:**Fri Mar 20, 2009 4:03 am UTC**Location:**That state with the all-important stone

### Re: Horizontal lines as local max/mins?

Well, I guess, more specifically, I'm talking about when f ' (x) bends down to touch the x-axis, doesn't cross it, and begins to increase again. At that point, this would create a horizontal line for the graph of f(x), right? Would that point be the x coordinate of a local maximum?

lu6cifer wrote:"Derive" in place of "differentiate" is even worse.

doogly wrote:I'm partial to "throw some d's on that bitch."

- RogerMurdock
**Posts:**158**Joined:**Mon Jul 27, 2009 10:35 pm UTC

### Re: Horizontal lines as local max/mins?

lu6cifer wrote:Well, I guess, more specifically, I'm talking about when f ' (x) bends down to touch the x-axis, doesn't cross it, and begins to increase again. At that point, this would create a horizontal line for the graph of f(x), right? Would that point be the x coordinate of a local maximum?

No, a local extrema is found when f'(x) changes from + to - or vice versa. Think about it, if f'(x) is never negative, that means the original function is never decreasing, and therefore there is no maximum. It's very possible to have functions like this, x^3 is one example. Look, it has a horizontal tangent line at x=0, but it is constantly increasing.

### Re: Horizontal lines as local max/mins?

Off topic, but what did you use to graph/generate that image?

- Eebster the Great
**Posts:**3462**Joined:**Mon Nov 10, 2008 12:58 am UTC**Location:**Cleveland, Ohio

### Re: Horizontal lines as local max/mins?

It sounds like you are trying to ask if f(x) has a local extremum at every x where f'(x) = 0. The answer is no, since there are plenty of counterexamples like the graph Roger showed you (f(x) = x^3). Instead, according to the first derivative test, if f is continuous on some interval I containing a, and f'(x) < 0 for x < a in I and f'(x) > 0 for x > a in I, then f has a relative minimum at a (it has a relative maximum if vice-versa). Note that this means either f'(a) = 0 or f'(a) doesn't exist. Points where f'(x) = 0 or f'(x) does not exist are called critical points.

If f is not differentiable on I (excluding a), things get more complicated. I'm actually not sure if there is any easy way to find relative extrema in most of these cases.

If f is not differentiable on I (excluding a), things get more complicated. I'm actually not sure if there is any easy way to find relative extrema in most of these cases.

- RogerMurdock
**Posts:**158**Joined:**Mon Jul 27, 2009 10:35 pm UTC

### Re: Horizontal lines as local max/mins?

GManNickG wrote:Off topic, but what did you use to graph/generate that image?

I typed x^3 into wolframalpha.com and rehosted it on imageshack (wasn't sure i could link directly to the image that was hosted on wolfram).

### Who is online

Users browsing this forum: No registered users and 6 guests