Resources

Students frequently misapply algebraic operations when isolating a variable that appears on both sides of a rational expression. Given the equation ax+bcx+d=k\frac{a x + b}{c x + d} = k, where k≠ack \neq \frac{a}{c} and cx+d≠0c x + d \neq 0, solve explicitly for xx by correctly collecting all like terms involving xx on one side and factoring.

Answer and steps

Final answer

x=kd−ba−kcx = \frac{k d - b}{a - k c}

Steps

01

Clear the denominator

To solve for xx in the literal equation ax+bcx+d=k\frac{a x + b}{c x + d} = k, follow these systematic algebraic steps:

Multiply both sides of the equation by the non-zero denominator (cx+d)(c x + d): ax+b=k(cx+d)a x + b = k(c x + d)

02

Expand using the distributive property

Distribute kk to every term inside the parentheses on the right side: ax+b=kcx+kda x + b = k c x + k d

Common Pitfall: A frequent mistake is distributing kk to only the first term, writing kcx+dk c x + d. Ensure kk is multiplied by both cxc x and dd.

03

Rearrange terms to group all terms containing xx together

To isolate xx, collect all terms involving xx on one side (typically the left) and all remaining terms without xx on the opposite side:

  • Subtract kcxk c x from both sides: ax−kcx+b=kda x - k c x + b = k d
  • Subtract bb from both sides: ax−kcx=kd−ba x - k c x = k d - b
04

Factor out the common variable xx

Notice that xx is a common factor in both terms on the left-hand side. Factor xx out: x(a−kc)=kd−bx(a - k c) = k d - b

05

Solve for xx by division

Divide both sides by the binomial coefficient (a−kc)(a - k c). Since the problem specifies that k≠ack \neq \frac{a}{c}, it is guaranteed that a−kc≠0a - k c \neq 0, making division valid: x=kd−ba−kcx = \frac{k d - b}{a - k c}

Educational illustration for this question

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student forgets to distribute k to the second term d when multiplying both sides by (cx + d), resulting in an incorrect constant term.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    ax+b=k(cx+d)ax + b = k(cx + d)

  2. Step 2

    ax+b=kcx+dax + b = kcx + d

    Correct

    ax+b=kcx+kdax + b = kcx + kd

    When expanding k(cx+d)k(cx + d) with the distributive property, the factor kk must multiply every term inside the parentheses. Distributing kk to dd gives +kd+ kd, not +d+ d.

  3. Step 3

    ax−kcx=d−b  ⟹  x(a−kc)=d−bax - kcx = d - b \implies x(a - kc) = d - b

    Correct

    ax−kcx=kd−b  ⟹  x(a−kc)=kd−bax - kcx = kd - b \implies x(a - kc) = kd - b

    Your algebraic logic for grouping all terms containing xx onto one side and factoring out xx was executed correctly, but the right-hand side inherited the missing factor kk from the previous distribution error.

  4. Step 4

    x=d−ba−kcx = \frac{d - b}{a - kc}

    Correct

    x=kd−ba−kcx = \frac{kd - b}{a - kc}

    You divided by the coefficient (a−kc)(a - kc) correctly, but the final numerator is incorrect due to the propagated expansion error.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly cleared the fraction by multiplying both sides by (cx+d)(cx + d).

You grouped all terms containing the target variable xx onto one side of the equation.

You correctly factored out the common factor xx from the binomial (ax−kcx)(ax - kcx).

You isolated xx by dividing both sides by (a−kc)(a - kc).

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Incomplete Distributive Property

You multiplied kk by cxcx to get kcxkcx, but forgot to multiply kk by dd, writing dd instead of kdkd.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Partial distribution across parentheses: treating the multiplier outside parentheses as applying only to the immediately adjacent leading term rather than distributing to every term inside the grouping.

REASONING PATH
Your ACEpath teacher’s suggested approach
Full Parentheses Expansion
  • For any terms k(A+B)k(A + B), multiplication distributes over addition: k(A+B)=k⋅A+k⋅Bk(A + B) = k \cdot A + k \cdot B.

  • Draw distribution arcs from the external factor to each separate term inside parentheses before writing down the expanded expression.

