Calculus I · Unit 3B · lesson

Probability Density and Expected Value

Concept

Learning objectives

Interpret probability as accumulated density and calculate expected value for a continuous model.

Probability Density and Expected Value

Explanation

Probability is continuous mass distributed over outcomes

For a continuous random variable, a density function does not give the probability of one exact value. Probabilities come from integrating density over intervals. The total area under a valid density must equal one, and the density must be nonnegative. Thus abf(x)dx\int_a^b f(x)\,dx measures the probability that the random variable falls between aa and bb.

Expected value is a weighted average in which each possible value is weighted by its density. The integral E[X]=xf(x)dxE[X]=\int x f(x)\,dx is therefore closely related to center of mass. A density may be greater than one at some points without violating probability rules; only integrated probability must lie between zero and one. Always verify normalization before using a proposed function as a probability density.

A probability density p(x)p(x) satisfies p(x)0p(x)\ge0 and

p(x)dx=1.\int_{-\infty}^{\infty}p(x)dx=1.

Probabilities are areas:

P(aXb)=abp(x)dx.P(a\le X\le b)=\int_a^bp(x)dx.

The expected value is

E[X]=xp(x)dx,E[X]=\int_{-\infty}^{\infty}xp(x)dx,

when the improper integral converges.

Worked example

A simple triangular density

Let p(x)=2xp(x)=2x on [0,1][0,1] and 00 elsewhere. It is normalized because

012xdx=1.\int_0^12x\,dx=1.

Then

P(X1/2)=01/22xdx=14,P(X\le1/2)=\int_0^{1/2}2x\,dx=\frac14,

and

E[X]=01x(2x)dx=23.E[X]=\int_0^1x(2x)dx=\frac23.
Interactive checku3b-prob-01

For density p(x)=2xp(x)=2x on [0,1][0,1], find P(X1/2)P(X\le1/2).

Your work stays on this device. No account or AI grader is used.

Show hint

Integrate the density from 0 to 1/2.

Attempt once to unlock the solution

Submit an answer first. The hint is available now.

After the explanation

Use the section idea

Reading lens

Translate the situation into rate, density, force, pressure, or probability before calculating; the integral is the final accumulation step, not the first modeling decision.

Mental model

Work adds force through distance, pumping adds slice weight through lift distance, pressure adds depth-dependent strip force, and marginal or probability models add weighted local contributions.

Decision

Draw a coordinate system, define the slice at a general position, express every changing factor in one variable, and state the domain and units.

Common trap

Confusing mass density with weight density, measuring depth from the wrong reference, or integrating a marginal quantity without an initial value when a total function is requested.

Check yourself

Does the setup respond correctly when the slice moves, and can a units or scale check expose a missing factor?

Source & rights

Original instruction with traceable references.

BetterGrades-original; no direct adaptation declared in the verified handoff.

Reference textbooks remain rights-separated and are not published as application assets. Any direct adaptation requires separate identification and attribution.