To find work done by a variable force

  • #1
Rhdjfgjgj
31
3
Homework Statement
To find work done by a variable force
Relevant Equations
W=integral(F.dr)
Guys, please look at the following question
IMG-20231020-WA0018.jpg

I am aware of how to take a dot product of 2 vectors whose i,j,k components are given. My issue is with both integrals. I feel it should be '-dx ' rather than dx because x is decreasing , same as in '-dy'.and I'm taught that if x is decreasing then we should take '-dx' , but why is it not so . Please tell me why . I do understand that my questions are a little too fundamental but please answer them
 
Last edited:
Physics news on Phys.org
  • #2
Your image is very hard to read, even when I open it in a new tab and zoom in. Could you please try to post a better image (or better, use a flatbed scanner)? You could also type the math into the forum using LaTeX, which is the preferred way to post math equations here at PF. (see the LaTeX Guide link below the Edit window)
 
Last edited:
  • Like
Likes Mark44, erobz and Rhdjfgjgj
  • #3
berkeman said:
Your image is very hard to read, even when I open it in a new tab and zoom in. Could you please try to post a better image (or better, use a flatbed scanner)? You could also type the math into the forum using LaTeX, which is the preferred way to post math equations here at PF. (see the LaTeX Guide link below the Edit window)
Here's a better one. In addition , my doubt is with both the integrals
IMG-20231020-WA0020.jpg
 
  • #4
Something seems strange to me. How does a particle move from A to B by applying ##\vec F##, which always points in the opposite directions in which it needs to travel. To me it seems like some other force is moving the particle from A to B and ##\vec F## is resisting it?
 
  • #5
Rhdjfgjgj said:
My issue is with both integrals. I feel it should be '-dx ' rather than dx because x is decreasing , same as in '-dy'.and I'm taught that if x is decreasing then we should take '-dx' , but why is it not so . Please tell me why . I do understand that my questions are a little too fundamental but please answer them
Note that the diagram is misleading. The usual convention is that the +x direction is to the right, and the +y direction is up. So the displacement vector AB should be drawn pointing down and to the left (225º w.r.t. the +x-axis).

(Alternatively, AB could be as drawn but with the xy axes suitably rotated.)

We use 'dx' rather than '-dx' because the direction of movement is taken into account by the integration limits. Note that for example ##\int_a^b f(x)dx = -\int_b^a f(x)dx##.

The sign of the x-contribution to work is determined by the initial and final values of x. Similarly for y.
 
  • #6
erobz said:
Something seems strange to me. How does a particle move from A to B by applying ##\vec F##, which always points in the opposite directions in which it needs to travel. To me it seems like some other force is moving the particle from A to B and ##\vec F## is resisting it?
For example ##\vec F## could be friction slowing the (initially moving) particle down.

Or there may be other forces involved - but we are only calculating ##\vec F##'s contribution.
 
  • Like
Likes PeroK
  • #7
Rhdjfgjgj said:
Here's a better one. In addition , my doubt is with both the integralsView attachment 333892
You have a choice in these cases. You can use ##dx## and have the integral go from 1 to 0. Or, you can use ##-dx## and have the integral go from 0 to 1. You get the same answer either way.

Note that the work done is negative, which highlights that the particle was not accelerated from rest between these two points. It must have had an initial velocity in a direction roughly opposite the force. We can let @erobz figure out what it must have been!
 
  • Like
Likes Steve4Physics
  • #8
Steve4Physics said:
For example ##\vec F## could be friction slowing the (initially moving) particle down.

Or there may be other forces involved - but we are only calculating ##\vec F##'s contribution.

I get that. Please see the problem statement:
An object is displaced from point A(1,2,) to B(0,1) by applying force ## \vec F = x \boldsymbol i + 2y \boldsymbol j ##
 
  • Like
Likes Steve4Physics and PeroK
  • #9
erobz said:
I get that. Please see the problem statement:
Sorry. Should have read the whole problem-statement.
 
  • Like
Likes erobz
  • #10
Steve4Physics said:
Sorry. Should have read the whole problem-statement.
So you agree that while the intent is what we suspect it to be (given the solution), the problem statement is sloppily composed?
 
  • Like
Likes Steve4Physics
  • #11
erobz said:
So you agree that while the intent is likely what we think it to be, the problem statement is sloppily composed?
There are quite a few homework problems where the question setter hasn't thought through the problem fully and is simply looking for a plug-and-chug answer. In this case, I agree the question should have been phrased differently.
 
  • Like
Likes erobz
  • #12
There's also no acknowledgement that the units of force and displacement are different.
 
  • #13
Guys actually what I mean is as I go from a farther to a nearer point wrt reference frame, x decreases, and elemental decrease is given as '-dx' as I go from 1 to 0 . What you said ' you can change limits to 0 to 1 and have -dx work I case of vectors as there is an additional cos(theta) sign that compensates for that. But here these aren't vectors, the integrand is a component
PeroK said:
You have a choice in these cases. You can use ##dx## and have the integral go from 1 to 0. Or, you can use ##-dx## and have the integral go from 0 to 1. You get the same answer either way.

Note that the work done is negative, which highlights that the particle was not accelerated from rest between these two points. It must have had an initial velocity in a direction roughly opposite the force. We can let @erobz figure out what it must have been!
 
  • #14
