MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

The same integraton, but different results

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47374] The same integraton, but different results
  • From: Kyungwon Chun <kwchun at kjist.ac.kr>
  • Date: Tue, 6 Apr 2004 11:22:16 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Greetings.

In the attached notebook, I tried to integrate some formula.
I think that the two integration should be the same.  But,
they produce different results.  The last one is correct.

Also, this integration seems to depend on the Mathematica
version.  I tried the integration at 4.2.  Can anybody explain
this incomprehensible results?

Thanks.


(************** Content-type: application/mathematica **************
                     CreatedBy='Mathematica 4.2'

                    Mathematica-Compatible Notebook

This notebook can be used with any Mathematica-compatible
application, such as Mathematica, MathReader or Publicon. The data
for the notebook starts with the line containing stars above.

To get the notebook into a Mathematica-compatible application, do
one of the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the
  application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing
the word CacheID, otherwise Mathematica-compatible applications may
try to use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info at wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from 
Wolfram Research.
*******************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      3372,         98]*)
(*NotebookOutlinePosition[      4004,        120]*)
(*  CellTagsIndexPosition[      3960,        116]*)
(*WindowFrame->Normal*)



Notebook[{

Cell[CellGroupData[{
Cell[BoxData[
    \(\[Sigma]x[x]\)], "Input"],

Cell[BoxData[
    \(\(-\[Epsilon]0\)\ \((\(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x - x0)\)\^2 + \
y0\^2)\)\ \[Epsilon]0\) - \(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x + x0)\)\^2 + y0\
\^2)\)\ \[Epsilon]0\))\)\)], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[{
    \(\(-\[Epsilon]0\)\ \((\(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x - x0)\)\^2 + \
y0\^2)\)\ \[Epsilon]0\) - \(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x + x0)\)\^2 + y0\
\^2)\)\ \[Epsilon]0\))\)\ \), "\[IndentingNewLine]", 
    \(\(% // Integrate[#, {x, 0, l}] &\) // 
      Limit[#, l \[Rule] \[Infinity]] &\)}], "Input"],

Cell[BoxData[
    \(\(-\[Epsilon]0\)\ \((\(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x - x0)\)\^2 + \
y0\^2)\)\ \[Epsilon]0\) - \(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x + x0)\)\^2 + y0\
\^2)\)\ \[Epsilon]0\))\)\)], "Output"],

Cell[BoxData[
    \(\(2\ \[Lambda]\ ArcTan[y0\/x0]\)\/\[Pi]\)], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[{
    \(\(-\[Epsilon]0\)\ \((\(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x - x0)\)\^2 + \
y0\^2)\)\ \[Epsilon]0\) - \(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x + x0)\)\^2 + y0\
\^2)\)\ \[Epsilon]0\))\)\ \), "\[IndentingNewLine]", 
    \(\(\(% // Simplify\) // Integrate[#, {x, 0, l}] &\) // 
      Limit[#, l \[Rule] \[Infinity]] &\)}], "Input"],

Cell[BoxData[
    \(\(-\[Epsilon]0\)\ \((\(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x - x0)\)\^2 + \
y0\^2)\)\ \[Epsilon]0\) - \(y0\ \[Lambda]\)\/\(\[Pi]\ \((\((x + x0)\)\^2 + y0\
\^2)\)\ \[Epsilon]0\))\)\)], "Output"],

Cell[BoxData[
    \(\(-\(\(2\ \[Lambda]\ ArcTan[x0\/y0]\)\/\[Pi]\)\)\)], "Output"]
}, Open  ]]
},
FrontEndVersion->"4.2 for X",
ScreenRectangle->{{0, 1280}, {0, 1024}},
WindowSize->{520, 600},
WindowMargins->{{Automatic, 123}, {Automatic, 127}}
]

(*******************************************************************
Cached data follows.  If you edit this Notebook file directly, not
using Mathematica, you must remove the line containing CacheID at
the top of  the file.  The cache data will then be recreated when
you save this file from within Mathematica.
*******************************************************************)

(*CellTagsOutline
CellTagsIndex->{}
*)

(*CellTagsIndex
CellTagsIndex->{}
*)

(*NotebookFileOutline
Notebook[{

Cell[CellGroupData[{
Cell[1776, 53, 45, 1, 27, "Input"],
Cell[1824, 56, 209, 3, 48, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[2070, 64, 324, 5, 66, "Input"],
Cell[2397, 71, 209, 3, 48, "Output"],
Cell[2609, 76, 73, 1, 51, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[2719, 82, 340, 5, 66, "Input"],
Cell[3062, 89, 209, 3, 48, "Output"],
Cell[3274, 94, 82, 1, 54, "Output"]
}, Open  ]]
}
]
*)



(*******************************************************************
End of Mathematica Notebook file.
*******************************************************************)


  • Prev by Date: Re: Assigning elements to a matrix
  • Next by Date: q-calculus
  • Previous by thread: Comparison of Mathematica on Various Computers
  • Next by thread: q-calculus