ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude

Maximum and minimum values of trigonometric expressions

Find the greatest and least values of trigonometric expressions: use the bounds -1 to 1 for sin and cos, fold a sin A + b cos A into R sin(A + B) with R = sqrt(a^2 + b^2), rewrite with sin^2 A + cos^2 A = 1, and find the least value of a sec^2 A + b cosec^2 A.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

Revise the values of sin and cos at 0, 90, 180 and 270 degrees, and the identity sin^2 A + cos^2 A = 1, before reading on. All angles here are in degrees. A and B are angles, while a, b, c, k, p, q, R and t are numbers; the letter x only ever means multiply. The maximum of an expression is the greatest value it actually takes as the angle varies, and the minimum is the least value it actually takes. A bound that the expression never reaches is not its maximum or minimum. Unless a question restricts the angle, A may be any angle at which the expression is defined. Keep the other ratios handy as well: sec A = 1/cos A and cosec A = 1/sin A, while tan A is sin A divided by cos A, and cot A is the reciprocal of tan A.

The core rule: sin and cos never leave -1 to 1

Turn a point on a circle of radius 1, centred at the origin, through an angle A from the positive horizontal axis. Its coordinates are (cos A, sin A), and no coordinate of a point on that circle can be below -1 or above 1. So sin A and cos A always lie from -1 to 1. sin A equals 1 at 90 degrees and -1 at 270 degrees; cos A equals 1 at 0 degrees and -1 at 180 degrees. Multiplying by a number k stretches the range to run from -|k| to |k|; this height |k| is called the amplitude. Adding a constant c then slides both ends by c, so k sin A + c runs from c - |k| to c + |k|. A negative k swaps which end comes from which angle. Squares can never be negative, so sin^2 A and cos^2 A always lie from 0 to 1. At the Dasara fair in Mysuru, a giant-wheel seat that is 11 - 9 cos A metres above the ground, where A is the angle turned since the seat was at the bottom, is lowest, at 2 metres, when cos A = 1 (A = 0), and highest, at 20 metres, when cos A = -1 (A = 180 degrees).

A method: fold a sin A + b cos A into R sin(A + B)

Take a sin A + b cos A with fixed numbers a and b, not both 0, and the same angle A in both terms. Put R = sqrt(a^2 + b^2). Then (a/R)^2 + (b/R)^2 = (a^2 + b^2)/R^2 = 1, so the point (a/R, b/R) lies on the circle of radius 1, and some fixed angle B has cos B = a/R and sin B = b/R. Now use the angle-sum rule sin(A + B) = sin A cos B + cos A sin B: R sin(A + B) = R x (sin A x a/R + cos A x b/R) = a sin A + b cos A. As A runs through all angles, sin(A + B) takes every value from -1 to 1, so a sin A + b cos A runs from -sqrt(a^2 + b^2) to sqrt(a^2 + b^2). The maximum comes where sin A = a/R and cos A = b/R, which you can test directly: a x a/R + b x b/R = R. For 5 sin A + 12 cos A, R = sqrt(25 + 144) = 13, so the maximum is 13 and the minimum is -13. A constant added outside simply shifts both answers.

A further case: rewrite with sin^2 A + cos^2 A = 1

When squares and plain ratios are mixed, use sin^2 A + cos^2 A = 1 to leave only one ratio. A pair of squares is the quick case: a sin^2 A + b cos^2 A = b + (a - b) sin^2 A, and since sin^2 A runs from 0 to 1, the value always lies between a and b and reaches both. So 3 sin^2 A + 7 cos^2 A runs from 3 (at 90 degrees) to 7 (at 0 degrees). With a square and a plain ratio, put t = sin A or t = cos A, remembering that t can only lie from -1 to 1, and complete the square. For sin^2 A + 2 cos A, t = cos A gives 1 - t^2 + 2t = 2 - (t - 1)^2. The bracket is smallest at t = 1, giving the maximum 2, and largest at t = -1, giving the minimum -2. If the vertex of the completed square lies inside -1 to 1, it gives one answer and the farther end gives the other; if it lies outside, that value of t is not allowed, and both answers come from the ends t = -1 and t = 1.

Another case: the least value of a sec^2 A + b cosec^2 A

Dividing sin^2 A + cos^2 A = 1 by cos^2 A gives sec^2 A = 1 + tan^2 A, and dividing it by sin^2 A gives cosec^2 A = 1 + cot^2 A. So, for positive a and b, a sec^2 A + b cosec^2 A = a + b + a tan^2 A + b cot^2 A. Put t = tan^2 A, which can be any positive number, so that cot^2 A = 1/t. For positive p and q, (sqrt(p) - sqrt(q))^2 cannot be negative, which shows that p + q is at least 2 sqrt(pq), with equality only when p = q. Here p = a x t and q = b/t, so p x q = a x b, and a x t + b/t is at least 2 sqrt(ab). Equality needs a x t = b/t, that is t = sqrt(b/a), a positive number, so the bound is really reached. Hence the minimum is a + b + 2 sqrt(ab) = (sqrt(a) + sqrt(b))^2. For sec^2 A + cosec^2 A this gives 4, reached at 45 degrees, where each term is 2. There is no maximum, because the expression grows without limit as A gets close to 0 or 90 degrees.

