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

  • Context: Graduate 
  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary
SUMMARY

The integral of x(z)/(1+x(z)) with respect to z can be approached using numerical integration techniques in Mathematica. The discussion highlights that for complex functions like x(z), which is a linear combination of decimal powers of z, symbolic integration may lead to crashes in Mathematica. Instead, users should utilize the NIntegrate function for numerical results, as demonstrated with the integral resulting in approximately 1.66469. The conversation also emphasizes the importance of specifying limits of integration and clarifying the nature of the function being integrated.

PREREQUISITES
  • Understanding of integral calculus, specifically integration techniques.
  • Familiarity with Mathematica software and its functions.
  • Knowledge of numerical integration methods, particularly NIntegrate.
  • Basic understanding of complex functions and their properties.
NEXT STEPS
  • Research the use of NIntegrate in Mathematica for various types of functions.
  • Explore symbolic versus numerical integration in Mathematica.
  • Learn about the properties of complex functions and their integration.
  • Investigate the process of converting Mathematica notebooks to TeX format for better compatibility.
USEFUL FOR

Mathematicians, students of calculus, and users of Mathematica looking to enhance their skills in numerical integration and function analysis.

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

Physics 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:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K