Skip to main content
Evaluate
Tick mark Image
Expand
Tick mark Image
Graph

Similar Problems from Web Search

Share

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