Term-Count Verification
  • Multiplying a single factor by a binomial with two terms must always produce an expression with two terms, each carrying that factor.

  • Count the terms inside the parentheses and verify that every resulting term contains the distributed factor.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Apply the distributive property fully to the right-hand side: ax+b=kcx+kdax + b = kcx + kd.

  2. Subtract kcxkcx and subtract bb on both sides to collect like terms: ax−kcx=kd−bax - kcx = kd - b.

  3. Factor out the common variable xx: x(a−kc)=kd−bx(a - kc) = kd - b.

  4. Divide both sides by (a−kc)(a - kc) to isolate xx.

Final answer

x=kd−ba−kcx = \frac{kd - b}{a - kc}

NEXT STEPS
Final Takeaways from Your Teacher
  • Draw distribution arrows from the outside factor to each term inside parentheses before writing the expanded form.

  • Practice distributing constants and variables over binomials and trinomials with literal symbols.

  • Plug a simple set of numbers (such as a=1,b=0,c=1,d=1,k=2a=1, b=0, c=1, d=1, k=2) into both the original equation and your final isolated expression to check consistency.

OverviewACEpath Teacher's Diagnosis

02 The student makes a sign error when transposing terms across the equals sign, adding b instead of subtracting it.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    ax+b=kcx+kdax + b = kcx + kd

  2. Step 2

    ax−kcx=kd+bax - kcx = kd + b

    Correct

    ax−kcx=kd−bax - kcx = kd - b

    When moving +b+b from the left-hand side to the right-hand side, you must subtract bb from both sides, which yields kd−bkd - b rather than kd+bkd + b.

  3. Step 3

    x(a−kc)=kd+bx(a - kc) = kd + b

    Correct

    x(a−kc)=kd−bx(a - kc) = kd - b

    You correctly factored out the common variable xx, but this step carries forward the sign error from the previous line.

  4. Step 4

    x=kd+ba−kcx = \frac{kd + b}{a - kc}

    Correct

    x=kd−ba−kcx = \frac{kd - b}{a - kc}

    You isolated xx by dividing both sides by (a−kc)(a - kc), but the final numerator remains affected by the earlier sign slip.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly cleared the fraction by multiplying both sides by (cx+d)(cx + d).

You distributed kk across both terms on the right side without dropping any factors.

You correctly factored out xx and divided by its coefficient binomial to isolate the variable.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Sign Error in Transposition

You wrote +b+b instead of −b-b on the right side when moving the constant term across the equals sign.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Dropping the inverse operation during multi-term rearrangement: terms moved across the equals sign keep their original operation instead of applying subtraction to cancel an addition.

REASONING PATH
Your ACEpath teacher’s suggested approach
Inverse Operation Check
  • To eliminate +b+b from one side of an equation, apply its inverse operation (subtract bb) to both sides.

  • Write out the explicit balance operation '−b- b' directly under both sides before simplifying to the next line.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Subtract kcxkcx and subtract bb from both sides: ax−kcx=kd−bax - kcx = kd - b

  2. Factor out xx on the left side: x(a−kc)=kd−bx(a - kc) = kd - b

  3. Divide both sides by (a−kc)(a - kc): x=kd−ba−kcx = \frac{kd - b}{a - kc}

Final answer

x=kd−ba−kcx = \frac{kd - b}{a - kc}

NEXT STEPS
Final Takeaways from Your Teacher
  • Always write out the intermediate balancing step (such as '−b-b') beneath both sides when transposing multiple terms simultaneously.

  • Substitute simple test values (for example a=2,b=3,c=1,d=1,k=1a=2, b=3, c=1, d=1, k=1) into both your original expression and final formula to verify that the signs stay consistent.

OverviewACEpath Teacher's Diagnosis

03 The student attempts to divide by the coefficient of x before collecting all x-terms on one side, failing to isolate x.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    ax+b=kcx+kdax + b = kcx + kd

  2. Step 2

    ax=kcx+kd−bax = kcx + kd - b

  3. Step 3

    x=kcx+kd−bax = \frac{kcx + kd - b}{a}

    Correct

    ax−kcx=kd−b  ⟹  x(a−kc)=kd−b  ⟹  x=kd−ba−kcax - kcx = kd - b \implies x(a - kc) = kd - b \implies x = \frac{kd - b}{a - kc}

    You divided by aa while the variable xx was still present on the right-hand side in kcxkcx. To solve explicitly for xx, all terms containing xx must be grouped on one side and factored out before dividing.

WHAT YOU DID WELL
Compliments from Your Teacher

