back to trigonometry video lessons

# Find the maximum value of a trigonometry function

Question:

Given: f(x) = sin2x - cos2x + 2 sin x cos x. What is the value of x in which f(x) having a maximum value and what is the maximum value?

Solution:

We are going to use these formulas:

cos 2x = cos2x - sin2x
sin 2x = 2 sin x cos x
f(x) = sin2x - cos2x + 2 sin x cos x
= 2 sin x cos x - (cos2x - sin2x)
= sin 2x - cos 2x
= (sin 2x - cos 2x) (2/2)
= (sin 2x - cos 2x) [Sqrt (2)2]/2
= Sqrt (2) (sin 2x - cos 2x) [Sqrt (2)/2]
= Sqrt (2) (sin 2x [Sqrt (2)/2] - cos 2x [Sqrt (2)/2])
= Sqrt (2) [sin2x cos (pi/4) - cos2x sin (pi/4)]
note:
cos pi/4 = Sqrt (2)/2
sin pi/4 = Sqrt (2)/2

Use the formula:

sin (a - b) = sin a cos b - cos a sin b
So, f(x) = Sqrt (2) sin (2x - pi/4)

When 2x - pi/4 = pi/2 + 2pi k (k is integer), f(x) has a maximum value that is Sqrt (2).

solve the equation to find the value of x,
2x - pi/4 = pi/2 + 2pi k
2x = pi/4 + pi/2 + 2pi k
2x = 3pi/4 + 2pi k
x = 3pi/8 + k pi

Therefore, when x = 3pi/8 + k pi, f(x) has maximum value that is Sqrt (2). When k = 0, x = 3pi/8 = 1.2, f(x) has the maximum value that is Sqrt (2). When k = 1, x = 3pi/8 + 1 × pi = 3pi/8 + pi = 11pi/8 = 4.3, f(x) has the maximum value that is Sqrt (2). Please watch the video for more details.