What is the proper notation for angle wrapping in a mathematical function?

  • Thread starter Thread starter billiards
  • Start date Start date
  • Tags Tags
    Angle Notation
Click For Summary
The discussion revolves around the proper notation for angle wrapping in mathematical functions, specifically for angles constrained between -180 and 180 degrees. A user seeks a formulaic representation for this constraint, exemplified by the function y = exp(θ). The conversation suggests using the modulo operation to express this, with recommendations to define the angle explicitly in the function notation. One proposed solution is to state, "for angles between -180 and 180, define y as..." to clarify the constraints. The focus remains on achieving a clear and concise mathematical representation of angle wrapping.
billiards
Messages
765
Reaction score
16
Hi I am looking for the proper notation to represent angle wrapping in a mathematical function.

For example if I have a function of the form:

y=exp(θ)

(and θ is an angle in degrees.)

How do I write this function to explicitly assert that: -180 ≤ θ < 180 ?

So that for example if one had an angle of numerical value 190, then θ = -170.
 
Mathematics news on Phys.org
Take your number A, divide it by 360. If the new number's absolute value is less than or equal to 1/2, keep the number A. Otherwise, subtract 360 from A if it's positive, add 360 if A is negative. Then repeat process with division by 360.
 
Sure. To be clear though, I'm not looking for the numerical recipe. I'm looking for the notation. How would one write this in a formula?

i.e.

y = exp(\theta)

would be written like how, something like this? :

y = exp([\theta]^{180}_{-180}) ?
 
I would just state explicitly as a sentence "for angles between -180 and 180, define y as..."
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K