Optional method

Cauchy–Schwarz for two-variable bounds

Bound a linear expression under a sum-of-squares constraint and use proportionality to identify the exact equality case.

When it's useful

  • Use this when the target is linear in two real variables while the constraint fixes a sum of their squares and the equality case can be checked in the stated domain.

Check these conditions first

  1. 1

    If a=b=0a=b=0, the target is always 00; otherwise use the proportional equality condition below.

  2. 2

    Match the coefficient pair and variable pair in the same order.

  3. 3

    Remember that the squared form initially bounds an absolute value.

  4. 4

    Use proportionality of the two pairs to find the equality case.

  5. 5

    Return to the original constraint and domain to confirm that the proportional equality pair is permitted.

The result

For real a,b,x,ya,b,x,y, (ax+by)2≤(a2+b2)(x2+y2)(ax+by)^2\leq(a^2+b^2)(x^2+y^2). If (a,b)≠(0,0)(a,b)\neq(0,0), equality holds when (x,y)(x,y) is a real multiple of (a,b)(a,b); if a=b=0a=b=0, equality is automatic.

Why it works

The expression (ay−bx)2(ay-bx)^2 is non-negative. Expanding it and rearranging gives (a2+b2)(x2+y2)−(ax+by)2≥0(a^2+b^2)(x^2+y^2)-(ax+by)^2\geq0, which supplies the required bound directly.

Equality occurs when ay−bx=0ay-bx=0, so the two pairs point in the same or opposite direction. The constraint fixes their relative scale, while the requested maximum or minimum determines which sign of that scale is relevant.

Worked example

Real numbers xx and yy satisfy x2+y2=10x^2+y^2=10. Find the maximum value of 3x+y3x+y.

Try it first, then show the solution
  1. 1

    Match the coefficient pair (3,1)(3,1) with the variable pair (x,y)(x,y).

  2. 2

    Complete the companion square: (3x+y)2+(x−3y)2=10(x2+y2)(3x+y)^2+(x-3y)^2=10(x^2+y^2), so (3x+y)2≤10(x2+y2)(3x+y)^2\leq10(x^2+y^2).

  3. 3

    Use the constraint to get (3x+y)2≤10⋅10=100(3x+y)^2\leq10\cdot10=100.

  4. 4

    Hence ∣3x+y∣≤10|3x+y|\leq10, so 3x+y≤103x+y\leq10.

  5. 5

    Equality for the upper bound requires (x,y)(x,y) to be a positive multiple of (3,1)(3,1).

  6. 6

    The constraint fixes that multiple as 11, because 32+12=103^2+1^2=10.

  7. 7

    At (x,y)=(3,1)(x,y)=(3,1) the target equals 1010, so the bound is attained.

Answer

The maximum value is 1010.

Check yourself

Try this without looking back at the example.

If x2+y2=25x^2+y^2=25, what is the greatest possible value of 4x−3y4x-3y?

Answer options
All free methods

Your next step

Use it on real TMUA questions

Free, no account needed

Take the timed diagnostic

20 Forge-original questions under exam timing, calibrated to the 2023 paper's difficulty profile. You get a score and a topic-by-topic breakdown at the end.

Start the free diagnostic

Free account

Save your progress

Create a free account for 41 free lessons and 4 methods in Learn, with progress kept on this device, and free sittings of released past papers.

Create a free account

Premium

Practise at the harder level

561 Forge originals calibrated for the harder computer-based papers sat since 2024, with worked solutions, unlimited mocks, all 104 lessons and 18 methods.

£49 for 12 months or £20 for 30 days. One payment, no automatic renewal.

See premium