Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=sin(x+pi/4) , 0<=x<=(7pi)/4
f(x)=sin(x+π4)f(x)=sin(x+π4) , 0x7π40x7π4
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
Differentiate using the chain rule, which states that ddx[f(g(x))]ddx[f(g(x))] is f(g(x))g(x) where f(x)=sin(x) and g(x)=x+π4.
Tap for more steps...
Step 1.1.1.1.1
To apply the Chain Rule, set u as x+π4.
ddu[sin(u)]ddx[x+π4]
Step 1.1.1.1.2
The derivative of sin(u) with respect to u is cos(u).
cos(u)ddx[x+π4]
Step 1.1.1.1.3
Replace all occurrences of u with x+π4.
cos(x+π4)ddx[x+π4]
cos(x+π4)ddx[x+π4]
Step 1.1.1.2
Differentiate.
Tap for more steps...
Step 1.1.1.2.1
By the Sum Rule, the derivative of x+π4 with respect to x is ddx[x]+ddx[π4].
cos(x+π4)(ddx[x]+ddx[π4])
Step 1.1.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
cos(x+π4)(1+ddx[π4])
Step 1.1.1.2.3
Since π4 is constant with respect to x, the derivative of π4 with respect to x is 0.
cos(x+π4)(1+0)
Step 1.1.1.2.4
Simplify the expression.
Tap for more steps...
Step 1.1.1.2.4.1
Add 1 and 0.
cos(x+π4)1
Step 1.1.1.2.4.2
Multiply cos(x+π4) by 1.
f(x)=cos(x+π4)
f(x)=cos(x+π4)
f(x)=cos(x+π4)
f(x)=cos(x+π4)
Step 1.1.2
The first derivative of f(x) with respect to x is cos(x+π4).
cos(x+π4)
cos(x+π4)
Step 1.2
Set the first derivative equal to 0 then solve the equation cos(x+π4)=0.
Tap for more steps...
Step 1.2.1
Set the first derivative equal to 0.
cos(x+π4)=0
Step 1.2.2
Take the inverse cosine of both sides of the equation to extract x from inside the cosine.
x+π4=arccos(0)
Step 1.2.3
Simplify the right side.
Tap for more steps...
Step 1.2.3.1
The exact value of arccos(0) is π2.
x+π4=π2
x+π4=π2
Step 1.2.4
Move all terms not containing x to the right side of the equation.
Tap for more steps...
Step 1.2.4.1
Subtract π4 from both sides of the equation.
x=π2-π4
Step 1.2.4.2
To write π2 as a fraction with a common denominator, multiply by 22.
x=π222-π4
Step 1.2.4.3
Write each expression with a common denominator of 4, by multiplying each by an appropriate factor of 1.
Tap for more steps...
Step 1.2.4.3.1
Multiply π2 by 22.
x=π222-π4
Step 1.2.4.3.2
Multiply 2 by 2.
x=π24-π4
x=π24-π4
Step 1.2.4.4
Combine the numerators over the common denominator.
x=π2-π4
Step 1.2.4.5
Simplify the numerator.
Tap for more steps...
Step 1.2.4.5.1
Move 2 to the left of π.
x=2π-π4
Step 1.2.4.5.2
Subtract π from 2π.
x=π4
x=π4
x=π4
Step 1.2.5
The cosine function is positive in the first and fourth quadrants. To find the second solution, subtract the reference angle from 2π to find the solution in the fourth quadrant.
x+π4=2π-π2
Step 1.2.6
Solve for x.
Tap for more steps...
Step 1.2.6.1
Simplify 2π-π2.
Tap for more steps...
Step 1.2.6.1.1
To write 2π as a fraction with a common denominator, multiply by 22.
x+π4=2π22-π2
Step 1.2.6.1.2
Combine fractions.
Tap for more steps...
Step 1.2.6.1.2.1
Combine 2π and 22.
x+π4=2π22-π2
Step 1.2.6.1.2.2
Combine the numerators over the common denominator.
x+π4=2π2-π2
x+π4=2π2-π2
Step 1.2.6.1.3
Simplify the numerator.
Tap for more steps...
Step 1.2.6.1.3.1
Multiply 2 by 2.
x+π4=4π-π2
Step 1.2.6.1.3.2
Subtract π from 4π.
x+π4=3π2
x+π4=3π2
x+π4=3π2
Step 1.2.6.2
Move all terms not containing x to the right side of the equation.
Tap for more steps...
Step 1.2.6.2.1
Subtract π4 from both sides of the equation.
x=3π2-π4
Step 1.2.6.2.2
To write 3π2 as a fraction with a common denominator, multiply by 22.
x=3π222-π4
Step 1.2.6.2.3
Write each expression with a common denominator of 4, by multiplying each by an appropriate factor of 1.
Tap for more steps...
Step 1.2.6.2.3.1
Multiply 3π2 by 22.
x=3π222-π4
Step 1.2.6.2.3.2
Multiply 2 by 2.
x=3π24-π4
x=3π24-π4
Step 1.2.6.2.4
Combine the numerators over the common denominator.
x=3π2-π4
Step 1.2.6.2.5
Simplify the numerator.
Tap for more steps...
Step 1.2.6.2.5.1
Multiply 2 by 3.
x=6π-π4
Step 1.2.6.2.5.2
Subtract π from 6π.
x=5π4
x=5π4
x=5π4
x=5π4
Step 1.2.7
Find the period of cos(x+π4).
Tap for more steps...
Step 1.2.7.1
The period of the function can be calculated using 2π|b|.
2π|b|
Step 1.2.7.2
Replace b with 1 in the formula for period.
2π|1|
Step 1.2.7.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
2π1
Step 1.2.7.4
Divide 2π by 1.
2π
2π
Step 1.2.8
The period of the cos(x+π4) function is 2π so values will repeat every 2π radians in both directions.
x=π4+2πn,5π4+2πn, for any integer n
Step 1.2.9
Consolidate the answers.
x=π4+πn, for any integer n
x=π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+π4) 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)+π4)
Step 1.4.1.2
Simplify.
Tap for more steps...
Step 1.4.1.2.1
Combine the numerators over the common denominator.
sin(π+π4)
Step 1.4.1.2.2
Add π and π.
sin(2π4)
Step 1.4.1.2.3
Cancel the common factor of 2 and 4.
Tap for more steps...
Step 1.4.1.2.3.1
Factor 2 out of 2π.
sin(2(π)4)
Step 1.4.1.2.3.2
Cancel the common factors.
Tap for more steps...
Step 1.4.1.2.3.2.1
Factor 2 out of 4.
sin(2π22)
Step 1.4.1.2.3.2.2
Cancel the common factor.
sin(2π22)
Step 1.4.1.2.3.2.3
Rewrite the expression.
sin(π2)
sin(π2)
sin(π2)
Step 1.4.1.2.4
The exact value of sin(π2) is 1.
1
1
1
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)+π4)
Step 1.4.2.2
Simplify.
Tap for more steps...
Step 1.4.2.2.1
Combine the numerators over the common denominator.
sin(5π+π4)
Step 1.4.2.2.2
Add 5π and π.
sin(6π4)
Step 1.4.2.2.3
Cancel the common factor of 6 and 4.
Tap for more steps...
Step 1.4.2.2.3.1
Factor 2 out of 6π.
sin(2(3π)4)
Step 1.4.2.2.3.2
Cancel the common factors.
Tap for more steps...
Step 1.4.2.2.3.2.1
Factor 2 out of 4.
sin(2(3π)2(2))
Step 1.4.2.2.3.2.2
Cancel the common factor.
sin(2(3π)22)
Step 1.4.2.2.3.2.3
Rewrite the expression.
sin(3π2)
sin(3π2)
sin(3π2)
Step 1.4.2.2.4
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 fourth quadrant.
-sin(π2)
Step 1.4.2.2.5
The exact value of sin(π2) is 1.
-11
Step 1.4.2.2.6
Multiply -1 by 1.
-1
-1
-1
Step 1.4.3
List all of the points.
(π4+2πn,1),(5π4+2πn,-1), for any integer n
(π4+2πn,1),(5π4+2πn,-1), for any integer n
(π4+2πn,1),(5π4+2πn,-1), for any integer n
Step 2
Exclude the points that are not on the interval.
(π4,1),(5π4,-1)
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)+π4)
Step 3.1.2
Simplify.
Tap for more steps...
Step 3.1.2.1
Add 0 and π4.
sin(π4)
Step 3.1.2.2
The exact value of sin(π4) is 22.
22
22
22
Step 3.2
Evaluate at x=7π4.
Tap for more steps...
Step 3.2.1
Substitute 7π4 for x.
sin((7π4)+π4)
Step 3.2.2
Simplify.
Tap for more steps...
Step 3.2.2.1
Combine the numerators over the common denominator.
sin(7π+π4)
Step 3.2.2.2
Add 7π and π.
sin(8π4)
Step 3.2.2.3
Cancel the common factor of 8 and 4.
Tap for more steps...
Step 3.2.2.3.1
Factor 4 out of 8π.
sin(4(2π)4)
Step 3.2.2.3.2
Cancel the common factors.
Tap for more steps...
Step 3.2.2.3.2.1
Factor 4 out of 4.
sin(4(2π)4(1))
Step 3.2.2.3.2.2
Cancel the common factor.
sin(4(2π)41)
Step 3.2.2.3.2.3
Rewrite the expression.
sin(2π1)
Step 3.2.2.3.2.4
Divide 2π by 1.
sin(2π)
sin(2π)
sin(2π)
Step 3.2.2.4
Subtract full rotations of 2π until the angle is greater than or equal to 0 and less than 2π.
sin(0)
Step 3.2.2.5
The exact value of sin(0) is 0.
0
0
0
Step 3.3
List all of the points.
(0,22),(7π4,0)
(0,22),(7π4,0)
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,1)
Absolute Minimum: (5π4,-1)
Step 5
 [x2  12  π  xdx ]