ArticleslgStudy

science

Cross-covariance

Cross-covariance is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cross-covariance rather than just read about it. In short: In probability and statistics, given two stochastic processes {Xt} and {Yt}, the cross-covariance is a function that gives the covariance of one process with the other at pairs of time points. With the usual notation E for the expectation operator, if the processes have the mean functions μX(t)=E⁡[Xt] and μY(t)=E⁡[Yt], then the cross-covariance is given by KXY(t1,t2)=cov⁡(Xt1,Yt2)=E⁡[(Xt1−μX(t1))(Yt2−μY(t2))]=E⁡[Xt1…

Cross-covariance — main illustration
Cross-covariance — illustration

Key takeaways

  • Cross-covariance belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cross-covariance to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cross-covariance from memory before moving on to harder problems.

Reference excerpt

In probability and statistics, given two stochastic processes {Xt} and {Yt}, the cross-covariance is a function that gives the covariance of one process with the other at pairs of time points. With the usual notation E for the expectation operator, if the processes have the mean functions μX(t)=E⁡[Xt] and μY(t)=E⁡[Yt], then the cross-covariance is given by

KXY(t1,t2)=cov⁡(Xt1,Yt2)=E⁡[(Xt1−μX(t1))(Yt2−μY(t2))]=E⁡[Xt1Yt2]−μX(t1)μY(t2). Cross-covariance is related to the more commonly used cross-correlation of the processes in question. In the case of two random vectors 𝐗=(X1,X2,…,Xp)T and 𝐘=(Y1,Y2,…,Yq)T, the cross-covariance would be a p×q matrix KXY (often denoted cov⁡(X,Y)) with entries KXY(j,k)=cov⁡(Xj,Yk). Thus the term cross-covariance is used in order to distinguish this concept from the covariance of a random vector 𝐗, which is understood to be the matrix of covariances between the scalar components of 𝐗 itself. In signal processing, the cross-covariance is often called cross-correlation and is a measure of similarity of two signals, commonly used to find features in an unknown signal by comparing it to a known one. It is a function of the relative time between the signals, is sometimes called the sliding dot product, and has applications in pattern recognition and cryptanalysis.

Cross-covariance of random vectors

Cross-covariance of stochastic processes The definition of cross-covariance of random vectors may be generalized to stochastic processes as follows:

Definition Let {X(t)} and {Y(t)} denote stochastic processes. Then the cross-covariance function of the processes KXY is defined by:

where μX(t)=E⁡[X(t)] and μY(t)=E⁡[Y(t)]. If the processes are complex-valued stochastic processes, the second factor needs to be complex conjugated:

KXY(t1,t2)=def cov⁡(Xt1,Yt2)=E⁡[(X(t1)−μX(t1))(Y(t2)−μY(t2))‾]

Definition for jointly WSS processes If {Xt} and {Yt} are a jointly wide-sense stationary, then the following are true:

μX(t1)=μX(t2)≜μX for all t1,t2, μY(t1)=μY(t2)≜μY for all t1,t2 and

KXY(t1,t2)=KXY(t2−t1,0) for all t1,t2 By setting τ=t2−t1 (the time lag, or the amount of time by which the signal has been shifted), we may define

KXY(τ)=KXY(t2−t1)≜KXY(t1,t2). The cross-covariance function of two jointly WSS processes is therefore given by:

which is equivalent to

KXY(τ)=cov⁡(Xt+τ,Yt)=E⁡[(Xt+τ−μX)(Yt−μY)]=E⁡[Xt+τYt]−μXμY.

Uncorrelatedness Two stochastic processes {Xt} and {Yt} are called uncorrelated if their covariance K𝐗𝐘(t1,t2) is zero for all times. Formally:

{Xt},{Yt} uncorrelated⟺K𝐗𝐘(t1,t2)=0∀t1,t2.

Cross-covariance of deterministic signals The cross-covariance is also relevant in signal processing where the cross-covariance between two wide-sense stationary random processes can be estimated by averaging the product of samples measured from one process and samples measured from the other (and its time shifts). The samples included in the average can be an arbitrary subset of all the samples in the signal (e.g., samples within a finite time window or a sub-sampling of one of the signals). For a large number of samples, the average converges to the true covariance. Cross-covariance may also refer to a "deterministic" cross-covariance between two signals. This consists of summing over all time indices. For example, for discrete-time signals f[k] and g[k] the cross-covariance is defined as

(f⋆g)[n] =def ∑k∈ℤf[k]‾g[n+k]=∑k∈ℤf[k−n]‾g[k] where the line indicates that the complex conjugate is taken when the signals are complex-valued. For continuous functions f(x) and g(x) the (deterministic) cross-covariance is defined as

(f⋆g)(x) =def ∫f(t)‾g(x+t)dt=∫f(t−x)‾g(t)dt.

Properties The (deterministic) cross-covariance of two continuous signals is related to the convolution by

(f⋆g)(t)=(f(−τ)‾∗g(τ))(t) and the (deterministic) cross-covariance of two discrete-time signals is related to the discrete convolution by

(f⋆g)[n]=(f[−k]‾∗g[k])[n].

See also Autocovariance Autocorrelation Correlation Convolution Cross-correlation

References

External links Cross Correlation from Mathworld http://scribblethink.org/Work/nvisionInterface/nip.html http://www.phys.ufl.edu/LIGO/stochastic/sign05.pdf http://www.staff.ncl.ac.uk/oliver.hinton/eee305/Chapter6.pdf

Worked examples

Example 1 — a first encounter with Cross-covariance

Start with the simplest possible case. Write down what Cross-covariance claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cross-covariance before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cross-covariance ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cross-covariance

In research
Cross-covariance appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cross-covariance in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cross-covariance is common in secondary-school and first-year university syllabi. It links to neighbouring topics Covariance and correlation, Signal processing, Time domain analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Cross-covariance outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cross-covariance” →

How to study Cross-covariance in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cross-covariance means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cross-covariance out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cross-covariance in simple terms?

In probability and statistics, given two stochastic processes {Xt} and {Yt}, the cross-covariance is a function that gives the covariance of one process with the other at pairs of time points. With the usual notation E for the expectation operator, if the processes have the mean functions μX(t)=E⁡[…

Why does Cross-covariance matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cross-covariance?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cross-covariance.

Tags

  • Covariance and correlation
  • Signal processing
  • Time domain analysis

Keep exploring