Skip to the page
Home Campus
Start free

Changing the Subject When It Appears Twice

How to change the subject of a formula in which the subject appears in more than one term: clear fractions, collect its terms on one side, take it out as a common factor, and divide by a bracket that must not be zero.

Before you start

Lesson 4.6: to change the subject, do the same to both sides, undoing what was done to the subject in reverse order. A fraction is cleared by multiplying both sides by its denominator.

Chapter 3: a common factor can be taken out of a sum of terms, as in ax−bx=x(a−b)ax - bx = x{(a - b)} and x+xy=x(1+y)x + xy = x{(1 + y)}.

Collect, Factorise, Divide

If the new subject appears in two terms, you cannot undo the operations one by one: there are two places to free it from. Bring the two terms together and take the subject out as a common factor. Then only one bracket stands beside it, and dividing by that bracket leaves the subject alone.

A subject that appears twice

1. Clear any fractions and expand any brackets that contain the subject.

2. Collect every term with the subject on one side, and every other term on the other side.

3. Factorise: take the subject out as a common factor.

4. Divide both sides by the bracket, and state that the bracket must not be zero.

Example 1: Factorise Straight Away

A shop sells an item for SS dollars: its cost of CC dollars plus a profit of p%p\% of the cost, so S=C+pC100S = C + \dfrac{pC}{100}. Make CC the subject.

Solution

Clear the fraction: multiply every term by 100100: 100S=100C+pC100S = 100C + pC.

Both terms with CC are already on one side. Factorise: 100S=C(100+p)100S = C{(100 + p)}.

Divide by the bracket: C=100S100+pC = \dfrac{100S}{100 + p}, for p≠−100p \neq -100. A profit is positive, so the bracket is never zero.

Check with C=80C = 80, p=25p = 25: S=80+2000100=100,S = 80 + \dfrac{2000}{100} = 100\text{,} and 100×100125=80.\dfrac{100 \times 100}{125} = 80\text{.}

C=100S100+pC = \dfrac{100S}{100 + p}, for p≠−100p \neq -100

Example 2: The Subject on Both Sides

Make xx the subject of ax+b=cx+dax + b = cx + d.

Solution

Collect the xx terms on the left: subtract cxcx from both sides, and subtract bb: ax−cx=d−bax - cx = d - b.

Factorise: x(a−c)=d−bx{(a - c)} = d - b.

Divide by (a−c){(a - c)}: x=d−ba−cx = \dfrac{d - b}{a - c}, for a≠ca \neq c.

Check with numbers: 5x+2=3x+105x + 2 = 3x + 10 has solution x=4x = 4 (22=2222 = 22), and 10−25−3=4\dfrac{10 - 2}{5 - 3} = 4.

x=d−ba−cx = \dfrac{d - b}{a - c}, for a≠ca \neq c

Example 3: Expand, Collect, Factorise

Make xx the subject of ax=b(x+c)ax = b{(x + c)}.

Solution

Expand the bracket that contains xx: ax=bx+bcax = bx + bc.

Collect the xx terms: ax−bx=bcax - bx = bc.

Factorise: x(a−b)=bcx{(a - b)} = bc. Divide: x=bca−bx = \dfrac{bc}{a - b}, for a≠ba \neq b.

Check with a=5a = 5, b=2b = 2, c=3c = 3: 63=2\dfrac{6}{3} = 2, and 5×2=10=2(2+3).5 \times 2 = 10 = 2{(2 + 3)}\text{.}

x=bca−bx = \dfrac{bc}{a - b}, for a≠ba \neq b

Example 4: Choosing the Side

Make xx the subject of a−bx=c(x+1)a - bx = c{(x + 1)}.

Solution

Expand: a−bx=cx+ca - bx = cx + c.

The xx terms can be collected on either side. On the right they are both positive: add bxbx to both sides and subtract cc: a−c=cx+bxa - c = cx + bx.

Factorise: a−c=x(c+b)a - c = x{(c + b)}. Divide: x=a−cb+cx = \dfrac{a - c}{b + c}, for b+c≠0b + c \neq 0.

