Why Does the Sign of 'g' Change in Physics Equations?

In summary, the conversation discusses the equations for gravity and potential energy, and the confusion surrounding the sign convention for the gravitational acceleration, g. It is important for readers to carefully define their coordinate system and not assume that the same symbols in different equations have the same meaning. The equation F=-mg represents the vertical component of the force, which can be positive or negative depending on the chosen sign convention. The notation Fy=-mg is often used to clarify that we are dealing with a component of the force.
  • #1
Isaac0427
Insights Author
718
163
We say that, for gravity, F=mg, where g≈-9.8 m/s2. Then, we have U=mgh. But, it seems like that equation would only work if g were positive 9.8 m/s2. That is, because ##F=-\frac{dU}{dr}##, and ##\frac{dU}{dr}## is essentially ##\frac{dU}{dh}##, we should get F=-mg. So, for the two equations to work, it seems like the g in the first equation should have the opposite sign as the g from the second equation. But that seems like a really weird convention to have. So, if the convention is that g is positive then we should have F=-mg, and if g is negative we should have U=-mgh, right?
 
Physics news on Phys.org
  • #2
Be careful with your sign conventions. If you define your coordinate to increase when going against the field, then indeed F=-mg, where g is positive, this is just telling you the force goes in the opposite direction relative to the coordinate increase, just as expected.
 
  • Like
Likes AlphaLearner and Isaac0427
  • #3
Orodruin said:
Be careful with your sign conventions. If you define your coordinate to increase when going against the field, then indeed F=-mg, where g is positive, this is just telling you the force goes in the opposite direction relative to the coordinate increase, just as expected.
Ok. And in that case, U=mgh, right? And if you define the coordinates to increase when going with the field, you would have F=mg and U=-mgh where g is positive, right? But, why do most sources I have seen use both F=mg and U=mgh? Isn't that inconsistent?
 
  • #4
Isaac0427 said:
Ok. And in that case, U=mgh, right? And if you define the coordinates to increase when going with the field, you would have F=mg and U=-mgh where g is positive, right? But, why do most sources I have seen use both F=mg and U=mgh? Isn't that inconsistent?
That depends on the definition of h relative to the coordinate.
 
  • #5
Isaac0427 said:
But, why do most sources I have seen use both F=mg and U=mgh?
The g in these two cannot be the same. The g in the first equation is a vector and the g in the second equation is a scalar.

It is absolutely up to the reader/student to learn what each term in an equation means. You should never assume that the same symbol means the same thing in a different equation, nor should you assume the opposite!
 
  • #6
Dale said:
The g in these two cannot be the same.
Of course they can. You just study one direction (ie, one component of the force) and name the coordinate ##x## in the down direction, leading to the relation ##h = x_0-x## and ##dh/dx=-1##. You just have to be careful with your conventions.
 
  • Like
Likes Dale
  • #7
Orodruin said:
Of course they can.
Good point. I didn't follow my own advice!

If I wrote those two equations then g in each equation would not be the same thing. The OP needs to read the text to find out how the textbook author defined them and not assume that the symbols are the same.
 
Last edited:
  • #8
Dale said:
The g in these two cannot be the same. The g in the first equation is a vector and the g in the second equation is a scalar.

It is absolutely up to the reader/student to learn what each term in an equation means. You should never assume that the same symbol means the same thing in a different equation, nor should you assume the opposite!
I understand that last part, but in these equations, both represent the vector gravitational acceleration (for the second equation I could have said U=mg⋅h). It seems like the gravitational acceleration takes on two different values.
 
  • #9
My advice is to always use g to be just the magnitude of the acceleration due to gravity. Thus g = 9.8 m/s^2.

So then: The acceleration due to gravity is g, downward. The weight of an object is mg, downward.

Depending on the sign convention you choose for any particular application, those vector components can be positive or negative.
 
  • Like
Likes AlphaLearner, PeroK and Dale
  • #10
Isaac0427 said:
both represent the vector gravitational acceleration (for the second equation I could have said U=mg⋅h)
That is a very unusual convention. Given that, you need to make doubly sure that you do not assume anything about the meaning of the symbols from one equation to another. The author is using different notation from the community, so it is likely that they use different notation from section to section also
 
  • #11
Orodruin said:
then indeed F=-mg, where g is positive
But in the equation F= -mg, 'g' is the only value which can be negative. But you say 'g' is positive, then what makes 'mg' negative when 'g' is positive?
 
  • #12
AlphaLearner said:
But in the equation F= -mg, 'g' is the only value which can be negative. But you say 'g' is positive, then what makes 'mg' negative when 'g' is positive?
mg is just the magnitude of the force; the direction is downward. With a sign convention that up is positive, the vertical component of that force would be -mg.
 
  • #13
Doc Al said:
With a sign convention that up is positive, the vertical component of that force would be -mg.
This is normally written with some notation indicating that we are dealing with a component, e.g. Fy = -mg.
 
  • #14
Doc Al said:
mg is just the magnitude of the force; the direction is downward. With a sign convention that up is positive, the vertical component of that force would be -mg.
Yes, even I agree that 'mg' is always act downwards but then depends on direction of object being displaced in. If object displaces upwards, gravity act downward, work done by gravity is negative. If body displace along gravity, gravity does positive work. I understand. But in F = -mg, If 'g' is taken positive, it means that body was moving along gravity. When 'mg' is negative and 'g' is positive in it based on above equation. Means gravitational force acting on freely falling body is negative, does gravity do negative work on freely falling body? How can we simply say since 'mg' act downward means force is -mg? I did not understand.
 
  • #15
