1 / | | __________ | / 2 | \/ a - b*x dx | / 0
PiecewiseRule(subfunctions=[(SqrtQuadraticRule(a=a, b=0, c=-b, context=sqrt(a - b*x**2), symbol=x), Ne(-b, 0)), (ConstantRule(constant=sqrt(a), context=sqrt(a), symbol=x), True)], context=sqrt(a - b*x**2), symbol=x)
Now simplify:
Add the constant of integration:
The answer is:
/ // __________ / __________\ \ | || / 2 | ____ / 2 | | | __________ ||x*\/ a - b*x a*log\-2*b*x + 2*\/ -b *\/ a - b*x / | | / 2 ||--------------- + -------------------------------------- for b != 0| | \/ a - b*x dx = C + |< 2 ____ | | || 2*\/ -b | / || | || ___ | \\ x*\/ a otherwise /
1 / | | / ___________ | | / 2 | | ___ / b*x | |I*\/ a * / -1 + ---- ___ 2 | | \/ a I*\/ a I*b*x 2 |b| | |------------------------ - ------------------------------------------ + ------------------------ for x *|-| > 1 | | 2 _____________ ______________ ___________ |a| | | / ___ / ___ / 2 | | / x*\/ b / x*\/ b ___ / b*x | | 2* / 1 + ------- * / -1 + ------- 2*\/ a * / -1 + ---- | < / ___ / ___ \/ a dx | | \/ \/ a \/ \/ a | | | | ___ 2 2 2 4 | | \/ a b*x 3*b*x b *x | | --------------- + --------------------- - ----------------------- - -------------------- otherwise | | __________ 3/2 __________ 3/2 | | / 2 / 2\ / 2 / 2\ | | / b*x ___ | b*x | ___ / b*x 3/2 | b*x | | | / 1 - ---- 2*\/ a *|1 - ----| 2*\/ a * / 1 - ---- 2*a *|1 - ----| | \ \/ a \ a / \/ a \ a / | / 0
=
1 / | | / ___________ | | / 2 | | ___ / b*x | |I*\/ a * / -1 + ---- ___ 2 | | \/ a I*\/ a I*b*x 2 |b| | |------------------------ - ------------------------------------------ + ------------------------ for x *|-| > 1 | | 2 _____________ ______________ ___________ |a| | | / ___ / ___ / 2 | | / x*\/ b / x*\/ b ___ / b*x | | 2* / 1 + ------- * / -1 + ------- 2*\/ a * / -1 + ---- | < / ___ / ___ \/ a dx | | \/ \/ a \/ \/ a | | | | ___ 2 2 2 4 | | \/ a b*x 3*b*x b *x | | --------------- + --------------------- - ----------------------- - -------------------- otherwise | | __________ 3/2 __________ 3/2 | | / 2 / 2\ / 2 / 2\ | | / b*x ___ | b*x | ___ / b*x 3/2 | b*x | | | / 1 - ---- 2*\/ a *|1 - ----| 2*\/ a * / 1 - ---- 2*a *|1 - ----| | \ \/ a \ a / \/ a \ a / | / 0
Use the examples entering the upper and lower limits of integration.