2

I am doing the derivative of

$$f(x) = \frac{x^2 -4x +3}{x^2-1}$$

So my result is the following

$$f'(x) = \frac{4x^2 -8x +4}{(x^2-1)^2}$$

I am sure the answer is correct, but in my solutions book and In Wolfram Alpha they simplify until

$$f'(x) = \frac{4}{(x+1)^2}$$

And I don't know why, which steps are they doing?

jsertx
  • 125
  • The result of wolfram alpha is $f'(x)=\large{\frac4{(x+1)^2}}$. See here: http://www.wolframalpha.com/input/?i=differentiate+%5Cfrac%7Bx%5E2+-4x+%2B3%7D%7Bx%5E2-1%7D – callculus42 Jun 04 '16 at 15:42

3 Answers3

2

$$\frac{x^2 -4x +3}{x^2-1}=\dfrac{(x-3)(x-1)}{(x+1)(x-1)}$$

This is undefined if $x-1=0$

Otherwise. the expression reduces to

$$\dfrac{x-3}{x+1}=\dfrac{x+1-4}{x+1}=?$$

1

You are correct. Now note that $$\frac{4x^2-8x+4}{(x^2-1)^2}=\frac{4(x^2-2x+1)}{((x-1)(x+1))^2}=\frac{4(x-1)^2}{(x-1)^2(x+1)^2}=\frac{4}{\color{red}{(x+1)^2}}$$ This is not $$\frac{4}{(x^2-1)^2}$$

mathlove
  • 139,939
0

Hint. Observe that, for $x\neq1$, $$ f(x) = \frac{x^2 -4x +3}{x^2-1}= \frac{(x-1)(x-3)}{(x-1)(x+1)}=\frac{x-3}{x+1}. $$

Olivier Oloa
  • 120,989