How Do You Solve Self-Referential Differential Equations?

  • Thread starter Thread starter Dissident Dan
  • Start date Start date
  • Tags Tags
    Integration
AI Thread Summary
Self-referential differential equations, such as d²x/dt² = -cx and dx/dt = c1 + c2x, can be solved using exponential functions and integration techniques. For the second-order equation, the general solution is x(t) = C1cos(√k t) + C2sin(√k t), while the first-order equation can be transformed into a separable form, leading to x(t) = (1/c2)(C' exp(c2t) - c1). The discussion highlights the relationship between exponential functions and their derivatives, emphasizing that exponential growth or decay is a key characteristic of these equations. Additionally, the distinction between standard trigonometric functions and hyperbolic functions is clarified, noting that both types can be derived from exponential forms. Understanding these concepts is essential for effectively solving self-referential differential equations.
Dissident Dan
Messages
236
Reaction score
2
Suppose that we have a function that refers to itself in its derivative or second derivitive.
For example, let's say that you have a spring for which the force is directly proportional to the distance the spring has been compressed.
F = -cx
For simplicity's sake, mass is constant, so we can just say
a = -cx
The differential-form equation for this acceleration is:
d2x/(dt)2 = -cx
And so the speed equation is
dx/dt = v0 + [inte]-cx(dt)

How would you solve this?

Or, for a simpler equation, say that the velocity of a particle depends on its position:
dx/dt = c1 + c2x

How would you solve this to get to the position function?
 
Last edited:
Mathematics news on Phys.org
The exponential function is ideal for what you call "self referential" d (exp(x))/dx= x.

Since cos(x)= (exp(ix)- exp(-ix))/2 and
sin(x)= (exp(ix)- exp(-ix))/(2i), sine and cosine also work.

In particular if d2x/dt2= -kx, (a "linear, homogeneous differential equation with constant coefficients")
Then x(t)= C1cos([sqrt](k)t)+ C2sin([sqrt](k)t) where C1 and C2 can be any constants.

For your second example, dx/dt= c1+ c2x, since this is a separable first order differential equation, we can write it in "differential form" and integrate:

dx/dt= c1+ c2x is the same as

dx/(c1+ c2x)= dt

We can integrate the left by using the substitution u= c1+ c2x so du= c2dx and the integral is (1/c2)[int](1/u)du= (1/c2)ln|u|
or (1/c2)ln|c1+ c2x|.

Integrating both sides,
(1/c2)ln|c1+ c2x|= t+ C where C is the "constant of integration".

Of course we can rewrite this as
ln|c1+ c2x|= c2(t+ C) and, taking the exponential of both sides,

c1+ c2x= C' exp(c2t)
(C' is exp(c2C) so that x is again an exponential function:

x(t)= (1/c2)(C' exp(c2t)- c1).
 
Originally posted by HallsofIvy
The exponential function is ideal for what you call "self referential" d (exp(x))/dx= x.

An exponential function something to the x, such as ex? And such a function has a derivitive proportional to it. d(ax)/dx = ln(a)*ax. This doesn't work for my problem, except when the initial velocity is 0, because the addition makes it not proportional.

You can't have x' = x + c for an ax equation. You could have (x+c)' = x, but not x' = x + c

Since cos(x)= (exp(ix)- exp(-ix))/2 and
sin(x)= (exp(ix)- exp(-ix))/(2i), sine and cosine also work.

Are those supposed to be the hyperbolic trig functions? The only difference between those and the hyperbolic trig functions that I have learned is the inclusion of i, which I am assuming is the imaginiary sqrt(-1).
 
AN exponential function is any function that has the variable, x, as an exponent. THE exponential function is specifically ex.


An exponential certainly will help with something like x'= x+ c.

This is what is known as a "linear non-homogeneous differential equation with constant coefficients". The simplest way to solve it is to drop the constant, c, so as to have a homogenous equation:
x'= x whose solution is, of course, x(t)= Aet (A is an arbitrary constant). Since the differential equation is linear, we can simply add that to any solution of the entire equation. To get that constant c, note that the derivative of any constant is 0 so that if x= B (a constant) x'= 0 and the equation becomes 0= B+ c.
x= B= -c works. The general solution to the differential equation
x'= x+ c is x(t)= Aet- c.

No, those are not the hyperbolic functions, those are the standard trigonometric functions.

Since (sin t)'= cos t and (cos t)'= - sin t,
they satisfy the equation x"= -x.

Since the hyperbolic functions can be written in terms of exponentials, they satisfy (cosh t)'= sinh t and (sinh t)'= (cosh t) and thus x"= x.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top