Evaluate
-\frac{x^{2}+xy-x+y}{x+y}
Expand
-\frac{x^{2}+xy-x+y}{x+y}
Share
Copied to clipboard
\frac{xy}{-y}+\frac{x-y}{x+y}
Factor -y.
\frac{xy\left(-1\right)\left(x+y\right)}{y\left(x+y\right)}+\frac{\left(x-y\right)y}{y\left(x+y\right)}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of -y and x+y is y\left(x+y\right). Multiply \frac{xy}{-y} times \frac{-\left(x+y\right)}{-\left(x+y\right)}. Multiply \frac{x-y}{x+y} times \frac{y}{y}.
\frac{xy\left(-1\right)\left(x+y\right)+\left(x-y\right)y}{y\left(x+y\right)}
Since \frac{xy\left(-1\right)\left(x+y\right)}{y\left(x+y\right)} and \frac{\left(x-y\right)y}{y\left(x+y\right)} have the same denominator, add them by adding their numerators.
\frac{-x^{2}y-xy^{2}+xy-y^{2}}{y\left(x+y\right)}
Do the multiplications in xy\left(-1\right)\left(x+y\right)+\left(x-y\right)y.
\frac{y\left(-x^{2}-xy+x-y\right)}{y\left(x+y\right)}
Factor the expressions that are not already factored in \frac{-x^{2}y-xy^{2}+xy-y^{2}}{y\left(x+y\right)}.
\frac{-x^{2}-xy+x-y}{x+y}
Cancel out y in both numerator and denominator.
\frac{xy}{-y}+\frac{x-y}{x+y}
Factor -y.
\frac{xy\left(-1\right)\left(x+y\right)}{y\left(x+y\right)}+\frac{\left(x-y\right)y}{y\left(x+y\right)}
To add or subtract expressions, expand them to make their denominators the same. Least common multiple of -y and x+y is y\left(x+y\right). Multiply \frac{xy}{-y} times \frac{-\left(x+y\right)}{-\left(x+y\right)}. Multiply \frac{x-y}{x+y} times \frac{y}{y}.
\frac{xy\left(-1\right)\left(x+y\right)+\left(x-y\right)y}{y\left(x+y\right)}
Since \frac{xy\left(-1\right)\left(x+y\right)}{y\left(x+y\right)} and \frac{\left(x-y\right)y}{y\left(x+y\right)} have the same denominator, add them by adding their numerators.
\frac{-x^{2}y-xy^{2}+xy-y^{2}}{y\left(x+y\right)}
Do the multiplications in xy\left(-1\right)\left(x+y\right)+\left(x-y\right)y.
\frac{y\left(-x^{2}-xy+x-y\right)}{y\left(x+y\right)}
Factor the expressions that are not already factored in \frac{-x^{2}y-xy^{2}+xy-y^{2}}{y\left(x+y\right)}.
\frac{-x^{2}-xy+x-y}{x+y}
Cancel out y 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}