Collecting on the left instead gives −bx−cx=c−a-bx - cx = c - a, so x=c−a−b−cx = \dfrac{c - a}{-b - c}: the same answer, with a minus sign on top and below.

Check with a=10a = 10, b=2b = 2, c=3c = 3: x=75=1.4x = \dfrac{7}{5} = 1.4; then 10−2.8=7.210 - 2.8 = 7.2 and 3×2.4=7.23 \times 2.4 = 7.2.

x=a−cb+cx = \dfrac{a - c}{b + c}, for b+c≠0b + c \neq 0

Fractions That Contain the Subject

If the subject is in a numerator and a denominator, multiplying by the denominator clears the fraction but leaves the subject on both sides. Expand, then collect and factorise as before.

Example 5: Clear the Fraction First

Make xx the subject of y=x+1x−1y = \dfrac{x + 1}{x - 1}.

Solution

Multiply both sides by (x−1){(x - 1)}: y(x−1)=x+1y{(x - 1)} = x + 1.

Expand: xy−y=x+1xy - y = x + 1. Now xx is in two terms.

Collect: xy−x=y+1xy - x = y + 1.

Factorise: x(y−1)=y+1x{(y - 1)} = y + 1. Divide: x=y+1y−1x = \dfrac{y + 1}{y - 1}, for y≠1y \neq 1.

Check with x=3x = 3: y=42=2y = \dfrac{4}{2} = 2, and 2+12−1=3\dfrac{2 + 1}{2 - 1} = 3.

x=y+1y−1x = \dfrac{y + 1}{y - 1}, for y≠1y \neq 1

Example 6: Two Fractions with the Subject

Make xx the subject of xa+xb=c\dfrac{x}{a} + \dfrac{x}{b} = c.

Solution

Multiply every term by abab: bx+ax=abcbx + ax = abc.

Factorise: x(a+b)=abcx{(a + b)} = abc. Divide: x=abca+bx = \dfrac{abc}{a + b}, for a+b≠0a + b \neq 0.

Check with a=2a = 2, b=3b = 3, c=5c = 5: x=305=6x = \dfrac{30}{5} = 6, and 62+63=3+2=5.\dfrac{6}{2} + \dfrac{6}{3} = 3 + 2 = 5\text{.}

x=abca+bx = \dfrac{abc}{a + b}, for a+b≠0a + b \neq 0

Common Mistakes

  • Stopping with the subject on both sides: from ax=b+cxax = b + cx, writing x=b+cxax = \dfrac{b + cx}{a} is not finished. Collect and factorise: x=ba−cx = \dfrac{b}{a - c}.
  • Losing the 11 when factorising: ax−x=x(a−1)ax - x = x{(a - 1)}, not xaxa. The term xx is 1×x1 \times x.
  • Collecting before the fraction is cleared or the bracket expanded: in y(x−1)=x+1y{(x - 1)} = x + 1, the xx inside the bracket must come out first.
  • Dividing by a bracket that could be zero without saying so: x=d−ba−cx = \dfrac{d - b}{a - c} needs a≠ca \neq c.

Practice

Make the letter in brackets the subject, and state the value the bracket you divide by must not take. Check each answer with numbers.

Question 1

(a) S=ar+aS = ar + a (a)(a) (b) T=3m+mnT = 3m + mn (m)(m)

ShowHide solution

(a) Factorise: S=a(r+1)S = a{(r + 1)}, so a=Sr+1a = \dfrac{S}{r + 1}, for r≠−1r \neq -1.

(b) Factorise: T=m(3+n)T = m{(3 + n)}, so m=T3+nm = \dfrac{T}{3 + n}, for n≠−3n \neq -3.

Check (b) with m=2m = 2, n=4n = 4: T=6+8=14T = 6 + 8 = 14, and 147=2\dfrac{14}{7} = 2.

(a) a=Sr+1a = \dfrac{S}{r + 1}, for r≠−1r \neq -1 (b) m=T3+nm = \dfrac{T}{3 + n}, for n≠−3n \neq -3

