Application Properties of Integrals

Integration is not only an operation inside pure mathematics. It is the bridge between abstract theory and the physical world. The average temperature over a day, the probability that a random variable falls in a given interval, the total energy burned by a circuit — these look like different problems, but all of them reduce to the same thing: integrating a function over an interval.

This page takes three classic settings and shows what the definite integral does in each of them: the average value of a continuously varying quantity, the probability carried by a density curve, and the energy released by a varying power. Each section moves from the general formula to a fully worked example, so that you can watch the whole chain from “identify the integrand” to “read off the number”.


1. Average value

In daily life we constantly need the typical level of a quantity that varies continuously: the average temperature of a day, the average heart rate during a lecture, the average speed of a car over a trip. Because the quantity changes continuously, a plain arithmetic mean of a few sample readings is not the right tool. The correct notion is the average value of a continuous function.

Intuition. Think of ∫abf(x) dx\int_a^b f(x)\,dx as the “sum” of infinitely many values of ff over the interval. Dividing that sum by the length b−ab - a of the interval is exactly what you do to an ordinary finite list of numbers to get their mean. The integral is the continuous analogue of the arithmetic average.

Example: average temperature over a day.

The temperature in a certain town during one day, for 0≤t≤240 \leq t \leq 24 hours, is approximately

T(t)=20+5sin⁡ ⁣(πt12)T(t) = 20 + 5\sin\!\left(\frac{\pi t}{12}\right)

in degrees Celsius. Find the average temperature over the 24 hours.

Solution: substitute into the average value formula:

Tavg=124−0∫024[20+5sin⁡ ⁣(πt12)]dtT_{\text{avg}} = \frac{1}{24 - 0}\int_0^{24} \left[20 + 5\sin\!\left(\frac{\pi t}{12}\right)\right] dt

Split the integral:

Tavg=124[∫02420 dt+∫0245sin⁡ ⁣(πt12)dt]T_{\text{avg}} = \frac{1}{24}\left[\int_0^{24} 20\, dt + \int_0^{24} 5\sin\!\left(\frac{\pi t}{12}\right) dt\right]

First part:

∫02420 dt=20×24=480\int_0^{24} 20\, dt = 20 \times 24 = 480

Second part: let u=πt12u = \dfrac{\pi t}{12}, so du=π12 dtdu = \dfrac{\pi}{12}\,dt, that is dt=12π dudt = \dfrac{12}{\pi}\,du. The limits become u=0u = 0 and u=2πu = 2\pi.

∫0245sin⁡ ⁣(πt12)dt=5⋅12π∫02πsin⁡u du=60π[−cos⁡u]02π=60π(−1+1)=0\int_0^{24} 5\sin\!\left(\frac{\pi t}{12}\right) dt = 5 \cdot \frac{12}{\pi}\int_0^{2\pi} \sin u\, du = \frac{60}{\pi}\Big[-\cos u\Big]_0^{2\pi} = \frac{60}{\pi}(-1+1) = 0

The sine term contributes nothing, which matches intuition: the extra warmth of the afternoon is exactly cancelled by the cooling of the night. Therefore

Tavg=124(480+0)=20 °CT_{\text{avg}} = \frac{1}{24}(480 + 0) = 20 \text{ °C}


2. Probability density

In probability theory a continuous random variable cannot take an exact value with positive probability — the probability of any single point is zero. What matters instead is the probability that the variable lands in an interval, and that is precisely what the integral of a probability density function (PDF) computes.

Intuition. Picture f(x)f(x) as a curve. The probability that XX falls in [a,b][a, b] is the area under that curve between aa and bb. Since the total area is 1 — the “certain event” — every other area is a fraction of the whole.

Example: the exponential distribution.

The lifetime XX of an electronic component, measured in thousands of hours, follows an exponential distribution with parameter λ=0.5\lambda = 0.5, whose density is

