Loading [MathJax]/jax/output/SVG/jax.js
 
+0  
 
0
1102
5
avatar

how to write tan inverse

 Mar 29, 2015

Best Answer 

 #4
avatar+26397 
+5

Hallo Melody,

my english is not so good, but i start.

We have a Point P, the coordinate is ( x,y ). So we have P(x,y).

The question is, what is the angle from the x-axis to that Point (we call the angle also polar angle ). See: https://en.wikipedia.org/wiki/Polar_coordinate_system

The formula for the angular coordinate is :  α=arctan(ypxp) or α=atan(ypxp)

But this formula does not calculate the angle correctly. We have the same angle in  the Quadrant ( I and III ) and in the Quadrant ( II and IV ).

Why?

Because +yp+xp=ypxp=+ypxp and +ypxp=ypxp=ypxp

If we divide y by x, the information about the quadrant has disappeared.

But we can see:

Point in the I. Quadrant yp>0 and xp>0Point in the II. Quadrant yp>0 and xp<0Point in the III. Quadrant yp<0 and xp<0Point in the IV. Quadrant yp<0 and xp>0

We must correct the angular coordinate afterwards.

and if y or x is zero, we must put constants:

yp=0 and xp>0α=0 yp>0 and xp=0α=π2 yp=0 and xp<0α=π yp<0 and xp=0α=32π 

We have succeed, there is a function which takes this work from us!

The funktion is atan2

and needs two parametres  yp and xp

The new formula for the angular coordinate is :   α=atan2(yp,xp) 

 Mar 29, 2015
 #1
avatar+118703 
+5

arc tan is the same as inverse tan.

Just use atan

 Mar 29, 2015
 #2
avatar+26397 
+5

 

You can also use atan2, see examples below, to get the angle in the quadrant  (I, II, III, and IV):

Formula:α=atan2 (Δy,Δx)

Examples:

http://web2.0rechner.de/#atan2(1,1)  α=45 degreesQuadrant I

http://web2.0rechner.de/#atan2(1,-1) α=135 degreesQuadrant II

http://web2.0calc.com/#atan2(-1,-1)    α=135 degreesQuadrant III

http://web2.0rechner.de/#atan2(-1,1)  α=45 degreesQuadrant IV

Click the "=" Button in the link

 Mar 29, 2015
 #3
avatar+118703 
0

Thanks Heureka, 

I have never seen this before.  I am going to try it too :))

 

I am trying to use acos(0.5)  your way and get the different quadrant answers but it is not working for me.

Can you show me how to do this please Heureka ?

 Mar 29, 2015
 #4
avatar+26397 
+5
Best Answer

Hallo Melody,

my english is not so good, but i start.

We have a Point P, the coordinate is ( x,y ). So we have P(x,y).

The question is, what is the angle from the x-axis to that Point (we call the angle also polar angle ). See: https://en.wikipedia.org/wiki/Polar_coordinate_system

The formula for the angular coordinate is :  α=arctan(ypxp) or α=atan(ypxp)

But this formula does not calculate the angle correctly. We have the same angle in  the Quadrant ( I and III ) and in the Quadrant ( II and IV ).

Why?

Because +yp+xp=ypxp=+ypxp and +ypxp=ypxp=ypxp

If we divide y by x, the information about the quadrant has disappeared.

But we can see:

Point in the I. Quadrant yp>0 and xp>0Point in the II. Quadrant yp>0 and xp<0Point in the III. Quadrant yp<0 and xp<0Point in the IV. Quadrant yp<0 and xp>0

We must correct the angular coordinate afterwards.

and if y or x is zero, we must put constants:

yp=0 and xp>0α=0 yp>0 and xp=0α=π2 yp=0 and xp<0α=π yp<0 and xp=0α=32π 

We have succeed, there is a function which takes this work from us!

The funktion is atan2

and needs two parametres  yp and xp

The new formula for the angular coordinate is :   α=atan2(yp,xp) 

heureka Mar 29, 2015
 #5
avatar+118703 
0

Thanks Heureka,  I shall study this tomorrow when i am fresh. 

I though you were just giving us a new way to enter it into the web2 calc :)

 Mar 29, 2015

1 Online Users