How to solve the two following differential equations?

Click For Summary

Discussion Overview

The discussion revolves around solving two differential equations: (1) ##\frac{d^{2}y}{dx^{2}}=0## and (2) ##\frac{d^{2}y}{dx^{2}}=k^{2}y##, where k is a real positive number. Participants explore methods of deduction and potential solutions for these equations, engaging in both technical reasoning and exploratory discussions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest that if the second derivative of a function vanishes, the function can at most be linear in x.
  • There is a proposal to use an exponential function of the form e^[kx] for the second equation, assuming a correction to the notation is needed.
  • One participant expresses uncertainty about the deduction process for the first equation and seeks clarification.
  • Another participant notes a similarity to the harmonic oscillator equation but points out the difference in signs.
  • Several participants provide solutions for the equations, with one stating that the solution for the first equation is $$y=A+Bx$$ and for the second equation is $$y=Ae^{-kx}+Be^{-kx}$$, but express uncertainty about how these solutions are derived.
  • One participant suggests integrating both sides of the equations and mentions the need to consider different cases for the second equation.
  • Another participant proposes a method involving multiplying both sides by dy/dx and integrating, while also discussing the standard technique of assuming a solution of the form ##e^{rx}##.
  • There are suggestions to factor the operator in the second equation and explore hyperbolic trigonometric substitutions.

Areas of Agreement / Disagreement

Participants express various methods and approaches to solving the equations, but there is no consensus on the best method or the complete deduction process. Multiple competing views on how to proceed remain evident throughout the discussion.

Contextual Notes

Some participants note potential confusion regarding the notation in the second equation and the implications of different signs in related equations. There are also mentions of integrating techniques and assumptions that may not be fully explored.

Tspirit
Messages
50
Reaction score
6
(1) ##\frac{d^{2}y}{dx^{2}}=0##
(2) ##\frac{d^{2}y}{dx^{2}}=k^{2}y##, where k is a real positive number.
 
Physics news on Phys.org
If the second derivative of a function vanishes, it can at most be linear in x. Same reasoning for your second equation, although looking at the notation I suspect you mean the rhs to have y(x) instead of x. If that is so, you want to try an exponential function like e^[kx].
 
haushofer said:
If the second derivative of a function vanishes, it can at most be linear in x. Same reasoning for your second equation, although looking at the notation I suspect you mean the rhs to have y(x) instead of x. If that is so, you want to try an exponential function like e^[kx].
Thank you for your answer. But for the first equation, is there any process of deduction?
 
haushofer said:
If the second derivative of a function vanishes, it can at most be linear in x. Same reasoning for your second equation, although looking at the notation I suspect you mean the rhs to have y(x) instead of x. If that is so, you want to try an exponential function like e^[kx].
Thank you very much for pointing the spelling error in the second equation, I have modified it.
 
haushofer said:
If the second derivative of a function vanishes, it can at most be linear in x. Same reasoning for your second equation, although looking at the notation I suspect you mean the rhs to have y(x) instead of x. If that is so, you want to try an exponential function like e^[kx].
I have searched google for "harmonic oscillator", however, it is a little different to the equation I give. For harmonic oscillator, the equation is like this, ##\frac{d^{2}y}{dx^{2}}=-k^{2}y##, where there is an additional negative sign.
 
Now I know the solutions:
(1)For $$\frac{d^{2}y}{dx^{2}}=0,$$ the solution is $$y=A+Bx.$$
(2)For $$\frac{d^{2}y}{dx^{2}}=k^{2}y,$$ the solution is $$y=Ae^{-kx}+Be^{-kx}.$$
But I still don't know how they are deduced.
 
Tspirit said:
Now I know the solutions:
(1)For $$\frac{d^{2}y}{dx^{2}}=0,$$ the solution is $$y=A+Bx.$$
(2)For $$\frac{d^{2}y}{dx^{2}}=k^{2}y,$$ the solution is $$y=Ae^{-kx}+Be^{-kx}.$$
But I still don't know how they are deduced.
1) is easy. Just integrate both sides twice, remembering to plug in a constant of integration.
For 2), multiply both sides by dy/dx. Now you can integrate both sides. What do you get?
 
Tspirit said:
(2)For $$\frac{d^{2}y}{dx^{2}}=k^{2}y,$$ the solution is $$y=Ae^{-kx}+Be^{-kx}.$$
But I still don't know how they are deduced.
That is a constant coefficient linear DE of the form ##y'' + \lambda y = 0##. The standard technique for such an equation is to assume a solution of the form ##e^{rx}##. Plug that in and see what you get. You will want to consider three cases:$$
\lambda = k^2 > 0,~\lambda = 0,~\lambda = -k^2 <0\text{.}$$
 
LCKurtz said:
The standard technique for such an equation is to assume a solution of the form
Sure, but I interpreted Tspirits' question as how to proceed if you have no idea what the answer is.
 
  • #10
$$\dfrac{d^2y}{{dx}^2}-k^2y=0$$
we have haruspex's sugestion
$$2\dfrac{d^2y}{{dx}^2}\dfrac{dy}{dx}-2k^2y\dfrac{dy}{dx}=0 \\
\dfrac{d}{dx}\left(\dfrac{dy}{dx}+k y\right)\left(\dfrac{dy}{dx}-k y\right)=0$$
we could factor the operator
$$\left(\dfrac{d}{dx}+k \right)\left(\dfrac{d}{dx}-k \right)y=0$$
we could solve for the inverse
$$-\left(\dfrac{dx}{dy}\right)^{-3}\dfrac{d^2x}{{dy}^2}-k^2y=0$$
 
  • #11
lurflurf said:
haruspex's sugestion
I was thinking more along the lines of
y"=k2y
2y'y"=2k2yy'
y'2=k2y2+c2
Then some suitable hyperbolic trig substitution.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K