# Math Help - Solve for x?

1. ## Solve for x?

p^2(1 − x) − 2pqx = q^2(1 + x)

How would you make x the subject in this one?

2. $\displaystyle p^2(1-x) - 2pq\,x = q^2(1 + x)$

$\displaystyle p^2 - p^2x - 2pq\,x = q^2 + q^2x$

$\displaystyle p^2 - q^2 = p^2x + 2pq\,x + q^2x$

$\displaystyle p^2 - q^2 = (p^2 + 2pq + q^2)x$

$\displaystyle (p-q)(p+q) = (p+q)^2x$

$\displaystyle \frac{(p-q)(p+q)}{(p+q)^2} = x$

$\displaystyle x = \frac{p-q}{p+q}$.