Shape an expressionLesson 11 of 48 · 7 min
Build a common denominator
Combine rational terms into one inspectable fraction.
Maths refresher: Common denominators
To add fractions, express them using the same denominator and add their numerators.
The new numerator is . Values and remain excluded because the original terms are undefined there.
Combining fractions is useful when you want a single numerator, denominator or residual. together constructs a common-denominator representation. It serves a different representation goal from partial-fraction decomposition.
- Two fractions
- Same denominator
- One numerator
Use fraction to inspect the resulting numerator and denominator. This makes it easier to analyse zeros and excluded inputs separately. A numerator zero is only a valid zero of the rational function where the denominator remains nonzero.
The example combines two terms that do not share a denominator. Verify the result algebraically and inspect the denominator before interpreting any subsequent solver output. Automated simplification can change visible form, so keep the original problem and its domain nearby.
Does the zero of the combined numerator automatically make every denominator input valid?
Write a prediction (optional)
Exact symbolic investigation
Select Run Python with the code unchanged.
Your saved draft is open. To use the published code, select Restore example in Tools. Use Recover draft to bring back your code.
Tools
About Python
Python and the course packages can load while you read. Each run starts with fresh user variables; imported modules stay loaded. Stop replaces the worker. Runtime details ↗
Ctrl+Enter or ⌘+Enter runs Python.
Execution error
Technical error details
Your result
Python text output
Compare with the worked example
Executed from the published Python during the site build. Your own run appears above. Build environment ↗
Worked text output
Combined: (2*x + 1)/(x*(x + 1))
Numerator: 2*x + 1
Denominator: x*(x + 1)
Identity check: 0
Excluded real inputs: {-1, 0}
Read the starter result
Numerator and Denominator separate the combined representation. For this example, Excluded real inputs lists the zeros of the combined denominator. Check them against the original denominators before interpreting roots.
Edit and compare
Replace original = 1/x+1/(x+1) with original = 1/(x-1)+2/(x+1). Select Run Python. Check the Numerator, then compare Excluded real inputs with the zeros of both original denominators.
Scope. A convenient combined denominator can conceal removable factors if further cancellation is performed.
Try a fresh case
After combining fractions, what should you check before interpreting a numerator root?
Need a hint?
Hint 1
A fraction has both a numerator and a denominator.
Hint 2
Substitute the candidate into the original problem.