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 s3a
  • Start date
In summary, the student is trying to solve a Bernoulli differential equation but is getting the expression for y incorrect. They need to solve for y in terms of u and then use the equation for y to solve for u.
  • #1
s3a
818
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
  • #2
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.
 
  • #3
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?
 
  • #4
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:
  • #5
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)
 
  • #6
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}##?
 
  • #7
Actually, I solved it, now!

Thanks! :)
 

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

What is the purpose of transforming the differential equation from dy/dx + P(x)y = Q(x)y^n to du/dx + (1-n)P(x) u = (1-n)Q(x)?

The purpose of this transformation is to simplify the differential equation and make it easier to solve. By transforming the equation, we can eliminate the variable y and solve for u instead, which may be more manageable.

How do you determine the value of n in the transformed equation du/dx + (1-n)P(x) u = (1-n)Q(x)?

The value of n can be determined by looking at the original equation dy/dx + P(x)y = Q(x)y^n. The value of n is equal to the exponent of y in the equation, which is the power to which y is raised.

Can this transformation be applied to any differential equation with variables raised to a power?

Yes, this transformation can be applied to any differential equation with variables raised to a power. However, the resulting equation may not always be solvable by conventional methods.

Are there any specific cases where transforming the equation is particularly helpful?

Yes, transforming the equation is particularly helpful when solving for u is easier than solving for y. For example, if the original equation is a nonlinear equation, transforming it can make it linear and easier to solve.

Is there a specific method for transforming the equation or can it be done in different ways?

There are different ways to transform the equation, but one common method is to use the substitution u = y^(1-n). This will eliminate the variable y and transform the equation into du/dx + (1-n)P(x) u = (1-n)Q(x), where u is the new variable. Other methods such as integration by substitution may also be used depending on the specific equation.

Back
Top