Algebra & Manipulation

Study Sheet

Algebra & Manipulation

Equations, ratios, and factoring tricks

Setting Up and Solving

Tip
Vieta for quadratics

For ax2+bx+c=0ax^2+bx+c=0 with roots r,sr,s: sum r+s=−bar+s = -\dfrac ba and product rs=cars = \dfrac ca.

In plain terms. The two numbers that solve a quadratic add up to −b/a-b/a and multiply to c/ac/a — you can read those off without solving.

Example. For x2−7x+12=0x^2 - 7x + 12 = 0 the roots sum to 77 and multiply to 1212, so they are 33 and 44.

Reminder — Vieta's formulas:  r1+r2=−ba,r1r2=car_1+r_2=-\frac{b}{a},\qquad r_1 r_2=\frac{c}{a}

Why it is true: a quadratic with roots rr and ss and leading coefficient 11 factors as (x−r)(x−s)=x2−(r+s)x+rs(x - r)(x - s) = x^2 - (r + s)x + rs. Matching coefficients with x2+bax+cax^2 + \tfrac ba x + \tfrac ca gives r+s=−bar + s = -\tfrac ba and rs=cars = \tfrac ca. Before Vieta, though, comes the skill every AMC 8 algebra problem needs: turning words into one equation and solving it by undoing operations in reverse order.

Example
Worked: clearing fractions

Solve x+34=x−12\dfrac{x + 3}{4} = \dfrac{x - 1}{2}.

Step 1 — multiply both sides by 44, the common denominator, so no fractions remain: x+3=2(x−1)x + 3 = 2(x - 1).

Step 2 — expand: x+3=2x−2x + 3 = 2x - 2.

Step 3 — collect xx on one side: x=5x = 5. Check: 84=2\tfrac84 = 2 and 42=2\tfrac42 = 2.

Example
Worked: consecutive odd numbers

The sum of five consecutive odd integers is 135135. What are they?

Step 1 — name the MIDDLE one mm; the five are m−4,m−2,m,m+2,m+4m - 4, m - 2, m, m + 2, m + 4.

Step 2 — the ±\pm terms cancel, so the sum is 5m=1355m = 135 and m=27m = 27.

Step 3 — the numbers are 23,25,27,29,3123, 25, 27, 29, 31. Naming the middle term instead of the smallest turns the equation into one division.

Example
Worked: Vieta without solving

The roots of x2−5x+3=0x^2 - 5x + 3 = 0 are rr and ss. Find r2+s2r^2 + s^2.

Step 1 — Vieta: r+s=5r + s = 5 and rs=3rs = 3.

Step 2 — rewrite the target in terms of those: r2+s2=(r+s)2−2rsr^2 + s^2 = (r + s)^2 - 2rs.

Step 3 — 25−6=1925 - 6 = 19. The roots themselves, 5±132\tfrac{5 \pm \sqrt{13}}{2}, never appear.

Side note
Where it goes wrong

The sign in Vieta. For x2−5x+3x^2 - 5x + 3 the SUM of the roots is +5+5, not −5-5: the formula is −ba-\tfrac ba and here b=−5b = -5. A quick check with an easy quadratic, (x−2)(x−3)=x2−5x+6(x - 2)(x - 3) = x^2 - 5x + 6, shows the roots 22 and 33 adding to +5+5.

Try it
Try it: consecutive even numbers

The sum of three consecutive even integers is 1010 more than twice the largest. Find the smallest.

Show the answer

Call them n,n+2,n+4n, n + 2, n + 4. Then 3n+6=2(n+4)+10=2n+183n + 6 = 2(n + 4) + 10 = 2n + 18, so n=12n = \mathbf{12}. Check: 12+14+16=4212 + 14 + 16 = 42 and 2⋅16+10=422\cdot16 + 10 = 42.

Ratios and Clever Factoring

Tip
Ratios and proportions
55555555red: 3 parts = 15blue: 5 parts = 258 parts = 40, so 1 part = 5
Red to blue 3:53 : 5 with 4040 in all: eight equal parts of 55.