You cleared the rational denominator correctly by multiplying both sides by (cx+d)(cx + d).

You applied the distributive property accurately to obtain kcx+kdkcx + kd.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Premature division without isolating variable

Dividing by aa to isolate xx while another term with xx (kcxkcx) remains on the other side of the equation.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Treating isolation as simply dividing by the visible leading coefficient of one term, rather than recognizing that all variable terms must be collected together and factored out before dividing by a single numerical or variable coefficient.

REASONING PATH
Your ACEpath teacher’s suggested approach
Check Variable Presence
  • An explicit solution for xx cannot contain xx in the expression on the other side.

  • Scan both sides of your final expression to ensure xx appears only once, by itself, on one side of the equals sign.

Collect Before Factoring
  • When a target variable appears in multiple terms across an equation, move all terms containing that variable to one side and all other terms to the opposite side.

  • Subtract kcxkcx from both sides to get ax−kcx=kd−bax - kcx = kd - b, then factor x(a−kc)x(a - kc) before dividing.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Subtract kcxkcx from both sides to collect all terms with xx on the left side: ax−kcx=kd−bax - kcx = kd - b

  2. Factor the common factor xx out of the left-hand side: x(a−kc)=kd−bx(a - kc) = kd - b

  3. Divide both sides by the coefficient binomial (a−kc)(a - kc) to isolate xx: x=kd−ba−kcx = \frac{kd - b}{a - kc}

Final answer

x=kd−ba−kcx = \frac{kd - b}{a - kc}

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the requirement that an explicit solution for a variable must not express that variable in terms of itself.

  • Practice moving all variable terms to one side of the equals sign before dividing.

  • Drill factoring out the common variable x(A−B)x(A - B) from expressions of the form Ax−BxAx - Bx.

Lock it in

Similar question

01

Solve for yy in terms of p,q,mp, q, m: y−py+q=m\frac{y - p}{y + q} = m, where m≠1m \neq 1 and y≠−qy \neq -q.

Answer

y=mq+p1−my = \frac{mq + p}{1 - m}

  1. Multiply both sides by (y+q)(y + q): y−p=m(y+q)y - p = m(y + q)
  2. Distribute mm fully: y−p=my+mqy - p = my + mq
  3. Rearrange terms: y−my=mq+py - my = mq + p
  4. Factor out yy: y(1−m)=mq+py(1 - m) = mq + p
  5. Divide: y=mq+p1−my = \frac{mq + p}{1 - m}
02

Solve for xx in terms of a,b,ca, b, c: 2x+a3x−b=c\frac{2x + a}{3x - b} = c, where c≠23c \neq \frac{2}{3} and 3x−b≠03x - b \neq 0.

Answer

x=−bc−a2−3cx = \frac{-bc - a}{2 - 3c} (or bc+a3c−2\frac{bc + a}{3c - 2})

  1. Multiply both sides by (3x−b)(3x - b): 2x+a=c(3x−b)2x + a = c(3x - b)
  2. Distribute cc to both terms: 2x+a=3cx−bc2x + a = 3cx - bc
  3. Group xx-terms: 2x−3cx=−bc−a2x - 3cx = -bc - a
  4. Factor out xx: x(2−3c)=−bc−ax(2 - 3c) = -bc - a
  5. Divide: x=−bc−a2−3c=bc+a3c−2x = \frac{-bc - a}{2 - 3c} = \frac{bc + a}{3c - 2}
03

Solve for zz explicitly: pz+qrsz−t=uv\frac{p z + q r}{s z - t} = \frac{u}{v}, where pv−us≠0pv - us \neq 0 and v(sz−t)≠0v(sz - t) \neq 0.

Answer

z=−ut−qrvpv−usz = \frac{-ut - qrv}{pv - us} (or ut+qrvus−pv\frac{ut + qrv}{us - pv})

  1. Cross-multiply: v(pz+qr)=u(sz−t)v(pz + qr) = u(sz - t)
  2. Distribute on both sides: vpz+vqr=usz−utvpz + vqr = usz - ut
  3. Group zz-terms on the left: vpz−usz=−ut−vqrvpz - usz = -ut - vqr
  4. Factor out zz: z(vp−us)=−ut−vqrz(vp - us) = -ut - vqr
  5. Divide: z=−ut−qrvpv−usz = \frac{-ut - qrv}{pv - us}
Loading workspace…