Skip to main content
1-Visitor
November 28, 2013
Solved

Problem finding set of values for exponential function

  • November 28, 2013
  • 5 replies
  • 6672 views

Hello everyone.
I am having some trouble finding a set of values of y corresponding to x for the following equation.
y=exp(x+4y)

I would really appreciate any help i can get. Thanks.

Best answer by AlanStevens

I agree with Werner. I find the easiest way to think about this is to take logs:

m1.PNG

Alan

5 replies

24-Ruby IV
November 28, 2013

Sorry, may be I do not understand some one, but where is the problem:

e.png

25-Diamond I
November 28, 2013

Valery Ochkov wrote:

Sorry, may be I do not understand some one, but where is the problem:

Thats the problem:

28.11.png

Those two values are demanded to be the same.

25-Diamond I
November 28, 2013

You demand the impossible (assuming you expect real values).

You will only get solutions (two for each value of x) for x <= -2.383.

You may get them using a solve block.

25-Diamond I
November 29, 2013

Here is a sheet that should help and an animation demonstrating why values of x must be smaller than -2.383..

I still think that number should be -1-ln(4) and Mathcad allows for slightly bigger values only because of numerical inaccuracies in the solve block - anybody any comments on that?

A more detailled video (higher FRAME number) was uploaded here: http://communities.ptc.com/videos/4498

EDIT: Added 3D-plot

LambertW2.png

19-Tanzanite
November 29, 2013

I agree with Werner. I find the easiest way to think about this is to take logs:

m1.PNG

Alan

25-Diamond I
November 29, 2013

Fine approach!

So -1-ln(4) definitely is the largest value allowed for x.

1-Visitor
November 29, 2013

Thanks! Iogs seems to be doing the job.
However what i ultimately need is a set of values of y corresponding to x.

I tried your method and but what i managed was to get a set of values of x corresponding to y.
Is there any way i can extract this information from the graph? Thanks.

19-Tanzanite
November 29, 2013

Do you mean something like the attached? Bear in mind that you won't get real values of y if your values of x are greater than -1-ln(4).

Alan

25-Diamond I
November 29, 2013

Again the guess value y:=1 will give you the bigger of the two solutions while a smaller guess like 0.01 will yield the solution for y which is closer to zero.

1-Visitor
November 29, 2013

Matlab.pngI'm trying to apply this concept to another equation(same form as above). I don't know what i'm doing wrong but i'm not getting the range of values of y that i'm supposed to get.
I also plotted the equation using Mathlab just to verify. I'll be grateful if you could have a look at it. Thanks.

19-Tanzanite
November 29, 2013

See attached for what I get with Mathcad.

Alan

1-Visitor
November 29, 2013

I made a mistake in the Mathcad file. Thanks again for helping me out.