How to Graph Potential Energy from Force Fx Along the x-axis?

  • Thread starter Thread starter bestchemist
  • Start date Start date
  • Tags Tags
    Force Particle
Click For Summary

Homework Help Overview

The discussion revolves around graphing the potential energy of a particle as a function of position along the x-axis, given a force that varies with position. The original poster seeks to understand how to derive the potential energy from the provided force function, which is not constant.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants explore the relationship between force and potential energy, questioning the appropriateness of equations for non-constant forces. They discuss integration techniques and the implications of force slopes on potential energy calculations.

Discussion Status

Participants are actively engaging with the problem, offering corrections and suggestions for integrating the force function. There is a recognition of the need to clarify the potential energy equations across different intervals, and some participants express uncertainty about their calculations and the implications of their results.

Contextual Notes

There is an ongoing discussion about the definitions of the force function in different intervals and how to handle the integration for potential energy. Some participants express a lack of confidence in their calculus skills, which may affect their ability to derive the correct equations.

  • #31
bestchemist said:
sooo
U = -2x^2 +4x +k ]x - ( (-2x^2 +4x +k)]0.5)

right?

Compare this with #19.
 
Physics news on Phys.org
  • #32
voko said:
Compare this with #19.

idk now... I'm really confused now :(
 
  • #33
For this problem, where the force function is a "broken line", you don't really need "Calculus". The integral is the same as "area under the curve" so, here, all you need is the formula for area of a triangle.

For x between 0 and 0.5, F is given by F= 4x. The "area under the curve" from 0 to x is the area of a right triangle with legs of length "x" and "4x" so area (1/2)(x)(4x)= 2x^2.

Beyond x= 0.5, for x between 0.5 and x= 1, F= 4- 4x. The "area under the curve" from 1/2 to x is the area of a right triangle with legs of length "x- 0.5" and "4- 4x". The "area under the curve" from 1/2 to x is (1/2)(x- 0.5)(4- 4x)= (x- 1/2)(2- 2x)= -2x^2+ 3x- 1. The "area under the curve" from 0 to x, for x> 1/2, is the area from 0 to 1/2 which is 1/2, plus the area of the second triangle.
 
  • #34
HallsofIvy said:
For this problem, where the force function is a "broken line", you don't really need "Calculus". The integral is the same as "area under the curve" so, here, all you need is the formula for area of a triangle.

For x between 0 and 0.5, F is given by F= 4x. The "area under the curve" from 0 to x is the area of a right triangle with legs of length "x" and "4x" so area (1/2)(x)(4x)= 2x^2.

Beyond x= 0.5, for x between 0.5 and x= 1, F= 4- 4x. The "area under the curve" from 1/2 to x is the area of a right triangle with legs of length "x- 0.5" and "4- 4x". The "area under the curve" from 1/2 to x is (1/2)(x- 0.5)(4- 4x)= (x- 1/2)(2- 2x)= -2x^2+ 3x- 1. The "area under the curve" from 0 to x, for x> 1/2, is the area from 0 to 1/2 which is 1/2, plus the area of the second triangle.

so from x = 0 to 0.5 I'll use 2x^2 to graph
anf for x = 0.5 to 1 I'll have to use -3x +1? since 2x^2 - (-2x^2 +3x -1) = -3x+1
 
  • #35
bestchemist said:
idk now... I'm really confused now :(

In #19: ## U(x) = - \int_0^{0.5} a(x) dx - \int_{0.5}^x b(x) dx , \ 0.5 \le x < 1##.

In #30, you found what ## \int_{0.5}^x b(x) dx ## is. You still need to compute ## \int_0^{0.5} a(x) dx ## (which is the area of a triangle, as HallsofIvy remarked), and you need to mind the signs when plug all this into the formula for ##U(x)##.
 
  • #36
voko said:
In #19: ## U(x) = - \int_0^{0.5} a(x) dx - \int_{0.5}^x b(x) dx , \ 0.5 \le x < 1##.

In #30, you found what ## \int_{0.5}^x b(x) dx ## is. You still need to compute ## \int_0^{0.5} a(x) dx ## (which is the area of a triangle, as HallsofIvy remarked), and you need to mind the signs when plug all this into the formula for ##U(x)##.

okay so..
from taking the integral of a and b I got
2x^2 -2x^2+4x+k +1/2-2-k

then U = 4x+5/2

I think I did it wrong again...:(
 
  • #37
bestchemist said:
okay so..
from taking the integral of a and b I got
2x^2 -2x^2+4x+k +1/2-2-k

then U = 4x+5/2

I think I did it wrong again...:(

You computed indefinite integrals correctly. But the formula needs definite integrals, and it is important to use correct limits, which you mostly ignore, except in #30, where you did use them - correctly.

And you need to mind the signs. Potential energy is defined with a minus sign, which, unfortunately for you, makes things more confusing than they already are. But you are on the right track, so don't give up just yet.
 
  • #38
voko said:
You computed indefinite integrals correctly. But the formula needs definite integrals, and it is important to use correct limits, which you mostly ignore, except in #30, where you did use them - correctly.

And you need to mind the signs. Potential energy is defined with a minus sign, which, unfortunately for you, makes things more confusing than they already are. But you are on the right track, so don't give up just yet.

so...

-2x^2 - ((-2x^2 +4x+k)]x - (-2x^2 +4x-k)}0.5)

