# Trig question

Saitama

## Homework Statement

This is a question from my test paper.

If sec $\theta$=$\frac{4xy}{(x+y)^2}$, where x,y $\in$ R, then

(a)x,y $\in$ R+
(b)x,y $\in$ R-
(c)x=y$\neq$0
(d)x$\in$R+, y$\in$R-

## The Attempt at a Solution

I don't understand what i have to do and where should i start with?

Staff Emeritus

## Homework Statement

This is a question from my test paper.

If sec $\theta$=$\frac{4xy}{(x+y)^2}$, where x,y $\in$ R, then

(a)x,y $\in$ R+
(b)x,y $\in$ R-
(c)x=y$\neq$0
(d)x$\in$R+, y$\in$R-

Remembering that sec a is by definition 1/(cos a),
then what values for x and y can you throw into that quotient term
and still yield a value that is a valid value for sec ? Do you need to
restrict the permissible values for x and/or y to a narrower domain than all Reals ?

Saitama
Remembering that sec a is by definition 1/(cos a),
then what values for x and y can you throw into that quotient term
and still yield a value that is a valid value for sec ? Do you need to
restrict the permissible values for x and/or y to a narrower domain than all Reals ?

What i did is $cos \theta=\frac{(x+y)^2}{4xy}$.
I substituted different values according to the given conditions in my equation.
I found my answer to be (c) option. Is that correct?
But what should be the correct method to find out the answer?

Homework Helper
What i did is $cos \theta=\frac{(x+y)^2}{4xy}$.
I substituted different values according to the given conditions in my equation.
I found my answer to be (c) option. Is that correct?
But what should be the correct method to find out the answer?

What's wrong with guess-and-check as a method? All you need is one example that would make an answer choice wrong.

