Differential equations - cannot solve one

In summary, the conversation discussed solving a differential equation of the form \frac{dv}{dt} = a_g + \alpha v^n where a_g, \alpha, and n are constants. It was noted that the equation is separable and a possible approach is to integrate both sides after separating the variables. However, the left hand side may not be easily integrable for most values of n. It was suggested to use a general algorithm involving partial fraction decomposition using complex numbers and nth roots of unity to simplify the expression for integer values of n.
  • #1
luuurey
24
0
Greetings everyone.
Can you help me please with solving this differential equation?

[tex]\large \frac{dv}{dt} = a_g + \alpha v^n [/tex]

where [tex]\Large a_g \alpha n[/tex] are constants. Artelnatively with specific n as n = 1, 2.

I have no idea what to do...
Thank you very much
 
Physics news on Phys.org
  • #2
It seems quite simple at the first glance, as the equation is separable.

The first thing I'd do is to separate the two variables to get [itex]\displaystyle \frac{dv}{a_g+\alpha v^n}=dt[/itex]. From there, you integrate both sides.

The "trick" here is that the left hand side doesn't seem integrable. In fact, it isn't very easy and pleasant to integrate for most n's, but it can be done. I can't find a general algorithm though.
 
Last edited:
  • #3
Okay. Let's say n = 1. Then it should be resolvable. And what if n = 2 ? For n = 0 it is trivial...
 
  • #4
luuurey said:
Okay. Let's say n = 1. Then it should be resolvable. And what if n = 2 ? For n = 0 it is trivial...

For n=1 a simple substitution will give you log. For n=2 a trig substitution will get you an arctan.
 
  • #5
Can you show me please ?
 
  • #6
luuurey said:
Can you show me please ?
How does it give you arctan ?

What is [itex]\displaystyle \ \ \int\frac{dx}{1+x^2}\ ?[/itex]
 
  • #7
Have you never taken a Calucus class? If n= 0, The integral is just
[tex]\int \frac{dv}{a_g+ \alpha}= \frac{1}{a_g+ \alpha}\int dv[/tex]

If n= 1 it is
[tex]\int\frac{dv}{a_g+ \alpha v}[/tex]

If n= 2 it is
[tex]\int\frac{dv}{a_g+ \alpha v^2}[/tex]

Can you integrate those?
 
  • #8
No, I haven't. I do not know how to substitute. The first one I can. The next two I cannot.
 
  • #9
luuurey said:
Can you show me please ?
What is the derivative of arctan(x) ?
 
  • #10
luuurey said:
No, I haven't. I do not know how to substitute. The first one I can. The next two I cannot.

For integrals of the type

[tex]\int \frac{dx}{a^2 +x^2}[/tex], try the following substitution :

[tex]x=a \tan \theta[/tex]

With a bit of algebra, you'll be able to put your integral at this form.
 
  • #11
[tex]\int \frac{dx}{a^2 +x^2}[/tex]
[tex]x=a \tan \theta[/tex]
[tex]dx=\frac {a} {\cos^2 \theta} d \theta[/tex] - is it like this ?

so we get:
[tex]\frac {1}{a^2}\int \frac{\frac{a}{\cos^2}d \theta}{1 +\tan^2 \theta} = \frac {1}{a}\int \frac{d\theta}{\cos^2\theta +\sin^2 \theta} = \frac{\theta}{a} = \frac {\arctan \frac{x}{a}}{a}[/tex]
Okay and what next ?
 
  • #12
luuurey said:
[tex]\int \frac{dx}{a^2 +x^2}[/tex]
[tex]x=a \tan \theta[/tex]
[tex]dx=\frac {a} {\cos^2 \theta} d \theta[/tex] - is it like this ?

so we get:
[tex]\frac {1}{a^2}\int \frac{\frac{a}{\cos^2}d \theta}{1 +\tan^2 \theta} = \frac {1}{a}\int \frac{d\theta}{\cos^2\theta +\sin^2 \theta} = \frac{\theta}{a} = \frac {\arctan \frac{x}{a}}{a}[/tex]
Okay and what next ?

Fine. Now, compare the two integrals and identify your "a".
 
  • #13
Well
[tex]a = \sqrt{a_g} \\
x = \sqrt{\alpha}v[/tex]

