Each answer here was worked out by hand, without RatMath, before the RatMath code was written. Where the arithmetic is long, the working says how it was checked.
1.Multiplying complex numbers
(3+2i)(4−5i)
Answer
12−15i+8i−10i2=22−7i.
2.Dividing complex numbers
1−3i2+i
Answer
10(2+i)(1+3i)=10−1+7i.
3.Complex roots
Solve x2+4x+13=0.
Answer
x=2−4±16−52=−2±3i.
4.Polynomial division
Divide x3−2x2−5x+6 by x−3.
Answer
Quotient x2+x−2, remainder 0.
5.Factor theorem
Factor x3−2x2−5x+6 completely and list its zeros.
Answer
(x−1)(x+2)(x−3); zeros −2,1,3.
6.Remainder theorem
Find the remainder when 2x4−3x2+x−7 is divided by x+2.
Answer
f(−2)=32−12−2−7=11.
7.Simplifying rational expressions
Simplify x2+5x+6x2−9.
Answer
(x+2)(x+3)(x−3)(x+3)=x+2x−3, for x=−3.
8.Adding rational expressions
x−12+x+13
Answer
x2−12(x+1)+3(x−1)=x2−15x−1.
9.Rational equation
Solve x1+x−21=34.
Answer
3(x−2)+3x=4x(x−2), 2x2−7x+3=0, x=3 or x=21; neither makes a denominator zero.
10.Radical equation
Solve 2x+3=x.
Answer
Squaring: x2−2x−3=0, x=3 or −1. Checking: x=−1 gives 1=−1, extraneous. Only x=3.
11.Exponential equation
Solve 32x−1=27.
Answer
2x−1=3, x=2.
12.Evaluating logarithms
log232+log391
Answer
5+(−2)=3.
13.Logarithmic equation
Solve log3x+log3(x−8)=2.
Answer
x(x−8)=9, x2−8x−9=0, x=9 or −1; −1 is not in the domain. x=9.
14.System in three unknowns
Solve x+y+z=6, 2x−y+z=3, x+2y−z=2.
Answer
Adding the first and third: 2x+3y=8; the second and third: 3x+y=5. So x=1, y=2, z=3.
15.Compound interest
\$2000 is invested at 6% a year compounded monthly. What is it worth after 5 years, to the cent?
Answer
2000(1.005)60=$2697.70.
Working
1.00560=1.3488502; checked in Python: 2697.7003.
16.Inverse function
Find the inverse of f(x)=x−12x+3.
Answer
y(x−1)=2x+3⇒x=y−2y+3, so f−1(x)=x−2x+3.
17.Composition
For f(x)=x2+1 and g(x)=2x−3, find f(g(2)) and g(f(x)).