Thread Closed

Minima, maxima of function

 
Share Thread Thread Tools
Oct30-08, 04:30 AM   #1
 
Blog Entries: 1

Minima, maxima of function


How will I find minima,maxima or both of one function (if they exist)? For example:

[tex]f(x)=x^2-3x+2[/tex];

[tex]f(x)=x^2-2x-x+2[/tex];

[tex]f(x)=x(x-2)-(x-2)[/tex];

[tex]f(x)=(x-2)(x-1)[/tex]

x1,2=1,2

Those are the zeroes of the function.

But how will I find the critical points (minima,maxima) of the function if [itex]x \in \mathbb{R}[/itex]
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
Oct30-08, 06:31 AM   #2
 
Quote by Дьявол View Post
How will I find minima,maxima or both of one function (if they exist)?
The minima/maxima of a function is the point(s) where [tex]f'(x)=0[/tex]
Oct30-08, 07:28 AM   #3
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
That's a quadratic function. Since it is concave upward it has a minimum but no maxiumum. The minimum is at the vertex you need to find the vertex. You could do that by completing the square but since you have already found the x-intercepts of the function, you can use the fact that, for a parabola with vertical axis, the vertex always lies half way between the x-intercepts.

Since this problem has nothing to do with linear algebra or abstract algebra, I am moving it to "General Mathematics".
Oct30-08, 07:50 AM   #4
 

Minima, maxima of function


Take the derivative of the originial function, then find where the derivative equals zero. Then plug those points (they are x-values) into your original function, and that will be your Y-coordinates. That will give you the values of your max's and min's. It will also let you see absolute max and min.
Oct30-08, 09:26 AM   #5
 
Quote by phyzmatix View Post
The minima/maxima of a function is the point(s) where [tex]f'(x)=0[/tex]
Don't forget about inflection points!
Oct30-08, 09:54 AM   #6
 
Blog Entries: 1
Quote by Riogho View Post
Take the derivative of the originial function, then find where the derivative equals zero. Then plug those points (they are x-values) into your original function, and that will be your Y-coordinates. That will give you the values of your max's and min's. It will also let you see absolute max and min.
Do you mean like f(x)=(x-a)2+b ?

HallsofIvy, When I draw graphic of the function it is not parabola.

f(3)=2
f(2)=0
f(1)=0
f(0)=2
f(-1)=6
f(-2)=12
f(-3)=20
Oct30-08, 10:53 AM   #7
 
f(x) has a relative minimum or maximum at either the endpoints of a region you're observing or when f'(x)=0. To determine whether it's a minimum, find when f''(x) is positive or negative; when f''(x) is positive, the graph is concave up, and when f''(x) is negative, the graph is concave down. Therefore, you have a relative extrema when f'(x)=0; it's a maximum if f''(x) is positive, or a minimum if f''(x) is negative.

F''(x)=0 are your points of inflection.
Oct30-08, 11:07 AM   #8
 
Quote by Desh627 View Post
f(x) has a relative minimum or maximum at either the endpoints of a region you're observing or when f'(x)=0. To determine whether it's a minimum, find when f''(x) is positive or negative; when f''(x) is positive, the graph is concave up, and when f''(x) is negative, the graph is concave down. Therefore, you have a relative extrema when f'(x)=0; it's a maximum if f''(x) is positive, or a minimum if f''(x) is negative.

F''(x)=0 are your points of inflection.

Eh? If inflection points are where f''(x) = 0 (which they are), what do you call points where f'(x) = 0, but is neither a maximum nor a minimum? For example, f(x) = x^3, which has no maximum or minimum has f'(0) = 0. What are those points called if it's not inflection points?
Oct30-08, 12:09 PM   #9
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Quote by Дьявол View Post
How will I find minima,maxima or both of one function (if they exist)? For example:

[tex]f(x)=x^2-3x+2[/tex];
Quote by Дьявол View Post
Do you mean like f(x)=(x-a)2+b ?

HallsofIvy, When I draw graphic of the function it is not parabola.

