Algebra Examples

Find the Roots (Zeros) cos(x)-sin(x)
Step 1
Set equal to .
Step 2
Solve for .
Tap for more steps...
Step 2.1
Divide each term in the equation by .
Step 2.2
Cancel the common factor of .
Tap for more steps...
Step 2.2.1
Cancel the common factor.
Step 2.2.2
Rewrite the expression.
Step 2.3
Separate fractions.
Step 2.4
Convert from to .
Step 2.5
Divide by .
Step 2.6
Separate fractions.
Step 2.7
Convert from to .
Step 2.8
Divide by .
Step 2.9
Multiply by .
Step 2.10
Subtract from both sides of the equation.
Step 2.11
Divide each term in by and simplify.
Tap for more steps...
Step 2.11.1
Divide each term in by .
Step 2.11.2
Simplify the left side.
Tap for more steps...
Step 2.11.2.1
Dividing two negative values results in a positive value.
Step 2.11.2.2
Divide by .
Step 2.11.3
Simplify the right side.
Tap for more steps...
Step 2.11.3.1
Divide by .
Step 2.12
Take the inverse tangent of both sides of the equation to extract from inside the tangent.
Step 2.13
Simplify the right side.
Tap for more steps...
Step 2.13.1
The exact value of is .
Step 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.
Step 2.15
Simplify .
Tap for more steps...
Step 2.15.1
To write as a fraction with a common denominator, multiply by .
Step 2.15.2
Combine fractions.
Tap for more steps...
Step 2.15.2.1
Combine and .
Step 2.15.2.2
Combine the numerators over the common denominator.
Step 2.15.3
Simplify the numerator.
Tap for more steps...
Step 2.15.3.1
Move to the left of .
Step 2.15.3.2
Add and .
Step 2.16
Find the period of .
Tap for more steps...
Step 2.16.1
The period of the function can be calculated using .
Step 2.16.2
Replace with in the formula for period.
Step 2.16.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 2.16.4
Divide by .
Step 2.17
The period of the function is so values will repeat every radians in both directions.
, for any integer
, for any integer
Step 3