Evaluate
\frac{x-5}{x+2}
Expand
\frac{x-5}{x+2}
Graph
Share
Copied to clipboard
\frac{\frac{\left(x-1\right)\left(x-2\right)}{x-2}-\frac{12}{x-2}}{x+6+\frac{16}{x-2}}
To add or subtract expressions, expand them to make their denominators the same. Multiply x-1 times \frac{x-2}{x-2}.
\frac{\frac{\left(x-1\right)\left(x-2\right)-12}{x-2}}{x+6+\frac{16}{x-2}}
Since \frac{\left(x-1\right)\left(x-2\right)}{x-2} and \frac{12}{x-2} have the same denominator, subtract them by subtracting their numerators.
\frac{\frac{x^{2}-2x-x+2-12}{x-2}}{x+6+\frac{16}{x-2}}
Do the multiplications in \left(x-1\right)\left(x-2\right)-12.
\frac{\frac{x^{2}-3x-10}{x-2}}{x+6+\frac{16}{x-2}}
Combine like terms in x^{2}-2x-x+2-12.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{\left(x+6\right)\left(x-2\right)}{x-2}+\frac{16}{x-2}}
To add or subtract expressions, expand them to make their denominators the same. Multiply x+6 times \frac{x-2}{x-2}.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{\left(x+6\right)\left(x-2\right)+16}{x-2}}
Since \frac{\left(x+6\right)\left(x-2\right)}{x-2} and \frac{16}{x-2} have the same denominator, add them by adding their numerators.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{x^{2}-2x+6x-12+16}{x-2}}
Do the multiplications in \left(x+6\right)\left(x-2\right)+16.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{x^{2}+4x+4}{x-2}}
Combine like terms in x^{2}-2x+6x-12+16.
\frac{\left(x^{2}-3x-10\right)\left(x-2\right)}{\left(x-2\right)\left(x^{2}+4x+4\right)}
Divide \frac{x^{2}-3x-10}{x-2} by \frac{x^{2}+4x+4}{x-2} by multiplying \frac{x^{2}-3x-10}{x-2} by the reciprocal of \frac{x^{2}+4x+4}{x-2}.
\frac{x^{2}-3x-10}{x^{2}+4x+4}
Cancel out x-2 in both numerator and denominator.
\frac{\left(x-5\right)\left(x+2\right)}{\left(x+2\right)^{2}}
Factor the expressions that are not already factored.
\frac{x-5}{x+2}
Cancel out x+2 in both numerator and denominator.
\frac{\frac{\left(x-1\right)\left(x-2\right)}{x-2}-\frac{12}{x-2}}{x+6+\frac{16}{x-2}}
To add or subtract expressions, expand them to make their denominators the same. Multiply x-1 times \frac{x-2}{x-2}.
\frac{\frac{\left(x-1\right)\left(x-2\right)-12}{x-2}}{x+6+\frac{16}{x-2}}
Since \frac{\left(x-1\right)\left(x-2\right)}{x-2} and \frac{12}{x-2} have the same denominator, subtract them by subtracting their numerators.
\frac{\frac{x^{2}-2x-x+2-12}{x-2}}{x+6+\frac{16}{x-2}}
Do the multiplications in \left(x-1\right)\left(x-2\right)-12.
\frac{\frac{x^{2}-3x-10}{x-2}}{x+6+\frac{16}{x-2}}
Combine like terms in x^{2}-2x-x+2-12.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{\left(x+6\right)\left(x-2\right)}{x-2}+\frac{16}{x-2}}
To add or subtract expressions, expand them to make their denominators the same. Multiply x+6 times \frac{x-2}{x-2}.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{\left(x+6\right)\left(x-2\right)+16}{x-2}}
Since \frac{\left(x+6\right)\left(x-2\right)}{x-2} and \frac{16}{x-2} have the same denominator, add them by adding their numerators.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{x^{2}-2x+6x-12+16}{x-2}}
Do the multiplications in \left(x+6\right)\left(x-2\right)+16.
\frac{\frac{x^{2}-3x-10}{x-2}}{\frac{x^{2}+4x+4}{x-2}}
Combine like terms in x^{2}-2x+6x-12+16.
\frac{\left(x^{2}-3x-10\right)\left(x-2\right)}{\left(x-2\right)\left(x^{2}+4x+4\right)}
Divide \frac{x^{2}-3x-10}{x-2} by \frac{x^{2}+4x+4}{x-2} by multiplying \frac{x^{2}-3x-10}{x-2} by the reciprocal of \frac{x^{2}+4x+4}{x-2}.
\frac{x^{2}-3x-10}{x^{2}+4x+4}
Cancel out x-2 in both numerator and denominator.
\frac{\left(x-5\right)\left(x+2\right)}{\left(x+2\right)^{2}}
Factor the expressions that are not already factored.
\frac{x-5}{x+2}
Cancel out x+2 in both numerator and denominator.
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}