Question 2

(a) ax+3=bx+7ax + 3 = bx + 7 (x)(x) (b) px−q=rx+spx - q = rx + s (x)(x)

ShowHide solution

(a) ax−bx=7−3ax - bx = 7 - 3, so x(a−b)=4x{(a - b)} = 4 and x=4a−bx = \dfrac{4}{a - b}, for a≠ba \neq b.

(b) px−rx=s+qpx - rx = s + q, so x(p−r)=s+qx{(p - r)} = s + q and x=q+sp−rx = \dfrac{q + s}{p - r}, for p≠rp \neq r.

Check (a) with a=5a = 5, b=3b = 3: x=2x = 2, and 10+3=13=6+710 + 3 = 13 = 6 + 7.

(a) x=4a−bx = \dfrac{4}{a - b}, for a≠ba \neq b (b) x=q+sp−rx = \dfrac{q + s}{p - r}, for p≠rp \neq r

Question 3

(a) a(x−b)=cxa{(x - b)} = cx (x)(x) (b) p(x+q)=r(x−q)p{(x + q)} = r{(x - q)} (x)(x)

ShowHide solution

(a) Expand: ax−ab=cxax - ab = cx. Collect: ax−cx=abax - cx = ab. Factorise: x(a−c)=abx{(a - c)} = ab. So x=aba−cx = \dfrac{ab}{a - c}, for a≠ca \neq c.

Check (a) with a=3a = 3, b=2b = 2, c=1c = 1: x=62=3x = \dfrac{6}{2} = 3, and 3(3−2)=3=1×33{(3 - 2)} = 3 = 1 \times 3.

(b) Expand: px+pq=rx−rqpx + pq = rx - rq. Collect: px−rx=−rq−pqpx - rx = -rq - pq. Factorise both sides: x(p−r)=−q(p+r).x{(p - r)} = -q{(p + r)}\text{.} So x=−q(p+r)p−r=q(p+r)r−p,x = \dfrac{-q{(p + r)}}{p - r} = \dfrac{q{(p + r)}}{r - p}\text{,} for p≠rp \neq r.

Check (b) with p=3p = 3, q=2q = 2, r=1r = 1: x=2×4−2=−4,x = \dfrac{2 \times 4}{-2} = -4\text{,} and 3(−4+2)=−6=1×(−4−2).3{(-4 + 2)} = -6 = 1 \times {(-4 - 2)}\text{.}

(a) x=aba−cx = \dfrac{ab}{a - c}, for a≠ca \neq c (b) x=q(p+r)r−px = \dfrac{q{(p + r)}}{r - p}, for p≠rp \neq r

Question 4

(a) 5−ax=bx5 - ax = bx (x)(x) (b) k−2x=m(x−1)k - 2x = m{(x - 1)} (x)(x)

ShowHide solution

(a) Add axax to both sides: 5=bx+ax=x(a+b).5 = bx + ax = x{(a + b)}\text{.} So x=5a+bx = \dfrac{5}{a + b}, for a+b≠0a + b \neq 0.

(b) Expand: k−2x=mx−mk - 2x = mx - m. Collect on the right, where both xx terms are positive: k+m=mx+2x=x(m+2).k + m = mx + 2x = x{(m + 2)}\text{.} So x=k+mm+2x = \dfrac{k + m}{m + 2}, for m≠−2m \neq -2.

Check (b) with k=4k = 4, m=3m = 3: x=75=1.4x = \dfrac{7}{5} = 1.4; then 4−2.8=1.24 - 2.8 = 1.2 and 3×0.4=1.23 \times 0.4 = 1.2.

(a) x=5a+bx = \dfrac{5}{a + b}, for a+b≠0a + b \neq 0 (b) x=k+mm+2x = \dfrac{k + m}{m + 2}, for m≠−2m \neq -2

Question 5

(a) y=2x+3x−4y = \dfrac{2x + 3}{x - 4} (x)(x) (b) y=xx+ay = \dfrac{x}{x + a} (x)(x)

