What is the range of the composite function h?

AI Thread Summary
The composite function h is defined as h(a) = cos(5πa/4), where a is an integer. The discussion focuses on determining the range of h based on the values of a. Participants suggest testing small integer values to observe the output of h, noting that results like h(6) and h(10) approach zero due to rounding errors. The key takeaway is that understanding the cosine values of specific angles is crucial for identifying the range without relying on calculators. The range of h ultimately includes values from the cosine function, which oscillates between -1 and 1.
Quadrat
Messages
62
Reaction score
1

Homework Statement


[/B]
The function ##f##, ##{f: ℤ → ℚ}## defined as ##f(a)=cos(πa)##
The function ##g##, ##{g: ℚ→ ℝ}## defined as ##g(a)=(5a)/4##

Let h be the composite funciton ##h(a)=f(g(a))##

What's the range of this function h?

Homework Equations


[/B]
##h(a)=cos(5πa/4)##

The domain of ##h## should be ##ℤ## and ##ℝ## its codomain. ##{h: ℤ → ℝ}##.

So a must be an integer, right? How do I sort out the range of ##h##?

The Attempt at a Solution



This is just the last step in a homework assignment
So ##a## must be an integer, right? So any number ##n∈ℤ## in ##h## can be used. I tried with integers up to 10 to see what values I'd get. I just don't know how to go on with this one. How do I sort out the range of ##h##?
 
Physics news on Phys.org
Quadrat said:

Homework Statement


[/B]
The function ##f##, ##{f: ℤ → ℚ}## defined as ##f(a)=cos(πa)##
The function ##g##, ##{g: ℚ→ ℝ}## defined as ##g(a)=(5a)/4##

Let h be the composite funciton ##h(a)=f(g(a))##

What's the range of this function h?

Homework Equations


[/B]
##h(a)=cos(5πa/4)##

The domain of ##h## should be ##ℤ## and ##ℝ## its codomain. ##{h: ℤ → ℝ}##.

So a must be an integer, right? How do I sort out the range of ##h##?

The Attempt at a Solution



This is just the last step in a homework assignment
So ##a## must be an integer, right? So any number ##n∈ℤ## in ##h## can be used. I tried with integers up to 10 to see what values I'd get. I just don't know how to go on with this one. How do I sort out the range of ##h##?

Try to get a feeling for what is going on by testing a few small values such as ##a = 0, 1, 2, 3## to see what you get.
 
Ray Vickson said:
Try to get a feeling for what is going on by testing a few small values such as ##a = 0, 1, 2, 3## to see what you get.

That's what I did. Starting from ##a=0## to ##a=15##
##h(0)=1##
##h(1)=-1/sqrt(2)##
##h(2)=0##
##h(3)=1/sqrt(2)##
##h(4)=-1##
##h(5)=1/sqrt(2)##
##h(6)=5*E(-13)##
##h(7)=-1/sqrt(2)##
##h(8)=1##
##h(9)=-1/sqrt(2)##
##h(10)=-5*E(-13)##
##h(11)=1/sqrt(2)##
##h(12)=-1##
##h(13)=1/sqrt(2)##
##h(14)=1,5*E(-12)##
##h(15)=1/sqrt(2)##

Still I can't figure out what the range is. Especially when I get values like h(14), h(26), h(30) etc. What am I missing?
 
Quadrat said:
That's what I did. Starting from ##a=0## to ##a=15##
##h(0)=1##
##h(1)=-1/sqrt(2)##
##h(2)=0##
##h(3)=1/sqrt(2)##
##h(4)=-1##
##h(5)=1/sqrt(2)##
##h(6)=5*E(-13)##
##h(7)=-1/sqrt(2)##
##h(8)=1##
##h(9)=-1/sqrt(2)##
##h(10)=-5*E(-13)##
##h(11)=1/sqrt(2)##
##h(12)=-1##
##h(13)=1/sqrt(2)##
##h(14)=1,5*E(-12)##
##h(15)=1/sqrt(2)##

Still I can't figure out what the range is. Especially when I get values like h(14), h(26), h(30) etc. What am I missing?

Throw away your calculator; you don't need it in this problem, and its use is just confusing you. Things like ##5 E(-13)## are rounded versions of ##0## exactly. You should know---without ever consulting a calculator---what are cosines of angles like 0, ##\pi##, ##2 \pi##, ##3\pi##, etc., as well as for angles like ##\pi/4##, ##2\pi/4 = \pi/2##, ##3 \pi/4##, etc.
 
  • Like
Likes SammyS
Ray Vickson said:
Throw away your calculator
Yes, absolutely. In addition to the angles Ray listed, you should know, by heart, the trig functions of ##\pi/6, \pi/3, 2\pi/3, 5\pi/6## and their corresponding angles in the 3rd and 4th quadrants.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
10
Views
2K
Replies
3
Views
2K
Replies
15
Views
2K
Replies
4
Views
2K
Replies
13
Views
2K
Replies
10
Views
8K
Back
Top