Frictionlessbeta
beta

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\Delta t is ΔxΔt\dfrac{\Delta x}{\Delta t}, i.e. the slope of the secant (the line through two points of the x(t)x(t) graph). We want the velocity at one instant, so we shorten the interval: take Δt=1 s\Delta t=1\text{ s}, then 0.1 s0.1\text{ s}, then 0.01 s0.01\text{ s}. The secant lies down on the curve more and more, and its slope approaches one number. That number is the derivative.

012345602468101214t [s]x [m]secant, Δt = 2 ssecant, Δt = 1 stangent at t = 2 s
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\Delta t in the lab and watch the secant lie down onto the tangent.

▶ SymulacjaSimulation: From secant to tangent⚑︎
🎯 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.

012345605101520t [s]x [m]ΔtΔx00.511.521.822.22.42.62.833.2Δt [s]Δx/Δt [m/s]dx/dt
ΔxΔt=4.125 m1.5 s=2.75 m/s\dfrac{\Delta x}{\Delta t}=\dfrac{4.125\text{ m}}{1.5\text{ s}}=2.75\ \text{m/s}
dxdt=t ⇒ 2 m/s (t0=2 s)\dfrac{\mathrm{d}x}{\mathrm{d}t}=t\ \Rightarrow\ 2\ \text{m/s}\ (t_0=2\text{ s})
ΔxΔt−dxdt=0.75 m/s\dfrac{\Delta x}{\Delta t}-\dfrac{\mathrm{d}x}{\mathrm{d}t}=0.75\ \text{m/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.

NotationNameExampleWhen convenient
f′(x)f'(x)Lagrangex′(t)x'(t)in maths, quick calculations
dxdt\dfrac{\mathrm{d}x}{\mathrm{d}t}Leibnizdvdt\dfrac{\mathrm{d}v}{\mathrm{d}t}in physics: the unit [m]/[s]=m/s[\text{m}]/[\text{s}]=\text{m/s} is visible
x˙, x¨\dot x,\ \ddot xNewton (dot)x˙=v, x¨=a\dot x=v,\ \ddot x=awhen the variable is time, in mechanics

3. The set of derivatives that is enough for mechanics

  • A constant (cc) does not change, so its rate of change is zero. That is why a constant initial position x0x_0 does not affect velocity.
  • A power (tnt^n): lower the exponent by 1 and make the old exponent a multiplier.  (t2)′=2t\ (t^2)'=2t,  (t3)′=3t2\ (t^3)'=3t^2.
  • Linearity: differentiate a sum term by term, and constant multipliers “come out” in front of the derivative.
  • Sine and cosine: the constant ω\omega inside comes out as a multiplier. Intuition: ω\omega tells how fast the oscillation “spins”. The faster, the steeper the slopes of the graph, so the derivative is ω\omega times larger.
f(t) = sin(ωt)f′(t) = ω cos(ωt)orange: the sine is steepest → the cosine has a peak or a troughgrey: the sine is flat (a peak) → the cosine is zero
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: (t+h)2−t2h=2th+h2h=2t+h → 2t\dfrac{(t+h)^2-t^2}{h}=\dfrac{2th+h^2}{h}=2t+h\ \to\ 2t as h→0h\to0.

For the sine: sin⁡(t+h)−sin⁡th=sin⁡t cos⁡h−1h+cos⁡t sin⁡hh\dfrac{\sin(t+h)-\sin t}{h}=\sin t\,\dfrac{\cos h-1}{h}+\cos t\,\dfrac{\sin h}{h}. As h→0h\to0, sin⁡hh→1\dfrac{\sin h}{h}\to1 and cos⁡h−1h→0\dfrac{\cos h-1}{h}\to0, so the result is cos⁡t\cos t. For sin⁡(ωt)\sin(\omega t) the factor ω\omega comes from the chain rule: ωt\omega t changes by ω dt\omega\,\mathrm{d}t.

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)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.

012345678-2024681012t [s]x [m]peak: v = 0, a < 0valley: v = 0, a > 0
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?

4.What is the derivative of x(t) = sin(3t)?

Score: 0 / 4

Problems

ZadanieExerciseŁatweEasy

Problem 1 – a cart with a position sensor. A sensor shows that the position of a cart along a track is x(t)=3t2−2tx(t)=3t^2-2t (meters, tt in seconds). Find the velocity of the cart at t=2 st=2\text{ s} and its acceleration.

m/s
Pokaż wskazówkęShow hint

Apply the power rule to each term separately: (t2)′=2t(t^2)'=2t and (t)′=1(t)'=1. Acceleration is the derivative of velocity.

Rozwiązanie krok po krokuStep-by-step solution

vx=dxdt=6t−2v_x=\frac{\mathrm{d}x}{\mathrm{d}t}=6t-2 ⇒vx(2 s)=6⋅2−2=10 m/s\Rightarrow\quad v_x(2\text{ s})=6\cdot2-2=10\ \text{m/s}

ax=dvxdt=6 m/s2a_x=\frac{\mathrm{d}v_x}{\mathrm{d}t}=6\ \text{m/s}^2

The acceleration is constant because the position is a second-degree polynomial: it is uniformly accelerated motion.

