Algebra · real student question

The relation y p^x = q is non-linear. Change it into linear form Y = mX + c and state Y, X, m and c.

Question

The law

ypx=qy\,p^{x}=q

is non-linear in xx and yy. Reduce it to the linear form Y=mX+cY=mX+c and identify YY, XX, the gradient mm and the intercept cc.

Step-by-step solution

  1. Decide which transformation the equation calls for. The unknown xx sits in an exponent, so no amount of rearranging in xx and yy will straighten the graph. The tool that pulls a variable down out of an exponent is the logarithm - that is the whole strategy.

  2. Isolate yy first. Dividing by pxp^{x}:

    y=qpx=qpxy=\frac{q}{p^{x}}=q\,p^{-x}

  3. Take logarithms of both sides. Any base works as long as it is used consistently:

    logy=log ⁣(qpx)\log y=\log\!\left(q\,p^{-x}\right)

  4. Split the product and drop the exponent. Using log(AB)=logA+logB\log(AB)=\log A+\log B and log(px)=xlogp\log(p^{-x})=-x\log p:

    logy=logqxlogp\log y=\log q-x\log p

  5. Match it against Y=mX+cY=mX+c. Rewriting with the xx-term first:

    logyY=(logp)mxX+logqc\underbrace{\log y}_{Y}=\underbrace{(-\log p)}_{m}\underbrace{x}_{X}+\underbrace{\log q}_{c}

    So you plot logy\log y against xx itself - not against logx\log x, which is the usual slip.

  6. Check the reading of the graph. The gradient is logp-\log p, so p=10mp=10^{-m} for base-10 logs; the intercept is logq\log q, so q=10cq=10^{c}. A numerical test with p=2,q=5,x=3p=2,q=5,x=3: y=5/8=0.625y=5/8=0.625, and log100.625=0.2041\log_{10}0.625=-0.2041, while 3log102+log105=0.9031+0.6990=0.2041-3\log_{10}2+\log_{10}5=-0.9031+0.6990=-0.2041 ✓.

Answer

logy=(logp)x+logq,Y=logy, X=x, m=logp, c=logq\log y=(-\log p)\,x+\log q,\qquad Y=\log y,\ X=x,\ m=-\log p,\ c=\log q

Need to solve a different problem like this? Open the solver →