A ratio a:ba:b means the amounts are akak and bkbk. A proportion ab=cd\dfrac ab = \dfrac cd cross-multiplies to ad=bcad = bc.

In plain terms. A ratio is a shared multiplier — turn "33 to 55" into "3k3k and 5k5k," then use the given total to find kk.

Example. If red to blue is 3:53:5 and there are 4040 total, then 3k+5k=403k + 5k = 40, so k=5k = 5: 1515 red and 2525 blue.

Why the "kk" works: a ratio 3:53 : 5 says the amounts are made of equal-sized parts, 33 of one and 55 of the other. The size of one part is the unknown kk; the total 4040 is 88 parts, so one part is 55. Drawing the parts as a bar makes the equation visible before it is written.

Tip
Simon's Favorite Factoring Trick

The expression xy+ax+byxy + ax + by factors as (x+b)(y+a)−ab(x+b)(y+a) - ab.

In plain terms. When an equation mixes a product like xyxy with plain xx and yy terms, add the one missing number to make it factor into a neat product.

Example. For xy+2x+3y=8xy + 2x + 3y = 8, add 66: (x+3)(y+2)=14(x+3)(y+2) = 14, so the integer factor pairs of 1414 give the solutions.

Example
Worked: scaling a recipe

A recipe uses 33 cups of flour for 88 pancakes. How much flour for 2020 pancakes?

Step 1 — flour per pancake is constant, so the ratio flour : pancakes stays fixed: 38=x20\tfrac38 = \tfrac{x}{20}.

Step 2 — cross-multiply: 8x=608x = 60, so x=7.5x = 7.5 cups. Check by a friendlier route: 2020 pancakes is 2.52.5 batches, and 2.5⋅3=7.52.5\cdot3 = 7.5.

Example
Worked: a ratio that changes

The ratio of boys to girls in a class is 3:43 : 4. After 66 more boys join, the ratio is 1:11 : 1. How many students were there originally?

Step 1 — originally 3k3k boys and 4k4k girls.

Step 2 — the girls did not change, so after the change 3k+6=4k3k + 6 = 4k, giving k=6k = 6.

Step 3 — originally 1818 boys and 2424 girls: 4242 students. The trick is to write the ratio with kk BEFORE the change and apply the change to the amounts, not to the ratio.

Example
Worked: factoring a product equation

How many pairs of positive integers (x,y)(x, y) satisfy xy−3x−2y=10xy - 3x - 2y = 10?

Step 1 — Simon's trick: xy−3x−2y+6=(x−2)(y−3)xy - 3x - 2y + 6 = (x - 2)(y - 3), so add 66 to both sides: (x−2)(y−3)=16(x - 2)(y - 3) = 16.

Step 2 — x−2≥−1x - 2 \ge -1 and y−3≥−2y - 3 \ge -2, so a negative factor pair would need a factor below −2-2 on one side; none works.

Step 3 — positive pairs of 1616: (1,16),(2,8),(4,4),(8,2),(16,1)(1, 16), (2, 8), (4, 4), (8, 2), (16, 1), giving (x,y)=(3,19),(4,11),(6,7),(10,5),(18,4)(x, y) = (3, 19), (4, 11), (6, 7), (10, 5), (18, 4). There are 55 pairs.

Side note
Where it goes wrong

Adding to the ratio instead of to the amounts. "The ratio was 3:43 : 4 and 66 boys joined, so it is 9:49 : 4" treats the ratio numbers as head-counts. Ratios scale; only amounts can have people added to them.

Try it
Try it: chaining ratios

A:B=2:3A : B = 2 : 3 and B:C=4:5B : C = 4 : 5, and A+B+C=105A + B + C = 105. Find CC.

Show the answer

Make BB agree: 2:3=8:122 : 3 = 8 : 12 and 4:5=12:154 : 5 = 12 : 15, so A:B:C=8:12:15A : B : C = 8 : 12 : 15, 3535 parts. 105/35=3105/35 = 3, so C=15⋅3=45C = 15\cdot3 = \mathbf{45} (and A=24A = 24, B=36B = 36).

Word Problems Into Equations

Tip
Name the unknown that the question asks about

