Evaluate the maxium of a trig function

  • Thread starter Thread starter AdrianZ
  • Start date Start date
  • Tags Tags
    Function Trig
Click For Summary

Homework Help Overview

The discussion revolves around evaluating the maximum of the function y = 8sin(x) + cos(2x). The original poster attempts to find the point where this function reaches its maximum value, exploring different methods and encountering contradictions in their findings.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss substituting cos(2x) with a trigonometric identity and reformulating the function into a quadratic equation. There are attempts to differentiate the function to find critical points. Questions arise regarding the validity of the solutions and the implications of the range of sine values.

Discussion Status

Participants are actively engaging with the problem, questioning the validity of the original poster's solutions and exploring the implications of the range of sine values on the quadratic equation. Some guidance has been offered regarding differentiation and the need to consider how variables change with respect to each other.

Contextual Notes

There is an ongoing discussion about the constraints of the sine function, specifically that sin(x) is limited to the range [-1, 1], which affects the applicability of the quadratic equation derived from the original function.

AdrianZ
Messages
318
Reaction score
0

Homework Statement



here is the function:
y = 8sin(x) + cos(2x). the question is to evaluate the point where the function is maximum.

Homework Equations



any trig identities.

The Attempt at a Solution



well, I tried to substitute cos(2x) with 1 - 2sin^2(x). then we will have the function y = -2sin^2(x) + 8sin(x) + 1. by setting sin(x) = u we will have a nice quadratic function in the form y = -2u^2 + 8u + 1. we know that the point where a quadratic function in the form ax^2+bx+c is maximum is given by {-b \over 2a}. so with respect to that formula, we get {-b \over 2a} = - {8\over 2(-2)} = 2. now because we had set sin(x) = u the x we're looking for is given by solving the trig equation sin(x)=2 and we know that that equation has no solutions. so logically the answer to our question is there's no such point.

now let's solve it this way, we have the function f(x) = 8sin(x) + cos(2x), if we take the first derivative, we will have: f'(x) = 8cos(x) - 2sin(2x). x=pie/2 is a solution to this equation, that means the point x=pie/2 is an extremum and because the a coefficient in the previous equation was negative it might be a local or global maximum.

well, as you see the two solutions contradict each other. any idea?
 
Physics news on Phys.org
Why don't you just differentiate the trig function?
<br /> f(x)=-2sin^2(x) + 8sin(x) + 1<br />
Differentiate to obtain:
<br /> \frac{df}{dx}=-4\sin x\cos x+8\cos x =\cos x(-4\sin x+8)=0<br />
From there is shouldn't be too hard to work out the maximum/minimum.

Mat
 
hunt_mat said:
Why don't you just differentiate the trig function?
<br /> f(x)=-2sin^2(x) + 8sin(x) + 1<br />
Differentiate to obtain:
<br /> \frac{df}{dx}=-4\sin x\cos x+8\cos x =\cos x(-4\sin x+8)=0<br />
From there is shouldn't be too hard to work out the maximum/minimum.

Mat

please read the thread again. I want to know why the two solutions contradict each other. that's the aim of the thread.
 
Because the first solution is wrong basically. The quadratic you have is effectively only defined from -1\leqslant u\leqslant 1

Mat
 
hunt_mat said:
Because the first solution is wrong basically. The quadratic you have is effectively only defined from -1\leqslant u\leqslant 1

Mat

well, that's obvious that -1\leqslant sin(x)\leqslant 1 but I don't see anything wrong with the quadratic equation itself. explain please. I'm a little bit lost why it's giving me a false answer.
 
Last edited:
Your looking outside the range of applicability. Cinsidering the quadratic by itself is not enough, you must examine how u changes with respect to x also. The quadratic equation does not do this.
 
hunt_mat said:
Your looking outside the range of applicability. Cinsidering the quadratic by itself is not enough, you must examine how u changes with respect to x also. The quadratic equation does not do this.

yes, I understand that. but I don't know WHY this happens. would you give me an example of the same case in another maths problem? and tell me how to determine how u changes with respect to x?

thank you
 
To determine how u changes with x, you simply differentiate. I can't think of an example off hand, you just have to be very careful about how you simplify your problems, that's all.
 
hunt_mat said:
To determine how u changes with x, you simply differentiate. I can't think of an example off hand, you just have to be very careful about how you simplify your problems, that's all.

well, would you determine it for this particular problem?
 
  • #10
I would (as you did) write the equation in terms of sin(x) and just differentiate. You will get your previous solution and the one which you need.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K