Skip to main content
Evaluate
Tick mark Image
Differentiate w.r.t. x
Tick mark Image
Graph

Similar Problems from Web Search

Share

\frac{x\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)}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of x+2 and x-1 is \left(x-1\right)\left(x+2\right). Multiply \frac{x}{x+2} times \frac{x-1}{x-1}. Multiply \frac{2}{x-1} times \frac{x+2}{x+2}.
\frac{x\left(x-1\right)-2\left(x+2\right)}{\left(x-1\right)\left(x+2\right)}
Since \frac{x\left(x-1\right)}{\left(x-1\right)\left(x+2\right)} and \frac{2\left(x+2\right)}{\left(x-1\right)\left(x+2\right)} have the same denominator, subtract them by subtracting their numerators.
\frac{x^{2}-x-2x-4}{\left(x-1\right)\left(x+2\right)}
Do the multiplications in x\left(x-1\right)-2\left(x+2\right).
\frac{x^{2}-3x-4}{\left(x-1\right)\left(x+2\right)}
Combine like terms in x^{2}-x-2x-4.
\frac{x^{2}-3x-4}{x^{2}+x-2}
Expand \left(x-1\right)\left(x+2\right).