Going from dy/dx + P(x)y = Q(x)y^n to du/dx + (1-n)P(x) u = (1-n)Q(x)

  • Thread starter Thread starter s3a
  • Start date Start date
Click For Summary
The discussion revolves around transforming the Bernoulli differential equation from the form dy/dx + P(x)y = Q(x)y^n to du/dx + (1-n)P(x)u = (1-n)Q(x) using the substitution u = y^(1-n). The user initially struggles with correctly expressing dy/dx and y in terms of u, leading to incorrect terms in their equations. After receiving feedback, they realize the need to simplify their expressions properly and correctly relate y and u. Ultimately, the user successfully resolves their confusion and expresses gratitude for the assistance.
s3a
Messages
828
Reaction score
8

Homework Statement


There's this problem I'm presented with that has a part before asking the question which states a fact and, I want to be able to derive that fact.

I want to go from

dy/dx + P(x) y = Q(x) y^n

to

du/dx + (1 - n) P(x) u = (1 - n) Q(x).

Homework Equations


Bernoulli differential equation process, u = y^(1 - n)

The Attempt at a Solution


u = y^(1 – n), du/dx = (1 – n) y^(-n) dy/dx, u^(n – 1) = y, y^n = u^(n^2 – n)

dy/dx + P(x) y = Q(x) y^n

du/dx 1/(n – 1) y^n + P(x) u^(n – 1) = Q(x) u^(n^2 – n)

du/dx y^n + (1 – n) P(x) u^(n – 1) = (1 – n) Q(x) u^(n^2 – n)

du/dx u^(n^2 – n) + (1 – n) P(x) u^(n – 1) = Q(x) u^(n^2 – n)

du/dx + (1 – n) P(x) u^(-n^2 + 2n – 1) = (1 – n) Q(x)

but, instead, I should be getting

du/dx + (1 – n) P(x) u = (1 – n) Q(x).

What am I doing wrong?

Any input would be greatly appreciated!
 
Last edited:
Physics news on Phys.org
Hi s3a,
s3a said:


The Attempt at a Solution


u = y^(1 – n), du/dx = (1 – n) y^(-n) dy/dx, u^(n – 1) = y, y^n = u^(n^2 – n)


The error is there.
 
Thanks for pointing out which part was wrong but, via "reverse engineering", I think it should be u^(n^2 - n + 1) but, looking at u = y^(1 - n), I get u^(1/(1 - n)) = y.

What do I do now?
 
s3a said:
Thanks for pointing out which part was wrong but, via "reverse engineering", I think it should be u^(n^2 - n + 1) but, looking at u = y^(1 - n), I get u^(1/(1 - n)) = y.

What do I do now?

##y = u^{\frac{1}{1-n}}## is correct. Now you have ##\frac{dy}{dx},\,\,y\,\,\text{and}\,\,y^n## all in terms of ##u## and ##\frac{du}{dx}##, so sub them into your original equation and simplify.
 
Last edited:
Sorry for still not getting it.

Here's my latest work.:

dy/dx + P(x) y = Q(x) y^n

du/dx y^n / (1 – n) + P(x) u^(1/(1 – n)) = Q(x) u^(n^2 – n)

du/dx u^(n^2 – n) + (1 – n) P(x) ^(1/(1 – n)) = (1 – n) Q(x) u^(n^2 – n)

du/dx + (1 – n) P(x) u^[(n^2 – n)/(1 – n)] = (1 – n) Q(x)

du/dx + (1 – n) P(x) u^[-n(1 – n)/(1 – n)] = (1 – n) Q(x)

du/dx + (1 – n) P(x) u^(-n) = (1 – n) Q(x)
 
You appear to still have the expression for y in terms of u incorrect.
If ##u = y^{1-n}## then ##u^{1/(1-n)} = \left(y^{1-n}\right)^{1/(1-n)} = y## as you mentioned in your last post.

How did you get ##y = u^{n^2 -n}##?
 
Actually, I solved it, now!

Thanks! :)
 

Similar threads

Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K