Different results with quotient rule

  • Thread starter Thread starter mike82140
  • Start date Start date
  • Tags Tags
    quotient
mike82140
Messages
4
Reaction score
0
I have been trying to figure out the derivative of (X²-1)/X. When I use the quotient rule, the result I get is 1-1/X². However, when I simplify the expression first, then take the derivative, I get 1+1/X²

Why are the results different?
 
Physics news on Phys.org
Hypersphere said:
I get the same answer using both methods. Are you sure you include all terms in the quotient rule? http://en.wikipedia.org/wiki/Quotient_rule

Can you show how you evaluate it? I tried both ways, but get different results.
 
Alright, for a function
f(x) = \frac{g(x)}{h(x)}
the quotient rule says
f'(x) = \frac{g'(x)h(x)-g(x)h'(x)}{h^2(x)}

In your case, g(x)=x^2-1 and h(x)=x. Thus g'(x)=2x and h'(x)=1. Then you get
\frac{\mathrm{d}}{\mathrm{dx}}\frac{x^2-1}{x}=\frac{2x\cdot x - \left( x^2 -1 \right) \cdot 1}{x^2}=\frac{2x^2-x^2+1}{x^2}=1+\frac{1}{x^2}
Are you sure you included the g'(x) term?

Simplifying first,
\frac{\mathrm{d}}{\mathrm{dx}}\frac{x^2-1}{x} = \frac{\mathrm{d}}{\mathrm{dx}} \left( x - \frac{1}{x} \right) = 1- \frac{-1}{x^2}=1+\frac{1}{x^2}
 
Where did +1 come from when you were multiplying x²-1 with 1?
 
mike82140 said:
Where did +1 come from when you were multiplying x²-1 with 1?

It was also multiplied by -1, from the quotient rule formula.
 
Hypersphere said:
It was also multiplied by -1, from the quotient rule formula.

I'm sorry for asking so many questions, and this may sound stupid, but, what -1?

Edit: It appears as though I have made a mistake. The -1 is the minus part that is in front of the x²-1, so the negative, or minus, distributes itself.

Thank you for the help, I appreciate it.
 
mike82140 said:
I'm sorry for asking so many questions, and this may sound stupid, but, what -1?

You see the minus sign in front of \left( x^2 -1 \right) \cdot 1, right? That is just short notation for

- \left( x^2 -1 \right) \cdot 1=\left( -1 \right) \cdot \left( x^2 -1 \right)= (-1) \cdot x^2 + (-1) \cdot (-1) = -x^2+1

Agreed? Or are you pulling my leg here?

EDIT: Ah, good. I was almost giving up for a while there.
 
Look at the formula for the quotient rule.

If h(x) = x, what is h'(x)?
 
Back
Top