ZadanieExerciseŚrednieMedium

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−5t2y(t)=1.5+12t-5t^2 (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˙=0v_y=\dot y=0. First compute y˙(t)\dot y(t), set it to zero and solve for tt. Then substitute that time into y(t)y(t).

Rozwiązanie krok po krokuStep-by-step solution

vy=12−10t=0v_y=12-10t=0 ⇒ t=1.2 s\Rightarrow\ t=1.2\text{ s}

ymax⁡=1.5+12⋅1.2−5⋅1.22=1.5+14.4−7.2=8.7 my_{\max}=1.5+12\cdot1.2-5\cdot1.2^2=1.5+14.4-7.2=8.7\text{ m}

At this point vy=0v_y=0 but ay=y¨=−10 m/s2≠0a_y=\ddot y=-10\text{ m/s}^2\neq0 (the pitfall from this lesson).

ZadanieExerciseŚrednieMedium

Problem 3 – a vibrating loudspeaker cone. The center of a cone vibrates as x(t)=0.04sin⁡(25t)x(t)=0.04\sin(25t) (meters, tt in seconds). Find the greatest velocity and the greatest acceleration of the cone.

m/s²
Pokaż wskazówkęShow hint

(sin⁡ωt)′=ωcos⁡ωt(\sin\omega t)'=\omega\cos\omega t. The greatest value of cosine and sine is 11, so it is enough to compute the coefficients: AωA\omega and Aω2A\omega^2.

Rozwiązanie krok po krokuStep-by-step solution

v=x˙=0.04⋅25cos⁡(25t)=1⋅cos⁡(25t)v=\dot x=0.04\cdot25\cos(25t)=1\cdot\cos(25t) ⇒ vmax⁡=1 m/s\Rightarrow\ v_{\max}=1\text{ m/s}

a=x¨=−0.04⋅252sin⁡(25t)=−25sin⁡(25t)a=\ddot x=-0.04\cdot25^2\sin(25t)=-25\sin(25t) ⇒ amax⁡=25 m/s2\Rightarrow\ a_{\max}=25\text{ m/s}^2

The greatest velocity occurs at x=0x=0 (the cone passes the equilibrium position), the greatest acceleration at the extremes, where v=0v=0.

ZadanieExerciseŚrednieMedium

Problem 4 – approaching the instantaneous velocity. The position of a body is x(t)=0.2t3−1.5tx(t)=0.2t^3-1.5t (meters). Find the average velocity over [3 s; 4 s][3\text{ s};\,4\text{ s}], [3 s; 3.1 s][3\text{ s};\,3.1\text{ s}] and [3 s; 3.01 s][3\text{ s};\,3.01\text{ s}], and then the instantaneous velocity at t=3 st=3\text{ s} from the derivative.

m/s
Pokaż wskazówkęShow hint

Compute x(3)=0.9 mx(3)=0.9\text{ m} and the values of xx at the other ends of the intervals. The derivative: v=0.6t2−1.5v=0.6t^2-1.5.

Rozwiązanie krok po krokuStep-by-step solution

x(3)=0.9x(3)=0.9, x(4)=6.8x(4)=6.8, x(3.1)≈1.3082x(3.1)\approx1.3082, x(3.01)≈0.93918x(3.01)\approx0.93918 (meters). Hence

6.8−0.91=5.9 ms,\frac{6.8-0.9}{1}=5.9\ \tfrac{\text{m}}{\text{s}}, 1.3082−0.90.1≈4.08 ms,\frac{1.3082-0.9}{0.1}\approx4.08\ \tfrac{\text{m}}{\text{s}}, 0.93918−0.90.01≈3.92 ms\frac{0.93918-0.9}{0.01}\approx3.92\ \tfrac{\text{m}}{\text{s}}

From the derivative: v=0.6⋅32−1.5=3.9 m/sv=0.6\cdot3^2-1.5=3.9\text{ m/s}. The results 5.9→4.08→3.925.9\to4.08\to3.92 approach 3.93.9 from above because the curve is convex (the body is speeding up).

ZadanieExerciseTrudneHard

Problem 5 – a cart that turns around. A cart moves along a straight line as x(t)=t3−6t2+9tx(t)=t^3-6t^2+9t (meters, tt 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 00 to 4 s4\text{ s}.

m
Pokaż wskazówkęShow hint

Set v=x˙v=\dot x to zero and factor the quadratic. You get the distance by adding the legs without sign: check xx at the turning times.

Rozwiązanie krok po krokuStep-by-step solution

a) v=3t2−12t+9=3(t−1)(t−3)=0v=3t^2-12t+9=3(t-1)(t-3)=0 ⇒ t=1 s\Rightarrow\ t=1\text{ s} and t=3 st=3\text{ s}.

b) a=v˙=6t−12a=\dot v=6t-12: for t=1 st=1\text{ s} we get a=−6 m/s2a=-6\text{ m/s}^2, for t=3 st=3\text{ s} we get a=+6 m/s2a=+6\text{ m/s}^2. The acceleration is non-zero at both times, so the body really turns around.

c) x(0)=0x(0)=0, x(1)=4x(1)=4, x(3)=0x(3)=0, x(4)=4x(4)=4 (meters). Displacement Δx=4−0=4 m\Delta x=4-0=4\text{ m}. The distance is the sum of the legs: 4+4+4=12 m4+4+4=12\text{ m} (forward 4 m, back 4 m, forward 4 m again).

Coś się nie zgadza albo jest niejasne?Something wrong or unclear? ⚑︎ Zgłoś problemReport a problem