How to mimic 4/pi*ArcTan(x)+1 without trig

  • Thread starter Thread starter thenewmans
  • Start date Start date
  • Tags Tags
    Trig
thenewmans
Messages
168
Reaction score
1
I need a basic math formula with the following properties:
* limit y between -1 and 3.
* (x, y) hits (-1, 0), (0, 1) and (1, 2).
* Each y value occurs only once.

I managed to do this with y=4/pi*ArcTan(x)+1. But I'd like to do this without trig. I got close with y=x*2/SQRT(1+x^2)+1. But it's not right. I keep thinking it's something simple and obvious. Can you help me?

NOTE: This is not homework. I'm graphing and analyzing some proportion data in excel for myself.
 
Mathematics news on Phys.org
Greetings thenewmans! :smile:

Here's a non-trig solution:
y=\frac {\sqrt{16 x^2+9}-3} {2 x}+1
 
Perfect! Wow! Thank you!
 
Just for fun, here's another one that is closer to what you came up with. :smile:
y = \frac {2x}{\sqrt{x^2+3}}+1
 
OK, just tried it and it's even better because the slope at x=0 is closer to 1 (45 degrees). Thanks again!
 
It's also better because the first one had a singularity at x=0, even though its limit was correct. ;)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top