ArticleslgStudy

mathematics

Circular mean

Circular mean is a mathematics 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 Circular mean rather than just read about it. In short: In mathematics and statistics, a circular mean or angular mean is a mean designed for angles and similar cyclic quantities, such as times of day, and fractional parts of real numbers. This is necessary since most of the usual means may not be appropriate on angle-like quantities.

Circular mean — main illustration
Circular mean — illustration

Key takeaways

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

Reference excerpt

In mathematics and statistics, a circular mean or angular mean is a mean designed for angles and similar cyclic quantities, such as times of day, and fractional parts of real numbers. This is necessary since most of the usual means may not be appropriate on angle-like quantities. For example, the arithmetic mean of 0° and 360° is 180°, which is misleading because 360° equals 0° modulo a full cycle. As another example, the "average time" between 11 PM and 1 AM is either midnight or noon, depending on whether the two times are part of a single night or part of a single calendar day. The circular mean is one of the simplest examples of directional statistics and of statistics of non-Euclidean spaces. This computation produces a different result than the arithmetic mean, with the difference being greater when the angles are widely distributed. For example, the arithmetic mean of the three angles 0°, 0°, and 90° is (0° + 0° + 90°) / 3 = 30°, but the vector mean is arctan(1/2) = 26.565°. Moreover, with the arithmetic mean the circular variance is only defined ±180°.

Definition Since the arithmetic mean is not always appropriate for angles, the following method can be used to obtain both a mean value and measure for the variance of the angles: Convert all angles to corresponding points on the unit circle, e.g., α to (cos⁡α,sin⁡α). That is, convert polar coordinates to Cartesian coordinates. Then compute the arithmetic mean of these points. The resulting point will lie within the unit disk but generally not on the unit circle. Convert that point back to polar coordinates. The angle is a reasonable mean of the input angles. The resulting radius will be 1 if all angles are equal. If the angles are uniformly distributed on the circle, then the resulting radius will be 0, and there is no circular mean. (In fact, it is impossible to define a continuous mean operation on the circle.) In other words, the radius measures the concentration of the angles. Given the angles α1,…,αn a common formula of the mean using the atan2 variant of the arctangent function is

α¯=atan2⁡(1n∑j=1nsin⁡αj,1n∑j=1ncos⁡αj)=atan2⁡(∑j=1nsin⁡αj,∑j=1ncos⁡αj)

Using complex arithmetic An equivalent definition can be formulated using complex numbers:

α¯=arg⁡(1n∑j=1nexp⁡(i⋅αj))=arg⁡(∑j=1nexp⁡(i⋅αj)). In order to match the above derivation using arithmetic means of points, the sums would have to be divided by n. However, the scaling does not matter for atan2 and arg, thus it can be omitted. This may be more succinctly stated by realizing that directional data are in fact vectors of unit length. In the case of one-dimensional data, these data points can be represented conveniently as complex numbers of unit magnitude z=cos⁡(θ)+isin⁡(θ)=eiθ, where θ is the measured angle. The mean resultant vector for the sample is then:

𝝆‾=1N∑n=1Nzn. The sample mean angle is then the argument of the mean resultant:

θ‾=Arg⁡(𝝆‾). The length of the sample mean resultant vector is:

R‾=|𝝆‾| and will have a value between 0 and 1. Thus the sample mean resultant vector can be represented as:

𝝆‾=R‾eiθ‾. Similar calculations are also used to define the circular variance.

Properties The circular mean, α¯

maximizes the likelihood of the mean parameter of the von Mises distribution and minimizes the sum of a certain distance on the circle, more precisely α¯=argminβ∑j=1nd(αj,β), where d(φ,β)=1−cos⁡(φ−β). The distance d(φ,β) is equal to half the squared Euclidean distance between the two points on the unit circle associated with φ and β.

Example A simple way to calculate the mean of a series of angles (in the interval [0°, 360°)) is to calculate the mean of the cosines and sines of each angle, and obtain the angle by calculating the inverse tangent. Consider the following three angles as an example: 10, 20, and 30 degrees. Intuitively, calculating the mean would involve adding these three angles together and dividing by 3, in this case indeed resulting in a correct mean angle of 20 degrees. By rotating this system anticlockwise through 15 degrees the three angles become 355 degrees, 5 degrees and 15 degrees. The arithmetic mean is now 125 degrees, which is the wrong answer, as it should be 5 degrees. The vector mean θ¯ can be calculated in the following way, using the mean sine s¯ and the mean cosine c¯≠0:

s¯=13(sin⁡(355∘)+sin⁡(5∘)+sin⁡(15∘))=13(−0.087+0.087+0.259)≈0.086 c¯=13(cos⁡(355∘)+cos⁡(5∘)+cos⁡(15∘))=13(0.996+0.996+0.966)≈0.986 θ¯={arctan⁡(s¯c¯)s¯>0, c¯>0arctan⁡(s¯c¯)+180∘c¯<0arctan⁡(s¯c¯)+360∘s¯<0, c¯>0}=arctan⁡(0.0860.986)=arctan⁡(0.087)=5∘. // If the resulting angle is negative, add 360 to bring it into the standard range 0 to 360, like: if result < 0 then result := result + 360;

Implementation In this Python code we use day hours to find circular average of them:

Note that the function above is already implemented by SciPy's circmean function.

Generalizations

Spherical mean

Weighted spherical mean A weighted spherical mean can be defined based on spherical linear interpolation.

See also Center of mass Centroid Circular distribution Circular standard deviation Directional statistics Fréchet mean Yamartino method

References

Further reading Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore. ISBN 981-02-3778-2 Hotz, Thomas (2013). "Extrinsic vs Intrinsic Means on the Circle". Lecture Notes in Computer Science. Vol. 8085. Berlin, Heidelberg: Springer Berlin Heidelberg. pp. 433–440. doi:10.1007/978-3-642-40020-9_47. ISBN 978-3-642-40019-3. ISSN 0302-9743.

Worked examples

Example 1 — a first encounter with Circular mean

Start with the simplest possible case. Write down what Circular mean claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Circular mean 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 Circular mean 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 Circular mean

In research
Circular mean appears in mathematics 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 Circular mean 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
Circular mean is common in secondary-school and first-year university syllabi. It links to neighbouring topics Angle, Directional statistics, Means, so understanding it makes those chapters shorter.
In everyday life
Look for Circular mean 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 “Circular mean” →

How to study Circular mean in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Circular mean 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 Circular mean out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Circular mean in simple terms?

In mathematics and statistics, a circular mean or angular mean is a mean designed for angles and similar cyclic quantities, such as times of day, and fractional parts of real numbers. This is necessary since most of the usual means may not be appropriate on angle-like quantities.

Why does Circular mean matter?

Because it connects several mathematics 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 Circular mean?

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 Circular mean.

Tags

  • Angle
  • Directional statistics
  • Means

Keep exploring