Write one sentence of the problem as one equation. Keep units attached, and check that both sides measure the same thing.

Most lost points in this section are translation errors, not algebra errors: "5 less than twice xx" is 2x−52x - 5, not 5−2x5 - 2x; "the ratio of boys to girls is 3:23:2" means b=3kb = 3k, g=2kg = 2k, not b=3b = 3, g=2g = 2. Writing the units next to each quantity catches a surprising share of these before any solving happens.

Tip
Rate problems: fill in a table

distance == rate ×\times time, work == rate ×\times time. Two rows, one shared column, and the equation writes itself.

A trip at 6060 km/h out and 4040 km/h back averages 2⋅60⋅4060+40=48\dfrac{2\cdot60\cdot40}{60+40} = 48 km/h, NOT 5050 — the harmonic mean, because the two legs take different times. Work problems pair with it: someone finishing in 66 hours has rate 16\tfrac16 of the job per hour, and rates add when people work together, so with a 33-hour worker it is 16+13=12\tfrac16 + \tfrac13 = \tfrac12, i.e. 22 hours.

Example
Worked: the average-speed trap
legoutbackwhole tripdistance12 km12 km24 kmrate12 km/h24 km/h16 km/htime1 h0.5 h1.5 h
Fill in the rows first; the whole-trip row comes from the totals, never from averaging the rates.

A cyclist rides 1212 km at 1212 km/h and returns at 2424 km/h. What is the average speed for the round trip?

Step 1 — do NOT average 1212 and 2424.

Step 2 — total distance =24= 24 km.

Step 3 — total time =1212+1224=1+0.5=1.5= \tfrac{12}{12} + \tfrac{12}{24} = 1 + 0.5 = 1.5 hours.

Step 4 — average speed =241.5=16= \tfrac{24}{1.5} = 16 km/h. Average speed is always total distance over total time; the slow leg counts for more because it lasts longer.

Example
Worked: closing speed

Two cyclists start 6060 km apart and ride toward each other at 1212 km/h and 1818 km/h. After how long do they meet?

Step 1 — the gap between them shrinks by 12+18=3012 + 18 = 30 km every hour (their speeds add because they move toward each other).

Step 2 — time == distance ÷\div closing speed =60/30=2= 60/30 = 2 hours. Check: in 22 hours they ride 2424 km and 3636 km, which together make 6060.

Side note
Where it goes wrong

Mixing units. "4545 miles per hour for 2020 minutes" is not 45⋅20=90045\cdot20 = 900 miles; convert first: 2020 minutes is 13\tfrac13 hour, so the distance is 1515 miles. Writing the units in every row of the table catches this.

Try it
Try it: a work rate

One pipe fills a tank in 44 hours, another in 66. How long together?

Show the answer

Rates add: 14+16=512\tfrac14 + \tfrac16 = \tfrac{5}{12} of the tank per hour, so the time is 125=2.4\tfrac{12}{5} = 2.4 hours.

Putting It Together

Example
Worked: an age problem

Kim is three times as old as her brother. In 66 years she will be twice as old as he will be. How old are they now?

Step 1 — one unknown: brother bb, Kim 3b3b.

Step 2 — in 66 years: 3b+6=2(b+6)3b + 6 = 2(b + 6).

Step 3 — 3b+6=2b+123b + 6 = 2b + 12, so b=6b = 6: the brother is 66 and Kim is 1818. Check: in 66 years, 24=2⋅1224 = 2\cdot12.

Tip
The translation checklist

Name the unknown the question asks for. Write each sentence as one equation, with units. Use the relation that stays fixed (the girls, the total, the distance). Solve, then check the answer in the ORIGINAL words, not in your equation.

Try it
Try it: coins

Fifteen coins, all nickels and dimes, are worth $1.10\$1.10. How many are dimes?

Show the answer

Let dd be the dimes; nickels 15−d15 - d. In cents: 10d+5(15−d)=11010d + 5(15 - d) = 110, so 5d+75=1105d + 75 = 110 and d=7d = \mathbf{7}. Check: 77 dimes and 88 nickels make 70+40=11070 + 40 = 110 cents.