Common mistakes

Adding the separate maxima: 3 sin A + 4 cos A cannot reach 7, because sin A and cos A are never both 1 at the same angle; its true maximum is 5. That shortcut is right only when the two angles are different and free, as in 3 sin A + 4 cos B. Forgetting that a negative multiplier swaps the ends, or that a constant shifts both of them. Treating sin^2 A as if it could be negative, or as if sin^2 A and cos^2 A could both be 0 together. Taking the vertex of a completed square when that value of sin A or cos A lies outside -1 to 1. Quoting 2 sqrt(pq) as a minimum without checking that p = q can happen: for sin^2 A + 4 cosec^2 A it would need sin^2 A = 2, which is impossible, so the least value is 5, at 90 degrees, not 4. Ignoring a stated limit on the angle, such as an acute angle, which can stop a bound from being reached.

A routine for maximum and minimum questions

1. Note whether the angle is free or limited. 2. If only one ratio appears, use its bounds: -1 to 1 for sin or cos and 0 to 1 for a square, and watch the sign of the multiplier. 3. For a sin A + b cos A + c, find R = sqrt(a^2 + b^2); the answers are c + R and c - R. 4. If squares and plain ratios are mixed, rewrite with sin^2 A + cos^2 A = 1 and treat the result as a quadratic in t on -1 to 1. 5. For a sec^2 A + b cosec^2 A with positive a and b, the least value is (sqrt(a) + sqrt(b))^2, and there is no greatest value. 6. Check by substituting an angle that gives your answer; if no allowed angle gives it, it is not the maximum or minimum.

Worked examples

  1. Find the maximum and minimum values of 7 sin A + 24 cos A + 5.

    1. Here a = 7 and b = 24, so R = sqrt(7^2 + 24^2) = sqrt(49 + 576) = sqrt(625) = 25.
    2. So 7 sin A + 24 cos A = 25 sin(A + B) for a fixed angle B, and it runs from -25 to 25.
    3. Adding 5 shifts both ends: the maximum is 25 + 5 = 30 and the minimum is -25 + 5 = -20.
    4. Check the maximum: take sin A = 7/25 and cos A = 24/25, which is allowed because 49/625 + 576/625 = 1. Then 7 x 7/25 + 24 x 24/25 + 5 = 625/25 + 5 = 30.

    Answer: The maximum value is 30 and the minimum value is -20.

  2. Find the greatest and least values of 4 cos^2 A + 4 sin A + 1.

    1. Replace cos^2 A by 1 - sin^2 A and put t = sin A, which lies from -1 to 1: 4 - 4t^2 + 4t + 1 = 5 + 4t - 4t^2.
    2. Complete the square: 5 + 4t - 4t^2 = 6 - (2t - 1)^2. Check by expanding: (2t - 1)^2 = 4t^2 - 4t + 1, and 6 minus that is 5 + 4t - 4t^2.
    3. The bracket is 0 at t = 1/2, which is allowed, so the greatest value is 6, at A = 30 degrees: 4 x 3/4 + 4 x 1/2 + 1 = 3 + 2 + 1 = 6.
    4. For t from -1 to 1, 2t - 1 runs from -3 to 1, so the bracket is largest at t = -1, where (2t - 1)^2 = 9. The least value is 6 - 9 = -3, at A = 270 degrees: 4 x 0 + 4 x (-1) + 1 = -3.

    Answer: The greatest value is 6 and the least value is -3.

  3. Find the minimum value of 16 sec^2 A + 9 cosec^2 A.

    1. Use sec^2 A = 1 + tan^2 A and cosec^2 A = 1 + cot^2 A: the expression is 16 + 9 + 16 tan^2 A + 9 cot^2 A = 25 + 16t + 9/t, where t = tan^2 A is positive.
    2. 16t + 9/t is at least 2 x sqrt(16 x 9) = 2 x 12 = 24, with equality when 16t = 9/t, that is t^2 = 9/16, so t = 3/4.
    3. So the minimum is 25 + 24 = 49, which matches (sqrt(16) + sqrt(9))^2 = 7^2 = 49.
    4. Check at tan^2 A = 3/4: sec^2 A = 1 + 3/4 = 7/4 and cosec^2 A = 1 + 4/3 = 7/3, so 16 x 7/4 + 9 x 7/3 = 28 + 21 = 49.

    Answer: The minimum value is 49.

Practice checks

  1. What is the least value of 5 sin^2 A + 9 cos^2 A?
  2. What is the maximum value of 3 sin A - 4 cos A + 6?
  3. What is the greatest value of cos^2 A + 4 sin A?
  4. What is the minimum value of 4 sec^2 A + 9 cosec^2 A?
  5. A rectangular hoarding panel, 8 m by 6 m, is being raised at a site in Surat. It pivots on one bottom corner, and when its 8 m edge makes an angle A with the ground, the far corner is 8 sin A + 6 cos A metres high. What is the greatest height that corner reaches?

Sources checked