What does |x| mean in the erf function?

  • Thread starter Thread starter moonman239
  • Start date Start date
  • Tags Tags
    Function Mean
Click For Summary
The discussion clarifies that in the equation for the error function erf(x), |x| represents the absolute value of x. The term x/|x| evaluates to 1 for positive x and -1 for negative x, influencing the function's behavior based on the sign of x. However, there is uncertainty regarding the specific equation presented for erf. Participants express confusion over the validity of the equation as it does not match commonly recognized forms of the erf function. Overall, the focus remains on understanding the role of |x| in the context of the error function.
moonman239
Messages
276
Reaction score
0
Here's the equation I'm using: erf(x) = x/|x| * SQRT(1 - exp(-x2*(4/pi + (ax)2) / (1 + ax2)
 
Physics news on Phys.org
moonman239 said:
Here's the equation I'm using: erf(x) = x/|x| * SQRT(1 - exp(-x2*(4/pi + (ax)2) / (1 + ax2)

|x| is the absolute value of x.

x/|x| is 1 for positive x, -1 for negative x.

(However, I don't recognize that equation for erf.)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
7
Views
1K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 26 ·
Replies
26
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K