Example

Evaluating a2+2ab+b23ab3\frac{a^2 + 2ab + b^2}{3ab^3} for Given Values of aa and bb

Evaluate the two-variable rational expression a2+2ab+b23ab3\frac{a^2 + 2ab + b^2}{3ab^3} for three pairs of values by substituting both variables simultaneously and simplifying the numerator and denominator independently before reducing.

ⓐ When a=1a = 1 and b=2b = 2: Replace aa with 11 and bb with 22 to get (1)2+2(1)(2)+(2)23(1)(2)3\frac{(1)^2 + 2(1)(2) + (2)^2}{3(1)(2)^3}. Simplify the numerator: 1+4+4=91 + 4 + 4 = 9. Simplify the denominator: 3(1)(8)=243(1)(8) = 24. Reduce by dividing numerator and denominator by their GCF of 33: 924=38\frac{9}{24} = \frac{3}{8}.

ⓑ When a=2a = -2 and b=1b = -1: Replace aa with 2-2 and bb with 1-1 to get (2)2+2(2)(1)+(1)23(2)(1)3\frac{(-2)^2 + 2(-2)(-1) + (-1)^2}{3(-2)(-1)^3}. Simplify the numerator: 4+4+1=94 + 4 + 1 = 9. Simplify the denominator: 3(2)(1)=63(-2)(-1) = 6. Reduce: 96=32\frac{9}{6} = \frac{3}{2}.

ⓒ When a=13a = \frac{1}{3} and b=0b = 0: Replace aa with 13\frac{1}{3} and bb with 00 to get (13)2+2(13)(0)+(0)23(13)(0)3\frac{\left(\frac{1}{3}\right)^2 + 2\left(\frac{1}{3}\right)(0) + (0)^2}{3\left(\frac{1}{3}\right)(0)^3}. Simplify the numerator: 19+0+0=19\frac{1}{9} + 0 + 0 = \frac{1}{9}. Simplify the denominator: 3130=03 \cdot \frac{1}{3} \cdot 0 = 0. Because the denominator equals zero, the expression is undefined.

This example extends the evaluation of rational expressions from one variable to two. Parts ⓐ and ⓑ require reducing the resulting fraction to lowest terms — dividing both 99 and 2424 by 33 in part ⓐ, and both 99 and 66 by 33 in part ⓑ. When both variables are negative (part ⓑ), careful application of sign rules for exponents and multiplication is essential — for instance, (1)3=1(-1)^3 = -1, causing the two negatives in the denominator to produce a positive result. Part ⓒ demonstrates that when a substitution makes the denominator zero — here b=0b = 0 zeroes out the b3b^3 factor — the expression is undefined, regardless of the numerator's value.

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.8 Rational Expressions and Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After