Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Oh, those complex values!!!

  • To: mathgroup at
  • Subject: [mg72068] Oh, those complex values!!!
  • From: aaronfude at
  • Date: Mon, 11 Dec 2006 04:54:38 -0500 (EST)

Integrating a real function, getting complex values again. How to get
the correct answer here? How to systematically avoid this pitfall?

f=x Log[a+b x+Sqrt[c+2d x+x^2]];
t = Assuming[c>d^2&&a>0&&b>0,Integrate[f, x]];

9.50705\[InvisibleSpace]-29.7626 \[ImaginaryI]

NIntegrate[f/.a\[Rule]2/.b\[Rule]2/.c\[Rule]10/.d\[Rule]1, {x, 0, 1}]

Many thanks in advance!

Aaron Fude

  • Prev by Date: Re: How to plot a parellal line
  • Next by Date: it seems like InequalityPlot can only handle a color for the PlotStyle... nothing more complicated... (?)
  • Previous by thread: solution of three variables
  • Next by thread: RE: Oh, those complex values!!!