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
To specify an interval in Mathematica for the Integrate function, the correct syntax for the interval (0, Pi/2] is to use assumptions in the form of Assuming[{L > 0 && L <= Pi/2}, Integrate[...]]. The discussion clarifies that L is not the variable of integration but rather a parameter in the integrand, influencing the convergence of the integral. An example provided illustrates that certain integrals, like ∫_0^∞ e^(-kx) dx, converge only for specific values of k, emphasizing the importance of parameter values. Understanding how parameters affect convergence is crucial for accurate integration in Mathematica.
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 L. I think L 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

\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for k&amp;gt;0
 
gabbagabbahey said:
I don't think he is integrating over L. I think L 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

\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for k&amp;gt;0
<br /> <br /> Yes, exactly. L pertains to the integrand.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

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
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K