Index Ai Academy
Foundation · Foundation mathTransposition of formulas

When the letter appears twice: collect and factor

About 35 minLooking ahead: some prerequisites aren't done yet

Why this matters

Sometimes the letter you want appears in two places, like A = P + Prt, where P shows up twice. No single opposite can undo both at once: take one away and the other is still there. The fix is a new move. Gather every term with the letter on one side, pull the letter out as a common factor, and divide by what's left in the bracket. It's the move behind transposing precision and the F1 score, two numbers in every classifier's report.

  • Recognize when the letter you want appears more than once, so peeling layers can't free it
  • Gather every term with the letter on one side, factor the letter out, and divide by the bracket
  • Rearrange formulas like A = P + Prt and y = (x + 2)/(x − 3), stating the value the bracket can't take
  • Spot an unfinished rearrangement: one that still has the letter on both sides
  • Rearrange precision and the F1 score to find the true positives or the recall a target needs
Quick check
Have a guess before you start. In A = P + Prt, can you make P the subject by undoing one layer at a time?

The math: gather, factor, divide

Purpose. A method for formulas where the letter you want appears more than once.

  1. Clear any fractions (the last lesson's move).
  2. Expand any brackets that hide the letter.
  3. Move every term with the letter to one side and every other term to the other.
  4. Factor the letter out: ax − cx = x(a − c). The letter now appears once.
  5. Divide by the bracket. The condition: the bracket can't be 0.

In ax + b = cx + d, take cx and b from both sides: ax − cx = d − b. Factor: x(a − c) = d − b. Divide: x = (d − b)/(a − c), as long as a ≠ c. If a = c, the x terms cancel completely, and there's either no answer or every number works.