erobz said:
So you agree that while the intent is what we suspect it to be (given the solution), the problem statement is sloppily composed?
Yes. It's a bit of mess!
 
  • #15
The work done is negative because the direction of the force is opposite to the displacement, in both the ##x## and ##y## directions. So, however you set up the integral you must get a negative answer. You can do that in two ways.

Alternatively, change your coordinate system so that the displacement is in the positive x and y directions, if you don't like negative displacements.
 
  • #16
Im again repeating that I don't want to interchange the limits. I mean mathematically that since x and y is decreasing they have to be -dx and -dy . I don't want to change the limit.
 
  • #17
Rhdjfgjgj said:
Im again repeating that I don't want to interchange the limits. I mean mathematically that since x and y is decreasing they have to be -dx and -dy . I don't want to change the limit.
Start with:

$$ dW = ( x ~\hat{\text{i}} +2y ~\hat{\text{j}} ) \cdot ( -dx ~\hat{\text{i}} -dy ~\hat{\text{j}} ) $$

If it pleases you.

EDIT: Wait, I see this doesn't work out either. You would get positive work.
 
Last edited:
  • #19
Rhdjfgjgj said:
Im again repeating that I don't want to interchange the limits. I mean mathematically that since x and y is decreasing they have to be -dx and -dy .
This is wrong. ##dx## and ##dy## relate to your coordinate system. Not to any given displacement.

Your argument is like saying that if ##x = -1##, then you need to use ##-x##. The differentials ##dx## and ##dy## can be positive or negative.

PS they represent the change in ##x##, whether positive or negative. It's the same for the finite ##\Delta x##. This is the change in ##x## whether positive or negative.
 
Last edited:
  • Like
Likes scottdave and erobz
  • #20
If you integrate ##x## from 0 to 1, then ##dx## is positive. If you integrate from 1 to 0, then ##dx## is negative. And vice versa for ##-dx##.
 
  • Like
Likes erobz
  • #21
Rhdjfgjgj said:
If I use this I get the negative of rhe original answer. You may better understand my doubt if you look at
https://www.physicsforums.com/threa...-conducting-uniformly-charged-sphere.1055763/
It has to do with how you compute the dot product. In the other thread, you used ##\vec E \cdot d\vec r = \lvert \vec E \rvert \lvert d\vec r \rvert \cos \theta##. Both ##\lvert \vec E \rvert## and ##\lvert d\vec r \rvert## are, by definition, positive quantities. Since you were integrating along a path in the radial direction, you had ##d\vec r = dr\,\hat r##. It followed that ##\lvert d\vec r \rvert = \lvert dr \rvert##. If ##dr<0## (determined by the limits of the integral), then ##\lvert dr \rvert = -dr##. If ##dr>0##, then you replace ##\lvert dr\rvert## with ##+dr##. You're not throwing in signs willy nilly. You put in the minus sign because of the basic definition of the absolute value.

In this problem, you're calculating the dot product using the components of the two vectors. There are no absolute values present. Since ##\vec r## is defined as ##\vec r = x \,\hat i + y\,\hat j##, it follows that ##d\vec r = dx\,\hat i + dy\,\hat j##. The signs automatically work themselves out.
 
  • Like
Likes scottdave and PeroK
  • #22
PeroK said:
The differentials dx and dy can be positive or negative.
Related to this is the mistake that some people make by thinking that x must be positive while -x must be negative. I suspect that the OP falls into this category, based on his previous thread about the mirror image of a particle.
 
  • Like
Likes PeroK

1. How do you calculate the work done by a variable force?

To calculate the work done by a variable force, you need to integrate the force function with respect to displacement. The formula for work done by a variable force is given by W = ∫F(x) dx, where F(x) is the force function and dx is the displacement.

2. What is the difference between work done by a constant force and a variable force?

The work done by a constant force is calculated using a simple formula W = F * d * cos(θ), where F is the magnitude of the force, d is the displacement, and θ is the angle between the force and the displacement. On the other hand, work done by a variable force requires integration of the force function over the displacement.

3. Can you provide an example of finding work done by a variable force?

Sure! Let's consider a force function given by F(x) = 2x + 3. If we want to find the work done by this force over a displacement from x = 0 to x = 5, we would integrate the force function over this range: W = ∫(2x + 3) dx from 0 to 5.

4. How does the direction of the force affect the work done by a variable force?

The direction of the force affects the work done by a variable force through the angle between the force and the displacement. The work done is maximum when the force is in the same direction as the displacement (θ = 0°) and minimum when the force is perpendicular to the displacement (θ = 90°).

5. What are the units of work done by a variable force?

The units of work done by a variable force are the same as the units of force multiplied by the units of displacement. In the International System of Units (SI), the unit of work is the joule (J), which is equivalent to a newton-meter (N·m).

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
736
  • Calculus and Beyond Homework Help
Replies
4
Views
124
  • Calculus and Beyond Homework Help
Replies
6
Views
739
  • Calculus and Beyond Homework Help
Replies
2
Views
271
  • Calculus and Beyond Homework Help
Replies
2
Views
169
  • Calculus and Beyond Homework Help
Replies
20
Views
469
  • Calculus and Beyond Homework Help
Replies
1
Views
836
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Mechanics
Replies
23
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
591
Back
Top