ShowHide solution

(a) y(x−4)=2x+3y{(x - 4)} = 2x + 3, so xy−4y=2x+3xy - 4y = 2x + 3. Collect: xy−2x=4y+3xy - 2x = 4y + 3. Factorise: x(y−2)=4y+3x{(y - 2)} = 4y + 3. So x=4y+3y−2x = \dfrac{4y + 3}{y - 2}, for y≠2y \neq 2.

Check (a) with x=5x = 5: y=13y = 13, and 5511=5\dfrac{55}{11} = 5.

(b) y(x+a)=xy{(x + a)} = x, so xy+ay=xxy + ay = x. Collect on the right: ay=x−xy=x(1−y).ay = x - xy = x{(1 - y)}\text{.} So x=ay1−yx = \dfrac{ay}{1 - y}, for y≠1y \neq 1.

Check (b) with a=2a = 2, x=2x = 2: y=24=12y = \dfrac{2}{4} = \dfrac{1}{2}, and 2×1212=2\dfrac{2 \times \frac{1}{2}}{\frac{1}{2}} = 2.

(a) x=4y+3y−2x = \dfrac{4y + 3}{y - 2}, for y≠2y \neq 2 (b) x=ay1−yx = \dfrac{ay}{1 - y}, for y≠1y \neq 1

Question 6

x+ab=x−ba\dfrac{x + a}{b} = \dfrac{x - b}{a} (x)(x)

ShowHide solution

Multiply both sides by abab: a(x+a)=b(x−b)a{(x + a)} = b{(x - b)}, so ax+a2=bx−b2ax + a^2 = bx - b^2.

Collect: ax−bx=−a2−b2ax - bx = -a^2 - b^2. So x(a−b)=−(a2+b2)x{(a - b)} = -{(a^2 + b^2)} and x=a2+b2b−ax = \dfrac{a^2 + b^2}{b - a}, for a≠ba \neq b.

Check with a=1a = 1, b=2b = 2: x=5x = 5, and 62=3=31\dfrac{6}{2} = 3 = \dfrac{3}{1}.

x=a2+b2b−ax = \dfrac{a^2 + b^2}{b - a}, for a≠ba \neq b

Question 7

x2−xa=b\dfrac{x}{2} - \dfrac{x}{a} = b (x)(x)

ShowHide solution

Multiply every term by 2a2a: ax−2x=2abax - 2x = 2ab.

Factorise: x(a−2)=2abx{(a - 2)} = 2ab. So x=2aba−2x = \dfrac{2ab}{a - 2}, for a≠2a \neq 2.

Check with a=4a = 4, b=3b = 3: x=242=12x = \dfrac{24}{2} = 12, and 6−3=36 - 3 = 3.

x=2aba−2x = \dfrac{2ab}{a - 2}, for a≠2a \neq 2

Question 8

Siti has xx stickers. She gives 1a\dfrac{1}{a} of them to her brother and 44 to a friend, and has kk left, so x−xa−4=kx - \dfrac{x}{a} - 4 = k. (a) Make xx the subject. (b) How many stickers did she have if she gave one third of them to her brother and has 1010 left?

ShowHide solution

(a) Multiply every term by aa: ax−x−4a=akax - x - 4a = ak.

Collect the xx terms: ax−x=ak+4aax - x = ak + 4a. Factorise both sides: x(a−1)=a(k+4)x{(a - 1)} = a{(k + 4)}.

So x=a(k+4)a−1x = \dfrac{a{(k + 4)}}{a - 1}, for a≠1a \neq 1. (If aa were 11, she would give all her stickers to her brother.)

(b) a=3a = 3, k=10k = 10: x=3×142=21x = \dfrac{3 \times 14}{2} = 21. Check: 21−7−4=1021 - 7 - 4 = 10.

(a) x=a(k+4)a−1x = \dfrac{a{(k + 4)}}{a - 1}, for a≠1a \neq 1 (b) 2121 stickers

Question 9

