Jump to content

File:HM-GM-AM-QM inequality n=2 case visualization.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 711 × 433 pixels, file size: 101 KB)

Summary

Description
English: Visualization of 2D case of HM-GM-AM-QM inequality contained inside circle of r=(a+b)/2
Date
Source Own work
Author Zlamma

This file was created with Geogebra, whose LaTeX (TikZ) export is:

\documentclass[10pt]{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
\definecolor{fuqqzz}{rgb}{0.9568627450980393,0,0.6}
\definecolor{aqaqaq}{rgb}{0.6274509803921569,0.6274509803921569,0.6274509803921569}
\definecolor{cqcqcq}{rgb}{0.7529411764705882,0.7529411764705882,0.7529411764705882}
\definecolor{ffqqff}{rgb}{1,0,1}
\definecolor{wwzzff}{rgb}{0.4,0.6,1}
\definecolor{qqzzqq}{rgb}{0,0.6,0}
\definecolor{xuzzxw}{rgb}{0.4549019607843137,0.6,0.4627450980392157}
\definecolor{cczzff}{rgb}{0.8,0.6,1}
\definecolor{ffzzqq}{rgb}{1,0.6,0}
\definecolor{qqqqff}{rgb}{0,0,1}
\definecolor{ududff}{rgb}{0.30196078431372547,0.30196078431372547,1}
\definecolor{xcuadt}{rgb}{0.48627450980392156,0.2901960784313726,0.8274509803921568}
\definecolor{ffqqqq}{rgb}{1,0,0}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\clip(-6.647940571027517,-1.618758166110359) rectangle (9.243270139358582,5.619191712135809);
\draw[line width=0.8pt,color=cqcqcq,fill=cqcqcq,fill opacity=0.1] (2.4030137917806966,0.9263271385480145) -- (2.503462797166425,1.070328818642321) -- (2.3594611170721187,1.1707778240280495) -- (2.25901211168639,1.026776143933743) -- cycle; 
\draw[line width=0.8pt,color=cqcqcq,fill=cqcqcq,fill opacity=0.1] (1.48,0.08557473210278596) -- (1.304425267897214,0.08557473210278599) -- (1.304425267897214,-0.09) -- (1.48,-0.09) -- cycle; 
\draw[line width=0.8pt,color=cqcqcq,fill=cqcqcq,fill opacity=0.1] (3.7043356274487387,3.240710122990096) -- (3.7855457848872467,3.0850457504388347) -- (3.941210157438508,3.1662559078773427) -- (3.86,3.321920280428604) -- cycle; 
\draw [shift={(-2.68,-0.09)},line width=2pt,color=fuqqzz,fill=fuqqzz,fill opacity=0.1] (0,0) -- (0:0.37245025102467416) arc (0:27.551064960460348:0.37245025102467416) -- cycle;
\draw [shift={(3.86,3.321920280428604)},line width=2pt,color=fuqqzz,fill=fuqqzz,fill opacity=0.1] (0,0) -- (-90:0.37245025102467416) arc (-90:-62.44893503953966:0.37245025102467416) -- cycle;
\draw[line width=0.8pt,color=cqcqcq,fill=cqcqcq,fill opacity=0.1] (4.035574732102786,-0.09) -- (4.035574732102786,0.08557473210278599) -- (3.86,0.08557473210278596) -- (3.86,-0.09) -- cycle; 
\draw [line width=4pt,color=ffqqqq] (-2.68,-0.09)-- (3.86,-0.09);
\draw [line width=4pt,color=qqqqff] (3.86,-0.09)-- (5.64,-0.09);
\draw [shift={(1.48,-0.09)},line width=4pt]  plot[domain=0:3.141592653589793,variable=\t]({1*4.16*cos(\t r)+0*4.16*sin(\t r)},{0*4.16*cos(\t r)+1*4.16*sin(\t r)});
\draw [line width=4pt,color=ffzzqq] (1.48,-0.09)-- (1.48,4.07);
\draw [color=ffzzqq](0.701744382526054,2.8009848127157744) node[anchor=north west] {$\mathbf{AM=\\\frac{a+b}{2}}$};
\draw [line width=4pt,color=qqzzqq] (3.86,-0.09)-- (3.86,3.321920280428604);
\draw [line width=4pt,color=wwzzff] (3.86,-0.09)-- (1.48,4.07);
\draw [line width=0.8pt,dotted] (1.48,-0.09)-- (3.86,3.321920280428604);
\draw [line width=0.8pt,dotted] (3.86,-0.09)-- (2.25901211168639,1.026776143933743);
\draw [line width=4pt,color=ffqqff] (2.25901211168639,1.026776143933743)-- (3.86,3.321920280428604);
\draw [color=ffqqff](2.228790411727218,3.6327903733375466) node[anchor=north west] {$\mathbf{HM=\frac{2ab}{a+b}}$};
\draw [color=qqzzqq](3.892401532970763,1.261523775147121) node[anchor=north west] {$\mathbf{GM=\sqrt{ab}}$};
\draw [color=wwzzff](1.5459649515153155,0.802168465550023) node[anchor=north west] {$\mathbf{\rm QM=\sqrt{\frac{a^2+b^2}{2}}}$};
\draw [color=aqaqaq](2.0053202611124137,-0.029637095071749397) node[anchor=north west] {$ \overline{DC}=\frac{a+b}{2}-b=\frac{a-b}{2}$};
\draw [color=aqaqaq](3.879986524603274,1.782954126581665) node[anchor=north west] {$ \frac{GM}{b}=\frac{a}{GM}$};
\draw [line width=0.8pt,dotted] (-2.68,-0.09)-- (3.86,3.321920280428604);
\draw [line width=0.8pt,dotted] (3.86,3.321920280428604)-- (5.64,-0.09);
\draw [color=aqaqaq](2.2039603949922397,4.88670621845395) node[anchor=north west] {$ \frac{HM}{GM}=\frac{GM}{\overline{DF}}$};
\draw [color=aqaqaq](3.892401532970763,1.4477489006594582) node[anchor=north west] {$GM^2=ab$};
\draw [color=aqaqaq](2.228790411727218,4.439765917224341) node[anchor=north west] {$HM\ =\frac{{GM}^2}{\overline{DF}}=\frac{{GM}^2}{\sqrt{{\overline{DC}}^2+GM^2}}$};
\draw [color=aqaqaq](1.6328700100877396,1.0504686328998059) node[anchor=north west] {$QM=\sqrt{{AM}^2+\overline{DC}^2}$};
\begin{scriptsize}
\draw [fill=ffqqqq] (-2.68,-0.09) circle (2.5pt);
\draw[color=ffqqqq] (-2.7247979269009486,-0.2779372624215322) node {$A$};
\draw [fill=xcuadt] (3.86,-0.09) circle (2.5pt);
\draw[color=xcuadt] (3.805496474398339,-0.2779372624215322) node {$C$};
\draw[color=ffqqqq] (0.602424315586141,-0.2034472122165974) node {$a$};
\draw [fill=ududff] (5.64,-0.09) circle (2.5pt);
\draw[color=ududff] (5.630502704419243,-0.29035227078902137) node {$B$};
\draw[color=qqqqff] (4.773867127062492,-0.2034472122165974) node {$b$};
\draw [fill=ffzzqq] (1.48,-0.09) circle (2pt);
\draw[color=ffzzqq] (1.4466448845754023,-0.2779372624215322) node {$D$};
\draw [fill=cczzff] (1.48,4.07) circle (2pt);
\draw[color=cczzff] (1.5583799598828045,4.241125783344515) node {$E$};
\draw [fill=xuzzxw] (3.86,3.321920280428604) circle (2pt);
\draw[color=xuzzxw] (3.9296465580732303,3.496225281295166) node {$F$};
\draw [fill=ffqqff] (2.25901211168639,1.026776143933743) circle (2pt);
\draw[color=ffqqff] (1.9680752360099463,1.0256386161648274) node {$G$};
\end{scriptsize}
\end{tikzpicture}
\end{document}


Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Visualization of 2D case of HM-GM-AM-QM inequality contained inside circle of r=(a+b)/2

Items portrayed in this file

depicts

6 August 2025

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:52, 3 September 2025Thumbnail for version as of 12:52, 3 September 2025711 × 433 (101 KB)ZlammaAdjust thickness and text sizes to make core info visible in unzoomed article-use
22:42, 7 August 2025Thumbnail for version as of 22:42, 7 August 2025780 × 434 (101 KB)Zlammagrey DC formula and HM more consistent with the rest
21:56, 7 August 2025Thumbnail for version as of 21:56, 7 August 2025791 × 461 (102 KB)ZlammaAdd missing right angle at GM base, increase formulas size
16:36, 7 August 2025Thumbnail for version as of 16:36, 7 August 2025775 × 469 (102 KB)ZlammaCropped out the empty area
13:43, 6 August 2025Thumbnail for version as of 13:43, 6 August 20251,280 × 583 (189 KB)ZlammaUploaded own work with UploadWizard

The following page uses this file:

Metadata