Evaluate
\frac{x^{2}+2x-2}{x^{2}-4}
Differentiate w.r.t. x
-\frac{2\left(x^{2}+2x+4\right)}{\left(x^{2}-4\right)^{2}}
Graph
Share
Copied to clipboard
\frac{x}{x-2}-\frac{2}{\left(x-2\right)\left(x+2\right)}
Factor x^{2}-4.
\frac{x\left(x+2\right)}{\left(x-2\right)\left(x+2\right)}-\frac{2}{\left(x-2\right)\left(x+2\right)}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of x-2 and \left(x-2\right)\left(x+2\right) is \left(x-2\right)\left(x+2\right). Multiply \frac{x}{x-2} times \frac{x+2}{x+2}.
\frac{x\left(x+2\right)-2}{\left(x-2\right)\left(x+2\right)}
Since \frac{x\left(x+2\right)}{\left(x-2\right)\left(x+2\right)} and \frac{2}{\left(x-2\right)\left(x+2\right)} have the same denominator, subtract them by subtracting their numerators.
\frac{x^{2}+2x-2}{\left(x-2\right)\left(x+2\right)}
Do the multiplications in x\left(x+2\right)-2.
\frac{x^{2}+2x-2}{x^{2}-4}
Expand \left(x-2\right)\left(x+2\right).
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x}{x-2}-\frac{2}{\left(x-2\right)\left(x+2\right)})
Factor x^{2}-4.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x\left(x+2\right)}{\left(x-2\right)\left(x+2\right)}-\frac{2}{\left(x-2\right)\left(x+2\right)})
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of x-2 and \left(x-2\right)\left(x+2\right) is \left(x-2\right)\left(x+2\right). Multiply \frac{x}{x-2} times \frac{x+2}{x+2}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x\left(x+2\right)-2}{\left(x-2\right)\left(x+2\right)})
Since \frac{x\left(x+2\right)}{\left(x-2\right)\left(x+2\right)} and \frac{2}{\left(x-2\right)\left(x+2\right)} have the same denominator, subtract them by subtracting their numerators.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x^{2}+2x-2}{\left(x-2\right)\left(x+2\right)})
Do the multiplications in x\left(x+2\right)-2.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x^{2}+2x-2}{x^{2}-4})
Consider \left(x-2\right)\left(x+2\right). Multiplication can be transformed into difference of squares using the rule: \left(a-b\right)\left(a+b\right)=a^{2}-b^{2}. Square 2.
\frac{\left(x^{2}-4\right)\frac{\mathrm{d}}{\mathrm{d}x}(x^{2}+2x^{1}-2)-\left(x^{2}+2x^{1}-2\right)\frac{\mathrm{d}}{\mathrm{d}x}(x^{2}-4)}{\left(x^{2}-4\right)^{2}}
For any two differentiable functions, the derivative of the quotient of two functions is the denominator times the derivative of the numerator minus the numerator times the derivative of the denominator, all divided by the denominator squared.
\frac{\left(x^{2}-4\right)\left(2x^{2-1}+2x^{1-1}\right)-\left(x^{2}+2x^{1}-2\right)\times 2x^{2-1}}{\left(x^{2}-4\right)^{2}}
The derivative of a polynomial is the sum of the derivatives of its terms. The derivative of a constant term is 0. The derivative of ax^{n} is nax^{n-1}.
\frac{\left(x^{2}-4\right)\left(2x^{1}+2x^{0}\right)-\left(x^{2}+2x^{1}-2\right)\times 2x^{1}}{\left(x^{2}-4\right)^{2}}
Simplify.
\frac{x^{2}\times 2x^{1}+x^{2}\times 2x^{0}-4\times 2x^{1}-4\times 2x^{0}-\left(x^{2}+2x^{1}-2\right)\times 2x^{1}}{\left(x^{2}-4\right)^{2}}
Multiply x^{2}-4 times 2x^{1}+2x^{0}.
\frac{x^{2}\times 2x^{1}+x^{2}\times 2x^{0}-4\times 2x^{1}-4\times 2x^{0}-\left(x^{2}\times 2x^{1}+2x^{1}\times 2x^{1}-2\times 2x^{1}\right)}{\left(x^{2}-4\right)^{2}}
Multiply x^{2}+2x^{1}-2 times 2x^{1}.
\frac{2x^{2+1}+2x^{2}-4\times 2x^{1}-4\times 2x^{0}-\left(2x^{2+1}+2\times 2x^{1+1}-2\times 2x^{1}\right)}{\left(x^{2}-4\right)^{2}}
To multiply powers of the same base, add their exponents.
\frac{2x^{3}+2x^{2}-8x^{1}-8x^{0}-\left(2x^{3}+4x^{2}-4x^{1}\right)}{\left(x^{2}-4\right)^{2}}
Simplify.
\frac{-2x^{2}-4x^{1}-8x^{0}}{\left(x^{2}-4\right)^{2}}
Combine like terms.
\frac{-2x^{2}-4x-8x^{0}}{\left(x^{2}-4\right)^{2}}
For any term t, t^{1}=t.
\frac{-2x^{2}-4x-8}{\left(x^{2}-4\right)^{2}}
For any term t except 0, t^{0}=1.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}