How do you solve this nonlinear first order DE

In summary, I am having trouble solving the following nonlinear first order differential equation: dy/dx = mx + b - k*y^2. I have had DE in school, but it was mostly linear first order, so I am not sure how to solve this one. Someone has recommended Riccati but I do not know how to go about solving it.
  • #1
kingkongsr.
9
0
I am having trouble solving the following nonlinear first order differential equation:

dy/dx = mx + b - k*y^2

The variables m, b and k are constants.

I have had DE in school, but it was mostly linear first order, so I am not sure how to solve this one. Someone has recommended Riccati but I do not know how to go about solving it.

Please help.
 
Physics news on Phys.org
  • #2
Aside from describing functions I haven’t studied nonlinear differential equations. It would seem to me though if you differentiate both sides of the equation twice you would get an equation that only depends on y. Perhaps this could be thought as somewhat analogous to the homogenous equation.
 
  • #3
How would you go about solving the equation? I need a step by step.
 
  • #4
[tex]\left\{\left\{y(x)\to \frac{\frac{k m \text{Bi}'\left(\frac{b k+m x k}{(k m)^{2/3}}\right)}{(k m)^{2/3}}+\frac{k
m \text{Ai}'\left(\frac{b k+m x k}{(k m)^{2/3}}\right) c_1}{(k m)^{2/3}}}{k \left(\text{Bi}\left(\frac{b k+m
x k}{(k m)^{2/3}}\right)+\text{Ai}\left(\frac{b k+m x k}{(k m)^{2/3}}\right) c_1\right)}\right\}\right\}[/tex]

where Ai is the airy function Ai[x], Bi is again some variant of the airy function Bi[x], and the primes are their respective derivatives
 
  • #5
Well that's beyond my understanding.

I was hoping for something easy.
 
  • #6
what do you mean beyond your understand? it's just a function, put a number in get a number out
 
  • #7
What's an airy function?
 
  • #8
Show me the process by which you solved it, starting with the original equation. Then explain to me what the airy function is.
 
  • #9
the process by which i solved it is simple: i plugged it into mathematica. and i have no idea what the airy function is but I'm sure wikipedia does.
 
  • #10
I just looked at the equation again, it is suppose to be: dy/dx = m*x + b - k*y^2 where m is multiplied by x. However, can both sides be multiplied by dx such that dy = (m*x + b - k*y^2) dx where the right hand side can be integrated with respect to x. Then both sides are divided by the integral of the right side such that dy/[IntegralWithRespectx(m*x + b - k*y^2)] = 1. Then the left hand side can be integrated with respect to y such that, IntegralWithRespecty[1/[IntegralWithRespectx(m*x + b - k*y^2)]] =1. I have never heard of that, but can that be done?
 
  • #11
kingkongsr. said:
I just looked at the equation again, it is suppose to be: dy/dx = m*x + b - k*y^2 where m is multiplied by x. However, can both sides be multiplied by dx such that dy = (m*x + b - k*y^2) dx where the right hand side can be integrated with respect to x. Then both sides are divided by the integral of the right side such that dy/[IntegralWithRespectx(m*x + b - k*y^2)] = 1. Then the left hand side can be integrated with respect to y such that, IntegralWithRespecty[1/[IntegralWithRespectx(m*x + b - k*y^2)]] =1. I have never heard of that, but can that be done?

u don't know y, how can u perform that int?

matco
 
  • #12
I just need someone to explain to me what the answer to the equation is. Can someone do that without plugging it into a computer program.
 
  • #13
kingkongsr. said:
I just looked at the equation again, it is suppose to be: dy/dx = m*x + b - k*y^2 where m is multiplied by x. However, can both sides be multiplied by dx such that dy = (m*x + b - k*y^2) dx where the right hand side can be integrated with respect to x. Then both sides are divided by the integral of the right side such that dy/[IntegralWithRespectx(m*x + b - k*y^2)] = 1. Then the left hand side can be integrated with respect to y such that, IntegralWithRespecty[1/[IntegralWithRespectx(m*x + b - k*y^2)]] =1. I have never heard of that, but can that be done?

No, what you're trying to do there is a separation of variables, but you can't separate the y^2 term on the right hand side from the x terms, so you still have to integrate over y^2 with respect to x - effectively what you've done is converted a differential equation into an "integral equation".

It's weird that taking another derivative, as suggested above, doesn't seem to be be useful. Taking the derivative, you get:

[tex]\frac{d^2y}{dx^2} + 2ky = m[/tex]

This is a linear second order homogeneous equation which can be solved in closed form, but the first derivative of the solution that equation can't be matched to [itex]mx + b[/itex]. Huh... I haven't seen that before...

If you do want to try and solve it via the suggested "Riccati Equation", of which this is apparently a form of, with [itex]q_1(x) = 0[/itex], try looking at the wikipedia article: http://en.wikipedia.org/wiki/Riccati_equation. Of course, if computers are giving Airy functions as solutions, then you're probably going to have to resort to a power series solution once you boil that down to the linear 2nd order equation as described in the article (or perhaps you can identify the resulting second order ODE with Airy's equation: [itex]u'' + xu = 0[/itex] - but probably not. I don't know; that computer solution is ugly.)
 
Last edited:
  • #14
You can rewrite this equation into:

[tex]\frac{dy}{dx}+ky^2=mx+b[/tex]

Which is a Riccati equation, using the following transformation:

[tex]y(x)=\frac{1}{ku}\frac{du}{dx}[/tex]

One obtains:

[tex]\frac{d^2u}{dx^2}-k(mx+b)u=0[/tex]

Substituting now:

[tex]k(mx+b)=(km)^{2/3}t[/tex]

The equation becomes:

[tex]\frac{d^2u}{dt^2}-tu=0[/tex]

Which is the differential equation of Airy, with solution:

[tex]u(t)=c_1 A_i(t)+c_2 B_i(t)[/tex]

In which now Ai and Bi the two independent solutions of the equation, called the functions of Airy. Upon using the inverse transformations, one gets:

[tex]u(x)=c_1 A_i\left[\frac{k(mx+b)}{(km)^{2/3}}\right]+ c_2 B_i\left[\frac{k(mx+b)}{(km)^{2/3}}\right][/tex]

The derivative is:

[tex]\frac{du}{dx}=c_1 \frac{km}{(km)^{2/3}} A_i^{'}\left[\frac{k(mx+b)}{(km)^{2/3}}\right]+ c_2 \frac{km}{(km)^{2/3}} B_i^{'}\left[\frac{k(mx+b)}{(km)^{2/3}}\right][/tex]

Thus the solution to the original equation becomes (after rewriting a bit):

[tex]y(x)=\frac{(km)^{2/3}}{k} \frac{A_i^{'}\left[\frac{\displaystyle k(mx+b)}{\displaystyle (km)^{2/3}}\right]+ C B_i^{'}\left[\frac{\displaystyle k(mx+b)}{\displaystyle (km)^{2/3}}\right]} {A_i\left[\frac{\displaystyle k(mx+b)}{\displaystyle (km)^{2/3}}\right]+ C B_i\left[\frac{\displaystyle k(mx+b)}{\displaystyle (km)^{2/3}}\right]}[/tex]

Hope there are no typo's in here.
 

What is a nonlinear first order differential equation?

A nonlinear first order differential equation is an equation that involves an unknown function and its derivative, where the function is raised to a power or multiplied by itself. This makes the equation nonlinear, as opposed to a linear first order differential equation where the function and its derivative are raised to the first power.

How do you solve a nonlinear first order differential equation?

There is no one general method for solving all nonlinear first order differential equations. Different types of nonlinear equations require different techniques, such as separation of variables, substitution, or using an integrating factor. It is important to analyze the equation and determine which method is most appropriate.

What are some common types of nonlinear first order differential equations?

Some common types of nonlinear first order differential equations include Bernoulli equations, Riccati equations, and autonomous equations. These types of equations have specific forms that allow for specific solving techniques to be used.

Why are nonlinear first order differential equations important?

Nonlinear first order differential equations are important in many fields of science, including physics, chemistry, and biology. They can be used to model complex systems and processes, and their solutions can provide insight into the behavior of these systems.

Are there any software programs that can solve nonlinear first order differential equations?

Yes, there are many software programs that can solve nonlinear first order differential equations, such as Mathematica, Maple, and MATLAB. These programs use numerical methods to approximate the solutions to the equations. However, it is still important to understand the analytical methods for solving these equations in order to verify the accuracy of the numerical solutions.

Similar threads

Replies
7
Views
3K
Replies
2
Views
2K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
1K
Replies
3
Views
776
  • Differential Equations
Replies
2
Views
963
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
Back
Top