A photo frame is bb cm wide and kbkb cm long, so its perimeter is P=2b+2kbP = 2b + 2kb cm. (a) Make bb the subject. (b) A frame with k=1.5k = 1.5 has a perimeter of 6060 cm. How wide and how long is it?

ShowHide solution

(a) Factorise: P=b(2+2k)P = b{(2 + 2k)}, so b=P2+2kb = \dfrac{P}{2 + 2k}, for k≠−1k \neq -1. Here kk is positive, so the bracket is never zero.

(b) b=602+3=12b = \dfrac{60}{2 + 3} = 12, and the length is 1.5×12=181.5 \times 12 = 18.

Check: 2×12+2×18=24+36=60.2 \times 12 + 2 \times 18 = 24 + 36 = 60\text{.}

(a) b=P2+2kb = \dfrac{P}{2 + 2k}, for k≠−1k \neq -1 (b) 1212 cm wide and 1818 cm long

Question 10

A drink is made by mixing ss ml of syrup with ww ml of water. The fraction of the drink that is syrup is c=ss+wc = \dfrac{s}{s + w}. (a) Make ss the subject. (b) How much syrup must be mixed with 300300 ml of water so that one quarter of the drink is syrup?

ShowHide solution

(a) Multiply by (s+w){(s + w)}: c(s+w)=sc{(s + w)} = s, so cs+cw=scs + cw = s.

Collect on the right: cw=s−cs=s(1−c).cw = s - cs = s{(1 - c)}\text{.} So s=cw1−cs = \dfrac{cw}{1 - c}, for c≠1c \neq 1. The drink has some water in it, so cc is less than 11 and the bracket is not zero.

(b) s=14×3001−14=7534=100.s = \dfrac{\frac{1}{4} \times 300}{1 - \frac{1}{4}} = \dfrac{75}{\frac{3}{4}} = 100\text{.}

Check: 100100+300=100400=14.\dfrac{100}{100 + 300} = \dfrac{100}{400} = \dfrac{1}{4}\text{.}

(a) s=cw1−cs = \dfrac{cw}{1 - c}, for c≠1c \neq 1 (b) 100100 ml

Question 11

Find and correct the error. (a) Lina makes xx the subject of x+a=bxx + a = bx and writes x=bx−ax = bx - a. (b) Wei makes xx the subject of ax−b=cxax - b = cx and writes x=ba+cx = \dfrac{b}{a + c}.

ShowHide solution

(a) Her xx is still on both sides. Collect: a=bx−x=x(b−1),a = bx - x = x{(b - 1)}\text{,} so x=ab−1x = \dfrac{a}{b - 1}, for b≠1b \neq 1.

Check (a) with a=2a = 2, b=3b = 3: x=1x = 1, and 1+2=3=3×11 + 2 = 3 = 3 \times 1.

(b) Test a=5a = 5, b=6b = 6, c=2c = 2: 5x−6=2x5x - 6 = 2x gives x=2x = 2, but his formula gives 67\dfrac{6}{7}. Moving cxcx to the left makes it −cx-cx: ax−cx=bax - cx = b, so x(a−c)=bx{(a - c)} = b and x=ba−cx = \dfrac{b}{a - c}, for a≠ca \neq c. With the numbers: 63=2\dfrac{6}{3} = 2.

(a) x=ab−1x = \dfrac{a}{b - 1}, for b≠1b \neq 1 (b) x=ba−cx = \dfrac{b}{a - c}, for a≠ca \neq c

Key Points

  • If the subject appears in more than one term, it cannot be freed one step at a time: collect its terms and factorise.
  • First clear any fractions and expand any brackets that contain the subject.
  • Collect every term with the subject on one side and the rest on the other; the side where those terms are positive saves minus signs.
  • Take the subject out as a common factor, keeping the 11: ax−x=x(a−1)ax - x = x{(a - 1)}.
  • Divide by the bracket, and state the values for which it would be zero.
  • Check by putting numbers into both forms.

‹ 4.7 Changing the Subject: Squares and Roots 4.9 Finding an Unknown in a Formula ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.