Brushing Up Math Knowledge: Basic Trig Questions

  • B
  • Thread starter gibberingmouther
  • Start date
  • Tags
    Trig
In summary, the conversation discusses the use of trigonometric functions and their calculation methods. It is mentioned that these functions are not solely based on tables, but also use algorithms such as Taylor series for efficiency and accuracy. The conversation also explores the use of inverse trigonometric functions and questions if they are also based on tables or if there are other methods of calculation. It is noted that textbooks and handbooks contain trigonometric tables, but scientific calculators and graphing calculators are more convenient. The conversation also mentions the use of computers for faster calculation and provides resources for trigonometric tables and other information.
  • #1
gibberingmouther
120
15
i'm going back to school in September. I'm brushing up on my math knowledge/skills now and thinking of maybe joining a math club when i am back in school. I've often thought if i had an expert to talk to i could learn math a lot quicker than relying on just written instruction ... so maybe i could hone my skills by talking with other math-inclined people at school. anybody else think this way?

anyway ... i know sin and cos are are calculated manually and put into tables which you can get from a scientific or graphing calculator. and tanx is just sinx/cosx. are the inverse trig functions calculated on the calculator using those values as well or were the values just added into a table? i know given say cos(5/8) = .625, we know arccos(.625) = 5/8. iff cos(x) = theta, arccos(theta) = x, right? but does anyone know, do the calculators just use table values for inverse trig functions or is there another way of getting the values from the regular sin and cos trig tables?
 
Mathematics news on Phys.org
  • #2
Trigonometric functions are not simply based on tables. Implementations will use a mixture of algorithms in order to achieve efficiency and accuracy for any argument. So in addition to table lookup, you will also find, for instance, Taylor series. You can check out for instance how sin() in implemented in gcc:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/ieee754/dbl-64/s_sin.c

Inverse trigonometric follow a similar approach.
 
  • Like
Likes gibberingmouther
  • #3
gibberingmouther said:
anyway ... i know sin and cos are are calculated manually and put into tables which you can get from a scientific or graphing calculator.
Now stop and think about that for a minute. Suppose you need the sin of 23.4572 degrees. Do you think there's a table that contains that value? And then next it contains the value of sin of 23.4573 degrees? Now, we've left out all the values BETWEEN 23.4572 and 23.4573 but forgetting that for a minute, just think of the size of storage that you would need to contain the values for every sin of x where x is any 6-digit number from 0 to 360 degrees. THEN you need a similar table for each of the other functions you want to use. Now, do you really think they are all contained in tables?
 
  • Like
Likes CWatters and gibberingmouther
  • #4
phinds said:
Now stop and think about that for a minute. Suppose you need the sin of 23.4572 degrees. Do you think there's a table that contains that value? And then next it contains the value of sin of 23.4573 degrees? Now, we've left out all the values BETWEEN 23.4572 and 23.4573 but forgetting that for a minute, just think of the size of storage that you would need to contain the values for every sin of x where x is any 6-digit number from 0 to 360 degrees. THEN you need a similar table for each of the other functions you want to use. Now, do you really think they are all contained in tables?
i guess i just assumed they interpolated between the table values.
 
  • #5
gibberingmouther said:
i guess i just assumed they interpolated between the table values.
You're missing my point, which is the SIZE of the table required.
 
  • #7
gibberingmouther said:
know given say cos(5/8) = .625, we know arccos(.625) = 5/8.
These are incorrect, but will be correct if you remove "cos" from the first equation and "arccos" from the second. IOW, as 5/8 = .625 -- the fraction 5/8 in decimal form is .625.
 
  • Like
Likes gibberingmouther
  • #8
Mark44 said:
These are incorrect, but will be correct if you remove "cos" from the first equation and "arccos" from the second. IOW, as 5/8 = .625 -- the fraction 5/8 in decimal form is .625.
cos(5/8) = .811 so arccos(.811) = 5/8 then, right? i used a random internet calculator because i can't find my graphing calculator. i know it's somewhere...
 
  • #9
Textbooks should contain trigonometric tables. Handbooks are or were made which contained more accurate trigonometric tables. Any public library should have a Handbook Of Chemistry & Physics and these will have those tables. A scientific calculator or graphing calculator is more convenient.

A brief Google search is unsatisfying. I spent a few minutes (maybe 10 or less) and the only good sites found are these:
http://www.math.com/tables/trig/tables.htm
http://www.mathwarehouse.com/trigonometry/sine-cosine-tangent-chart.php
 
  • #10
There's the machinist's handbook.
http://www.nashua.edu/paradisem1/Machinery's%20Handbook%2027th/27_math_01.pdf
Tables to minutes of a degree on page 99.
Series expansion on page 103.
Lot's of other good tidbits.
 
  • #11
gibberingmouther said:
i know sin and cos are are calculated manually and put into tables which you can get from a scientific or graphing calculator.
What do you mean by "manually"? People computed them with pen and paper before computers existed, but since then computers are faster (by orders of magnitude). Every calculation you can do with pen and paper can also be done by a computer - and much faster.

You can calculate them without any tables as basis if you calculate enough terms of Taylor expansions and similar things. That is time-consuming, but it gives you a table that can be used for calculations later which can use simpler and faster interpolation methods.
 
  • #12
phinds said:
You're missing my point, which is the SIZE of the table required.
But actual implementations do use tables with interpolation.
 
  • #13
DrClaude said:
But actual implementations do use tables with interpolation.
Really? I was not aware of that. Thanks.
 
  • #14
DrClaude said:
But actual implementations do use tables with interpolation.

phinds said:
Really? I was not aware of that. Thanks.

Do a search for CORDIC... I'm told that a lot of calculators use this method for generating values of trig functions.
 
  • #15
Mark44 said:
Do a search for CORDIC... I'm told that a lot of calculators use this method for generating values of trig functions.
The Wikipedia page on CORDIC is a good start. I don't know about calculators, but I was specifically referencing compilers.
 

What is trigonometry?

Trigonometry is a branch of mathematics that deals with the study of triangles and the relationships between their sides and angles.

Why is it important to brush up on basic trigonometry?

Basic trigonometry is an essential foundation for many higher-level math and science courses. It is also used in various real-world applications, such as engineering, architecture, and navigation.

What are the basic trigonometric functions?

The basic trigonometric functions are sine, cosine, and tangent. These functions relate the ratios of the sides of a right triangle to its angles.

How do I solve basic trigonometric equations?

To solve basic trigonometric equations, you can use the trigonometric identities and properties, as well as the unit circle. It is also helpful to have a good understanding of algebra and basic geometry.

Are there any tips for memorizing trigonometric identities?

One helpful tip for memorizing trigonometric identities is to break them down into smaller parts and practice them regularly. You can also create flashcards or use mnemonic devices to help you remember them.

Similar threads

Replies
6
Views
1K
  • General Math
Replies
11
Views
2K
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • General Math
Replies
3
Views
2K
Replies
4
Views
790
Replies
2
Views
1K
Replies
4
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
352
Replies
6
Views
2K
Replies
8
Views
180
Back
Top