Trigonometry Examples

Solve for x cos(x)^2-sin(x)^2=0
cos2(x)-sin2(x)=0cos2(x)sin2(x)=0
Step 1
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b)a2b2=(a+b)(ab) where a=cos(x)a=cos(x) and b=sin(x)b=sin(x).
(cos(x)+sin(x))(cos(x)-sin(x))=0(cos(x)+sin(x))(cos(x)sin(x))=0
Step 2
If any individual factor on the left side of the equation is equal to 00, the entire expression will be equal to 00.
cos(x)+sin(x)=0cos(x)+sin(x)=0
cos(x)-sin(x)=0cos(x)sin(x)=0
Step 3
Set cos(x)+sin(x)cos(x)+sin(x) equal to 00 and solve for xx.
Tap for more steps...
Step 3.1
Set cos(x)+sin(x)cos(x)+sin(x) equal to 00.
cos(x)+sin(x)=0cos(x)+sin(x)=0
Step 3.2
Solve cos(x)+sin(x)=0cos(x)+sin(x)=0 for xx.
Tap for more steps...
Step 3.2.1
Divide each term in the equation by cos(x)cos(x).
cos(x)cos(x)+sin(x)cos(x)=0cos(x)cos(x)cos(x)+sin(x)cos(x)=0cos(x)
Step 3.2.2
Cancel the common factor of cos(x)cos(x).
Tap for more steps...
Step 3.2.2.1
Cancel the common factor.
cos(x)cos(x)+sin(x)cos(x)=0cos(x)
Step 3.2.2.2
Rewrite the expression.
1+sin(x)cos(x)=0cos(x)
1+sin(x)cos(x)=0cos(x)
Step 3.2.3
Convert from sin(x)cos(x) to tan(x).
1+tan(x)=0cos(x)
Step 3.2.4
Separate fractions.
1+tan(x)=011cos(x)
Step 3.2.5
Convert from 1cos(x) to sec(x).
1+tan(x)=01sec(x)
Step 3.2.6
Divide 0 by 1.
1+tan(x)=0sec(x)
Step 3.2.7
Multiply 0 by sec(x).
1+tan(x)=0
Step 3.2.8
Subtract 1 from both sides of the equation.
tan(x)=-1
Step 3.2.9
Take the inverse tangent of both sides of the equation to extract x from inside the tangent.
x=arctan(-1)
Step 3.2.10
Simplify the right side.
Tap for more steps...
Step 3.2.10.1
The exact value of arctan(-1) is -π4.
x=-π4
x=-π4
Step 3.2.11
The tangent function is negative in the second and fourth quadrants. To find the second solution, subtract the reference angle from π to find the solution in the third quadrant.
x=-π4-π
Step 3.2.12
Simplify the expression to find the second solution.
Tap for more steps...
Step 3.2.12.1
Add 2π to -π4-π.
x=-π4-π+2π
Step 3.2.12.2
The resulting angle of 3π4 is positive and coterminal with -π4-π.
x=3π4
x=3π4
Step 3.2.13
Find the period of tan(x).
Tap for more steps...
Step 3.2.13.1
The period of the function can be calculated using π|b|.
π|b|
Step 3.2.13.2
Replace b with 1 in the formula for period.
π|1|
Step 3.2.13.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
π1
Step 3.2.13.4
Divide π by 1.
π
π
Step 3.2.14
Add π to every negative angle to get positive angles.
Tap for more steps...
Step 3.2.14.1
Add π to -π4 to find the positive angle.
-π4+π
Step 3.2.14.2
To write π as a fraction with a common denominator, multiply by 44.
π44-π4
Step 3.2.14.3
Combine fractions.
Tap for more steps...
Step 3.2.14.3.1
Combine π and 44.
π44-π4
Step 3.2.14.3.2
Combine the numerators over the common denominator.
π4-π4
π4-π4
Step 3.2.14.4
Simplify the numerator.
Tap for more steps...
Step 3.2.14.4.1
Move 4 to the left of π.
4π-π4
Step 3.2.14.4.2
Subtract π from 4π.
3π4
3π4
Step 3.2.14.5
List the new angles.
x=3π4
x=3π4
Step 3.2.15
The period of the tan(x) function is π so values will repeat every π radians in both directions.
x=3π4+πn,3π4+πn, for any integer n
x=3π4+πn,3π4+πn, for any integer n
x=3π4+πn,3π4+πn, for any integer n
Step 4
Set cos(x)-sin(x) equal to 0 and solve for x.
Tap for more steps...
Step 4.1
Set cos(x)-sin(x) equal to 0.
cos(x)-sin(x)=0
Step 4.2
Solve cos(x)-sin(x)=0 for x.
Tap for more steps...
Step 4.2.1
Divide each term in the equation by cos(x).
cos(x)cos(x)+-sin(x)cos(x)=0cos(x)
Step 4.2.2
Cancel the common factor of cos(x).
Tap for more steps...
Step 4.2.2.1
Cancel the common factor.
cos(x)cos(x)+-sin(x)cos(x)=0cos(x)
Step 4.2.2.2
Rewrite the expression.
1+-sin(x)cos(x)=0cos(x)
1+-sin(x)cos(x)=0cos(x)
Step 4.2.3
Separate fractions.
1+-11sin(x)cos(x)=0cos(x)
Step 4.2.4
Convert from sin(x)cos(x) to tan(x).
1+-11tan(x)=0cos(x)
Step 4.2.5
Divide -1 by 1.
1-tan(x)=0cos(x)
Step 4.2.6
Separate fractions.
1-tan(x)=011cos(x)
Step 4.2.7
Convert from 1cos(x) to sec(x).
1-tan(x)=01sec(x)
Step 4.2.8
Divide 0 by 1.
1-tan(x)=0sec(x)
Step 4.2.9
Multiply 0 by sec(x).
1-tan(x)=0
Step 4.2.10
Subtract 1 from both sides of the equation.
-tan(x)=-1
Step 4.2.11
Divide each term in -tan(x)=-1 by -1 and simplify.
Tap for more steps...
Step 4.2.11.1
Divide each term in -tan(x)=-1 by -1.
-tan(x)-1=-1-1
Step 4.2.11.2
Simplify the left side.
Tap for more steps...
Step 4.2.11.2.1
Dividing two negative values results in a positive value.
tan(x)1=-1-1
Step 4.2.11.2.2
Divide tan(x) by 1.
tan(x)=-1-1
tan(x)=-1-1
Step 4.2.11.3
Simplify the right side.
Tap for more steps...
Step 4.2.11.3.1
Divide -1 by -1.
tan(x)=1
tan(x)=1
tan(x)=1
Step 4.2.12
Take the inverse tangent of both sides of the equation to extract x from inside the tangent.
x=arctan(1)
Step 4.2.13
Simplify the right side.
Tap for more steps...
Step 4.2.13.1
The exact value of arctan(1) is π4.
x=π4
x=π4
Step 4.2.14
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 4.2.15
Simplify π+π4.
Tap for more steps...
Step 4.2.15.1
To write π as a fraction with a common denominator, multiply by 44.
x=π44+π4
Step 4.2.15.2
Combine fractions.
Tap for more steps...
Step 4.2.15.2.1
Combine π and 44.
x=π44+π4
Step 4.2.15.2.2
Combine the numerators over the common denominator.
x=π4+π4
x=π4+π4
Step 4.2.15.3
Simplify the numerator.
Tap for more steps...
Step 4.2.15.3.1
Move 4 to the left of π.
x=4π+π4
Step 4.2.15.3.2
Add 4π and π.
x=5π4
x=5π4
x=5π4
Step 4.2.16
Find the period of tan(x).
Tap for more steps...
Step 4.2.16.1
The period of the function can be calculated using π|b|.
π|b|
Step 4.2.16.2
Replace b with 1 in the formula for period.
π|1|
Step 4.2.16.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
π1
Step 4.2.16.4
Divide π by 1.
π
π
Step 4.2.17
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
x=π4+πn,5π4+πn, for any integer n
Step 5
The final solution is all the values that make (cos(x)+sin(x))(cos(x)-sin(x))=0 true.
x=3π4+πn,π4+πn,5π4+πn, for any integer n
Step 6
Consolidate the answers.
x=π4+πn2, for any integer n
 [x2  12  π  xdx ]