What is the integral of x(z)/(1+x(z)) wrt z?

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Integral
AI Thread Summary
The discussion revolves around integrating the function x(z)/(1+x(z)) with respect to z, where x(z) is a linear combination of decimal powers of z. The original poster experiences crashes in Mathematica when attempting numerical integration. A participant suggests clarifying whether the integration is complex or real and emphasizes the importance of specifying limits. They propose that the integral can be simplified to integrating 1/(1+x(z)), noting the complexity of finding an anti-derivative for certain forms of x(z). Lastly, they recommend using NIntegrate for numerical results in Mathematica, providing an example of its application.
natski
Messages
262
Reaction score
2
I am trying to integrate:

x(z)/(1+x(z)) wrt z.

I know the function x(z), it basically just made up a linear combination of several decimal powers of z. Mathematica refuses to do an numerical integration and just crashes when it gets a couple of minutes in on my laptop.

If x(z) was just z then I could obviously use some standard integrals but I think this is more complex than that. Any ideas on how to solve this one? I have attached the exact equation in a mathematica notebook.

Natski
 

Attachments

Mathematics news on Phys.org
Is this complex or real integration? And what are your limits of integration? And it would probably help if you wrote out the entire integral.
 
Remember that this can effectively be reduced to integrating:
\int\frac{dz}{1+x(z)}
It is by no means obvious why this should at all be possible; if it were, you would for example be able to solve for the particular choice:
x(z)=e^{z^{2}}-1
That would be equivalent to find an anti-derivative to the error function..
 
I was trying to approve the attachment, but my PC doesn't know what file type *.NB is. What application uses *.NB files?
 
Mathematica.
 
I posted the original content of the .nb file to the attached pdf. Maybe the forum needs a tutorial on the simple process for Mathematica -> TeX.

From a mathematica point of view, you natski are not integrating numerically, you are forcing a symbolic result. To integrate numerically, just use the function NIntegrate, like this:

Code:
NIntegrate[integrand, {ψ, 0, N[Pi/2]}]

Then the result is:1.66469
 

Attachments

Last edited:
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
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...
Back
Top