Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2665 > unrolled thread

Re: Simple integral

Started byBob Hanlon <hanlonr@cox.net>
First post2011-05-23 12:40 +0000
Last post2011-05-23 12:40 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Simple integral Bob Hanlon <hanlonr@cox.net> - 2011-05-23 12:40 +0000

#2665 — Re: Simple integral

FromBob Hanlon <hanlonr@cox.net>
Date2011-05-23 12:40 +0000
SubjectRe: Simple integral
Message-ID<irdkko$13d$1@smc.vnet.net>
Integrate[1/(x^2 + b x + c), x]

(2*ArcTan[(b + 2*x)/Sqrt[-b^2 + 4*c]])/Sqrt[-b^2 + 4*c]

Simplify[% // TrigToExp, b^2 - 4 c > 0]

(Log[-b + Sqrt[b^2 - 4*c] - 2*x] - Log[b + Sqrt[b^2 - 4*c] + 2*x])/
 Sqrt[b^2 - 4*c]

FullSimplify[%, b^2 - 4 c > 0]

-((2*ArcTanh[(b + 2*x)/Sqrt[b^2 - 4*c]])/Sqrt[b^2 - 4*c])


Bob Hanlon

---- Mariano Pierantozzi <mariano.pierantozzi@gmail.com> wrote: 

=============
Hi,
I've got some problem studing this simple integral:
Integrate[1/(x^2 + b x + c), x].
The Mathematica solution is:
(2 ArcTan[(b + 2 x)/Sqrt[-b^2 + 4 c]])/Sqrt[-b^2 + 4 c]

The problem is that my secon order polinomial have two real solutions, so my
delta (-b^2 + 4 c) is greater than zero. In this case the denominator of the
solution does not exist or exist in complex field, but my x is a volume...
I try in this way
Integrate[1/(x^2 + b x + c), x, Assumptions -> {-b^2 + 4 c < 0}], but
nothing!
I can't trasform my arcotangent in two log.
In summary I would like to have such a solution:
Integrate[1/(x^2 + 5 x + 6), x]
Log[2 + x] - Log[3 + x]
but in general form.
Sorry for my english!
Mariano Pierantozzi
PhD Student
Energy Engineering

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web