# How do i find the range of this function?

## Homework Statement

Find the range of y = (cos2x - 1) / ( cos2x + cos x )

## The Attempt at a Solution

Well i tried the usual method. I cross multiplied and got a quadratic equation in cos x. Then it should have discriminant greater than zero so in the end i get (y-2)2 > 0 which is true for all y. So range is R? ( I don't have the answer)

Related Precalculus Mathematics Homework Help News on Phys.org
HallsofIvy
Homework Helper
Is the formula given correct? Do you really mean
$$y= \frac{cos(x)-1}{2cos(x)}$$?
That is equal to
$$\frac{1}{2}- \frac{1}{2cos(x)}$$
Since 2cos(x) is never larger than 2 or less than -2, 1/(2cos(x)) is always larger than 1/2 or less than -1/2, never between.

Mentallic
Homework Helper
Try factoring the equation, you should get a nice simplification.

But when you simplify you need to keep in mind that if you have an expression of the form $$y=\frac{ab}{b}$$ then when you simplify to y=a, you need to keep in mind that $b\neq 0$, so you would have to exclude this value if it's in the range.

The problem with your method is that since cos is a restricted function, its own range is only between [-1,1]. To use your method, the equation should be in tan or cot functions since they have range R. Or you can restrict the answer you get accordingly to the range of cos.

An easier method would be to factorize the equation since it results in a very simple equation.

Edit : just noticed Mentallic already posted the easier way.

SammyS
Staff Emeritus
Homework Helper
Gold Member

## Homework Statement

Find the range of y = (cos2x - 1) / ( cos2x + cos x )

## The Attempt at a Solution

Well i tried the usual method. I cross multiplied and got a quadratic equation in cos x. Then it should have discriminant greater than zero so in the end i get (y-2)2 > 0 which is true for all y. So range is R? ( I don't have the answer)
Simplify $\displaystyle \frac{\cos^2(x)-1}{\cos^2(x)+\cos(x)}\ .$

Factor the numerator & the denominator, then cancel, keeping in mind what Mentallic & Infinitum mentioned.