Another Second Order ODE Problem (ML Boas, Ch 8, Sec 7, Prob 5)

Click For Summary
SUMMARY

The forum discussion focuses on solving a second-order ordinary differential equation (ODE) related to the shape of a hanging chain, represented by the equation $$y''^2 = k^2(1 + (y')^2)$$. Participants discuss variable substitutions, specifically letting $$p = y'$$, which transforms the equation into a first-order separable form: $$(p')^2 = k^2(1 + p^2)$$. The conversation highlights techniques for integrating this equation, including completing the square and using trigonometric substitutions. The final solution involves recognizing the relationship between the constants and the variables to simplify the integration process.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with variable substitution techniques in calculus
  • Knowledge of integration methods, including trigonometric substitution
  • Basic concepts of hyperbolic functions, particularly $$\sinh$$ and $$\cosh$$
NEXT STEPS
  • Study the method of variable substitution in differential equations
  • Learn about integrating separable differential equations
  • Explore hyperbolic functions and their applications in solving ODEs
  • Investigate the physical interpretation of the shape of hanging chains in mechanics
USEFUL FOR

Mathematicians, physics students, and engineers interested in solving differential equations, particularly those related to mechanics and the behavior of hanging chains.

agnimusayoti
Messages
239
Reaction score
23
Homework Statement
The differential equation of a hanging chain supported at its ends is:
$$y"^2=k^2(1+y'^2)$$.
Solve the equation to find the shape of the chain.
Relevant Equations
One can modify this kind of ODE problem by changing variable y' to p. So, by the chain rule, $$y"=p \frac{dp}{dy}$$.
With the new variable, I got:
$$p^2 (p'_y)^{2}=k^2(1+p^2)$$ where ##p'_y## is ##\frac{dp}{dy}##.
I modified the equation so the variable p and dp can be separated from dy. Here what I got:
$$\frac{p}{\sqrt{p^2+1}} dp=k dy$$
I substitute ##p^2+1=u## so I got
$$\sqrt{u}=ky+c_1$$
Back substitution
$$1+p^2=k^2y^2 +(c_2)^2$$
$$p^2=k^2y^2+((c_2)^2-1)$$

My Question, can I eliminate arbitrary constant so I get:
$$1+p^2=k^2y^2$$
It seems easier to solve in terms of p as dy/dx. Thanks
 
Physics news on Phys.org
agnimusayoti said:
I substitute ##p^2+1=u## so I got
$$\sqrt{u}=ky+c_1$$
Back substitution
$$1+p^2=k^2y^2 +(c_2)^2$$
Are you really saying that ##(a+b)^2 = a^2+b^2##?
 
It should be ##(a+b)^2=a^2+2ab+b^2##Oh there is a missing term namely ##2kc_1y##. Wait I will make a correction
 
But the form is become more messy I think. Here what I got:
$$p=\frac{dy}{dx}=\sqrt{k^2y^2+2kc_1y+c_2}$$.
This is actually a separable equation. Define ##2kc_1 = c_3## so I got:
$$\frac{dy}{\sqrt{k^2y^2+c_3y+c_2}}=dx$$
How I solve this separable equation, especially on integrating right side of the equation?
 
agnimusayoti said:
Relevant Equations:: One can modify this kind of ODE problem by changing variable y' to p. So, by the chain rule, $$y"=p \frac{dp}{dy}$$.

With the new variable, I got:
$$p^2 (p'_y)^{2}=k^2(1+p^2)$$ where ##p'_y## is ##\frac{dp}{dy}##.

Could you explain how ##(y')^2## becomes ##p^2## on the right-hand side of your differential equation?
 
Haborix said:
Could you explain how ##(y')^2## becomes ##p^2## on the right-hand side of your differential equation?
Because p=y'.
 
  • Haha
Likes   Reactions: Haborix
agnimusayoti said:
But the form is become more messy I think. Here what I got:
$$p=\frac{dy}{dx}=\sqrt{k^2y^2+2kc_1y+c_2}$$.
This is actually a separable equation. Define ##2kc_1 = c_3## so I got:
$$\frac{dy}{\sqrt{k^2y^2+c_3y+c_2}}=dx$$
How I solve this separable equation, especially on integrating right side of the equation?
A change of variable gets rid of the c3y term, then you can use a trig substitution to get rid of the square root.
 
haruspex said:
Because p=y'.
Oh boy, I'm losing it. The expression for ##y''## looked odd to me and not equivalent to ##y'=p##.
 
agnimusayoti said:
Homework Statement:: The differential equation of a hanging chain supported at its ends is:
$$y"^2=k^2(1+y'^2)$$.
Solve the equation to find the shape of the chain.
Relevant Equations:: One can modify this kind of ODE problem by changing variable y' to p.

This is already first-order and separable in u = y&#039;: <br /> u&#039; = \pm|k| \sqrt{1 + u^2}.
 
  • #10
There are two tricks to solve this ODE. The first is to notice that
$$(y^{\prime\prime})^2 = k^2\big[1+(y^\prime)^2\big]$$
is nothing more than a 1st-order ODE in ##y^\prime##. Thus, let ##p = y^\prime## (and thus ##p^\prime = y^{\prime\prime}##) and the original ODE becomes
$$(p^\prime)^2 = k^2(1+p^2).$$
The second (and last trick) is to differentiate this ODE w.r.t. the independent variable ##x##, the result of which reads
$$2p^\prime p^{\prime\prime} = 2k^2pp^\prime.$$
This (after at bit of cleaning) is simply the familiar homogeneous 2nd order linear ODE
$$p^{\prime\prime} - k^2p = 0$$
to which e.g. ##\cosh(kx)## and ##\sinh(kx)## constitute a complete set of solutions.
 
Last edited:
  • Like
Likes   Reactions: agnimusayoti, BvU and haruspex
  • #11
William Crawford said:
There are two tricks to solve this ODE. The first is to notice that
$$(y^{\prime\prime})^2 = k^2\big[1+(y^\prime)^2\big]$$
is nothing more than a 1st-order ODE in ##y^\prime##. Thus, let ##p = y^\prime## (and thus ##p^\prime = y^{\prime\prime}##) and the original ODE becomes
$$(p^\prime)^2 = k^2(1+p^2).$$
The second (and last trick) is to differentiate this ODE w.r.t. the independent variable ##x##, the result of which reads
$$2p^\prime p^{\prime\prime} = 2k^2pp^\prime.$$
This (after at bit of cleaning) is simply the familiar homogeneous 2nd order linear ODE
$$p^{\prime\prime} - k^2p = 0$$
to which e.g. ##\cosh(kx)## and ##\sinh(kx)## constitute a complete set of solutions.
Very neat.
But I feel it is also valuable to address any issues with the actual method attempted; in this case, how to continue.
 
  • #12
agnimusayoti said:
But the form is become more messy I think. Here what I got:
$$p=\frac{dy}{dx}=\sqrt{k^2y^2+2kc_1y+c_2}$$.
This is actually a separable equation. Define ##2kc_1 = c_3## so I got:
$$\frac{dy}{\sqrt{k^2y^2+c_3y+c_2}}=dx$$
How I solve this separable equation, especially on integrating right side of the equation?

You have too many constants; they aren't all independent. It's also best not to expand quadratics which you are about to integrate, since the first thing you'll end up doing is reversing that in order to complete the square.

So: From <br /> \sqrt{1 + p^2} = k(y + c_1) you know that c_1 = k^{-1} - y_0 where y_0 is the minimum height of the chain, which is attained at x = x_0. Hence <br /> k(y + c_1) = k(y - y_0) + 1 and <br /> p^2 = \left(\frac{dy}{dx}\right)^2 = (k(y - y_0)^2 + 1)^2 - 1. Now the subsitution k(y - y_0) + 1 = \cosh(u) suggests itself, since \sinh^2 u = \cosh^2 u - 1 and \frac{d}{dx}\cosh u = u&#039;\sinh u.
 
Last edited:
  • Like
Likes   Reactions: agnimusayoti

Similar threads

  • · Replies 23 ·
Replies
23
Views
2K
Replies
8
Views
1K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K