Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=sin(x)+cos(x) , 0<=x<=2pi
f(x)=sin(x)+cos(x)f(x)=sin(x)+cos(x) , 0x2π0x2π
Step 1
Find the critical points.
Tap for more steps...
Step 1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1.1
By the Sum Rule, the derivative of sin(x)+cos(x)sin(x)+cos(x) with respect to xx is ddx[sin(x)]+ddx[cos(x)]ddx[sin(x)]+ddx[cos(x)].
ddx[sin(x)]+ddx[cos(x)]ddx[sin(x)]+ddx[cos(x)]
Step 1.1.1.2
The derivative of sin(x)sin(x) with respect to xx is cos(x)cos(x).
cos(x)+ddx[cos(x)]cos(x)+ddx[cos(x)]
Step 1.1.1.3
The derivative of cos(x)cos(x) with respect to xx is -sin(x)sin(x).
f(x)=cos(x)-sin(x)
f(x)=cos(x)-sin(x)
Step 1.1.2
The first derivative of f(x) with respect to x is cos(x)-sin(x).
cos(x)-sin(x)
cos(x)-sin(x)
Step 1.2
Set the first derivative equal to 0 then solve the equation cos(x)-sin(x)=0.
Tap for more steps...
Step 1.2.1
Set the first derivative equal to 0.
cos(x)-sin(x)=0
Step 1.2.2
Divide each term in the equation by cos(x).
cos(x)cos(x)+-sin(x)cos(x)=0cos(x)
Step 1.2.3
Cancel the common factor of cos(x).
Tap for more steps...
Step 1.2.3.1
Cancel the common factor.
cos(x)cos(x)+-sin(x)cos(x)=0cos(x)
Step 1.2.3.2
Rewrite the expression.
1+-sin(x)cos(x)=0cos(x)
1+-sin(x)cos(x)=0cos(x)
Step 1.2.4
Separate fractions.
1+-11sin(x)cos(x)=0cos(x)
Step 1.2.5
Convert from sin(x)cos(x) to tan(x).
1+-11tan(x)=0cos(x)
Step 1.2.6
Divide -1 by 1.
1-tan(x)=0cos(x)
Step 1.2.7
Separate fractions.
1-tan(x)=011cos(x)
Step 1.2.8
Convert from 1cos(x) to sec(x).
1-tan(x)=01sec(x)
Step 1.2.9
Divide 0 by 1.
1-tan(x)=0sec(x)
Step 1.2.10
Multiply 0 by sec(x).
1-tan(x)=0
Step 1.2.11
Subtract 1 from both sides of the equation.
-tan(x)=-1
Step 1.2.12
Divide each term in -tan(x)=-1 by -1 and simplify.
Tap for more steps...
Step 1.2.12.1
Divide each term in -tan(x)=-1 by -1.
-tan(x)-1=-1-1
Step 1.2.12.2
Simplify the left side.
Tap for more steps...
Step 1.2.12.2.1
Dividing two negative values results in a positive value.
tan(x)1=-1-1
Step 1.2.12.2.2
Divide tan(x) by 1.
tan(x)=-1-1
tan(x)=-1-1
Step 1.2.12.3
Simplify the right side.
Tap for more steps...
Step 1.2.12.3.1
Divide -1 by -1.
tan(x)=1
tan(x)=1
tan(x)=1
Step 1.2.13
Take the inverse tangent of both sides of the equation to extract x from inside the tangent.
x=arctan(1)
Step 1.2.14
Simplify the right side.
Tap for more steps...
Step 1.2.14.1
The exact value of arctan(1) is π4.
x=π4
x=π4
Step 1.2.15
The tangent function is positive in the first and third quadrants. To find the second solution, add the reference angle from π to find the solution in the fourth quadrant.
x=π+π4
Step 1.2.16
Simplify π+π4.
Tap for more steps...
Step 1.2.16.1
To write π as a fraction with a common denominator, multiply by 44.
x=π44+π4
Step 1.2.16.2
Combine fractions.
Tap for more steps...
Step 1.2.16.2.1
Combine π and 44.
x=π44+π4
Step 1.2.16.2.2
Combine the numerators over the common denominator.
x=π4+π4
x=π4+π4
Step 1.2.16.3
Simplify the numerator.
Tap for more steps...
Step 1.2.16.3.1
Move 4 to the left of π.
x=4π+π4
Step 1.2.16.3.2
Add 4π and π.
x=5π4
x=5π4
x=5π4
Step 1.2.17
Find the period of tan(x).
Tap for more steps...
Step 1.2.17.1
The period of the function can be calculated using π|b|.
π|b|
Step 1.2.17.2
Replace b with 1 in the formula for period.
π|1|
Step 1.2.17.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
π1
Step 1.2.17.4
Divide π by 1.
π
π
Step 1.2.18
The period of the tan(x) function is π so values will repeat every π radians in both directions.
x=π4+πn,5π4+πn, for any integer n
x=π4+πn,5π4+πn, for any integer n
Step 1.3
Find the values where the derivative is undefined.
Tap for more steps...
Step 1.3.1
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Step 1.4
Evaluate sin(x)+cos(x) at each x value where the derivative is 0 or undefined.
Tap for more steps...
Step 1.4.1
Evaluate at x=π4.
Tap for more steps...
Step 1.4.1.1
Substitute π4 for x.
sin(π4)+cos(π4)
Step 1.4.1.2
Simplify.
Tap for more steps...
Step 1.4.1.2.1
Simplify each term.
Tap for more steps...
Step 1.4.1.2.1.1
The exact value of sin(π4) is 22.
22+cos(π4)
Step 1.4.1.2.1.2
The exact value of cos(π4) is 22.
22+22
22+22
Step 1.4.1.2.2
Simplify terms.
Tap for more steps...
Step 1.4.1.2.2.1
Combine the numerators over the common denominator.
2+22
Step 1.4.1.2.2.2
Add 2 and 2.
222
Step 1.4.1.2.2.3
Cancel the common factor of 2.
Tap for more steps...
Step 1.4.1.2.2.3.1
Cancel the common factor.
222
Step 1.4.1.2.2.3.2
Divide 2 by 1.
2
2
2
2
2
Step 1.4.2
Evaluate at x=5π4.
Tap for more steps...
Step 1.4.2.1
Substitute 5π4 for x.
sin(5π4)+cos(5π4)
Step 1.4.2.2
Simplify.
Tap for more steps...
Step 1.4.2.2.1
Simplify each term.
Tap for more steps...
Step 1.4.2.2.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because sine is negative in the third quadrant.
-sin(π4)+cos(5π4)
Step 1.4.2.2.1.2
The exact value of sin(π4) is 22.
-22+cos(5π4)
Step 1.4.2.2.1.3
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the third quadrant.
-22-cos(π4)
Step 1.4.2.2.1.4
The exact value of cos(π4) is 22.
-22-22
-22-22
Step 1.4.2.2.2
Simplify terms.
Tap for more steps...
Step 1.4.2.2.2.1
Combine the numerators over the common denominator.
-2-22
Step 1.4.2.2.2.2
Subtract 2 from -2.
-222
Step 1.4.2.2.2.3
Cancel the common factor of -2 and 2.
Tap for more steps...
Step 1.4.2.2.2.3.1
Factor 2 out of -22.
2(-2)2
Step 1.4.2.2.2.3.2
Cancel the common factors.
Tap for more steps...
Step 1.4.2.2.2.3.2.1
Factor 2 out of 2.
2(-2)2(1)
Step 1.4.2.2.2.3.2.2
Cancel the common factor.
2(-2)21
Step 1.4.2.2.2.3.2.3
Rewrite the expression.
-21
Step 1.4.2.2.2.3.2.4
Divide -2 by 1.
-2
-2
-2
-2
-2
-2
Step 1.4.3
List all of the points.
(π4+2πn,2),(5π4+2πn,-2), for any integer n
(π4+2πn,2),(5π4+2πn,-2), for any integer n
(π4+2πn,2),(5π4+2πn,-2), for any integer n
Step 2
Exclude the points that are not on the interval.
(π4,2),(5π4,-2)
Step 3
Evaluate at the included endpoints.
Tap for more steps...
Step 3.1
Evaluate at x=0.
Tap for more steps...
Step 3.1.1
Substitute 0 for x.
sin(0)+cos(0)
Step 3.1.2
Simplify.
Tap for more steps...
Step 3.1.2.1
Simplify each term.
Tap for more steps...
Step 3.1.2.1.1
The exact value of sin(0) is 0.
0+cos(0)
Step 3.1.2.1.2
The exact value of cos(0) is 1.
0+1
0+1
Step 3.1.2.2
Add 0 and 1.
1
1
1
Step 3.2
Evaluate at x=2π.
Tap for more steps...
Step 3.2.1
Substitute 2π for x.
sin(2π)+cos(2π)
Step 3.2.2
Simplify.
Tap for more steps...
Step 3.2.2.1
Simplify each term.
Tap for more steps...
Step 3.2.2.1.1
Subtract full rotations of 2π until the angle is greater than or equal to 0 and less than 2π.
sin(0)+cos(2π)
Step 3.2.2.1.2
The exact value of sin(0) is 0.
0+cos(2π)
Step 3.2.2.1.3
Subtract full rotations of 2π until the angle is greater than or equal to 0 and less than 2π.
0+cos(0)
Step 3.2.2.1.4
The exact value of cos(0) is 1.
0+1
0+1
Step 3.2.2.2
Add 0 and 1.
1
1
1
Step 3.3
List all of the points.
(0,1),(2π,1)
(0,1),(2π,1)
Step 4
Compare the f(x) values found for each value of x in order to determine the absolute maximum and minimum over the given interval. The maximum will occur at the highest f(x) value and the minimum will occur at the lowest f(x) value.
Absolute Maximum: (π4,2)
Absolute Minimum: (5π4,-2)
Step 5
 [x2  12  π  xdx ]