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. /Convexity and Inequality Techniques: Quick Revision
Mathematics

Convexity and Inequality Techniques: Quick Revision

A brief note on convex functions, Jensen's inequality, the tangent line trick, sums of squares, Schur's inequality, the triangle inequality and discriminant bounds. With practice, a program and questions to check yourself.

StemPy LabWritten by StemPy Lab
Log in to save

A brief note on Convexity and Inequality Techniques. Read it before a test. Try each question at the end before you open its answer.

The facts

  • Convex: every chord lies on or above the graph; f′′≥0f'' \ge 0f′′≥0 is enough.
  • Jensen: f(∑wixi)≤∑wif(xi)f\left(\sum w_i x_i\right) \le \sum w_i f(x_i)f(∑wi​xi​)≤∑wi​f(xi​) for convex fff; the sign turns round for concave fff.
  • Tangent line trick: f(x)≥f(m)+f′(m)(x−m)f(x) \ge f(m) + f'(m)(x - m)f(x)≥f(m)+f′(m)(x−m) on the range, then add.
  • SOS: a2+b2+c2−ab−bc−ca=12∑(a−b)2a^2 + b^2 + c^2 - ab - bc - ca = \dfrac{1}{2}\sum (a - b)^2a2+b2+c2−ab−bc−ca=21​∑(a−b)2.
  • Schur: ∑a(a−b)(a−c)≥0\sum a(a - b)(a - c) \ge 0∑a(a−b)(a−c)≥0 for a,b,c≥0a, b, c \ge 0a,b,c≥0.
  • Triangle inequality: ∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b|∣a+b∣≤∣a∣+∣b∣; total distance on a line is least at the median.
  • Discriminant: ax2+bx+c≥0ax^2 + bx + c \ge 0ax2+bx+c≥0 for all xxx (with a>0a > 0a>0) exactly when b2−4ac≤0b^2 - 4ac \le 0b2−4ac≤0.

A worked example

Find the least value of ex+eye^{x} + e^{y}ex+ey when x+y=4x + y = 4x+y=4.

  1. Convex. ete^tet has (et)′′=et>0(e^t)'' = e^t > 0(et)′′=et>0.
  2. Jensen. ex+ey2≥e(x+y)/2=e2\dfrac{e^x + e^y}{2} \ge e^{(x + y)/2} = e^22ex+ey​≥e(x+y)/2=e2.
  3. Answer. The least value is 2e22e^22e2, at x=y=2x = y = 2x=y=2.

A program to try

The program checks the tangent line bound 11+t2≥2−t2\dfrac{1}{1 + t^2} \ge \dfrac{2 - t}{2}1+t21​≥22−t​ on a grid of t≥0t \ge 0t≥0.

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

1. Let t run from -2 instead of 0. Does the bound still hold? Why not?

Mistakes to avoid

  • Jensen outside the interval where the function is convex.
  • A tangent at the wrong point. Use the point of equality.
  • Schur with negative numbers.
  • Forgetting that the median gives the least total distance, not the mean.

Check yourself

  1. Is f(x)=x4f(x) = x^4f(x)=x4 convex for all real xxx?
  1. Find the least value of ∣x−2∣+∣x−6∣|x - 2| + |x - 6|∣x−2∣+∣x−6∣.
  1. For which kkk is x2+2x+k>0x^2 + 2x + k > 0x2+2x+k>0 for all real xxx?
  1. Evaluate Schur's expression at a=b=1a = b = 1a=b=1, c=0c = 0c=0.

Sources

  • Steele, The Cauchy-Schwarz Master Class, Chapter 6.
  • Engel, Problem-Solving Strategies, Chapter 7.
← All Notes
← Cauchy-Schwarz and Rearrangement: Quick RevisionThe Pigeonhole Principle: 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 facts
  2. A worked example
  3. A program to try
  4. Mistakes to avoid
  5. Check yourself
  6. Sources

Goes with the lesson

  1. The triangle inequality and polynomial boundsConvexity, Jensen and Inequality Techniques

More notes on this topic

  1. Cauchy-Schwarz and Rearrangement: Quick Revision
  • Means and the AM-GM Inequality: Quick Revision
  • All notes on this topic →