Sub topic 6
Simplifying Complex Fractions
Prerequisites and the main idea
Assume you can factor polynomials, add ordinary fractions, and solve equations. A complex fraction is a fraction that contains one or more fractions in its numerator, denominator, or both.
For example,
\[ \frac{\frac{1}{x}+\frac{1}{y}}{\frac{1}{x}-\frac{1}{y}} \]
is complex because its numerator and denominator are themselves fractions.
The most reliable method is to multiply the entire complex fraction by the least common denominator (LCD) of all the small fractions. This clears the smaller denominators at once.
Method: multiply by the LCD
Consider
\[ \frac{\frac{1}{x}+\frac{1}{y}}{\frac{1}{x}-\frac{1}{y}}. \]
The small denominators are \(x\) and \(y\), so the LCD is \(xy\). Multiply both the numerator and denominator of the large fraction by \(xy\):
\[ \frac{xy\left(\frac{1}{x}+\frac{1}{y}\right)} {xy\left(\frac{1}{x}-\frac{1}{y}\right)}. \]
Distribute \(xy\) inside each part:
\[ \frac{y+x}{y-x}. \]
Therefore,
\[ \boxed{\frac{x+y}{y-x}}. \]
The original expression requires \(x\ne0\), \(y\ne0\), and \(y-x\ne0\). The last restriction occurs because the original denominator,
\[ \frac{1}{x}-\frac{1}{y}, \]
cannot equal zero.
A polynomial example
Simplify
\[ \frac{\frac{2}{x+1}+\frac{3}{x-1}} {\frac{1}{x^2-1}}. \]
Since \(x^2-1=(x+1)(x-1)\), the LCD is \(x^2-1\). Multiply the top and bottom by this LCD:
\[ \frac{(x^2-1)\left(\frac{2}{x+1}+\frac{3}{x-1}\right)} {(x^2-1)\left(\frac{1}{x^2-1}\right)}. \]
The denominator becomes \(1\). The numerator becomes
\[ 2(x-1)+3(x+1) =2x-2+3x+3 =5x+1. \]
Thus the simplified expression is
\[ \boxed{5x+1}. \]
However, the original expression is undefined when \(x=1\) or \(x=-1\). Keep these excluded values even though they are no longer visible in the simplified result.
Checking with a computer algebra system
SymPy can combine and cancel rational expressions:
from sympy import symbols, cancel
x, y = symbols("x y")
expr = (1/x + 1/y) / (1/x - 1/y)
print(cancel(expr)) # (x + y)/(y - x)A computer algebra system may simplify the formula, but it does not always preserve the original domain restrictions in the displayed result. Check those restrictions separately.
Exercise
Simplify \(\frac{\frac{1}{x}+\frac{2}{x+1}}{\frac{1}{x+1}}\), and state the excluded values.
Show answer
The LCD is \(x(x+1)\). Clearing the small denominators gives \(x+1+2x=3x+1\). The answer is \(3x+1\), with \(x\ne0\) and \(x\ne-1\).