Derivative of a Point of Max: Finding a & b Conditions

  • #1
greg_rack
Gold Member
363
79
Homework Statement
Given the function ##y=ax^3+bx^2+2x-1##, find which values must ##a## and ##b## assume in order to have a relative maximum for ##x=-1##.
Relevant Equations
none
The derivative of a point of maximum must be zero, and since
$$y'=3ax^2+2bx+2 \rightarrow y'(-1)=3a-2b+2 \rightarrow 3a-2b+2=0$$
we get the first condition for ##a## and ##b##.

Now, since we want ##x=-1## to be a local maximum, the derivative of the function must be positive when tending to the left of ##x=-1##, and negative when tending to the right of ##x=-1##.
I believe this is the second point that would allow me to get ##a## and ##b##... but I don't know how to "write it down" as a formal condition.
 
Physics news on Phys.org
  • #2
Hint: What does the second derivative tell you?
 
  • Like
Likes greg_rack
  • #3
Yeah right, the second derivative must be negative at a local maximum!

PS: I take the opportunity to ask you why is that, since my textbook isn't really clear about it... I'm not sure about the geometrical/analytical "meaning" of the second derivative.
 
  • #4
If the derivative vanishes at [itex]x_0[/itex], then locally the function looks like [tex]f(x_0) + \frac12{f''(x_0)} (x-x_0)^2.[/tex] By comparison to [itex]\pm x^2[/itex] you can see that this is a local maximum if [itex]f''(x_0) < 0[/itex] and a local minimum if [itex]f''(x_0) > 0[/itex].
 
  • Like
Likes greg_rack
  • #5
greg_rack said:
Yeah right, the second derivative must be negative at a local maximum!
Exactly!

greg_rack said:
PS: I take the opportunity to ask you why is that, since my textbook isn't really clear about it... I'm not sure about the geometrical/analytical "meaning" of the second derivative.
You were heading right towards the answer in your thinking. The second derivative tells you how the first derivative (which is the slope of the original function) changes. Look up the "second derivative test" for finding local minima/maxima. Here's one explanation that might prove helpful: How to Use the Second Derivative Test
 
  • Like
Likes greg_rack
  • #6
greg_rack said:
Yeah right, the second derivative must be negative at a local maximum!

PS: I take the opportunity to ask you why is that, since my textbook isn't really clear about it... I'm not sure about the geometrical/analytical "meaning" of the second derivative.
It's the derivative of the derivative. And you want to know whether the slope as you pass through the extremum is increasing or decreasing.
 
  • Like
Likes PhDeezNutz and greg_rack
  • #8
Yeah I think you really already explained the test. You want the derivative to be positive to the left and negative to the right. That means it has to be decreasing. That means it's derivative must be negative (or potentially zero)
 
Back
Top