In any event, you could try using the definition sec θ = R/X in the Cartesian plane (I'm using capital letters to distinguish from the lower case x and y that you already used), and that R2 = X2 + Y2. Find Y, and then look at the answer choices again to see what must hold.

Saitama
What's wrong with guess-and-check as a method? All you need is one example that would make an answer choice wrong.

In any event, you could try using the definition sec θ = R/X in the Cartesian plane (I'm using capital letters to distinguish from the lower case x and y that you already used), and that R2 = X2 + Y2. Find Y, and then look at the answer choices again to see what must hold.

What's this "R"?

Homework Helper
What's this "R"?
"R" stands for radius. See the attached diagram, and the website below (look under the heading "TRIGONOMETRIC FUNCTIONS").

#### Attachments

• trig_cart.jpg
6.9 KB · Views: 338
Last edited by a moderator:
Saitama
See the attached diagram, and the website below (look under the heading "TRIGONOMETRIC FUNCTIONS").

Ok, i got it, thanks!!

I have one more question.
If f(x)=|sin x|+|cos x|, x$\in$R, then
(a)f(x)$\in$[0,2]
(b)f(x)$\in$[0,$\sqrt{2}$]
(c)f(x)$\in$[0,1]
(d)f(x)$\in$[1,$\sqrt{2}$]

Last edited by a moderator:
Homework Helper
What i did is $cos \theta=\frac{(x+y)^2}{4xy}$.
I substituted different values according to the given conditions in my equation.
I found my answer to be (c) option. Is that correct?
But what should be the correct method to find out the answer?

I like that you have identified that it is unsuitable for both x and y to be 0, but if x and y are alternately positive or negative real numbers, then the possibility of them both being zero is still excluded.

Think about the maximum and minimum value the cosine function can have, and the significance that would have to the relative sizes of the numerator and denominator of the fraction you have.

Homework Helper
Ok, i got it, thanks!!

I have one more question.
If f(x)=|sin x|+|cos x|, x$\in$R, then
(a)f(x)$\in$[0,2]
(b)f(x)$\in$[0,$\sqrt{2}$]
(c)f(x)$\in$[0,1]
(d)f(x)$\in$[1,$\sqrt{2}$]

Start by finding the range of sin x and cos x. In other words, what are all the possible values of y in y = sin x, and what are all the possible values of y in y = cos x?

Homework Helper
Ok, i got it, thanks!!

I have one more question.
If f(x)=|sin x|+|cos x|, x$\in$R, then
(a)f(x)$\in$[0,2]
(b)f(x)$\in$[0,$\sqrt{2}$]
(c)f(x)$\in$[0,1]
(d)f(x)$\in$[1,$\sqrt{2}$]

Perhaps a sketch graph may help? [use adding ordinates if necessary]

Saitama
Start by finding the range of sin x and cos x. In other words, what are all the possible values of y in y = sin x, and what are all the possible values of y in y = cos x?

Range of sin x and cos x is [-1,1].
What next?

Homework Helper
Range of sin x and cos x is [-1,1].
What next?
Well, what happens when you take the absolute value of any number between -1 and 1 inclusive? What does the range become?

Saitama
Well, what happens when you take the absolute value of any number between -1 and 1 inclusive? What does the range become?

Taking the absolute value the range becomes [0,1].

Homework Helper
Taking the absolute value the range becomes [0,1].
Okay, so the range of |sin x| is [0, 1], and the range of |cos x| is [0, 1]. What would be the range of f(x)=|sin x| + |cos x|, then?

Homework Helper
Taking the absolute value the range becomes [0,1].

That is the separate range of each function, which you have to add together.

Can they both be zero at the same time? can they both be 1 at the same time?

You might need that sketch graph now.

Saitama
Okay, so the range of |sin x| is [0, 1], and the range of |cos x| is [0, 1]. What would be the range of f(x)=|sin x| + |cos x|, then?

That only i don't know. I don't understand how to do that?

Homework Helper
EDIT: Big mistake...

Last edited:
Saitama
It just requires some thinking. You need to add some number (between 0 and 1 inclusive) to another number (between 0 and 1 inclusive). You are looking for the range of numbers that encompasses all of the possible sums.

If |sin x| = 0 and |cos x| = 0, then
|sin x| + |cos x| = ? Wouldn't that number be in the range of f(x)? Try choosing different values of |sin x| and |cos x| and see if you can't come up with the range of f(x).

I add the max and min values of the range of sin x and cos x.
If |sin x| = 0 and |cos x| = 0, then
|sin x| + |cos x| = 0.
If |sin x| = 1 and |cos x| = 1, then
|sin x| + |cos x| = 2

Homework Helper
EDIT: Another big mistake...

Last edited:
Homework Helper
that only i don't know. I don't understand how to do that?

sketch graph!!! the answer is not (a)

Saitama
Yes. Just know that looking at the max and min values for each interval isn't always going to work.

Oops, i ticked the wrong answer in my exam!!

sketch graph

I won't be able to sketch the graph correctly and i am not that comfortable in adding graphs.

Homework Helper
Oops, i ticked the wrong answer in my exam!!

I won't be able to sketch the graph correctly and i am not that comfortable in adding graphs.

The sketch graph for the sine partial and the cosine partial is just a series of off-set bumps [it would be great if you could draw real sine curves, but even if each bump looks like an inverted parabola will show you. heck, even a bunch of half circles like tracing round a dime].

Homework Helper
Oops, i ticked the wrong answer in my exam!!
Maybe not. I have looked over this problem again and I had misguided you all this time.

if |sin x| = 0 and |cos x| = 0, then what is |sin x| + |cos x|?

Well, it's not possible for both to equal 0 at the same time, isn't it?

If |sin x| = 0, then |cos x| must equal 1. And if |cos x| = 0 then |sin x| must equal 1. Then the minimum value for |sin x| + |cos x| is not 0, is it?

Saitama
Maybe not. I have looked over this problem again and I had misguided you all this time.

if |sin x| = 0 and |cos x| = 0, then what is |sin x| + |cos x|?

Well, it's not possible for both to equal 0 at the same time, isn't it?

If |sin x| = 0, then |cos x| must equal 1. And if |cos x| = 0 then |sin x| must equal 1. Then the minimum value for |sin x| + |cos x| is not 0, is it?

Oops sorry, that was my mistake too that i didn't noticed it.
So If |sin x| = 0, then |cos x|= 1 and |sin x|+|cos x|=1.
But what is the answer then?

Homework Helper
Taking you through the sketch graphs.

A normal sine function is a bump beteen 0 and pi [180degrees if you like], then a dip under the axis between pi and 2xpi.
The absolute value of the sine function is just two bumps beside each other.

Saitama
Taking you through the sketch graphs.

A normal sine function is a bump beteen 0 and pi [180degrees if you like], then a dip under the axis between pi and 2xpi.
The absolute value of the sine function is just two bumps beside each other.

I knew that.
And i know the graph of |cos x| too but i don't know to add |sin x|+|cos x|.

Homework Helper
Oops sorry, that was my mistake too that i didn't noticed it.
So If |sin x| = 0, then |cos x|= 1 and |sin x|+|cos x|=1.
But what is the answer then?

If you look at the |sin x| values, as they go from 0 to 1,
the corresponding |cos x| values must go from 1 to 0.

Consider that |sin x| + |cos x| would reach the maximum if |sin x| EQUALED |cos x|. And you know the value of x that makes |sin x| = |cos x| true, don't you?

Last edited:
Saitama
If you look at the |sin x| values, as they go from 0 to 1,
the corresponding |cos x| values must go from 1 to 0.

Consider that |sin x| + |cos x| would reach the maximum if |sin x| EQUALED |cos x|. And you know the value of x that makes |sin x| = |cos x| true, don't you?

Ya, i know. For |sin x|=|cos x|, x=(pi/4).
Right..?

Homework Helper
I knew that.
And i know the graph of |cos x| too but i don't know to add |sin x|+|cos x|.

i am glad you know that - I thought you would.

As you know the graph of |cos x| , over the 0 to 2pi [0 to 360] range starts at 1, loops down to zero, just as the sine reaches it peak, loops back up to 1 just as the first sine loop drops to zero, then repeats.

To add the sketches together you draw a series of fine , faint, vertical lines across the sketch of the two graphs. The first is at x = 0, the last is at x = 2 x pi and you want about 12 to 16 of them evenly spaced.

You then measure/estimate how far above the axis the lower graph is, and mark a point that far above where the vertical cuts the upper graph. You then join the dots.

Importantly, you will see that when ever one graph has a zero value, the other one has a value of 1. In fact there is no point where both graphs are at zero, so when you add them you always get a total more than zero.
The answewr you want at the end, is the one that does NOT have a range starting at zero - option (d).

Homework Helper
Ya, i know. For |sin x|=|cos x|, x=(pi/4).
Right..?
Yes. Now find |sin x| + |cos x| if x = π/4.

Homework Helper
Ya, i know. For |sin x|=|cos x|, x=(pi/4).
Right..?

That is correct!!, and the maximum value the sum reaches at that point is Square root 2.

See my other answer as to why the minimum is 1 and the maximum shown here is root 2.

whoops - two overlapping responses too.

Saitama
i am glad you know that - I thought you would.

As you know the graph of |cos x| , over the 0 to 2pi [0 to 360] range starts at 1, loops down to zero, just as the sine reaches it peak, loops back up to 1 just as the first sine loop drops to zero, then repeats.

To add the sketches together you draw a series of fine , faint, vertical lines across the sketch of the two graphs. The first is at x = 0, the last is at x = 2 x pi and you want about 12 to 16 of them evenly spaced.

You then measure/estimate how far above the axis the lower graph is, and mark a point that far above where the vertical cuts the upper graph. You then join the dots.

Importantly, you will see that when ever one graph has a zero value, the other one has a value of 1. In fact there is no point where both graphs are at zero, so when you add them you always get a total more than zero.
The answewr you want at the end, is the one that does NOT have a range starting at zero - option (d).

The same way is followed by my teacher but in the exam, graphs go out of my mind and i don't like adding them. Yet they are really helpful when finding out the number of solutions for a equation.

Yes. Now find |sin x| + |cos x| if x = π/4.
|sin x| + |cos x|=$\sqrt{2}$ if x=pi/4.

Homework Helper
Well, no thanks to PeterO, the answer was already out of the bag. Hopefully, that answer was the one you marked.

And I really shouldn't be posting late at night (it's 1:30am where I currently am) and a little drunk. Sorry for the mistakes earlier.

Saitama
Well, no thanks to PeterO, the answer was already out of the bag. Hopefully, that answer was the one you marked.

And I really shouldn't be posting late at night (it's 1:30am where I currently am) and a little drunk. Sorry for the mistakes earlier.

Yes, i ticked the (d) option.

WTH!! You are still awake at 1:30am. Here it's 10:30PM.