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

Click For Summary

Homework Help Overview

The discussion revolves around a second-order ordinary differential equation (ODE) related to the shape of a hanging chain, specifically focusing on the transformation of variables and the manipulation of the equation to facilitate solving. Participants are exploring various methods to separate variables and integrate the resulting expressions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants attempt to modify the original ODE by introducing a new variable, p, to simplify the equation. There are discussions about separating variables and integrating, as well as questions regarding the manipulation of terms and constants.

Discussion Status

Some participants have offered insights into the structure of the ODE and suggested potential methods for integration. There is an ongoing exploration of different interpretations of the equation and the implications of various substitutions. The conversation reflects a collaborative effort to clarify and refine the approaches being discussed.

Contextual Notes

There are mentions of potential confusion regarding the manipulation of terms and constants, as well as the need to address any issues with the methods attempted. Participants are also considering the implications of their substitutions and the resulting forms of the equations.

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
2K
  • · 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