AlphaLearner said:
But in F = -mg, If 'g' is taken positive, it means that body was moving along gravity.
It has nothing to do with how the body is actually moving, it only depends on which direction is defined as being the positive direction.
AlphaLearner said:
Means gravitational force acting on freely falling body is negative, does gravity do negative work on freely falling body?
The sign of the work done by gravity depends on whether or not the object moves against or in the same direction as the gravitational field, not on the way you define your coordinate.
AlphaLearner said:
How can we simply say since 'mg' act downward means force is -mg?
This is only true if you define the coordinate as increasing when the object goes up. It all depends on the choice of coordinates.
 
  • #16
AlphaLearner said:
But in the equation F= -mg, 'g' is the only value which can be negative. But you say 'g' is positive, then what makes 'mg' negative when 'g' is positive?

Reality makes it so! The maths must follow the physics. Gravity acts downwards/towards the centre of the Earth. All equations and sign conventions are geared to respect that physical fact.

There's nothing mathematical that is going to jump up and tell you that you have the signs mixed up. It's up to you to align the mathematics with the physical reality.
 
  • Like
Likes AlphaLearner
  • #17
AlphaLearner said:
Means gravitational force acting on freely falling body is negative, does gravity do negative work on freely falling body? How can we simply say since 'mg' act downward means force is -mg?
The work done by a force depends on the direction of the force and the direction of the displacement. If both force and displacement are in the same direction -- as in a falling body -- the work done is positive. (Note that force and displacement are both negative in that case, using our sign convention.)
 
  • #18
Orodruin said:
It has nothing to do with how the body is actually moving, it only depends on which direction is defined as being the positive direction.

The sign of the work done by gravity depends on whether or not the object moves against or in the same direction as the gravitational field, not on the way you define your coordinate.

This is only true if you define the coordinate as increasing when the object goes up. It all depends on the choice of coordinates.
Thank you sir, I have got some clarity. But in first reply, positive direction of object is defined as direction along the gravity right? And in kinematics, in projected bodies 'g' is considered negative since goes against 'g' and freely falling bodies 'g' is considered positive as goes along 'g', we applied same here. Am I right?
 
  • #19
AlphaLearner said:
Thank you sir, I have got some clarity. But in first reply, positive direction of object is defined as direction along the gravity right? And in kinematics, in projected bodies 'g' is considered negative since goes against 'g' and freely falling bodies 'g' is considered positive as goes along 'g', we applied same here. Am I right?
No, you're just confusing yourself.

Just remember this: The direction of the force of gravity and the direction of the acceleration due to gravity (for a freely falling object) are both down. Whether that's positive or negative is entirely up to you and your sign convention.
 
  • Like
Likes AlphaLearner
  • #20
Doc Al said:
Just remember this: The direction of the force of gravity and the direction of the acceleration due to gravity (for a freely falling object) are both down. Whether that's positive or negative is entirely up to you and your sign convention.
I understand, 'g' always acts downwards followed by 'mg'. But can't we blindly take as a body moves up, 'g' act downward so 'g' is taken negative and as body moves down 'g' as positive since it act downwards in all cases?

This is not a confusion for me since today, for an year since I learned it. I once quarreled with my room mates regarding this! Even I said 'g' always act downward. But they told me this. Later my physics teacher drew the positive x,y axes beside each case: Projected and freely falling. In projected, he normally defined positive y-axis upwards and since 'g' is downward, told to take 'g' as negative. In freely falling, he just turned the positive y-axis downwards and since 'g' is also downward, told to take 'g' as positive.
So now I understand, 'g' is always downwards, no matter the case is. But its sign depends on how we define the coordinate system.

Thanks for help.
 
  • #21
AlphaLearner said:
I understand, 'g' always acts downwards followed by 'mg'. But can't we blindly take as a body moves up, 'g' act downward so 'g' is taken negative and as body moves down 'g' as positive since it act downwards in all cases?
You can choose a sign convention such that the acceleration of a falling body is negative, thus a = -g. (But I recommend that the symbol g just stand for the magnitude of that acceleration.)

AlphaLearner said:
So now I understand, 'g' is always downwards, no matter the case is.
The acceleration due to gravity is always downwards, and its magnitude is g.

AlphaLearner said:
But its sign depends on how we define the coordinate system.
Right. You can choose down to be positive, in which case the acceleration of a falling body is a = +g.
 

Related to Why Does the Sign of 'g' Change in Physics Equations?

1. What is the sign convention used for gravity?

The sign convention used for gravity is known as the Cartesian coordinate system, where the positive direction is considered to be upwards and the negative direction is downwards.

2. Why is the positive direction considered upwards?

The positive direction is considered upwards because it aligns with the direction of motion of objects when they are released from rest. This convention makes it easier to analyze the motion of objects under the influence of gravity.

3. How is the sign convention applied in equations related to gravity?

In equations related to gravity, the positive direction is represented by the letter "y". This means that when solving for the acceleration due to gravity, a positive value indicates that the object is moving upwards, while a negative value indicates that the object is moving downwards.

4. Are there any exceptions to the sign convention for gravity?

Yes, there are some cases where the sign convention for gravity may be reversed. For example, when dealing with objects moving in a circular motion, the positive direction is considered to be towards the center of the circle, rather than upwards.

5. How does the sign convention affect the direction of forces in free-body diagrams?

The sign convention for gravity affects the direction of forces in free-body diagrams by determining the direction of the force of gravity. In the positive direction, the force of gravity points downwards, while in the negative direction, it points upwards.

Similar threads

  • Introductory Physics Homework Help
Replies
7
Views
247
Replies
13
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
566
  • Introductory Physics Homework Help
Replies
13
Views
3K
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
15
Views
570
  • Introductory Physics Homework Help
Replies
2
Views
871
  • Thermodynamics
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
869
Back
Top