Please I really want to know how to verify the following relation in MatLAB
$\text{erfc}(x)\overset{x\rightarrow\infty}{\longrightarrow}\dfrac{e^{-x^2}}{x\sqrt{\pi}}$
Please I really want to know how to verify the following relation in MatLAB
$\text{erfc}(x)\overset{x\rightarrow\infty}{\longrightarrow}\dfrac{e^{-x^2}}{x\sqrt{\pi}}$
Copyright © 2021 JogjaFile Inc.
That is not the limit of the complementary error function for $x \rightarrow \infty$ (that's zero). It is also not the asymptotic series expansion of the function. Rather, it is just the first term in the the asymptotic series expansion, but it's a very good approximation.
To find the limit using Matlab, you can use the
limitfunction in the Symbolic Math toolbox:To find the asymptotic series expansion you're going to have to use MuPAD. However, it is possible to call MuPAD functions from Matlab. Using the
seriesfunction here is how you can obtain the first terms in the series from Matlab:which returns
In other words, for $x \in \mathbb{R}, x\rightarrow \infty$ and using big O notation:
$$\text{erfc}(x) = \frac{e^{-x^2}}{x \sqrt\pi} (1 + O(x^{-2}))$$
None of this is a "proof" of anything, but you'll be happy to know that the above results match up with what Mathematica returns.