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

Similar Problems from Web Search

Share

\frac{\left(2-x\right)\left(x+2\right)}{x+2}-\frac{4}{x+2}
To add or subtract expressions, expand them to make their denominators the same. Multiply 2-x times \frac{x+2}{x+2}.
\frac{\left(2-x\right)\left(x+2\right)-4}{x+2}
Since \frac{\left(2-x\right)\left(x+2\right)}{x+2} and \frac{4}{x+2} have the same denominator, subtract them by subtracting their numerators.
\frac{2x+4-x^{2}-2x-4}{x+2}
Do the multiplications in \left(2-x\right)\left(x+2\right)-4.
\frac{-x^{2}}{x+2}
Combine like terms in 2x+4-x^{2}-2x-4.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{\left(2-x\right)\left(x+2\right)}{x+2}-\frac{4}{x+2})
To add or subtract expressions, expand them to make their denominators the same. Multiply 2-x times \frac{x+2}{x+2}.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{\left(2-x\right)\left(x+2\right)-4}{x+2})
Since \frac{\left(2-x\right)\left(x+2\right)}{x+2} and \frac{4}{x+2} have the same denominator, subtract them by subtracting their numerators.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{2x+4-x^{2}-2x-4}{x+2})
Do the multiplications in \left(2-x\right)\left(x+2\right)-4.
\frac{\mathrm{d}}{\mathrm{d}x}(\frac{-x^{2}}{x+2})
Combine like terms in 2x+4-x^{2}-2x-4.
\frac{\left(x^{1}+2\right)\frac{\mathrm{d}}{\mathrm{d}x}(-x^{2})-\left(-x^{2}\frac{\mathrm{d}}{\mathrm{d}x}(x^{1}+2)\right)}{\left(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^{1}+2\right)\times 2\left(-1\right)x^{2-1}-\left(-x^{2}x^{1-1}\right)}{\left(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^{1}+2\right)\left(-2\right)x^{1}-\left(-x^{2}x^{0}\right)}{\left(x^{1}+2\right)^{2}}
Do the arithmetic.
\frac{x^{1}\left(-2\right)x^{1}+2\left(-2\right)x^{1}-\left(-x^{2}x^{0}\right)}{\left(x^{1}+2\right)^{2}}
Expand using distributive property.
\frac{-2x^{1+1}+2\left(-2\right)x^{1}-\left(-x^{2}\right)}{\left(x^{1}+2\right)^{2}}
To multiply powers of the same base, add their exponents.
\frac{-2x^{2}-4x^{1}-\left(-x^{2}\right)}{\left(x^{1}+2\right)^{2}}
Do the arithmetic.
\frac{\left(-2-\left(-1\right)\right)x^{2}-4x^{1}}{\left(x^{1}+2\right)^{2}}
Combine like terms.
\frac{-x^{2}-4x^{1}}{\left(x^{1}+2\right)^{2}}
Subtract -1 from -2.
\frac{x\left(-x^{1}-4x^{0}\right)}{\left(x^{1}+2\right)^{2}}
Factor out x.
\frac{x\left(-x-4x^{0}\right)}{\left(x+2\right)^{2}}
For any term t, t^{1}=t.
\frac{x\left(-x-4\right)}{\left(x+2\right)^{2}}
For any term t except 0, t^{0}=1.