# Nspire CAS spitting out a wrong answer?

Consider the integral:

$\int \frac{8x+11}{(2x+3)(x+1)}$

My Nspire CAS tells me that the answer to this is $ln\left((x+1)^3 \cdot (2x+3)\right)$

(replace parentheses with absolute value signs, I don't know how to make those in tex).

This is not the correct answer according to my calculations and Wolfram Alpha http://www.wolframalpha.com/input/?i=integrate+%288x%2B11%29%2F%28%282x%2B3%29%28x%2B1%29%29

Any ideas what's going on?

-
Absolute value is ridiculous in LaTeX. It's \lvert expression \rvert. Of course, you could do any number of things, but purists always prefer this method. –  Trancot Nov 29 '13 at 9:58
Wolfram alpha tells you the same - if you check the footer, it defines log as the natural logarithm, i.e. ln. (Still a funny way to write it) Then: 3log(x+1) + log(2x+3) = log((x+1)^3) + log(2x+3) = log((x+1)^3(2x+3) –  DetlevCM Nov 29 '13 at 12:57

HINT:

$$\frac{8x+11}{(2x+3)(x+1)}=\frac A{2x+3}+\frac B{x+1}$$

Do you know $\displaystyle \ln a+\ln b=\ln ab$ and consequently $\displaystyle c\cdot\ln a=\ln (a^c)$ (assuming if each logarithm is defined) ?

-
Yes, I see that now. Thank you. –  Paze Nov 29 '13 at 9:59
Hear, hear! Calculators, boo! –  Trancot Nov 29 '13 at 9:59

$$\log ((x+1)^3 (2x+3)) = 3\log(x+1) + \log(2x+3)$$