Many of the applications of differentiation involve finding a value of x that yields a local maximum or local minimum value of some function f (x). Given the function f (x) = cos x + sin 3x, a plot suggests that there are numerous extreme values .
Plot 2D + Rectangular
cos x + sin 3x
dtbpF3in2.0003in0pt
You can locate these extreme values by finding all values x such that f′(x) = 0, since the function f (x) = cos x + sin 3x is everywhere differentiable.
Solve + Numeric
f′(x) = 0, Solution is :x = 2.556254693
![]()
This calculation yields only one critical number, although the graph indicates many more. Another strategy is to start with an exact method, then to apply numerical methods to the results.
Solve + Exact
f′(x) = 0, Solution is :x = 2 arctan
ρ
![]()
where ρ is a root of 2Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6
With the insertion point in the expression Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6, click itbpF0.3001in0.3001in0.0701in2dplot.wmf. Set the View Intervals to -5≤x≤5 and -100≤y≤20 for the following view. The graph of this polynomial shows that there are six real roots.
Plot 2D + Rectangular
2Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6
With the insertion point in the equation Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6 = 0, from the Solve submenu, choose Numeric. You get the following approximations to the roots of this sixth-degree polynomial. (For this answer, in the Settings box, Digits Used in Display was set at 10.)
Solve + Numeric
2Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6 = 0,
Solution is :Z = - 4.150985601
,
Z = - .8933542331
,
Z = - .3013217637
,
Z = .2409066415
,
Z = 1.119376797
,
Z = 3.318711493
![]()
You could obtain the roots of this sixth-degree polynomial equally well by choosing Roots from the Polynomials submenu. The corresponding values of x are then given by
x1 = 2 arctan(- 4.150985601) = - 2.668788519
x2 = 2 arctan(- .8933542331) = - 1.458262501
x3 = 2 arctan(- .3013217637) = - .5853379603
x4 = 2 arctan.2409066415
= .4728041346
x5 = 2 arctan1.119376797
= 1.683330152
x6 = 2 arctan3.318711493
= 2.556254693
Indeed, the absolute minimum
f -2.668788519
= - 1.87870685 occurs at
x1 = - 2.668788519 (and at
x1 +2πn for any
integer n), and the absolute maximum
f
.4728041346
= 1.87870685 occurs at
x4 = .4728041346 (and at
x4 +2πn for any integer n).
Extreme values of cos x + sin 3x can also be found directly. From the Calculus submenu, choose Find Extrema to produce the following.
Find Extrema
cos x + sin 3x Candidate(s) for extrema: maxcos
2 arctan
ρ
+ sin
6 arctan
ρ
, min
cos
2 arctan
ρ
+ sin
6 arctan
ρ
, at
x = 2 arctan
ρ
where ρ is a root of Z + 4Z3 +2Z5 -3 + 45Z2 -45Z4 +3Z6
The extreme values of y = x3 - 5x + 1 are found similarly.
Find Extrema
x3 - 5x + 1 Candidate(s) for extrema:
+1, -
+ 1
, at
x =
,
x = -
![]()
Floating-point coefficients produce floating-point approximations. Thus, applying Find Extrema to x3 - 5.0x + 1.0 gives numerical approximations to the extreme values.
Find Extrema
x3 - 5.0x + 1.0 Candidate(s) for extrema:
5.303314829, - 3.303314829
, at
x = - 1.290994449
,
x = 1.290994449
![]()
Geometrically, the points
-1.290994449, 5.303314829
and
1.290994449, - 3.303314829
represent a high point and a low
point, respectively.
Plot 2D + Rectangular
x3 - 5x + 1
dtbpF3in2.0003in0pt