does this look right??
 
  • #39
bestchemist said:
so...

-2x^2 - ((-2x^2 +4x+k)]x - (-2x^2 +4x-k)}0.5)

does this look right??

Almost. The first term should have been ## -2x^2 |_{0}^{0.5}## - see the difference?
 
  • #40
voko said:
Almost. The first term should have been ## -2x^2 |_{0}^{0.5}## - see the difference?

ohhh... yep I see it now... I didn't look at the limit like you said...
does the first term is -1/2 then since -2x^2 ]0.5 = -1/2

how about from x -1 to 1 then... how will the function become constant since there are so many variable here
 
  • #41
bestchemist said:
ohhh... yep I see it now... I didn't look at the limit like you said...
does the first term is -1/2 then since -2x^2 ]0.5 = -1/2

Correct. So what is the complete formula for ## 0.5 \le x < 1 ##?

how about from x -1 to 1 then... how will the function become constant since there are so many variable here

You mean "x > 1"?

You got the general formula in #20. Use it, paying attention to the limits and signs.
 
  • #42
voko said:
Correct. So what is the complete formula for ## 0.5 \le x < 1 ##?



You mean "x > 1"?

You got the general formula in #20. Use it, paying attention to the limits and signs.

okay... so If I did it right

U = 2x^2 -4x-2

and for x >1
I did the calculation and I'm so sure about it lol

U = -1

right?
 
  • #43
bestchemist said:
okay... so If I did it right

U = 2x^2 -4x-2

Not quite. The "-2" in the end is wrong. I think you got lost in the signs, check them.

An easy way to check whether you formula is correct: the potential energy is smooth, so the value at 0.5 must be the same calculated from either x < 0.5 or x > 0.5. Approaching from x < 0.5, the value is ##-2x^2 = -0.5##; approaching it from x > 0.5, your formula gives ## 2x^2 - 4x - 2 = -3.5##, so it must be wrong.

and for x >1
I did the calculation and I'm so sure about it lol

U = -1

right?

Yes!

Note that this is the (negative) area of the entire force triangle, just like it should be.
 
  • #44
voko said:
Not quite. The "-2" in the end is wrong. I think you got lost in the signs, check them.

An easy way to check whether you formula is correct: the potential energy is smooth, so the value at 0.5 must be the same calculated from either x < 0.5 or x > 0.5. Approaching from x < 0.5, the value is ##-2x^2 = -0.5##; approaching it from x > 0.5, your formula gives ## 2x^2 - 4x - 2 = -3.5##, so it must be wrong.



Yes!

Note that this is the (negative) area of the entire force triangle, just like it should be.

okie, so
U = -2x^2 -4x +2
right?
If x = 0.5, then U = -2(0.5)^2 -4(0.5)+2
U=-0.5
 
  • #45
bestchemist said:
okie, so
U = -2x^2 -4x +2
right?

Sorry, no. The formula is ## - \int_0^{0.5} 4x dx - \int_{0.5}^x (4 - 4x) dx ##, so this is ## - \text{some number} + 2x^2 - 4x + \text{some other number}##. Note that it is ##2x^2##, not ##-2x^2##.
 
  • #46
voko said:
Sorry, no. The formula is ## - \int_0^{0.5} 4x dx - \int_{0.5}^x (4 - 4x) dx ##, so this is ## - \text{some number} + 2x^2 - 4x + \text{some other number}##. Note that it is ##2x^2##, not ##-2x^2##.

I think I got it... lol

U = 2x^2 -6x +2

x = 0.5

U = 2(0.5)^2 -6(0.5)+2
U =-0.5

Right?
 
  • #47
Per #45, there must be -4x, not +6x.
 
  • #48
voko said:
Per #45, there must be -4x, not +6x.

I think I got it for real this time... lol sooo much confident lol

U = 2x^2 -4x +1

Right?
 
  • #49
Right!
 
  • Like
Likes   Reactions: 1 person
  • #50
voko said:
Right!

yayyyyyyyyyyyy...
After a few days on this one problem... Finally got it lol
Thank you so much!
 
  • #51
bestchemist said:
Sooo
∫F= 0
so U = 0x +k
so U =1?
looks good. Remember the check I mentioned, U at x = 1.1 is the Area under the force-displacement curve between x= 0 and x = 1.1. But you still need to graph it as the problem asks.
 

Similar threads

Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
19K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
15
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K