How to Specify an Interval in Mathematica for the Integrate Function?

  • Thread starter Thread starter BCox
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary

Homework Help Overview

The discussion revolves around using the Integrate function in Mathematica, specifically focusing on how to specify an interval of (0, Pi/2] for a variable L within the context of integration.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore how to correctly define the interval for L in Mathematica, with one suggesting the use of assumptions in the Integrate function. Others question the impact of including 0 in the integration and clarify the role of L as a parameter in the integrand.

Discussion Status

Some participants have provided guidance on using assumptions to define the interval, while others are examining the implications of the parameter L on the convergence of the integral. Multiple interpretations of the problem are being discussed without a clear consensus.

Contextual Notes

There is uncertainty regarding the correct syntax for specifying the interval in Mathematica, as well as how the inclusion of certain values affects the integral's convergence.

BCox
Messages
16
Reaction score
0
Hello:

I would like to use Mathematica Integrate function. But how do I specify the following interval

(0 , Pi/2 ]

?

When I write

L \[Element] (0, Pi/2]

It simply bolds ( and ] in orange in error.

How do I get Mathematica to recognize that for the integrand, my value L is in (0, Pi/2]?
 
Physics news on Phys.org
Try this:

Code:
Assuming[{L>0&&L<=pi/2},Integrate[...]]
 
i don't understand how including 0 in your integration would change the answer anyhow.. its an integration!
 
elduderino said:
i don't understand how including 0 in your integration would change the answer anyhow.. its an integration!

I don't think he is integrating over [itex]L[/itex]. I think [itex]L[/itex] is a parameter that occurs in the integrand, and its value affects whether the integral converges, and to which value.

A simple example is the integral

[tex]\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for [itex]k>0[/itex][/tex]
 
gabbagabbahey said:
I don't think he is integrating over [itex]L[/itex]. I think [itex]L[/itex] is a parameter that occurs in the integrand, and its value affects whether the integral converges, and to which value.

A simple example is the integral

[tex]\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for [itex]k>0[/itex][/tex]
[tex] <br /> Yes, exactly. L pertains to the integrand.[/tex]
 

Similar threads

Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K