AngouriMath

Navigation

← Back to list of members

SolveAHyperbolicIntegrandAsATrigonometricOne​(AngouriMath.​Entity,​AngouriMath.​Entity.​Variable,​System.​Boolean,​System.​Boolean,​System.​Boolean,​System.​Boolean)

 Method (no overloads)

Summary

A hyperbolic integrand asked as a trigonometric one, by Osborn's rule: with L = i s,
cosh(L) = cos(s), sinh(L) = i sin(s), tanh(L) = i tan(s) and
coth(L) = -i cot(s), and dx = i ds/b for L = a + b x. The parser writes
the hyperbolic functions as exponentials -- cosh(L) is (e^L + e^(-L))/2 -- so
the trigonometric rules never read them: (b cosh(x) + c sinh(x) + sqrt(b^2 - c^2))^(1/2) timed out where (b cos(x) + c sin(x) + sqrt(b^2 + c^2))^(1/2) is answered at once, and
as (b cos(s) + i c sin(s) + sqrt(b^2 - c^2))^(1/2) it is the same question. The answer
in s is written back with s = -i L and checked against the integrand at
sampled points: a trigonometric answer derived for a real s can take a different
branch on the imaginary axis, and then the rule declines. Rubi's 6.7.1.
https://github.com/asc-community/AngouriMath/issues/233

Remarks

Only where a sine or cosine is among the quotients, every exponential of x is a whole power
of one e^L inside one of them, and x stands nowhere else. With
rationalToo false, only where the integrand is not a rational function of
e^L, which the exponential substitution answers in real terms; with it true, only those,
after that substitution has declined them. Asked only of the question asked, and last: the
question in s is not cheap to decline, and asked early it took time from the rules
that answer x/cosh(x)^(7/2) + 3/5 x sqrt(cosh(x)) and the like. Nor in the first pass
where the exponential substitution wants a sum over roots and the question in s, a
rational function of cos(s) or sin(s) alone, wants one too, by a factor below
the bar of degree above two: the second pass answers it in e^L, and the question in
s took seconds to decline, five gigabytes for 1/(1 + sinh(x)^3) against 0.2.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4862 pages online