Exponential equation: solve y = a (1 - e^{-bx}) for b

SHS

New member
Joined
May 8, 2017
Messages
4
Hello,

I have an exponential equation with 2 unknowns (a and b). Also, I have 2 points (x1 , y1) and (x2 , y2) to put in the equation. But, I can not solve the equation with respect my points:

y = a (1 - e-bx)

In fact, I need to solve the equation in a way that I'd have 2 equations for a and b:

a = .....
b = .....

Does anyone know how to solve it?
 
Hello,

I have an exponential equation with 2 unknowns (a and b). Also, I have 2 points (x1 , y1) and (x2 , y2) to put in the equation. But, I can not solve the equation with respect my points:

y = a (1 - e-bx)

In fact, I need to solve the equation in a way that I'd have 2 equations for a and b:

a = .....
b = .....

Does anyone know how to solve it?
y1/y2 = [1- e^(-b*x1)]/[1- e^(-b*x2)]

Now you have one equation and one unknown (b) ... and continue....
 
I have an exponential equation with 2 unknowns (a and b). Also, I have 2 points (x1 , y1) and (x2 , y2) to put in the equation. But, I can not solve the equation with respect my points:

y = a (1 - e-bx)

In fact, I need to solve the equation in a way that I'd have 2 equations for a and b:

a = .....
b = .....

Does anyone know how to solve it?
When you say that you "have two points", do you mean that you have specific x- and y-values? If so, then plug these values into the generic equation. This will give you two equations in two unknowns, being "a" and "b". Solve the system to get the specific form of your equation. ;)
 
y1/y2 = [1- e^(-b*x1)]/[1- e^(-b*x2)]

Now you have one equation and one unknown (b) ... and continue....


You're right. But, this is the way that I've already gone and I couldn't solve the rest.I mean I couldn't separate "b".
 
You're right. But, this is the way that I've already gone and I couldn't solve the rest.I mean I couldn't separate "b".
If you'd like, you can post your work so far, showing all of your steps, and we'll be glad to try to help you get un-stuck. ;)
 
If you'd like, you can post your work so far, showing all of your steps, and we'll be glad to try to help you get un-stuck. ;)


y = a (1 – e-bx)
we have (x1, y1) and (x2, y2), as two points of the equation:
y1 = a (1 – e-bx1) & y2 = a (1 – e-bx2)
Thus,
y1/y2 = (1 – e-bx1) / (1 – e-bx2)
y1 (1 – e-bx2) = y2 (1 – e-bx1)
y1 - y1 (e-bx2) = y2 - y2 (e-bx1)
Now, I need to have an equation based on y = a (1 – e-bx)
we have (x1, y1) and (x2, y2), as two points of the equation:
y1 = a (1 – e-bx1) & y2 = a (1 – e-bx2)
Thus,
y1/y2 = (1 – e-bx1) / (1 – e-bx2)
y1 (1 – e-bx2) = y2 (1 – e-bx1)
y1 - y1 (e-bx2) = y2 - y2 (e-bx1)
Now, I need to have an equation based on x1, y1, x2 and y2 , equals to b:
b = ……… ?
, which is equal to b:
b = ……… ?

Of course, I don't want to put numbers instead of x1, y1, x2 and y2, right now. I just want to have the equation of "b" to write a C code with that.
 
y = a (1 – e-bx)
we have (x1, y1) and (x2, y2), as two points of the equation:
y1 = a (1 – e-bx1) & y2 = a (1 – e-bx2)
Thus,
y1/y2 = (1 – e-bx1) / (1 – e-bx2)
y1 (1 – e-bx2) = y2 (1 – e-bx1)
y1 - y1 (e-bx2) = y2 - y2 (e-bx1)...
That's kinda nasty. I'd assumed you'd have values for the points (y1, x 1 ) an d (y 2 , x2 ). Lacking that, I'd go like this:

. . . . \(\displaystyle y_1\, -\, y_1\, e^{-bx_2}\, =\, y_2\, -\, y_2\, e^{-bx_1}\)

. . . . \(\displaystyle y_1\, -\, y_2\, =\, y_1\, e^{-bx_2}\, -\, y_2\, e^{-bx_1}\)

Then use the fact that:

. . . . \(\displaystyle a^{mn} = (a^m)(a^n)\)

...to get:

. . . . \(\displaystyle y_1\, -\, y_2\, =\, y_1\, e^{b}\, e^{-x_2}\, -\, y_2\, e^{b}\, e^{-x_1}\)

. . . . \(\displaystyle \dfrac{y_1\, -\, y_2}{e^{b}}\, =\, \dfrac{e^{b}\, (y_1\, e^{-x_2}\, -\, y_2\, e^{-x_1})}{e^{b}}\)

. . . . \(\displaystyle \dfrac{y_1\, -\, y_2}{y_1\, e^{-x_2}\, -\, y_2\, e^{-x_1}}\, =\, e^{b}\)

Then log either side to get what you're seeking. ;)
 
That's kinda nasty. I'd assumed you'd have values for the points (y1, x 1 ) an d (y 2 , x2 ). Lacking that, I'd go like this:

. . . . \(\displaystyle y_1\, -\, y_1\, e^{-bx_2}\, =\, y_2\, -\, y_2\, e^{-bx_1}\)

. . . . \(\displaystyle y_1\, -\, y_2\, =\, y_1\, e^{-bx_2}\, -\, y_2\, e^{-bx_1}\)

Then use the fact that:

. . . . \(\displaystyle a^{mn} = (a^m)(a^n)\)

...to get:

. . . . \(\displaystyle y_1\, -\, y_2\, =\, y_1\, e^{b}\, e^{-x_2}\, -\, y_2\, e^{b}\, e^{-x_1}\)

. . . . \(\displaystyle \dfrac{y_1\, -\, y_2}{e^{b}}\, =\, \dfrac{e^{b}\, (y_1\, e^{-x_2}\, -\, y_2\, e^{-x_1})}{e^{b}}\)

. . . . \(\displaystyle \dfrac{y_1\, -\, y_2}{y_1\, e^{-x_2}\, -\, y_2\, e^{-x_1}}\, =\, e^{b}\)

Then log either side to get what you're seeking. ;)



OOOMMMMGGGG!!!

I didn't use \(\displaystyle a^{mn} = (a^m)(a^n)\) !!! Why?!!!

Thank you very much Kinda...
 
Top