To wczesna wersja strony: treści i symulacje wciąż się zmieniają, a niektóre mogą mieć błędy.This is an early version of the site: lessons and simulations are still changing, and some may contain mistakes.Zgłoś problemReport a problem
Derivatives in Physics
A car’s speedometer does not show the average over the whole trip, it shows the speed right now. How does the gauge know it, when “right now” lasts zero seconds and in zero time you cannot travel anywhere? The answer is the derivative: the tool that turns a position graph into velocity and a velocity graph into acceleration.
Co musisz umieć?What you need to know(2)(matematyka szkolnaschool maths: 2)
Matematyka, poziom szkolny (algebra, trygonometria, składowe wektorów)Maths, school level (algebra, trigonometry, vector components)
współczynnik kierunkowyslopeNachylenie prostej a = Δy/Δx. W fizyce ma jednostkę (jednostka y podzielona przez jednostkę x), np. m/s.The steepness of a line, a = Δy/Δx. In physics it has a unit (unit of y divided by unit of x), e.g. m/s.Dowiedz się więcej →Learn more →
sinus, cosinus i tangenssine, cosine and tangentStosunki boków w trójkącie prostokątnym: sin = naprzeciw/przeciwprostokątna, cos = przy kącie/przeciwprostokątna, tg = naprzeciw/przy kącie.Ratios of sides in a right triangle: sin = opposite/hypotenuse, cos = adjacent/hypotenuse, tan = opposite/adjacent.Dowiedz się więcej →Learn more →
Najedź na pojęcie, żeby zobaczyć krótką definicję, albo kliknij „Dowiedz się więcej”.Hover a term for a short definition, or click “Learn more”.
1. From average to instantaneous velocity
The average velocity over an interval Δt is ΔtΔx, i.e. the slope of the secant (the line through two points of the x(t) graph). We want the velocity at one instant, so we shorten the interval: take Δt=1 s, then 0.1 s, then 0.01 s. The secant lies down on the curve more and more, and its slope approaches one number. That number is the derivative.
Graph of x = ½t². As we shorten the interval Δt, the secant (average velocity) turns towards the tangent (instantaneous velocity at t = 2 s).
Shrink Δt in the lab and watch the secant lie down onto the tangent.
▶ SymulacjaSimulation: From secant to tangentSpacja: start/pauza · R: resetSpace: start/pause · R: reset⚑︎
🎯 What question does this simulation answer? How do we turn the average velocity (secant) into the velocity at one instant (tangent), and why is the derivative the tool for that?
🧪 Try these in turn:
▶ Drag the sliders: Δt and the instant t₀.
🎨 Legend:■ the curve x(t)■ secant (average velocity Δx/Δt)■ tangent (instantaneous velocity dx/dt)■ Δt and Δx: legs of the secant triangle
▶ Right now: The secant (grey) joins t = 2 s and t = 3.5 s: its slope is the average velocity 2.75 m/s. The tangent (red) at t = 2 s has slope 2 m/s, the instantaneous velocity. Difference: 0.75 m/s.
⚙ What is drawn
Left: the position graph x(t). Right: how the ratio Δx/Δt depends on the interval length Δt. The red line is the derivative at t₀, which the ratio approaches as Δt → 0.
ΔtΔx=1.5 s4.125 m=2.75m/s
dtdx=t⇒2m/s(t0=2 s)
ΔtΔx−dtdx=0.75m/s(tends to zero as Δt → 0)
The gray secant is the average velocity, the red tangent is the instantaneous velocity. The plot on the right shows the ratio Δx/Δt approaching the derivative as Δt shrinks.
2. Three notations for the same derivative
In physics you will meet three ways of writing it. They mean the same, but each is convenient for something different.
Notation
Name
Example
When convenient
f′(x)
Lagrange
x′(t)
in maths, quick calculations
dtdx
Leibniz
dtdv
in physics: the unit [m]/[s]=m/s is visible
x˙,x¨
Newton (dot)
x˙=v,x¨=a
when the variable is time, in mechanics
3. The set of derivatives that is enough for mechanics
A constant(c) does not change, so its rate of change is zero. That is why a constant initial position x0 does not affect velocity.
A power(tn): lower the exponent by 1 and make the old exponent a multiplier. (t2)′=2t,(t3)′=3t2.
Linearity: differentiate a sum term by term, and constant multipliers “come out” in front of the derivative.
Sine and cosine: the constant ω inside comes out as a multiplier. Intuition: ω tells how fast the oscillation “spins”. The faster, the steeper the slopes of the graph, so the derivative is ω times larger.
The derivative is the slope of the graph. Where the sine rises fastest, the cosine has a peak; where the sine falls fastest, the cosine has a trough; at the peaks of the sine the slope is zero, so the cosine passes through zero. The derivative of a sine is therefore a shifted sine.✦ Dla ciekawych (poziom akademicki, można pominąć)For the curious (university level, can be skipped) · where the derivative formulas come from
From the definition: h(t+h)2−t2=h2th+h2=2t+h→2t as h→0.
For the sine: hsin(t+h)−sint=sinthcosh−1+costhsinh. As h→0,hsinh→1 and hcosh−1→0, so the result is cost. For sin(ωt) the factor ω comes from the chain rule: ωt changes by ωdt.
4. The second derivative and turning points
Acceleration is the derivative of velocity, and velocity is the derivative of position, so acceleration is the second derivative of position:
When the graph of x(t) has a peak or a valley, its tangent is horizontal, so the derivative is zero. This is the condition for a turning point: the velocity is then zero and the body turns around.
At a peak and in a valley the tangent is horizontal, so v = 0 and the body turns back. The sign of the second derivative (acceleration) tells you whether it is a peak or a valley.
Quiz: test yourself
1.What does the slope of the tangent to the x(t) graph at time t₀ mean?
2.The position is x(t) = 4t² − 3t + 7 (m, s). What is the velocity at t = 2 s?
3.A ball thrown straight up is at its highest point. What are v and a?
Problem 1 – a cart with a position sensor. A sensor shows that the position of a cart along a track is x(t)=3t2−2t (meters, t in seconds). Find the velocity of the cart at t=2 s and its acceleration.
m/s
Pokaż wskazówkęShow hint
Apply the power rule to each term separately: (t2)′=2t and (t)′=1. Acceleration is the derivative of velocity.
Rozwiązanie krok po krokuStep-by-step solution
vx=dtdx=6t−2⇒vx(2 s)=6⋅2−2=10m/s
ax=dtdvx=6m/s2
The acceleration is constant because the position is a second-degree polynomial: it is uniformly accelerated motion.
Problem 2 – a stone thrown from a balcony. A stone is thrown straight up from a balcony. Its height above the ground is y(t)=1.5+12t−5t2 (meters). Find the time at which the stone is at its highest point and the greatest height. What are its velocity and acceleration then?
m
Pokaż wskazówkęShow hint
At the highest point vy=y˙=0. First compute y˙(t), set it to zero and solve for t. Then substitute that time into y(t).
Rozwiązanie krok po krokuStep-by-step solution
vy=12−10t=0⇒t=1.2 s
ymax=1.5+12⋅1.2−5⋅1.22=1.5+14.4−7.2=8.7 m
At this point vy=0 but ay=y¨=−10 m/s2=0 (the pitfall from this lesson).
Problem 3 – a vibrating loudspeaker cone. The center of a cone vibrates as x(t)=0.04sin(25t) (meters, t in seconds). Find the greatest velocity and the greatest acceleration of the cone.
m/s²
Pokaż wskazówkęShow hint
(sinωt)′=ωcosωt. The greatest value of cosine and sine is 1, so it is enough to compute the coefficients: Aω and Aω2.
Rozwiązanie krok po krokuStep-by-step solution
v=x˙=0.04⋅25cos(25t)=1⋅cos(25t)⇒vmax=1 m/s
a=x¨=−0.04⋅252sin(25t)=−25sin(25t)⇒amax=25 m/s2
The greatest velocity occurs at x=0 (the cone passes the equilibrium position), the greatest acceleration at the extremes, where v=0.
Problem 4 – approaching the instantaneous velocity. The position of a body is x(t)=0.2t3−1.5t (meters). Find the average velocity over [3 s;4 s],[3 s;3.1 s] and [3 s;3.01 s], and then the instantaneous velocity at t=3 s from the derivative.
m/s
Pokaż wskazówkęShow hint
Compute x(3)=0.9 m and the values of x at the other ends of the intervals. The derivative: v=0.6t2−1.5.
Problem 5 – a cart that turns around. A cart moves along a straight line as x(t)=t3−6t2+9t (meters, t in seconds). a) At what times does the cart stop and change direction? b) What is its acceleration at those times? c) Find the displacement and the distance traveled from 0 to 4 s.
m
Pokaż wskazówkęShow hint
Set v=x˙ to zero and factor the quadratic. You get the distance by adding the legs without sign: check x at the turning times.
Rozwiązanie krok po krokuStep-by-step solution
a)v=3t2−12t+9=3(t−1)(t−3)=0⇒t=1 s and t=3 s.
b)a=v˙=6t−12: for t=1 s we get a=−6 m/s2, for t=3 s we get a=+6 m/s2. The acceleration is non-zero at both times, so the body really turns around.
c)x(0)=0,x(1)=4,x(3)=0,x(4)=4 (meters). Displacement Δx=4−0=4 m. The distance is the sum of the legs: 4+4+4=12 m (forward 4 m, back 4 m, forward 4 m again).