Register to reply 
Logistic function 
Share this thread: 
#1
Feb2606, 05:07 PM

Sci Advisor
PF Gold
P: 1,542

I did this the same way as the book example, and the class notes example, and the other problems in this section, which I got correct, but my answer for this one doesn't agree with the back of the book.
f has a limiting value 6 and passes through (0,3) and (1,4). Find the logistic function f. [tex]f(x)=\frac{N}{1+Ab^{x}}[/tex] Assume that for small values of x, the function is exponential. [tex]y=Ab^x[/tex] [tex]4=Ab^1[/tex] [tex]3=Ab^0[/tex] divide these equations: [tex]\frac{4}{3}=b^1[/tex] [tex]b=\frac{4}{3}[/tex] Solve for A [tex]f(x)=\frac{N}{1+Ab^{x}}[/tex] [tex]f(0)=3[/tex] [tex]3=\frac{6}{1+Ab^{0}}[/tex] [tex]3=\frac{6}{1+A}[/tex] [tex]3+3A=6[/tex] [tex]3A=63[/tex] [tex]A=1[/tex] Answer: [tex]f(x)=\frac{6}{1+(4/3)^{x}}[/tex] Back of book answer: [tex]f(x)=\frac{6}{1+2^{x}}[/tex] 


#2
Feb2606, 06:24 PM

HW Helper
P: 2,566

If you want an exact answer, you know N, so you just need to plug in for each x and y value and solve the two resulting equations for A and b. 


#3
Feb2606, 06:39 PM

Sci Advisor
PF Gold
P: 1,542

Thanks, StatusX.
I'm still confused, first because the method I used was the way the book's example gave it, the lecture notes gave it, and the way I used to solve the other problems in this section. My answers and the back of the book agree there. But trying what you said, I'd still have 2 unknowns in each of the equations. Maybe there is a way to eliminate A since it will be constant to both equations, but I'm not sure how. 


#4
Feb2606, 06:59 PM

P: 335

Logistic function
Dan 


#5
Feb2606, 07:19 PM

Sci Advisor
PF Gold
P: 1,542

So in dividing the equations: [tex]b^1/1 = b^1[/tex] or [tex]b^1/b^0 = b^{10}=b^1[/tex] That's what I got when I divided the equations. 


#6
Feb2706, 05:52 AM

Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,311

I think it is likely that you misunderstood what the book was doing perhaps it was doing a problem in which the exponential was in the numerator rather than the denominator. It is certainly not the case that "for small values of x, the function is exponential"!
You are given 3 pieces of information with which to solve for 3 unknowns, N, A, b. The simplest is "f has a limiting value 6". As x goes to infinity, b^{x} will go to 0 so the limiting value of f is N/(1+0)= 6. f "passes through (0,3)" so f(0)= N/(1+ Ab^{0})= 6/(1+ A)= 4. Solve that for A. f "passes through (1,4)" so f(1)= N/(1+ Ab^{1})= 4. You've already found N and A so it is easy to solve for b. 


#7
Feb2706, 12:27 PM

Sci Advisor
PF Gold
P: 1,542

[tex]4=\frac{6}{1+A}[/tex] [tex]4+4A=6[/tex] [tex]4A=64[/tex] [tex]4A=2[/tex] [tex]A=\frac{2}{4}[/tex] [tex]A=\frac{1}{2}[/tex] [tex]3=\frac{1}{2}b^0[/tex] [tex]3=\frac{1}{2}[/tex] ** Edit Since the back of the book and I drop A from our final answers, I think we both agree it is 1. In the part I quoted you, did you mean =3 instead of =4, or am I more lost than I think?? 


#8
Feb2806, 03:24 AM

Sci Advisor
PF Gold
P: 1,542

I asked the teacher how to do this problem. He did it on the board, and got the same value for b that I did (1.333....). When told that the back of the book gives 2 for b, he concluded that the back of the book is wrong.
However, I'm still pondering what HallsofIvy said, that I can't assume that the function is exponential for small values of x. It makes sense that it is simply because the book, in its examples, tells you to assume this. That's what a logistical problem is according to them. One that starts out exponential, but has a limiting value. But that's not a good reason to think that this assumption should apply to all problems. Did the book get ahead of itself in assigning a problem that it did not explain how to do in the text? This homework is now turned in, and I got full credit on the problem, so thanks for your helpful replies, but I'm still not completely convinced that the back of the book got it wrong. 


#9
Feb2806, 05:42 AM

Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,311

Yes, sorry about that: it should have been
"f "passes through (0,3)" so f(0)= N/(1+ Ab0)= 6/(1+ A)= 3. Solve that for A." Your formula is [tex]f(x)=\frac{N}{1+Ab^{x}}[/tex] Now that I look at it more closely, we can multiply both numerator and denominator by b^{x} to get [tex]f(x)= \frac{Nb^x}{b^x+ A}[/tex] For x small (compared with N), b^{x}+ A will be close to A so approximately, [tex]f(x)= \frac{N}{A}b^x[/tex] In that sense, yes, it is approximately an exponential. 


#10
Feb2806, 08:10 AM

HW Helper
P: 1,421

The function: [tex]f(x) = \frac{6}{1 + \left( \frac{4}{3} \right) ^ {x}}[/tex] does not goes through the point (1, 4), whereas the function: [tex]f(x) = \frac{6}{1 + 2 ^ {x}}[/tex] does... After solving for N and A, you can use the fact that f(x) passes through (1, 4) (i.e f(1) = 4), and solve for b. 


#11
Feb2806, 07:59 PM

Sci Advisor
PF Gold
P: 1,542

After plotting it, I can see why the assumption that it is exponential for small values of x does not work in this problem. These points are near the inflection point. Image (book = red, mine=blue): http://www.orbitsimulator.com/BA/function.GIF hmmm... This textbook usually doesn't make you think. All the problems follow the template of the example probems. It looks linear near these points, but using y=mx+b gives me 1 for m and 3 for b. So I guess I can't assume this either. ** edit... strange, the TEX in my original post still works and your TEX and Ivy's TEX worked before I posted this reply, but now I get red X's for your TEX and Ivy's TEX. I don't see a syntax error when I view the code... 


#12
Mar106, 02:32 AM

P: 335

Dan 


Register to reply 
Related Discussions  
Ugh! Logistic differentiation  Calculus & Beyond Homework  5  
Logistic Function  Calculus  1  
Continuous Logistic Map  General Math  4  
Logistic Equation  Introductory Physics Homework  9 