Evaluate
\frac{2\left(2-x\right)}{\left(1-x\right)\left(x+2\right)}
Differentiate w.r.t. x
\frac{2x\left(4-x\right)}{\left(\left(x-1\right)\left(x+2\right)\right)^{2}}
Graph
Share
Copied to clipboard
\frac{x}{\left(x+1\right)\left(x+2\right)}+\frac{x}{\left(x-1\right)\left(x+2\right)}+\frac{2}{1-x^{2}}
Factor x^{2}+3x+2. Factor x^{2}+x-2.
\frac{x\left(x-1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of \left(x+1\right)\left(x+2\right) and \left(x-1\right)\left(x+2\right) is \left(x-1\right)\left(x+1\right)\left(x+2\right). Multiply \frac{x}{\left(x+1\right)\left(x+2\right)} times \frac{x-1}{x-1}. Multiply \frac{x}{\left(x-1\right)\left(x+2\right)} times \frac{x+1}{x+1}.
\frac{x\left(x-1\right)+x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}}
Since \frac{x\left(x-1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} and \frac{x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} have the same denominator, add them by adding their numerators.
\frac{x^{2}-x+x^{2}+x}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}}
Do the multiplications in x\left(x-1\right)+x\left(x+1\right).
\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}}
Combine like terms in x^{2}-x+x^{2}+x.
\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{\left(x-1\right)\left(-x-1\right)}
Factor 1-x^{2}.
\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of \left(x-1\right)\left(x+1\right)\left(x+2\right) and \left(x-1\right)\left(-x-1\right) is \left(x-1\right)\left(x+1\right)\left(x+2\right). Multiply \frac{2}{\left(x-1\right)\left(-x-1\right)} times \frac{-\left(x+2\right)}{-\left(x+2\right)}.
\frac{2x^{2}+2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}
Since \frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} and \frac{2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} have the same denominator, add them by adding their numerators.
\frac{2x^{2}-2x-4}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}
Do the multiplications in 2x^{2}+2\left(-1\right)\left(x+2\right).
\frac{2\left(x-2\right)\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}
Factor the expressions that are not already factored in \frac{2x^{2}-2x-4}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}.
\frac{2\left(x-2\right)}{\left(x-1\right)\left(x+2\right)}
Cancel out x+1 in both numerator and denominator.
\frac{2\left(x-2\right)}{x^{2}+x-2}
Expand \left(x-1\right)\left(x+2\right).
\frac{2x-4}{x^{2}+x-2}
Use the distributive property to multiply 2 by x-2.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x}{\left(x+1\right)\left(x+2\right)}+\frac{x}{\left(x-1\right)\left(x+2\right)}+\frac{2}{1-x^{2}})
Factor x^{2}+3x+2. Factor x^{2}+x-2.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x\left(x-1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}})
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of \left(x+1\right)\left(x+2\right) and \left(x-1\right)\left(x+2\right) is \left(x-1\right)\left(x+1\right)\left(x+2\right). Multiply \frac{x}{\left(x+1\right)\left(x+2\right)} times \frac{x-1}{x-1}. Multiply \frac{x}{\left(x-1\right)\left(x+2\right)} times \frac{x+1}{x+1}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x\left(x-1\right)+x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}})
Since \frac{x\left(x-1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} and \frac{x\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} have the same denominator, add them by adding their numerators.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{x^{2}-x+x^{2}+x}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}})
Do the multiplications in x\left(x-1\right)+x\left(x+1\right).
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{1-x^{2}})
Combine like terms in x^{2}-x+x^{2}+x.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2}{\left(x-1\right)\left(-x-1\right)})
Factor 1-x^{2}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}+\frac{2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)})
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of \left(x-1\right)\left(x+1\right)\left(x+2\right) and \left(x-1\right)\left(-x-1\right) is \left(x-1\right)\left(x+1\right)\left(x+2\right). Multiply \frac{2}{\left(x-1\right)\left(-x-1\right)} times \frac{-\left(x+2\right)}{-\left(x+2\right)}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x^{2}+2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)})
Since \frac{2x^{2}}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} and \frac{2\left(-1\right)\left(x+2\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)} have the same denominator, add them by adding their numerators.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x^{2}-2x-4}{\left(x-1\right)\left(x+1\right)\left(x+2\right)})
Do the multiplications in 2x^{2}+2\left(-1\right)\left(x+2\right).
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2\left(x-2\right)\left(x+1\right)}{\left(x-1\right)\left(x+1\right)\left(x+2\right)})
Factor the expressions that are not already factored in \frac{2x^{2}-2x-4}{\left(x-1\right)\left(x+1\right)\left(x+2\right)}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2\left(x-2\right)}{\left(x-1\right)\left(x+2\right)})
Cancel out x+1 in both numerator and denominator.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x-4}{\left(x-1\right)\left(x+2\right)})
Use the distributive property to multiply 2 by x-2.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x-4}{x^{2}+x-2})
Use the distributive property to multiply x-1 by x+2 and combine like terms.
\frac{\left(x^{2}+x^{1}-2\right)\frac{\mathrm{d}}{\mathrm{d}x}(2x^{1}-4)-\left(2x^{1}-4\right)\frac{\mathrm{d}}{\mathrm{d}x}(x^{2}+x^{1}-2)}{\left(x^{2}+x^{1}-2\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}+x^{1}-2\right)\times 2x^{1-1}-\left(2x^{1}-4\right)\left(2x^{2-1}+x^{1-1}\right)}{\left(x^{2}+x^{1}-2\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}+x^{1}-2\right)\times 2x^{0}-\left(2x^{1}-4\right)\left(2x^{1}+x^{0}\right)}{\left(x^{2}+x^{1}-2\right)^{2}}
Simplify.
\frac{x^{2}\times 2x^{0}+x^{1}\times 2x^{0}-2\times 2x^{0}-\left(2x^{1}-4\right)\left(2x^{1}+x^{0}\right)}{\left(x^{2}+x^{1}-2\right)^{2}}
Multiply x^{2}+x^{1}-2 times 2x^{0}.
\frac{x^{2}\times 2x^{0}+x^{1}\times 2x^{0}-2\times 2x^{0}-\left(2x^{1}\times 2x^{1}+2x^{1}x^{0}-4\times 2x^{1}-4x^{0}\right)}{\left(x^{2}+x^{1}-2\right)^{2}}
Multiply 2x^{1}-4 times 2x^{1}+x^{0}.
\frac{2x^{2}+2x^{1}-2\times 2x^{0}-\left(2\times 2x^{1+1}+2x^{1}-4\times 2x^{1}-4x^{0}\right)}{\left(x^{2}+x^{1}-2\right)^{2}}
To multiply powers of the same base, add their exponents.
\frac{2x^{2}+2x^{1}-4x^{0}-\left(4x^{2}+2x^{1}-8x^{1}-4x^{0}\right)}{\left(x^{2}+x^{1}-2\right)^{2}}
Simplify.
\frac{-2x^{2}+8x^{1}}{\left(x^{2}+x^{1}-2\right)^{2}}
Combine like terms.
\frac{-2x^{2}+8x}{\left(x^{2}+x-2\right)^{2}}
For any term t, t^{1}=t.
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}