Linearization of a non linear equation

AI Thread Summary
The discussion revolves around the challenge of linearizing a nonlinear equation for regression analysis. The original equation involves multiple variables and constants, and the poster initially attempted to use logarithmic transformations to simplify it. However, they realized their application of logarithmic properties was incorrect, leading to confusion about the linearization process. Clarification was provided that linearization could involve algebraic rearrangement rather than solely relying on logarithms, and suggestions were made to define new variables to facilitate this process. The overall goal is to rearrange the equation to allow for the estimation of constants using regression techniques like Excel's 'LINEST'.
red98
Messages
2
Reaction score
0

Homework Statement



I'm sure this is easy but I've been looking at it for an hour and can't get anywhere. I have an equation that I need a linear form of.

Homework Equations



y = a*b*(x1*x22-(x3*x44/c))/(1+b*x1)

That's the equation I have to write a linear form of.

The Attempt at a Solution



I'm struggling to make a start, first thought was to try multiply the LHS by the 1+a*x1 that the RHS is divided by. Then take the natural log of both sides.

Assuming basic log laws I ended up separating it into:

2*ln(y) + ln(b) + ln(x1) = ln(a) + ln(b) + ln(x1) + 2*ln(x2) - ln(a) + ln(b) + ln(c) + ln(x3) + 4*ln(x4)

I know this is wrong since it cancels to

2*ln(y) = ln (b) + 2*ln(x2) + ln(c) + ln(x3) + 4*ln(x4)

And that would mean the constant a vanishes as does x1. I guess I'm approaching the linearization wrong, that or my interpretation of log laws is flawed?
 
Last edited:
Physics news on Phys.org
red98 said:
EDIT: realized that might not be the clearest form to interpret, this is the equation i was trying to write above:
http://g.imagehost.org/0914/equation1.png

FYI this forum is LaTeX-enabled. Just wrap the code in tex tags, or itex tags for inline typesetting. The tags look like the following, only without spaces.

[ tex ] code goes here [ \tex ]

[ itex ] code goes here [ \itex ]

To see the code for any LaTeX image, just click on the image (make sure pop ups are allowed).

Assuming basic log laws I ended up separating it into:

2*ln(y) + ln(b) + ln(x1) = ln(a) + ln(b) + ln(x1) + 2*ln(x2) - ln(a) + ln(b) + ln(c) + ln(x3) + 4*ln(x4)

That's not right. For instance, \ln(y(1+bx_1))=ln(y)+ln(1+bx_1). But you can't separate ln(1+bx_1) any further.


That said, I'm a bit confused by what you mean by "linearizing" the equation. When I hear that expression I think of finding a linear approximation of y=f\left(x_1,x_2,x_3,x_4\right). But this necessarily involves calculus, and you placed this in the Precalc forum. Can you explain further what you mean by linearizing an equation?
 
Last edited by a moderator:
Tom Mattson said:
That's not right. For instance, \ln(y(1+bx_1))=ln(y)+ln(1+bx_1). But you can't separate ln(1+bx_1) any further.That said, I'm a bit confused by what you mean by "linearizing" the equation. When I hear that expression I think of finding a linear approximation of y=f\left(x_1,x_2,x_3,x_4\right). But this necessarily involves calculus, and you placed this in the Precalc forum. Can you explain further what you mean by linearizing an equation?

Ok, thanks for your prompt reply, I'd better explain the context of the problem since I guess I'm using the wrong term but I'm fairly certain that the solution isn't calculus based.

I've realized my attempt at taking the natural log of each side was wrong, I forgot my basic log laws :blushing:

That equation is supposed to be rearranged into a form where the constants a and b can be estimated using a function like Microsoft Excels 'LINEST' or similar to do regression analysis. So I thought this meant some sort of rearrangement so it could be approximated to a form such as: y=mx+c or 1/y=m/x+1/c. My initial thought was to try and linearize it by the logs. Now I'm thinking it's probably alegraic rearrangement (without logarithms) but I'm not getting anywhere.
 
Sorry, I don't know how LINEST works. :redface: Also I'm at a loss as to how you could estimate a and b separately, given that they occur in the combination ab.

If you want to use natural logs then I would try the following.

\ln(y)=\ln(ab)+\ln\left(x_1x_2^2-\frac{x_3x_4^4}{c}\right)-\ln\left(1+bx_1\right)[/itex]<br /> <br /> Now define new variables u_1=x_1x_2-x_3x_4^4/c and u_2=1+bx_1.
 
See page 4 in <http://en.wikipedia.org/wiki/Gradient_descent>. I think by linearization the poster might mean something like estimating a in y = e**ax using least squares. Take the log base e of both sides, then subject it to linear least squares.
 
Last edited by a moderator:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top