
Doug C. answered 08/11/23
Math Tutor with Reputation to make difficult concepts understandable
f(x) = 5xcos(x) {0≤x≤π}
To find the absolute maximum of the function on that interval, check the function value at any critical numbers and at the endpoints of the closed interval.
f(0) = 0
f(π) = 5π(-1) = -5π
Critical numbers are found be setting 1st derivative equal to 0.
f'(x) = 5x(-sinx) + 5cos(x) = 5(cosx - xsinx)
When does the derivative equal zero?
cosx - xsinx = 0
Here is where Newton's method comes into play.
q(x) = cos(x) - xsin(x)
q'(x) = -sin(x) -xcos(x) -sin(x) = -2sin(x) -xcos(x)
Using Newton's Method to solve this equation on the closed interval reveals a root of approximately:
r1=0.860333589019
And f(r1)=2.8054817.
This latter is the absolute maximum value of the function on the given closed interval.
Here is a graph where the above values were determined, but with different notation for the functions in question.
desmos.com/calculator/bxfveisovw
Robert B.
08/11/23