The Wayback Machine - https://web.archive.org/web/20240822195954/https://www.geeksforgeeks.org/work-done-by-a-variable-force/
Open In App

Work Done by a Variable Force

Last Updated : 16 Apr, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Usually, a dancing person is considered to be more energetic compared to a sitting person. A security guard who has been standing at his place the whole day has been working for hours. In real life, this seems obvious, but these terms and definitions work differently when it comes to physics. In physics, work has been defined as the product of force and displacement. This means, that if there is no displacement, work done is zero, no matter how much force or time was spent. This definition builds up concepts like the work-energy theorem. Let’s see this in detail. 

Work 

Consider a block of mass M sitting on a surface. Now, Aman comes and starts applying a force F, on the block. Only applying the force for some time, he is able to shift the block by 4 meters on the surface. The block and the force are shown in the figure below. Now, since displacement is there. According to physics terminology, the work is done. 

For a constant force \vec{F} and the displacement \vec{r}. The work done is defined by, 

W = \vec{F}.\vec{r}

This is the dot product between two vectors, so if the Force makes an angle \theta with the displacement. Then the work done will be given by, 

W = |F||r|cos(\theta)

Work done by a Variable Force

The above equations are cases of calculating work done with the assumption that the force that is being applied to the body is constant. Often, this is not the case. Forces vary in direction and magnitude with time and sometimes with distance too. So, calculating the work done with this assumption is not right and is not perfectly generalizable. 

Let’s consider a force that changes its magnitude. Consider the case of a spring and Hooke’s law. According to Hooke’s law, the restoring force of a perfectly elastic spring is proportional to its extension. The direction of this force is opposite to the extension. There the force acting is given by, 

F = -kx

Here, k is the spring constant. 

This is an example of a variable Force. For calculating the work done by a variable force, we should add all the infinitely small work done in all the infinitesimally small intervals. Let’s denote the infinitesimally small interval by “dt”. So, to add to the work done in such a scenario, an integral must be used. 

The interval “dt” can be used to calculate the change in the extension of spring. 

dx = vdt

W = \sum_i F_i\Delta x \\ = \sum_i F_idx \\ = \sum_i F_ivdt

Using the relations of force from the Hooke’s law. 

W = \sum_i -kx vdt \\ = \int^{t}_{0} -kxvdt \\ = \int^{x}_{x_0}-kxdx \\ = -\frac{1}{2}k \Delta^2 x

This work is done by a force applied on the spring for an extension of \Delta x

For a force which is varying and is given by \vec{F}and produces a displacement given by the vector \vec{dr}. The work done is given by, 

W = \int \vec{F}.\vec{dr}

Force-Displacement Plot

The above concept can be understood more clearly using the force-displacement plot. The plot below shows a variable force with the displacement it is producing. It is known that the integrals represent the area under the curve. So, in this case, the area under the curve gives the work done by the force on the body. The area under the curve is divided into many rectangles which represent the \Delta x displacement. 

The area of a single rectangle is F.\Delta x. This represents the work done by the force for an infinitesimally small displacement. The total sum of the area of all the rectangles gives the total work done. 

W = \sum F.\Delta x \\

⇒ W = ∫Fdx

Sample Problems

Question 1: Find the work done when a force of 20N acting in the direction of displacement produces a displacement of 5 m. 

Solution: 

The work done by a constant force is given by, 

W = |F||r|cos(\theta)

Here, \theta  = 0

W = |F||r|cos(\theta)

⇒ W = (20)(5)(cos(0)) 

⇒ W= 100

Question 2: Find the work done when a force of F = 30i + 5j produces a displacement r = 5i + 2j. 

Solution: 

The work done by a constant force is given by, 

W = \vec{F}.\vec{r}

\vec{F} = 30i + 5j and \vec{r} = 5i + 2j

Calculating the dot product. 

W = \vec{F}.\vec{r}

⇒ W = (30i + 5j). (5i + 2j) 

⇒ W= (30)(5) + (5)(2) 

⇒W = 150 + 10 

⇒W = 160 J

Question 3: Find the work done when a force of F = x produces a displacement of 4m. 