f(3)=2
f(2)=0
f(1)=0
f(0)=2
f(-1)=6
f(-2)=12
f(-3)=20
??? It certainly is a parabola! Any quadratic function has a parabola as its graph. And the points (3,2), (2,0), (1,0), (-1,6), (-2,12), (-3,20) definitely lie on a parabola. The vertex is, as I said before, half way between 1 and 2, at 3/2. f(3/2)= 9/4- 9/2+ 2= -9/2+ 2= -5/2. f(x)= (x- 3/2)^2- 5/2.
Oct30-08, 12:21 PM   #10
D H
 
Mentor
Quote by Tac-Tics View Post
For example, f(x) = x^3, which has no maximum or minimum has f'(0) = 0. What are those points called if it's not inflection points?
Saddle points.

Edit
Perhaps that was too hasty. The problem is that the term inflection point describes a point where the second derivative reaches this. Inflection points obviously do not in general coincide with stationary points. A saddle point is by definition a stationary point that is not a local extremum.
Oct30-08, 12:25 PM   #11
 
Quote by Tac-Tics View Post
Eh? If inflection points are where f''(x) = 0 (which they are), what do you call points where f'(x) = 0, but is neither a maximum nor a minimum? For example, f(x) = x^3, which has no maximum or minimum has f'(0) = 0. What are those points called if it's not inflection points?
Inflections points are the points where the 2nd derivative equals zero, at those points the concavity will change.

Where the first derivative is zero are called critical points, those are the relative max's and mins of a function.
Oct30-08, 12:34 PM   #12
D H
 
Mentor
Quote by Riogho View Post
Where the first derivative is zero are called critical points
More appropriately, the points where the first derivative is zero are called stationary points. The absolute value function has a well-defined critical point: x=0. It has no stationary point because the derivative is non-zero everywhere except for x=0 and is not defined at x=0.
those are the relative max's and mins of a function.
Not all stationary points are extremal. Tac-Tics gave a perfectly good example of a function that has a stationary point but no extremal points.
Oct30-08, 02:21 PM   #13
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
A quadratic function does not have any "inflection" points. And the original question has already been completely answered.
Oct30-08, 03:08 PM   #14
 
Quote by Riogho View Post
Where the first derivative is zero are called critical points
Ah, yes. Thank you. It's been about 6 years since I studied this. The concept is there, but the terminology is fuzzy and needs dusting :-)
Oct30-08, 08:23 PM   #15
 
Blog Entries: 2
Since all of your functions are quadratic, an alternative to calculus is to complete the square. Ie., your first function is f(x) = x^2 - 3x + 2 = (x - 3/2)^2 - 5/2. Since squares of real numbers are never negative, your function has the minimum point (3/2, -5/2).
Oct31-08, 01:12 AM   #16
 
Blog Entries: 1
Thanks for the posts. I found the minima with derivation of the original formula. So my goal is [itex]x^2-3x+2=(x-a)^2+b[/itex]
[tex]x^2-3x+2=x^2-2ax+a^2+b[/tex]
[tex]-3x+2=-2ax+(a^2+b)[/tex]
[tex]-3=-2a[/tex]
and
[tex]2=(a^2+b)[/tex]

So, a= 3/2
and
[tex]b=2-9/4[/tex]
[tex]b=-1/4[/tex]

[tex] x^2-3x+2=(x-3/2)^2-1/4 \geq -1/4=f(3/2)[/tex]

So 3/2 is the local minimum.
Oct31-08, 06:38 AM   #17
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
In other words, the vertex of the parabola is at x= 3/2, half way between the x-intercepts. That's what I said in post 3.
Thread Closed
Thread Tools


Similar Threads for: Minima, maxima of function
Thread Forum Replies
Maxima/Minima Calculus & Beyond Homework 10
maxima and minima Calculus & Beyond Homework 2
Maxima and Minima Calculus & Beyond Homework 2
Maxima and Minima for a two variable function Calculus & Beyond Homework 1
Maxima & Minima Introductory Physics Homework 18