Integral Substitutions and Mathematica

Click For Summary
SUMMARY

This discussion revolves around teaching Mathematica to solve complex integrals that it cannot handle natively. The integrals presented include expressions involving trigonometric functions, logarithms, and square roots, with specific examples such as ∫(x sin x ln(x sin x))/(1-Sqrt[1-Sqrt[x sin x]]) (x cos x + sin x) dx and ∫x^x Sqrt[x ln x](1+ln x) dx, which incorporates the Erfi[x] function. Participants suggest using u-substitutions, particularly u = x sin x for the first integral, while acknowledging that further substitutions may be necessary for others. The complexity of the integrals indicates a need for advanced techniques in integration.

PREREQUISITES
  • Understanding of integral calculus and substitution methods
  • Familiarity with Mathematica version 12.3 or later
  • Knowledge of trigonometric identities and logarithmic functions
  • Basic understanding of complex numbers and functions, particularly the Error Function
NEXT STEPS
  • Research advanced u-substitution techniques in integral calculus
  • Learn how to implement custom functions in Mathematica
  • Study the properties and applications of the Error Function and its variants, including Erfi[x]
  • Explore numerical integration methods in Mathematica for complex integrals
USEFUL FOR

Students in advanced calculus courses, mathematicians dealing with complex integrals, and users of Mathematica looking to enhance their integration skills.

zared619
Messages
2
Reaction score
0
Hi all. My professor gave us some integrals that Mathematica can't do, and we have to teach Mathematica how to do them. I got the first two, but I'm stuck with the u substitutions for these six. I know that I am supposed to make an attempt at a solution, but I've tried several different u substitutions to no avail. Sorry for the formatting.
Any help is appreciated

3.. ∫(x sin x ln(x sin x))/(1-Sqrt[1-Sqrt[x sin x]]) (x cos x + sin x)\[DifferentialD]x

4. ∫(cos x -x sin x) Sqrt[x cos x] Sqrt[1+x^3 cos^3 x]\[DifferentialD]x

5. ∫((1+ln x) Sqrt[1+x ln x])/Sqrt[x ln x] \[DifferentialD]x

6. ∫(1-2/x^3)Sqrt[1-(x+1/x^2)^2]\[DifferentialD]x

7. ∫(1+ln x)Sqrt[1-x^2(ln x)^2]\[DifferentialD]x

8. ∫x^x Sqrt[x ln x](1+ln x)\[DifferentialD]x

Note: My professor said that #8 will include a function called Erfi[x]. I have no idea what that is.

Again, any help is appreciated.
 
Physics news on Phys.org
zared619 said:
Hi all. My professor gave us some integrals that Mathematica can't do, and we have to teach Mathematica how to do them. I got the first two, but I'm stuck with the u substitutions for these six. I know that I am supposed to make an attempt at a solution, but I've tried several different u substitutions to no avail. Sorry for the formatting.
Any help is appreciated

3.. ∫(x sin x ln(x sin x))/(1-Sqrt[1-Sqrt[x sin x]]) (x cos x + sin x)\[DifferentialD]x

The combination x \sin x occurs frequently here as an argument to other functions and, by fortune or design, the derivative of x \sin x is x \cos x + \sin x.

This suggests u = x \sin x as a first substitution, although further substitutions may be necessary.

Similar first substitutions suggest themselves for the others, although further substitutions might be necessary.
 
zared619 said:
Hi all. My professor gave us some integrals that Mathematica can't do, and we have to teach Mathematica how to do them. I got the first two, but I'm stuck with the u substitutions for these six. I know that I am supposed to make an attempt at a solution, but I've tried several different u substitutions to no avail. Sorry for the formatting.
Any help is appreciated

3.. ∫(x sin x ln(x sin x))/(1-Sqrt[1-Sqrt[x sin x]]) (x cos x + sin x)\[DifferentialD]x

4. ∫(cos x -x sin x) Sqrt[x cos x] Sqrt[1+x^3 cos^3 x]\[DifferentialD]x

5. ∫((1+ln x) Sqrt[1+x ln x])/Sqrt[x ln x] \[DifferentialD]x

6. ∫(1-2/x^3)Sqrt[1-(x+1/x^2)^2]\[DifferentialD]x

7. ∫(1+ln x)Sqrt[1-x^2(ln x)^2]\[DifferentialD]x

8. ∫x^x Sqrt[x ln x](1+ln x)\[DifferentialD]x

Note: My professor said that #8 will include a function called Erfi[x]. I have no idea what that is.

Again, any help is appreciated.
For #3, I've reduced it, with some algebra, to \frac{1}{4i}\int\frac{(xe^{ix}-xe^{-ix})(ln(x)+ln(e^{ix}-e^{-ix})-ln(2i))((x-i)e^{ix}+(x+i)e^{-ix})}{1-\sqrt{1-(\frac{1}{2}-\frac{i}{2})\sqrt{xe^{ix}-xe^{-ix}}}}dx. However, it looks a little...complex. [/lolsofunnymathpunsftw]

I think a u-sub of some complex exponential might be good, but I can't be sure until I try.
 
Thanks for all the help so far. I really appreciate it. This isn't due until Friday in U.S time, but I will try some of your suggestions.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 31 ·
2
Replies
31
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K