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. Inequalities and the Classical Means
  2. /Mathematics
  3. /Convexity, Jensen and Inequality Techniques
Chapter 29 · Part 3 of 3Inequalities and the Classical Means
← Previous part: Cauchy-Schwarz, Rearrangement and Chebyshev
High School (11–12)Inequalities and the AM, GM and HM MeansFree course

Convexity, Jensen and Inequality Techniques

A rope hung between two posts sags below the straight line between them.

  • A bowl-shaped graph behaves the same way: every chord lies above it.
  • That picture is Jensen's inequality, and it explains the means of the first course in one stroke.
  • You test a function for convexity and use Jensen in triangles and sums.
  • Then you learn the working tricks of olympiad solvers: the tangent line trick, sums of squares, Schur's inequality, the triangle inequality and quadratic and polynomial bounds.
  • It covers the inequality unit of the olympiads and the ISI test, and the matching work of A-Level Further Maths and IB Higher Level.

3 lessons, about 1 h 15 min3 simulations10 problems3 practice questionsPython in every lesson

StemPy LabCreated by StemPy Lab

Free

Every lesson is open to read. Enroll to keep your place in the course. No payment needed.

This course includes

  • 3 lessons, about 1 h 15 min
  • 3 simulations with sliders
  • 3 practice questions with new numbers each time
  • 3 Python programs to run
  • 10 problems with worked solutions
  • 2 Python labs
1 question set
  • 1 revision note
  • 1 test
  • Log in to save

    Course outline (3 lessons)

    1. 1
      Lesson 1about 25 min

      Convex functions and Jensen's inequality

      A function is convex on an interval when every chord of its graph lies on or above the graph; for a twice differentiable function this means f′′≥0f'' \ge 0f′′≥0. Jensen's inequality says that for a convex fff the value at an average is at most the average of the values: 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 a concave function it turns round. One inequality gives AM-GM, the power means and bounds in a triangle.

      1 simulation1 practice question1 Python program3 problems1 Python lab
      Read the lesson
    2. 2
      Lesson 2about 25 min

      The tangent line trick and sums of squares

      When a sum of values f(x1)+⋯+f(xn)f(x_1) + \dots + f(x_n)f(x1​)+⋯+f(xn​) has a fixed ∑xi\sum x_i∑xi​, compare fff with its tangent line at the point of equality: if 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 allowed range, adding gives the bound, even when fff is not convex. Many symmetric inequalities reduce to a sum of squares, such as a2+b2+c2−ab−bc−ca=12∑(a−b)2a^2 + b^2 + c^2 - ab - bc - ca = \tfrac{1}{2}\sum (a - b)^2a2+b2+c2−ab−bc−ca=21​∑(a−b)2. Schur's inequality covers the cases squares cannot.

      1 simulation1 practice question1 Python program3 problems
      Read the lesson
    3. 3
      Lesson 3about 25 min

      The triangle inequality and polynomial bounds

      The triangle inequality ∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b|∣a+b∣≤∣a∣+∣b∣ says that a detour is never shorter than the straight path. It finds the point that minimises a total distance and bounds sums of square roots. The sides of any triangle can be written as y+zy + zy+z, z+xz + xz+x, x+yx + yx+y with positive x,y,zx, y, zx,y,z. A quadratic that keeps one sign has a discriminant that is not positive, and real roots of a polynomial obey AM-GM through Vieta's formulas.

      1 simulation1 practice question1 Python program4 problems1 Python lab1 question set1 note
      Read the lesson

    Test Your Learning

    Inequalities and Means: Chapter Test
    Olympiad format15 questions · 45 min
    Not started

    Your teacher

    StemPy LabStemPy Lab

    1 follower

    Loading…

    ← All Courses
    ← Cauchy-Schwarz, Rearrangement and ChebyshevNext →
    More onInequalities and the AM, GM and HM Means

    Discussion (0)

    Log in to join the discussion.

    Loading…