Solving the Bernoulli Equation: Find Initial Value u(1)

Click For Summary

Discussion Overview

The discussion revolves around solving a Bernoulli equation of the form 2xyy' + (1+x)y^2 = e^{2x}, focusing on finding the initial value u(1) such that the limit of u(x) as x approaches 0 from the positive side remains finite. Participants explore various methods and transformations, including the use of Taylor series and different proposed solutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the equation and transformation u = y^2, seeking to find u(1) under the condition that lim_{x -> 0^{+}} u(x) < \infty.
  • Another participant suggests a different form of the equation and provides a solution, indicating that A must equal -1 for convergence as x approaches 0.
  • A subsequent post corrects the earlier equation to 2xyy' + (1+x)y^2 = e^{2x} and proposes a new solution, questioning if A should be set to 0 for convergence.
  • Further replies discuss the necessity of careful handling of exponential terms and series expansions, with one participant suggesting that A must be 0 for convergence.
  • Another participant introduces a Taylor series approach to derive u(x), leading to a discussion about the implications of the series on convergence.
  • Participants express uncertainty about the correctness of their approaches and solutions, with some corrections and refinements made along the way.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach or solution to the problem. Multiple competing views and methods are presented, with ongoing uncertainty about the conditions for convergence and the correct form of the solution.

Contextual Notes

Limitations include potential errors in the transformation and assumptions about convergence, as well as unresolved mathematical steps in the derivations presented by participants.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hello!

I have the following Bernoulli equation:
2xyy&#039;+(1+x)y^2=e^{x}, x&gt;0

lim_{x -&gt; 0^{+}} y(x) &lt;\inftyThe transformation is u=y^{2}.

So, u&#039;+(\frac{1}{x}+1)u=\frac{e^{2x}}{x}.How can I find the initial value u(1) so that lim_{x -&gt; 0^{+}} u(x) &lt;\infty ??
 
Physics news on Phys.org
mathmari said:
Hello!

I have the following Bernoulli equation:
2xyy&#039;+(1+x)y^2=e^{x}, x&gt;0

lim_{x -&gt; 0^{+}} y(x) &lt;\inftyThe transformation is u=y^{2}.

So, u&#039;+(\frac{1}{x}+1)u=\frac{e^{2x}}{x}.How can I find the initial value u(1) so that lim_{x -&gt; 0^{+}} u(x) &lt;\infty ??

Hey mathmari!

I think that should be:
$$u'+(\frac{1}{x}+1)u=\frac{e^{x}}{x}$$You can solve this ODE.
Its solution is:
$$u(x)=\frac{A e^{-x} + e^x}{2x}$$
as you can see here.To make u(x) converge when $x \to 0^+$, you need $A=-1$.
According to l'Hospital, that gives us:
$$\lim_{x \to 0^+} \frac{e^x -e^{-x}}{2x} = \lim_{x \to 0^+} \frac{e^x +e^{-x}}{2} = 1$$
so it really converges.

So:
$$u(1) = \frac{e -e^{-1}}{2}$$
 
Sorry, I accidentally made a mistake at the exercise..

It's 2xyy&#039;+(1+x)y^2=e^{2x}, with solution u(x)=\frac{3Ae^{-x}+xe^{3x}}{3x}.

To make u(x) converge when x\rightarrow 0^{+}, must A=0??
Then lim_{x\rightarrow 0^{+}} \frac{xe^{3x}}{3x}=lim_{x\rightarrow 0^{+}} \frac{e^{3x}}{3}=\frac{1}{3}.
So, u(1)=\frac{e^{3}}{3}.
Is this right??
 
mathmari said:
Sorry, I accidentally made a mistake at the exercise..

It's 2xyy&#039;+(1+x)y^2=e^{2x}, with solution u(x)=\frac{3Ae^{-x}+xe^{3x}}{3x}.

To make u(x) converge when x\rightarrow 0^{+}, must A=0??
Then lim_{x\rightarrow 0^{+}} \frac{xe^{3x}}{3x}=lim_{x\rightarrow 0^{+}} \frac{e^{3x}}{3}=\frac{1}{3}.
So, u(1)=\frac{e^{3}}{3}.
Is this right??

Almost. ;)

I think your solution should be:
$$u(x)=\frac{3Ae^{-x}+xe^{\color{red}{2x}}}{3x}$$
 
I like Serena said:
Almost. ;)

I think your solution should be:
$$u(x)=\frac{3Ae^{-x}+xe^{\color{red}{2x}}}{3x}$$

Yes, you're right! :D

I have also thought another way to solve the exercise.. Could you tell me if it's right??Using the Taylor series for the exponential:

e^{x}=1+x+\frac{x^2}{2}+...

e^{-x}=1-x+\frac{x^2}{2}-\frac{x^3}{3!}+...

e^{3x}=1+3x+\frac{(3x)^2}{2}+...

For small x&gt;0
u(x)= \frac{1-x}{x}(c+\frac{1+3x}{3})= (\frac{1}{x}-1)(c+\frac{1+3x}{3})= \frac{1}{x}(c+\frac{1+3x}{3})-(c+\frac{1+3x}{3}) = \frac{1}{x}c+\frac{1}{3x}+1- (c+\frac{1+3x}{3})= \frac{1}{x}(c+\frac{1}{3})+1- (c+\frac{1+3x}{3}).

Since the term \frac{1}{x} causes problems at x=0, we want to get rid of it, so c+\frac{1}{3}=0 \Rightarrow c=-\frac{1}{3}.

But with this way I have found else..:confused:
 
Last edited by a moderator:
mathmari said:
Yes, you're right! :D

I have also thought another way to solve the exercise.. Could you tell me if it's right??Using the Taylor series for the exponential:

e^{x}=1+x+\frac{x^2}{2}+...

e^{-x}=1-x+\frac{x^2}{2}-\frac{x^3}{3!}+...

e^{3x}=1+3x+\frac{(3x)^2}{2}+...

Aww! You really should become more careful with your exponential powers.
I take it you intended the following?
$$e^{2x}=1+2x+\frac{(2x)^2}{2!}+...$$
For small x&gt;0
u(x)= \frac{1-x}{x}(c+\frac{1+3x}{3})

Hmm, where did your "c" come from?

Anyway, hold on! We have:
$$u(x) = \frac{3A e^{-x} + x e^{2x}} {3x}$$
Making your substitutions, I get:
$$u(x) =_1 \frac{3A (1-x) + x (1 + 2x)} {3x} = \frac{A (1-x)}{x} + \frac{1+2x}{3}$$
That looks different than what you have (and not only the 2x instead of 3x).
Note that I have used $=_1$ to denote that the equality holds for the first order approximation.
From this, you can again conclude that if the series is to converge, you will at least need that $A=0$.You have to be careful with series expansions though.
If the resulting series converges, you're okay. Then the original formula will also converge.
But if it diverges, it's inconclusive. A diverging Taylor expansion does not necessarily mean that the original formula is undefined. In this case you're okay, since you're working within the radius of convergence of the exponential expansion.
 
Ok! Thanks! :o
 
mathmari said:
Ok! Thanks!

Heh. This is an old thread. It actually originates from my birthday. :o
How come you're getting back to it now?

Edit: Hey! You have an avatar now! (Mmm)
 
I like Serena said:
Heh. This is an old thread. It actually originates from my birthday. :o
How come you're getting back to it now?

Edit: Hey! You have an avatar now! (Mmm)

I was looking at my old posts and realized that I hadn't thanked you! :o
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
622
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
0
Views
2K
Replies
3
Views
1K