So I got
[tex]\frac {\arctan({\sqrt{\frac{\alpha}{a_g}} v})}{\sqrt{a_g}} = t[/tex]
didn't I?
So
[tex]v = \frac {\tan(\sqrt{a_g}t)}{\sqrt{\frac{\alpha}{a_g}}}[/tex]
IS IT RIGHT ?
 
  • #14
luuurey said:
Well
[tex]a = \sqrt{a_g} \\
x = \sqrt{\alpha}v[/tex]

So I got
[tex]\frac {\arctan({\sqrt{\frac{\alpha}{a_g}} v})}{\sqrt{a_g}} = t[/tex]
didn't I?
So
[tex]v = \frac {\tan(\sqrt{a_g}t)}{\sqrt{\frac{\alpha}{a_g}}}[/tex]
IS IT RIGHT ?

Actually, do this:

[tex]\frac{1}{\alpha} \int \frac{dv}{\frac{a_g}{\alpha}+v^2}[/tex]

Then, use the substitution to integrate.
 
  • #15
JasonPhysicist said:
Actually, do this:

[tex]\frac{1}{\alpha} \int \frac{dv}{\frac{a_g}{\alpha}+v^2}[/tex]

Then, use the substitution to integrate.

I would get the same, wouldn't I ? One thing I'd like you to tell me. How do you know what subtitution you have to use?
 
  • #16
luuurey said:
I would get the same, wouldn't I ? One thing I'd like you to tell me. How do you know what subtitution you have to use?

Not exactly. Notice there's an [tex]\sqrt \alpha[/tex] missing on the denominator.

Btw, I know the substitution simply by having done similar integrals many times over. Also, you can get the idea if you remember the usual trigonometric identities.
 
  • #17
JasonPhysicist said:
Not exactly. Notice there's an [tex]\sqrt \alpha[/tex] missing on the denominator.

Btw, I know the substitution simply by having done similar integrals many times over. Also, you can get the idea if you remember the usual trigonometric identities.

Got it. So you say it's all about practise, like in normal algebra, right?
 
  • #18
luuurey said:
Got it. So you say it's all about practise, like in normal algebra, right?

Exactly. After some time, you'll just get used to it.
 
  • #19
Millennial said:
It seems quite simple at the first glance, as the equation is separable.

The first thing I'd do is to separate the two variables to get [itex]\displaystyle \frac{dv}{a_g+\alpha v^n}=dt[/itex]. From there, you integrate both sides.

The "trick" here is that the left hand side doesn't seem integrable. In fact, it isn't very easy and pleasant to integrate for most n's, but it can be done. I can't find a general algorithm though.

I found a general algorithm to integrate these kinds of functions.

You do a partial fraction decomposition using complex numbers. You'll need the nth roots of unity for this. An example is [itex]\dfrac{1}{1+x^4}[/itex], which can be decomposed using the equality [itex]1+x^4=(x-\sqrt{i})(x+\sqrt{i})(x-i\sqrt{i})(x+i\sqrt{i})[/itex] where [itex]\sqrt{i}=\dfrac{\sqrt{2}}{2}(1+i)[/itex] from Euler's identity. This leaves you with 4 fractions with denominators of degree one. In general, this yields an expression with the hypergeometric function involved, but it can be simplified for integer n to an expression involving only the complex logarithm (or real logarithms + inverse tangent.)
 

FAQ: Differential equations - cannot solve one

What are differential equations?

Differential equations are mathematical equations that involve an unknown function and its derivatives. They are used to model various physical phenomena in fields such as physics, engineering, and economics.

Why is it sometimes impossible to solve a differential equation?

There are several reasons why a differential equation may be unsolvable. One common reason is that the equation may be too complex or lack a closed-form solution. In some cases, the equation may also be too sensitive to initial conditions or have chaotic behavior, making it difficult to find a solution.

Can numerical methods be used to solve differential equations?

Yes, numerical methods such as Euler's method, Runge-Kutta method, and finite difference method can be used to approximate solutions to differential equations. These methods involve breaking the equation down into smaller steps and using iterative calculations to arrive at a solution.

What are boundary conditions in a differential equation?

Boundary conditions are additional constraints that are necessary to fully determine a solution to a differential equation. They specify the values of the unknown function at specific points or regions in the domain of the equation.

Are there any real-world applications of differential equations?

Yes, differential equations have numerous real-world applications. They are commonly used to model physical systems such as population growth, chemical reactions, and fluid flow. They are also used in fields such as economics, biology, and engineering to analyze and predict various phenomena.

Similar threads

Back
Top