What you'll learn
To evaluate a rational expression means to replace the variable with a number and work out the value. For example, \dfrac{3x + 5}{x - 2} at x = 4 is \dfrac{17}{2} = 8.5.
In this lesson you will learn to:
- Substitute safely, using parentheses, especially with negative numbers.
- Treat the fraction bar as a grouping symbol: work out the whole top and the whole bottom before dividing.
- Recognize when an expression is undefined (a zero denominator).
- Simplify first when it makes the arithmetic easier.
- Use real-world rational formulas: average cost, combined work time, average speed.
- Work backwards: find the input that gives a certain value.
Why it matters on the GED. You will often be handed a formula with a fraction in it — the average cost of making n items, or the time two workers need together — and asked to plug in numbers. These questions are straightforward if you follow the order of operations, and easy to miss if you rush. The test's wrong answers come from exactly those rushed moves.
Real life. A print shop charges a setup fee plus a per-shirt price. The average cost per shirt, \dfrac{\text{setup} + \text{price} \cdot n}{n}, drops as you order more. Evaluating that expression tells you what each shirt really costs.
Words to know
- Evaluate — find the value of an expression for given values of the variables.
- Substitute — replace a variable with a number. Substituting x = -3 into x^2 gives (-3)^2 = 9.
- Rational expression — a fraction with polynomials on the top and bottom, such as \dfrac{x^2 - 1}{2x + 3}.
- Numerator / denominator — the top / bottom of the fraction.
- Fraction bar — the line in a fraction. It acts like parentheses around the whole top and the whole bottom.
- Undefined — has no value. A fraction with a denominator of 0 is undefined.
- Excluded value — a value of the variable that makes a denominator 0.
- Order of operations — parentheses, exponents, multiplication and division (left to right), addition and subtraction (left to right).
- Average cost — total cost ÷ number of items.
- Rate — an amount per unit of time, such as miles per hour or jobs per hour.
Substituting step by step
Method
- Rewrite the expression with parentheses where each variable was.
- Put the numbers inside the parentheses.
- Work out the entire numerator (using order of operations).
- Work out the entire denominator.
- Divide, and simplify the fraction or change it to a decimal if asked.
Example. Evaluate \dfrac{3x + 5}{x - 2} for x = 4.
\frac{3(4) + 5}{(4) - 2} = \frac{12 + 5}{2} = \frac{17}{2} = 8.5Negative numbers need parentheses. Evaluate \dfrac{x^2 - 1}{2x + 3} for x = -3.
\frac{(-3)^2 - 1}{2(-3) + 3} = \frac{9 - 1}{-6 + 3} = \frac{8}{-3} = -\frac{8}{3}Without parentheses, -3^2 means -(3^2) = -9. That one slip turns the numerator into -10.
| Expression | Value |
|---|---|
| (-3)^2 | 9 |
| -3^2 | -9 |
| (-2)^3 | -8 |
| -2(-4) | 8 |
The fraction bar groups. In \dfrac{75 + 6n}{n} with n = 25, the whole top is divided by 25:
\frac{75 + 6(25)}{25} = \frac{75 + 150}{25} = \frac{225}{25} = 9It is not 75 + \dfrac{6(25)}{25} = 81.
Two variables. Substitute each one in its own parentheses. For \dfrac{a^2 - b}{a - b} with a = -3, b = 5: \dfrac{(-3)^2 - 5}{(-3) - 5} = \dfrac{4}{-8} = -0.5.
Undefined values and simplifying first
When is it undefined? A rational expression is undefined when its denominator equals 0. To find those values, set the denominator equal to 0 and solve.
- \dfrac{x + 2}{x - 7}: x - 7 = 0, so it is undefined at x = 7.
- \dfrac{x - 5}{x^2 - x - 12}: (x - 4)(x + 3) = 0, so it is undefined at x = 4 and x = -3.
A zero numerator is fine. \dfrac{0}{32} = 0. Only a zero denominator makes it undefined. (And \dfrac{0}{0} is undefined too.)
Simplify first to save work. If the numbers are messy, factor and cancel before substituting. Evaluate \dfrac{x^2 - 4x}{x^2 - 16} at x = 6:
\frac{x(x - 4)}{(x - 4)(x + 4)} = \frac{x}{x + 4} \quad\Rightarrow\quad \frac{6}{10} = 0.6Direct substitution agrees: \dfrac{36 - 24}{36 - 16} = \dfrac{12}{20} = 0.6.
Careful: simplifying does not change where the original is undefined. \dfrac{x^2 - 16}{x^2 + 4x} = \dfrac{(x - 4)(x + 4)}{x(x + 4)} simplifies to \dfrac{x - 4}{x}, but at x = -4 the original has a zero denominator. The answer there is "undefined," not \dfrac{-8}{-4} = 2.
Checking an answer with a decimal input. For x = 4.8, \dfrac{x^2 + 2x - 15}{x^2 - 25} = \dfrac{(x + 5)(x - 3)}{(x + 5)(x - 5)} = \dfrac{x - 3}{x - 5} = \dfrac{1.8}{-0.2} = -9. Simplifying turned a calculator chore into mental math.
Real-world rational formulas
These formulas appear in GED word problems. You will usually be given the formula; your job is to substitute correctly.
Average cost per item. If a job has a fixed cost F and a cost v per item, the average cost for n items is
\bar{C} = \frac{F + vn}{n}Example: $1200 setup and $15 per item, n = 80: \dfrac{1200 + 15(80)}{80} = \dfrac{2400}{80} = \$30 per item.
Combined work time. If one person (or machine) takes a hours for a job and another takes b hours, together they take
t = \frac{ab}{a + b}Example: a = 6, b = 3: t = \dfrac{18}{9} = 2 hours. Together is always faster than the faster worker alone.
Average speed for a round trip. Going at r_1 and returning at r_2 over the same distance:
\bar{r} = \frac{2 r_1 r_2}{r_1 + r_2}Example: 40 mph and 60 mph give \dfrac{2 \cdot 40 \cdot 60}{100} = 48 mph — not 50.
Working backwards. If you know the result and need the input, set the expression equal to the result and solve. Average cost \dfrac{1200 + 15n}{n} = 20: multiply both sides by n, so 1200 + 15n = 20n, giving 1200 = 5n and n = 240 items.
Formulas
\text{Average cost} = \frac{\text{fixed cost} + (\text{cost per item})(n)}{n} \text{Combined time} = \frac{ab}{a + b} \qquad \text{Average round-trip speed} = \frac{2r_1 r_2}{r_1 + r_2} d = rt \quad\Rightarrow\quad t = \frac{d}{r}- n = number of items; a, b = hours each worker needs alone; r_1, r_2 = the two speeds; d = distance, r = rate, t = time.
On the GED formula sheet: d = rt and "total cost = (number of units) × (price per unit)." The average-cost, combined-time and round-trip formulas are not on the sheet; when the GED uses them, it usually prints the formula in the question. Knowing them lets you check that an answer makes sense.
Example 1 (easy): Basic substitution
Evaluate \dfrac{3x + 5}{x - 2} when x = 4.
- Substitute: \dfrac{3(4) + 5}{(4) - 2}.
- Numerator: 12 + 5 = 17.
- Denominator: 4 - 2 = 2.
- Divide: \dfrac{17}{2} = 8.5.
Answer: \dfrac{17}{2} or 8.5
Check: 8.5 \times 2 = 17 ✓, and 17 is the numerator.
Example 2: A negative input
Evaluate \dfrac{x^2 - 1}{2x + 3} when x = -3.
- Substitute with parentheses: \dfrac{(-3)^2 - 1}{2(-3) + 3}.
- Numerator: (-3)^2 = 9, so 9 - 1 = 8.
- Denominator: 2(-3) = -6, so -6 + 3 = -3.
- Divide: \dfrac{8}{-3} = -\dfrac{8}{3} \approx -2.67.
Answer: -\dfrac{8}{3}
Check: -\dfrac{8}{3} \times (-3) = 8 ✓
Example 3: Simplify first
Evaluate \dfrac{x^2 - 4x}{x^2 - 16} when x = 6.
- Factor: top = x(x - 4), bottom = (x - 4)(x + 4).
- Cancel (x - 4) (allowed because x = 6 does not make it zero): \dfrac{x}{x + 4}.
- Substitute: \dfrac{6}{6 + 4} = \dfrac{6}{10}.
Answer: 0.6
Check: Direct substitution: \dfrac{36 - 24}{36 - 16} = \dfrac{12}{20} = 0.6 ✓
Example 4 (real world): Two painters
Dana can paint a room in 6 hours. Eli can paint the same room in 3 hours. Working together, they need t = \dfrac{ab}{a + b} hours. How long will it take them together?
- a = 6, b = 3.
- Numerator: ab = 6 \cdot 3 = 18.
- Denominator: a + b = 6 + 3 = 9.
- t = \dfrac{18}{9} = 2.
Answer: 2 hours
Check: In 2 hours Dana paints \tfrac{2}{6} = \tfrac{1}{3} of the room and Eli paints \tfrac{2}{3}. Together \tfrac{1}{3} + \tfrac{2}{3} = 1 whole room ✓
Example 5 (real world, work backwards): Average cost
A small company spends $1200 to set up a production run, plus $15 per lamp. The average cost per lamp is \dfrac{1200 + 15n}{n} dollars. (a) Find the average cost for 80 lamps. (b) How many lamps must be made to bring the average cost down to $20?
- (a) \dfrac{1200 + 15(80)}{80} = \dfrac{1200 + 1200}{80} = \dfrac{2400}{80} = 30.
- (b) Set the expression equal to 20: \dfrac{1200 + 15n}{n} = 20.
- Multiply both sides by n: 1200 + 15n = 20n.
- Subtract 15n: 1200 = 5n, so n = 240.
Answer: (a) $30 per lamp; (b) 240 lamps
Check: \dfrac{1200 + 15(240)}{240} = \dfrac{1200 + 3600}{240} = \dfrac{4800}{240} = 20 ✓
Calculator tip: let the fraction template group for you
On the TI-30XS MultiView, the n/d key creates a stacked fraction. Everything you type in the top box stays together, and everything in the bottom box stays together, so the calculator respects the fraction bar automatically.
- Press
n/d, type the whole numerator, press the down arrow, type the whole denominator, then press the right arrow to leave the fraction. - For negative inputs use the
(−)key and parentheses:((−)3)x²gives 9. - Press
toggleto switch the answer between a fraction and a decimal.
If you use the ÷ key instead, you must add parentheses: ( 75 + 6 × 25 ) ÷ 25 → 9. Without them the calculator computes 75 + 6 and gives 81.
When not to use it: simple values like \dfrac{6}{10} are faster in your head, and finding where an expression is undefined is algebra, not arithmetic.
Common mistakes
- Ignoring the fraction bar. Wrong: \dfrac{75 + 6(25)}{25} = 75 + 6 = 81. Right: \dfrac{225}{25} = 9. Finish the whole top and the whole bottom before dividing.
- Squaring a negative without parentheses. Wrong: for x = -2, x^2 = -2^2 = -4. Right: x^2 = (-2)^2 = 4.
- Calling a zero numerator "undefined." Wrong: \dfrac{0}{32} is undefined. Right: \dfrac{0}{32} = 0. Only a zero denominator is undefined.
- Using the simplified form at an excluded value. Wrong: \dfrac{x^2 - 16}{x^2 + 4x} at x = -4 equals 2. Right: it is undefined there.
- Averaging rates. Wrong: going 40 mph and returning 60 mph averages 50 mph. Right: \dfrac{2(40)(60)}{100} = 48 mph, because you spend more time at the slower speed.
- Inverting the fraction. Wrong: \dfrac{x + 6}{x - 1} at x = 3 gives \dfrac{2}{9}. Right: \dfrac{9}{2}. Keep top on top.
GED test strategy
- Write the parentheses first, then fill in the numbers. It takes five seconds and prevents sign errors.
- Estimate. Combined work time must be less than either single time; an average cost must be more than the per-item cost. Eliminate choices that break these rules.
- Simplify first when the numbers are large or decimal; substitute directly when they are small.
- "Undefined" questions: set only the denominator to zero; ignore the numerator.
- Work-backwards questions: plug each answer choice into the formula. The one that produces the given value is correct.
- Read the units in the question (hours or minutes, dollars per item or total dollars).
Check yourself
What is the value of \dfrac{x + 6}{x - 1} when x = 3?
Hint
Work out the entire numerator and the entire denominator first, then divide.
Step-by-step solution
- Substitute x = 3: \dfrac{(3) + 6}{(3) - 1}.
- Numerator: 3 + 6 = 9.
- Denominator: 3 - 1 = 2.
- Divide: \dfrac{9}{2} = 4.5.
Answer: \dfrac{9}{2} (4.5)
Check: 4.5 \times 2 = 9, which is the numerator ✓.
Tip: The fraction bar works like parentheses: (x + 6) \div (x - 1). Never divide just part of the top by part of the bottom. Substituting into parentheses first, \dfrac{(3) + 6}{(3) - 1}, keeps every number in the right place.
Check yourself
Evaluate \dfrac{2x^2 - 5}{x + 4} when x = -2.
Enter your answer as a decimal or fraction.
Type your answer in the box. Fractions like 3/4 are fine.
Hint
Put -2 in parentheses. Remember that (-2)^2 is positive.
Step-by-step solution
- Substitute with parentheses: \dfrac{2(-2)^2 - 5}{(-2) + 4}.
- Exponent first: (-2)^2 = 4.
- Numerator: 2(4) - 5 = 8 - 5 = 3.
- Denominator: -2 + 4 = 2.
- Divide: \dfrac{3}{2} = 1.5.
Answer: 1.5 (or \dfrac{3}{2})
Check: 1.5 \times 2 = 3 ✓. If you had used -2^2 = -4, the numerator would be -13 and the answer -6.5 — a sign that the parentheses were missing.
Tip: Squaring a negative number always gives a positive result. Write (-2)^2, never -2^2.
Summary
- Substitute into parentheses, then evaluate the whole numerator and the whole denominator before dividing.
- (-3)^2 = 9 but -3^2 = -9: parentheses matter.
- An expression is undefined where its original denominator is 0; a zero numerator just gives 0.
- Simplify first when it makes the numbers easier.
- Know the real-world forms: average cost \dfrac{F + vn}{n}, combined time \dfrac{ab}{a + b}, round-trip speed \dfrac{2r_1r_2}{r_1 + r_2}.
- To work backwards, set the expression equal to the target, multiply by the denominator, and solve.