Enter a problem...
Calculus Examples
f(x)=sin(x)+cos(x)f(x)=sin(x)+cos(x) , 0≤x≤2π0≤x≤2π
Step 1
Step 1.1
Find the first derivative.
Step 1.1.1
Find the first derivative.
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.
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).
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+-11⋅sin(x)cos(x)=0cos(x)
Step 1.2.5
Convert from sin(x)cos(x) to tan(x).
1+-11⋅tan(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)=01⋅1cos(x)
Step 1.2.8
Convert from 1cos(x) to sec(x).
1-tan(x)=01⋅sec(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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
Step 1.4.1
Evaluate at x=π4.
Step 1.4.1.1
Substitute π4 for x.
sin(π4)+cos(π4)
Step 1.4.1.2
Simplify.
Step 1.4.1.2.1
Simplify each term.
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.
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.
2√22
Step 1.4.1.2.2.3
Cancel the common factor of 2.
Step 1.4.1.2.2.3.1
Cancel the common factor.
2√22
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.
Step 1.4.2.1
Substitute 5π4 for x.
sin(5π4)+cos(5π4)
Step 1.4.2.2
Simplify.
Step 1.4.2.2.1
Simplify each term.
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.
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.
-2√22
Step 1.4.2.2.2.3
Cancel the common factor of -2 and 2.
Step 1.4.2.2.2.3.1
Factor 2 out of -2√2.
2(-√2)2
Step 1.4.2.2.2.3.2
Cancel the common factors.
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)2⋅1
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
Step 3.1
Evaluate at x=0.
Step 3.1.1
Substitute 0 for x.
sin(0)+cos(0)
Step 3.1.2
Simplify.
Step 3.1.2.1
Simplify each term.
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π.
Step 3.2.1
Substitute 2π for x.
sin(2π)+cos(2π)
Step 3.2.2
Simplify.
Step 3.2.2.1
Simplify each term.
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