How to Linearize a Function without Using Logarithms

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 6K views
mrwest09
Messages
4
Reaction score
0

Homework Statement


Linearize the following model:
y=[tex]\alpha*x*e^{\beta*x}[/tex]

Homework Equations


The only relevant equations I can think of are the laws of natural logarithms.

The Attempt at a Solution


I have tried to taking the ln of both sides however that leaves me with an equation that has two term with x in it.

ln(y)=ln(a)+ln(x)+Bx

I'm sure there has to be a simple solution but I can't visualize anything without running into the same problems.
 
Physics news on Phys.org
mrwest09 said:

Homework Statement


Linearize the following model:
y=[tex]\alpha*x*e^{\beta*x}[/tex]


Homework Equations


The only relevant equations I can think of are the laws of natural logarithms.


The Attempt at a Solution


I have tried to taking the ln of both sides however that leaves me with an equation that has two term with x in it.

ln(y)=ln(a)+ln(x)+Bx

I'm sure there has to be a simple solution but I can't visualize anything without running into the same problems.
It's possible that you're supposed to do this using a Maclaurin series representation for your function, and discard the x2 and higher degree terms.

The Maclaurin series for e[itex]\beta[/itex]x is
[tex]e^{\beta x} = 1 + \frac{\beta x}{1!} + \frac{(\beta x)^2}{2!} + ... + \frac{(\beta x)^n}{n!} + ...[/tex]

Multiply the terms in this series by [itex]\alpha[/itex]x and then discard all terms in x2 or higher.

EDIT:
On second thought, there's a simpler formula that is related to the above.

If x is "close to" 0, then f(x) [itex]\approx[/itex] f(0) + x*f'(0). This gives you a first degree polynomial approximation to your function.
 
Last edited:
mrwest09 said:

Homework Statement


Linearize the following model:
y=[tex]\alpha*x*e^{\beta*x}[/tex]


Homework Equations


The only relevant equations I can think of are the laws of natural logarithms.

Correct:

[tex] \ln{y} = \ln{\alpha} + \ln{x} + \beta \, x[/tex]

So, [itex]\ln{y} - ln{x}[/itex] is a linear model relative to the function [itex]x[/itex] and you can use linear least squares fit to extract the value of the coefficients [itex]\ln{\alpha}[/itex] (the intercept) and [itex]\beta[/itex] (the slope).
 
Okay that makes some sense but if you were to fit that into your standard y=mx+b format for linear lines wouldn't your 'y' value depend on two variables? In this case wouldn't it not be linear?
This is how I am picturing the final equation:

[tex] <br /> \ln{y} - \ln{x} = \beta \, x + \ln{\alpha}<br /> [/tex]

y = m x + b
 
Last edited:
Yes. In:

[tex] \tilde{y} = m \tilde{x} + b[/tex]

we need to calculate:

[tex] \tilde{y} = \ln{y} - \ln{x}[/tex]

[tex] \tilde{x} = x[/tex]

and then:

[tex] m = \beta, \; b = \ln{\alpha}[/tex]