Finding the maximum point of a function

Click For Summary

Homework Help Overview

The discussion revolves around finding the maximum point of a function related to statistical mechanics, specifically a velocity distribution function. The original poster attempts to derive the maximum velocity by taking the derivative of the function and setting it to zero, leading to questions about the validity of their steps and assumptions.

Discussion Character

  • Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster discusses their method of finding the maximum by differentiating the function and setting the derivative to zero. They express confusion about a negative sign in their result and question the legitimacy of dividing out terms in the derivative. Other participants point out errors in the differentiation process and the implications of dividing terms in the context of the exponential function.

Discussion Status

Participants are actively engaging in clarifying the differentiation process and the rules surrounding the manipulation of terms in equations. There is a focus on correcting misunderstandings about the product and chain rules in calculus, with some guidance provided on the implications of dividing terms.

Contextual Notes

The discussion highlights potential misunderstandings about the behavior of the exponential function and the conditions under which terms can be divided in equations. There is an emphasis on ensuring correct application of calculus principles in the context of the problem.

AStaunton
Messages
100
Reaction score
1
trying to show that the maximum of a certain function is [tex]\sqrt{\frac{2kT}{m}}[/tex].

The function in question is:

[tex]f(v)=4\pi(\frac{m}{2\pi kT})^{\frac{3}{2}}v^{2}e^{-\frac{mv^{2}}{2kT}}[/tex]

so to do this find df/dv and set that = 0 and the value for v will be the v_max:

[tex]\frac{df}{dv}=2ve^{-\frac{mv^{2}}{2kT}}-\frac{2kT}{m}e^{-\frac{mv^{2}}{2kT}}=e^{-\frac{mv^{2}}{2kT}}(2v-\frac{2kT}{m})=0[/tex]

now divide out the (2v-2kT/m) term leaves:

[tex]e^{-\frac{mv^{2}}{2kT}}=0[/tex]

take natural log of both sides:

[tex]-\frac{mv^{2}}{2kT}=1\implies v=\sqrt{-\frac{2kT}{m}}[/tex]

The answer I found was wrong by a minus sign, can anyone tell me where along the line I somehow created this extra minus? Also, I'm not sure if it is completely kosher to divide out the (2v-2kT/m) term as I did, so also please give clarification on this.

And final question; if the dividing out the (2v-2kT/m) is a correct method to solve this problem, should it also be possible to divide out the exponential term instead...that is when I'm at this point:

[tex]e^{-\frac{mv^{2}}{2kT}}(2v-\frac{2kT}{m})=0[/tex]

should I be able to divide out the exponential term and then also expect to find an identical value for v_max, ie. solve the following for v and this will be my v_max:

[tex]2v-\frac{2kT}{m}=0\implies v=\frac{m}{kT}[/tex]

clearly this is not the value for v_max that was stated in the start of the problem...so clarity on this is much appreciated
 
Physics news on Phys.org
Hi AStaunton! :wink:

Sorry, but this is completely wrong :redface:

your product rule derivative is wrong,

ex is never 0 (unless x = -∞),

and yes of course you can't discard that (wrong) bracketed term.

Start again, carefully. :smile:
 
OK...I think this is the correct derivative now, (noting that I did not include the constant multiplying term as this is going to divide out anyway):

[tex]\frac{df}{dv}=2ve^{-\frac{mv^{2}}{2kT}}-\frac{mv^{4}}{2kT}e^{-\frac{mv^{2}}{2kT}}=e^{-\frac{mv^{2}}{2kT}}(2v-\frac{mv^{4}}{2kT})=0[/tex]

at this point, my idea of dividing out one or other of the terms and solving for v was the only trick I had...and you say this is incorrect. any advice on how to proceed is appreciated
 
Hi AStaunton! :smile:

nope, still wrong! :redface:

you needed to use the chain rule as well as the product rule …

you can't just multiply by the whole of that exponent. :wink:

(And when your bracket is correct, you know that it has to equal zero.)
 
thanks.

Is it just a peculiarity of the exponential function that I had to focus on the bracketed term..
ie. in general it is OK to divide out either of the terms to get a valid answer for v?
of course, really what this is doing is finding the roots of the equation df/dv..
 
AStaunton said:
… in general it is OK to divide out either of the terms to get a valid answer for v?

In general, if AB = 0, then both A = 0 and B = 0 will be solutions.

The only difference in this case is that A can't be 0. :wink:
 

Similar threads

Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K