Solution: 

The work done by a variable force is given by, 

W = ∫Fdx

F(x) = x

Calculating the work done.

W = \int^{x}_{0}Fdx \\ = \int^{x}_{0}xdx \\ = [\frac{x^2}{2}]^{x}_{0} \\ = \frac{x^2}{2}

Here, the displacement is x = 4 

W = \frac{x^2}{2}

⇒ W = \frac{4^2}{2}

⇒ W = 8J

Question 4: Find the work done when a force of F = x2 produces a displacement of 3 m. 

Solution: 

The work done by a variable force is given by, 

W = ∫Fdx

F(x) = x2

Calculating the work done. 

W = \int^{x}_{0}Fdx \\ = \int^{x}_{0}x^2dx \\ = [\frac{x^3}{3}]^{x}_{0} \\ = \frac{x^3}{3}

Here, the displacement is x = 3 

W = \frac{x^3}{3}

⇒ W = \frac{3^3}{3}

⇒ W = 27/3 ⇒ 9J

Question 5: Find the work done when a force of F = x + 4 produces a displacement of 2 m. 

Solution: 

The work done by a variable force is given by, 

W = ∫Fdx

F(x) = x + 4

Calculating the work done. 

W = \int^{x}_{0}Fdx \\ = \int^{x}_{0}(x + 4)dx \\ = [\frac{x^2}{2} + 4x]^{x}_{0} \\ = \frac{x^2}{2} + 4x

Here, the displacement is x = 2

W = \frac{x^2}{2} + 4x

⇒ W = \frac{2^2}{2} + 4(2)

⇒ W = 10 J

Question 6: Find the work done when a force of F = sin(x) produces a displacement from -1 to 1. 

Solution: 

The work done by a variable force is given by, 

W = ∫Fdx

F(x) = sin(x)

Calculating the work done. 

W = \int^{1}_{-1}Fdx \\ = \int^{1}_{-1}sin(x)dx \\ = [-cos(x)]^{1}_{-1} \\ = cos(-1) - cos(1) \\ = 0

FAQs on Work Done by a Variable Force

What is work done by variable force?

Work done by a variable force is the product of the force and the displacement of an object in the direction of the force when the force acting on the object varies with position or time.

What is a variable force?

A force is considered variable if its magnitude and/or direction changes with respect to the position, time, or other parameters of the system. Examples of variable forces include gravitational force, magnetic force, etc.

Is friction a variable force?

Friction is often considered a variable force because its magnitude depends on various factors such as the nature of the surfaces in contact, the normal force between the surfaces, and the relative motion or tendency for motion between the surfaces

Why is spring force a variable force?

The force exerted by a spring (also known as the spring force or restoring force) is considered variable because it varies with the displacement of the spring from its equilibrium position.

How to calculate work with a variable force?

To calculate the work done by a variable force,we use the following formula:

W = \int^{x_2}_{x_1}F(x)dx \\



Previous Article
Next Article

Similar Reads