f(x)={0.5 e−0.5x,x≥00,x<0f(x) = \begin{cases} 0.5\, e^{-0.5x}, & x \ge 0 \\ 0, & x < 0 \end{cases}

Find the probability that the component survives longer than 2 thousand hours, that is P(X>2)P(X > 2).

Solution:

P(X>2)=∫2+∞0.5 e−0.5x dxP(X > 2) = \int_2^{+\infty} 0.5\, e^{-0.5x}\, dx

Since ∫0.5 e−0.5x dx=−e−0.5x+C\displaystyle\int 0.5\, e^{-0.5x}\, dx = -e^{-0.5x} + C, substitute the limits:

P(X>2)=[−e−0.5x]2+∞=0−(−e−1)=e−1≈0.368P(X > 2) = \left[-e^{-0.5x}\right]_2^{+\infty} = 0 - \left(-e^{-1}\right) = e^{-1} \approx 0.368

So the component has about a 36.8 percent chance of lasting more than 2000 hours. The memoryless property of the exponential distribution makes exactly this kind of computation routine in reliability engineering.


3. Energy

In physics and engineering, power is the rate at which energy is transferred, that is P=dEdtP = \frac{dE}{dt}. The reverse direction is therefore an integral: knowing the power as a function of time, the total energy consumed over an interval is the integral of the power.

The same idea works well beyond circuits: in mechanics the integral of force over displacement is work, and in thermodynamics the integral of heat flow over time is total heat. Each is “a rate, accumulated over an interval”.

Example: energy dissipated in a resistor.

The instantaneous power dissipated in a resistor is P(t)=100sin⁡2(t)P(t) = 100\sin^2(t) watts. Find the total energy dissipated between t=0t = 0 and t=πt = \pi seconds.

Solution:

E=∫0π100sin⁡2(t) dtE = \int_{0}^{\pi} 100\sin^2(t)\, dt

Use the half-angle formula sin⁡2(t)=1−cos⁡(2t)2\sin^2(t) = \dfrac{1 - \cos(2t)}{2}:

E=100∫0π1−cos⁡(2t)2 dt=50∫0π[1−cos⁡(2t)]dtE = 100\int_0^{\pi} \frac{1 - \cos(2t)}{2}\, dt = 50\int_0^{\pi} \left[1 - \cos(2t)\right] dt

=50[t−sin⁡(2t)2]0π=50[π−0−(0−0)]=50π≈157.1 J= 50\left[t - \frac{\sin(2t)}{2}\right]_0^{\pi} = 50\left[\pi - 0 - (0 - 0)\right] = 50\pi \approx 157.1 \text{ J}

There is a quick sanity check available here. The waveform sin⁡2(t)\sin^2(t) never goes negative — a resistor only consumes energy, it never generates it — and its average over a half period is exactly half the peak, namely 50 W. So the total energy is 50 W times π\pi seconds, which is 50π50\pi joules.


At a glance

SettingCore formulaKey idea
Average valuefavg=1b−a∫abf(x) dx\displaystyle f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dxThe arithmetic mean of infinitely many continuously varying values
Probability densityP(a≤X≤b)=∫abf(x) dx\displaystyle P(a \leq X \leq b) = \int_a^b f(x)\,dxProbability is the area under the density curve
EnergyE=∫t1t2P(t) dt\displaystyle E = \int_{t_1}^{t_2} P(t)\,dtIntegrating a rate restores the total

The common essence. All three express the same idea: accumulating by summing. Whether you are averaging infinitely many instantaneous values, adding up infinitely many infinitesimal probabilities, or collecting infinitely many instantaneous power readings, the integral turns local information into a global result.

Working advice: whenever you meet a concrete problem, ask two questions first — what is the integrand, and what is the interval? Once those are identified, the correct physical or statistical meaning usually follows on its own.


Exercises

Exercise 1

Let f(x)=x2f(x) = x^2 on [0,3][0, 3]. Find the average value of ff on this interval, and explain why it is not the arithmetic mean of the endpoint values f(0)f(0) and f(3)f(3).

definite integralaverage valueapplication

Approach: Use the average value formula. The average of a continuous function weights every point of the interval, so it cannot be recovered from the two endpoints alone.

Steps:

  1. The average value is favg=13−0∫03x2 dxf_{\text{avg}} = \frac{1}{3 - 0}\int_0^3 x^2\, dx.
  2. The power rule gives ∫x2 dx=x33\int x^2\, dx = \frac{x^3}{3}, so the integral is [x33]03=273=9\left[\frac{x^3}{3}\right]_0^3 = \frac{27}{3} = 9.
  3. Divide by the length: favg=93=3f_{\text{avg}} = \frac{9}{3} = 3.
  4. The arithmetic mean of the endpoints is f(0)+f(3)2=0+92=4.5\frac{f(0) + f(3)}{2} = \frac{0 + 9}{2} = 4.5, which differs from 33 because the function is convex and spends most of the interval below its chord.

Answer: The average value is 33, which is not the mean of the endpoint values 4.54.5.

Exercise 2

The lifetime XX of a component follows the exponential distribution with density f(x)=0.5 e−0.5xf(x) = 0.5\, e^{-0.5x} for x≥0x \geq 0 and f(x)=0f(x) = 0 otherwise. Find the probability that the component fails within 1 thousand hours, that is P(X≤1)P(X \leq 1).

definite integralprobability densityexponential distribution

Approach: Probability is the area under the density curve over the interval in question, so integrate the density from 0 to 1.

Steps:

  1. Write P(X≤1)=∫010.5 e−0.5x dxP(X \leq 1) = \int_0^1 0.5\, e^{-0.5x}\, dx.
  2. An antiderivative is −e−0.5x-e^{-0.5x}, so P(X≤1)=[−e−0.5x]01P(X \leq 1) = \left[-e^{-0.5x}\right]_0^1.
  3. Evaluate: P(X≤1)=−e−0.5−(−1)=1−e−0.5P(X \leq 1) = -e^{-0.5} - (-1) = 1 - e^{-0.5}.
  4. Numerically e−0.5≈0.6065e^{-0.5} \approx 0.6065, so P(X≤1)≈0.3935P(X \leq 1) \approx 0.3935.
  5. Check against the complement: P(X>1)=e−0.5≈0.6065P(X > 1) = e^{-0.5} \approx 0.6065, and the two probabilities sum to 1.

Answer: P(X≤1)=1−e−0.5≈0.394P(X \leq 1) = 1 - e^{-0.5} \approx 0.394, that is about 39.4 percent.

Exercise 3

The instantaneous power supplied to a device is P(t)=200sin⁡(2t)P(t) = 200\sin(2t) watts for 0≤t≤π20 \leq t \leq \frac{\pi}{2}. Find the total energy supplied over that interval.

definite integralenergypower

Approach: Total energy is the integral of power over the time interval. Use the chain rule to find an antiderivative of sin⁡(2t)\sin(2t).

Steps:

  1. Write E=∫0π/2200sin⁡(2t) dtE = \int_0^{\pi/2} 200\sin(2t)\, dt.
  2. Since ddtcos⁡(2t)=−2sin⁡(2t)\frac{d}{dt}\cos(2t) = -2\sin(2t), an antiderivative of sin⁡(2t)\sin(2t) is −12cos⁡(2t)-\frac{1}{2}\cos(2t).
  3. Hence E=100[−cos⁡(2t)]0π/2E = 100\left[-\cos(2t)\right]_0^{\pi/2}.
  4. Evaluate: E=100(−cos⁡π+cos⁡0)=100(1+1)=200E = 100\left(-\cos\pi + \cos 0\right) = 100(1 + 1) = 200 J.
  5. Sanity check: the power is non-negative on the interval and peaks at 200 W, so an energy of 200 J over roughly 1.57 seconds is of the right order.

Answer: The total energy supplied is 200200 J.


Summary

The definite integral is the universal tool for turning a rate into a total. Averages, probabilities and energies look unrelated on the surface, but each one is an accumulation over an interval, and each one is found by the same two steps: identify the integrand, then identify the limits.

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∫ab\int_a^bmathematical symbolintegral from a to bThe definite integral over [a,b][a, b]
favgf_{\text{avg}}mathematical symbolf averageThe average value of the function on the interval
XXmathematical symbolcapital XA continuous random variable
P(a≤X≤b)P(a \leq X \leq b)mathematical symbolprobabilityThe probability that the random variable falls in the interval
λ\lambdaGreek letterLambda (lan mu da)The parameter of the exponential distribution
EEmathematical symbolEThe total energy consumed
P(t)P(t)mathematical symbolP of tPower, as a function of time
t1,t2t_1, t_2mathematical symbolt-sub-one and t-sub-twoThe start and end times of the interval
π\piGreek letterPi (pai)The ratio of a circle’s circumference to its diameter
eemathematical symbolEuler’s numberThe base of the natural logarithm
sin⁡x,cos⁡x\sin x, \cos xmathematical symbolsine and cosine of xThe sine and cosine functions

Found an issue with this content?

Tell us what could be improved.