SoatDev IT Consulting
SoatDev IT Consulting
  • About us
  • Expertise
  • Services
  • How it works
  • Contact Us
  • News
  • July 6, 2023
  • Rss Fetcher

A few weeks ago I wrote about the contraharmonic mean. Given two positive numbers a and b, their contraharmonic mean is

C = frac{a^2 + b^2}{a + b}

This mean has the unusual property that increasing one of the two inputs could decrease the mean. If you take the partial derivative with respect to a you can see that it is zero when a = (√2 − 1)b. So when x is small relative to b the contraharmonic mean is a decreasing function of a.

The Gini mean with parameters r and s is given by

G(a, b; r, s) = left(frac{a^{r+s} + b^{r+s}}{a^s + b^s}right)^{1/r}

The contraharmonic mean corresponds to r = s = 1 and the Lehmer p mean corresponds to r = 1 and s = p − 1.

Since the contraharmonic mean is a special case of the Lehmer and Gini means, these means are not always increasing functions of their arguments.

Incidentally, the harmonic mean corresponds to the Gini mean r = 1 and s = -1, and the harmonic mean is always in increasing function of its argument.

Related posts

  • Sums and means move in opposite directions
  • Higher roots and r-means

The post Contraharmonic mean quirk first appeared on John D. Cook.

Previous Post
Next Post

Recent Posts

  • Danaher Corporation Appoints New Chief Technology and AI Officer
  • Africa’s Pragmatic Approach to AI and How Can Data Centers Enable It
  • PwC Introduces AI Operating Systems to Power Scalable AI Workflows
  • Figma moves closer to a blockbuster IPO that could raise $1.5B
  • Road to Battlefield: Central Eurasia’s gateway to TechCrunch Startup Battlefield

Categories

  • Industry News
  • Programming
  • RSS Fetched Articles
  • Uncategorized

Archives

  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023

Tap into the power of Microservices, MVC Architecture, Cloud, Containers, UML, and Scrum methodologies to bolster your project planning, execution, and application development processes.

Solutions

  • IT Consultation
  • Agile Transformation
  • Software Development
  • DevOps & CI/CD

Regions Covered

  • Montreal
  • New York
  • Paris
  • Mauritius
  • Abidjan
  • Dakar

Subscribe to Newsletter

Join our monthly newsletter subscribers to get the latest news and insights.

© Copyright 2023. All Rights Reserved by Soatdev IT Consulting Inc.