Difference between Coulomb Force and Gravitational Force
In physics, a force is an effect that can alter an object's motion. A force can cause an object with mass to accelerate by changing its velocity (e.g., moving from a state of rest). Intuitively, the force can be described as a push or a pull. A force is a vector quantity since it has both magnitude and direction. The SI unit of newton is used to me
4 min read
Difference between Gravitational Force and Electrostatic Force
Force is just defined as a push or pull of an object with the mass that causes it to change its velocity. It is an external agent that is capable of changing the state of a particular body neither in a rest position nor in motion. It has both magnitude and direction. It can be measured using a spring balance. The formula of force is F = ma, where m
5 min read
Difference between Centrifugal Force and Centripetal Force
Centrifugal force and centripetal force are two important forces associated with circular motion. Centripetal force pulls objects towards the center of a circle, keeping them in orbit. Centrifugal force appears to push objects away from the center due to their rotation. In this article, we will learn the difference between centrifugal force and cen
5 min read
Work Done By Gravity Formula
We witness several examples of gravity working with force in our daily lives. We know that there is continual motion and force in the cosmos in the form of pushes and pulls. Among the countless movements, there are four major elementary forces that are responsible for a wide range of phenomena. Gravitational force, strong force, weak force, and ele
4 min read
Work Done
Work is said to be done when a force (push or pull) applied to an object causes a displacement of the object. In our daily life, we do work and get tired. Even if we are doing our work while sitting on a chair, we say we have done a lot of work and got tired. But this is not the work done as per the definitions of physics. In this article, we will
12 min read
How to calculate the Total Work Done?
The total work done can simply calculated by multiplying the force applied by the total displacement. The formula for calculating total work done is Fscosθ, where F is the force, s is displacement and cosθ is the angle between Force and displacement. Total work done will be maximum in case F and s are in the the same direction i.e. cosθ is 0 degree
3 min read
Free Variable vs Bound Variable
Free and bound variables are types of variables in maths which are used in fields like mathematics, logic, and computer science. A free variable is one that is not limited by any quantifiers within a given expression. For example, in the mathematical expression x + y, both x and y are free variables because they can take any value independently. On
6 min read
Work - Definition, Formula, Types of Work, Sample Problems
In daily life, you are doing activities like study, running speaking, hear, climbing, gossips with friends and a lot of other things. Do you know? All these activities require some energy, and you get it from your daily food. In our day-to-day life, everyone eats food, gets energy, and does some activity which is called work. Any physical or mental
6 min read
Push and Pull Force
A push force or pull force is a force upon an object arising from the object's or body’s interaction with another object. A push or pull only exists as a result of an interaction like when a body or an object or material is either pushed or pulled is termed as a force. A force due to action generates motion in an object. A push or a pull force also
10 min read
Magnetic Force on a Current carrying Wire
When a charge is moving under the influence of a magnetic field. It experiences forces, which are perpendicular to its movement. This property of charge is exploited in a lot of fields, for example, this phenomenon is used in the making of motors which in turn are useful for producing mechanical forces. These forces are governed by the right-hand t
5 min read
Nuclear Force
Nuclear forces, strong nuclear force, and weak nuclear force are two of the four fundamental forces of nature other than electromagnetic and gravitational forces. Unlike Coulomb's Law or Newton's Law of Gravitation, there is no simple mathematical way to describe nuclear forces. Nuclear forces are one of the strongest forces of nature. According to
7 min read
Motional Electromotive Force
The process of induction occurs when a change in magnetic flux causes an emf to oppose that change. One of the main reasons for the induction process in motion. We can say, for example, that a magnet moving toward a coil generates an emf, and that a coil moving toward a magnet creates a comparable emf. This section will cover motion in a magnetic f
14 min read
Problems on Force between Two Parallel Current Carrying Conductors
Moving charges generate an electric field and the rate of flow of charge is known as current. This is the basic concept in Electrostatics. The magnetic effect of electric current is the other important phenomenon related to moving electric charges. Magnetism is generated due to the flow of current. Magnetic fields exert force on the moving charges
9 min read
Force between Two Parallel Current Carrying Conductors
Moving charges produce an electric field and the rate of flow of charge is known as current. This is the basic concept in Electrostatics. The magnetic effect of electric current is the other important phenomenon related to moving electric charges. Magnetism is generated due to the flow of current. Magnetic fields exert force on the moving charges a
8 min read
What is Coriolis Force? Describe its effect in World Climate.
The apparent Coriolis force is a result of the rotation of the Earth. In the northern hemisphere, it directs winds to the right, and in the southern hemisphere, it directs winds to the left.This is also known as ‘Ferrel’s Law’. The deflection is larger when the wind velocity is high. The Coriolis force opposes the pressure gradient force.The force
4 min read
What is Frictional Force?
Frictional Force or Force of Friction is the opposing force when two surfaces come in contact with each other to move either in the same direction or in opposite directions. As friction is a force that opposes or resists the motion of an object that comes in contact and slides against each other. Hence, the frictional force is a Contact Force. Fric
14 min read
Non Contact Force
Non-contact force is a type of force that acts between two bodies without there being any actual contact between them. A force is a push or pull upon a body of any mass resulting from the body’s interaction with another body. Whenever there is an interaction between two bodies, there is a force upon each of the bodies. Forces only exist as a result
6 min read
What is Electrostatic Force?
Electrostatic Force is a fundamental interaction between electrically charged particles. It is governed by Coulomb's Law, which states that the force between two point charges is directly proportional to the product of their charges and inversely proportional to the square of the distance between them. This force can be either attractive or repulsi
1 min read
Difference between Buoyancy and Buoyant Force
The word Buoyancy is derived from a Spanish word known as “Boyar”, which means float. The property of a fluid to push the submerged object in the upward direction is called Buoyancy. It has the floating tendency when an object is placed in a fluid. Buoyancy results from the variations in pressure present on opposite sides of an object or body subme
10 min read
Resultant Force
Resultant Force is the total force acting on the body. It is defined as the sum of all forces acting on a body and it is the vector sum of all the forces acting on a body. The resultant force is measured in Newton which is the SI unit of force. If the resultant force acting on a body is zero then either it is in uniform motion or it is at rest. The
8 min read
Spring Force Formula
Spring is a tool which applies an equal and opposite force to a body that compresses or stretches it. This behaviour is shown by the spring because of its negligible inertia. It exhibits harmonic simple motion such that its spring force (or restoring force) is proportional to the displacement. The unit of measurement of the spring force is Newton (
4 min read
Electromotive Force
Electromotive Force or EMF is the work done by the per unit charge while moving from the positive end to the negative end of the battery. It can also be defined as the energy gain per unit charge while moving from the positive end to the negative end of the battery. The battery or the electric generator generates the electromotive force which cause
10 min read
Force on a Current Carrying Conductor in Magnetic Field
Force on a Current-Carrying Conductor is a fundamental concept in the field of electromagnetism. It was discovered by Hans Christian Oersted in the year 1820 that when current flows through a conductor, it produces a magnetic field around it. When this conductor is placed in a uniform magnetic field, the magnetic field produced by it interacts with
7 min read
Net Force Formula
Force is pushing or pulling any item coming about because of the object's connection with another object. Without force, nothing can be moved, halted, or shift the course. It is a quantitative communication between two actual bodies, between an article and its current circumstance. There are different sorts of powers in nature. Assuming an object i
8 min read
Force of Attraction Formula
Force of attraction is defined as a force that causes two or more objects to come together, even if they are not near to or touching one other. It is a force that attracts the bodies closer together. According to Newton's universal law of gravity, every mass that exists in the cosmos attracts another mass, and everything which is thrown upwards is
4 min read
Drag Force Formula
The force exerted on a solid body moving in relation to a fluid by the fluid's movement is known as a drag force. For instance, drag on a moving ship or drag on a flying jet. As a result, a drag force is a resistance created by a body moving through a fluid such as water or air. This drag force opposes the oncoming flow velocity. As a result, this
5 min read
Normal Force Formula
The normal force is defined as the force exerted by any surface on another object. When an object is at rest, the net force exerted on it is equal to zero. A normal force cannot be applied on two surfaces that are not connected to one another. It can be interpreted as a component of the force that is vertical to any contact surface. It determines h
5 min read
Pseudo Force
Pseudo Force is a force that come into existence when the motion of an object is explained using non inertial frame of reference. The term pseudo means false, hence it is known by terms like fictitious forces or inertial forces. It can be understood as a force that seems to act on an object in a frame of reference that is not moving uniformly. Thes
9 min read
Average Force Formula
A force is commonly defined as a push or pull on an item due to contact of one item with another. When such an interaction occurs between two things, a force is exerted on both of the items. Such an interaction would lead to an exertion of force on each of the items. Multiple forces may be applied to a single object at times. In such a situation, a
3 min read
Effects of Force - Concept and Examples
Force is a push or pull acting on a body. In day to day life, we encounter powerful effects of force all around us. From walking, lifting, writing, closing and opening of doors, we are surrounded by the effects of force. It is one of the fundamental physical phenomena. We can't imagine our lives without force. Even planetary motion and various othe
10 min read
three90RightbarBannerImg