HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Notes
  2. /Cauchy-Schwarz and Rearrangement: Quick Revision
Mathematics

Cauchy-Schwarz and Rearrangement: Quick Revision

A brief note on the Cauchy-Schwarz inequality and its Engel form, Nesbitt's inequality, the rearrangement inequality and Chebyshev's inequality. With practice, a program and questions to check yourself.

StemPy LabWritten by StemPy Lab
Log in to save

A brief note on Cauchy-Schwarz and Rearrangement. Read it before a test. Try each question at the end before you open its answer.

The inequalities

  • Cauchy-Schwarz: (∑aibi)2≤(∑ai2)(∑bi2)(\sum a_i b_i)^2 \le (\sum a_i^2)(\sum b_i^2)(∑ai​bi​)2≤(∑ai2​)(∑bi2​), equality when the lists are proportional.
  • Vector form: ∣u⃗⋅v⃗∣≤∣u⃗∣ ∣v⃗∣|\vec{u} \cdot \vec{v}| \le |\vec{u}|\,|\vec{v}|∣u⋅v∣≤∣u∣∣v∣.
  • Engel form: ∑xi2yi≥(∑xi)2∑yi\sum \dfrac{x_i^2}{y_i} \ge \dfrac{(\sum x_i)^2}{\sum y_i}∑yi​xi2​​≥∑yi​(∑xi​)2​ for positive yiy_iyi​.
  • Nesbitt: ab+c+bc+a+ca+b≥32\dfrac{a}{b + c} + \dfrac{b}{c + a} + \dfrac{c}{a + b} \ge \dfrac{3}{2}b+ca​+c+ab​+a+bc​≥23​ for positive a,b,ca, b, ca,b,c.
  • Rearrangement: same order gives the largest sum of products, opposite order the smallest.
  • Chebyshev: n∑aibi≥∑ai∑bin\sum a_i b_i \ge \sum a_i \sum b_in∑ai​bi​≥∑ai​∑bi​ for lists sorted the same way.

Where each one helps

  • A linear expression on a circle or sphere: Cauchy-Schwarz.
  • A sum of fractions with a fixed sum of bottoms: the Engel form.
  • Sums of products of two sorted lists: rearrangement or Chebyshev.

A worked example

Find the greatest value of x+y+zx + y + zx+y+z when x2+y2+z2=12x^2 + y^2 + z^2 = 12x2+y2+z2=12.

  1. Cauchy-Schwarz with (1,1,1)(1, 1, 1)(1,1,1): (x+y+z)2≤3×12=36(x + y + z)^2 \le 3 \times 12 = 36(x+y+z)2≤3×12=36.
  2. So x+y+z≤6x + y + z \le 6x+y+z≤6.
  3. Equality at x=y=z=2x = y = z = 2x=y=z=2.

A program to try

The program checks the Engel form on random fractions and prints the smallest gap between the two sides.

Read it first. Then run it. Is the gap ever negative?

1. Let some bottoms be negative by changing the range of y. What happens to the gap?

Mistakes to avoid

  • Adding coefficients. The bound uses p2+q2\sqrt{p^2 + q^2}p2+q2​, not p+qp + qp+q.
  • Negative bottoms in the Engel form.
  • Unsorted lists in rearrangement or Chebyshev.
  • No equality check. The lists must be proportional at the extreme point.

Check yourself

  1. Find the greatest value of 4x+3y4x + 3y4x+3y when x2+y2=1x^2 + y^2 = 1x2+y2=1.
  1. Positive xxx and yyy add up to 333. Find the least value of 1x+4y\dfrac{1}{x} + \dfrac{4}{y}x1​+y4​.
  1. Pair 1,2,31, 2, 31,2,3 with 4,5,64, 5, 64,5,6 to get the smallest sum of products.
  1. Is Nesbitt's sum for a=2a = 2a=2, b=2b = 2b=2, c=2c = 2c=2 equal to 1.51.51.5?

Sources

  • Steele, The Cauchy-Schwarz Master Class, Chapter 1.
  • Hardy, Littlewood and Pólya, Inequalities, Chapter 10.
← All Notes
← Means and the AM-GM Inequality: Quick RevisionConvexity and Inequality Techniques: Quick Revision →
More onInequalities and the AM, GM and HM Means

Discussion (0)

Log in to join the discussion.

Loading…

On this page

  1. The inequalities
  2. Where each one helps
  3. A worked example
  4. A program to try
  5. Mistakes to avoid
  6. Check yourself
  7. Sources

Goes with the lesson

  1. Rearrangement and Chebyshev's inequalityCauchy-Schwarz, Rearrangement and Chebyshev

More notes on this topic

Convexity and Inequality Techniques: Quick Revision
  • Means and the AM-GM Inequality: Quick Revision
  • All notes on this topic →