Ma · Mathematics

How to Find the Minimum of a Function Involving Trigonometry

Published By the 9to5Science editorial team

At a glance

  1. 1. Check the domain

    Identify the interval or allowed inputs; a minimum may depend on the domain.

  2. 2. Simplify the expression

    Use trig identities or set a sine or cosine term equal to a new variable.

  3. 3. Find candidates

    Check critical points, interval endpoints, and any domain boundaries.

  4. 4. Compare values

    Evaluate the original function at every candidate and choose the smallest value.

Advertisement

To find a minimum, you need both the formula for the function and the set of allowed inputs. A trigonometric function can have different minimum values on different intervals, and an expression may not even be defined everywhere. Since no particular formula or domain is specified here, this article gives the standard method and works through an example.

Start by identifying the domain

A minimum is the smallest value a function actually attains on its domain. First determine whether you are looking for a minimum on a closed interval, over all real numbers, or on some restricted domain.

For example, sin⁡x\sin x has minimum −1-1 on the real line, and it reaches that value at infinitely many inputs. But sin⁡x\sin x has minimum 00 on [0,π][0,\pi]. The formula is unchanged; the domain changes the answer.

For a periodic function with period TT, you can usually study any interval of length TT to find its minimum over the whole real line. Make sure the function is defined on that interval. If the requested domain is a specific interval, use that interval instead.

Simplify before differentiating

Trigonometric identities can turn a complicated-looking expression into a function of just one sine or cosine term. Useful identities include

sin⁡2x+cos⁡2x=1,cos⁡(2x)=1−2sin⁡2x.\sin^2 x+\cos^2 x=1, \qquad \cos(2x)=1-2\sin^2 x.

If you set u=sin⁡xu=\sin x, then uu must satisfy −1≤u≤1-1\leq u\leq 1. That restriction matters: the minimum of the resulting expression over all real uu might occur at a value that no sine can take.

You can also use calculus directly. For a function continuous on a closed interval [a,b][a,b], the minimum occurs at an endpoint, at an interior point where f′(x)=0f'(x)=0, or at an interior point where the derivative does not exist. Evaluate the function at all such candidates and compare the results.

Worked example: a combination of sine and cosine

Find the minimum of

f(x)=2sin⁡x+cos⁡(2x)f(x)=2\sin x+\cos(2x)

for all real xx.

The function is periodic, and the identity for cos⁡(2x)\cos(2x) lets us rewrite it in terms of u=sin⁡xu=\sin x:

f(x)=2sin⁡x+1−2sin⁡2x=1+2u−2u2,−1≤u≤1.\begin{aligned} f(x)&=2\sin x+1-2\sin^2 x\\ &=1+2u-2u^2, \qquad -1\leq u\leq 1. \end{aligned}

Now minimize q(u)=1+2u−2u2q(u)=1+2u-2u^2 on [−1,1][-1,1]. This is a downward-opening parabola, so its vertex is a maximum, not a minimum. The minimum on this closed interval must therefore occur at an endpoint. Check both:

q(−1)=1−2−2=−3,q(1)=1+2−2=1.q(-1)=1-2-2=-3, \qquad q(1)=1+2-2=1.

Thus the minimum value is −3-3. It occurs when u=−1u=-1, meaning sin⁡x=−1\sin x=-1. For example, x=3π/2x=3\pi/2 gives the minimum; the other inputs are x=3π/2+2kπx=3\pi/2+2k\pi for any integer kk.

The calculus method for an interval

Suppose you are asked to minimize a function that is continuous on a closed interval [a,b][a,b] and differentiable except possibly at some interior points. Use this checklist:

  1. Compute f′(x)f'(x) and solve f′(x)=0f'(x)=0 within (a,b)(a,b).
  2. Include interior points where f′f' does not exist, if the function itself is defined there.
  3. Evaluate ff at every candidate and at aa and bb.
  4. Choose the smallest value.

For instance, to minimize sin⁡x\sin x on [0,π][0,\pi], the derivative is cos⁡x\cos x. The interior critical point is x=π/2x=\pi/2. Evaluating at 00, π/2\pi/2, and π\pi gives 00, 11, and 00, respectively. The minimum is 00, attained at both endpoints.

If the domain is open or unbounded, this checklist may not produce an attained minimum. A function can approach a value without ever reaching it; in that case it has an infimum, but no minimum. For example, f(x)=xf(x)=x on (0,1)(0,1) has no minimum, even though its values get arbitrarily close to 00.

Common mistakes

  • Ignoring the domain: A value attainable somewhere on the real line may not be attainable on the given interval.
  • Checking only where the derivative is zero: Endpoints and points where the derivative fails to exist can also be minima.
  • Using the wrong range after substitution: If u=sin⁡xu=\sin x or u=cos⁡xu=\cos x, restrict uu to [−1,1][-1,1].
  • Confusing a local minimum with a global one: A critical point may be a local minimum but not the smallest value on the whole domain.
  • Assuming a minimum exists: On an open or unbounded domain, the function may approach its lowest possible value without attaining it.

References

  1. Calculus: Early Transcendentals, James Stewart

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.