John-117's question at Yahoo Answers regarding a Cauchy-Euler equation

  • Context: MHB 
  • Thread starter Thread starter MarkFL
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving a Cauchy-Euler differential equation of the form \((x+3)^2 y'' + 3(x+3)y' + 5y = 0\). Participants explore different methods for finding the general solution, including substitutions and guessing solutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • John-117 presents the Cauchy-Euler equation and expresses difficulty in applying the method of assuming a solution of the form \(y = x^m\).
  • One participant suggests a substitution \(x+3 = e^t\) to transform the equation into one with constant coefficients, leading to a linear homogeneous ODE.
  • Another participant explains the derivation of the transformed equation and the characteristic roots, ultimately providing the general solution in terms of \(t\) and back-substituting to express it in terms of \(x\).
  • John-117 questions the choice of substitution and the origin of the \((...)/(x+3)\) term in the final answer.
  • There is a discussion about whether a generic variable substitution would yield similar results, with one participant asserting that simply replacing variables would not lead to a linear equation with constant coefficients.
  • Another participant elaborates on the method of guessing a solution of the form \(y = (x+3)^r\) and derives the characteristic equation, leading to the same roots and general solution as previously mentioned.
  • Participants clarify the connection between the two methods and confirm that both approaches yield the same general solution.

Areas of Agreement / Disagreement

Participants generally agree on the methods for solving the Cauchy-Euler equation and the resulting general solution, although there is some uncertainty regarding the choice of substitution and the effectiveness of different approaches.

Contextual Notes

The discussion includes various assumptions about the methods used, such as the appropriateness of substitutions and the forms of solutions. There is also a reliance on the understanding of differential equations and their transformations.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Cauchy-euler [[ (x+3)^2 y'' + 3(x+3)y' +5y = 0 , x+3>0 ]] general solution?

I tried the [[ y = x^m, y' = mx^m-1, y'' = m(m-1)*x^m-2 ]] but when I do it the x don't cancel. Please explain and show steps, thank you.

I have given a link to the topic there so the OP can see my work.
 
Physics news on Phys.org
Hello John-117,

We are given the Cauchy-Euler equation:

(1) $$(x+3)^2y''+3(x+3)y'+5y=0$$ where $$0<x+3$$

Making the substitution:

$$x+3=e^t$$

will transform the ODE into an equation with constant coefficients.

It follows from the chain rule that:

$$\frac{dy}{dt}=\frac{dy}{dx}\frac{dx}{dt}=\frac{dy}{dx}e^t=(x+3)\frac{dy}{dx}$$

and hence:

(2) $$(x+3)\frac{dy}{dx}=\frac{dy}{dt}$$

Differentiating this with respect to $t$, we find from the product rule that:

$$\frac{d^2y}{dt^2}=\frac{d}{dt}\left((x+3)\frac{dy}{dx} \right)=(x+3)\frac{d}{dt}\left(\frac{dy}{dx} \right)+\frac{dx}{dt}\frac{dy}{dx}=$$

$$(x+3)\frac{d^2y}{dx^2}\frac{dx}{dt}+\frac{dy}{dt}=(x+3)^2\frac{d^2y}{dx^2}+\frac{dy}{dt}$$

and hence:

(3) $$(x+3)^2\frac{d^2y}{dx^2}=\frac{d^2y}{dt^2}-\frac{dy}{dt}$$

Substituting into (1), the expressions in (2) and (3), we obtain:

$$\frac{d^2y}{dt^2}-\frac{dy}{dt}+3\frac{dy}{dt}+5y=0$$

Collecting like terms, we obtain:

(4) $$\frac{d^2y}{dt^2}+2\frac{dy}{dt}+5y=0$$

The characteristic roots are:

$$r=-1\pm2i$$

and so the general solution to (4) is:

$$y(t)=e^{-t}\left(c_1\cos(2t)+c_2\sin(2t) \right)$$

Back-substituting for $t$, we obtain:

$$y(x)=\frac{c_1\cos\left(2\ln(x+3) \right)+c_2\sin\left(2\ln(x+3) \right)}{x+3}$$
 
Thanks mark, our teacher never went over substitutions for these equations.

Why did you pick e^t for the substitution? and where does the final answer's (...)/x+3 come from?
 
Hello john96,

As you can see in my second post above, using the substitution:

$$x+3=e^t$$

transforms the ODE into a linear homogeneous ODE, that is, an equation with constant coefficients, via (2) and (3).

This substitution then implies:

$$e^{-t}=\frac{1}{x+3}$$ and $$t=\ln(x+3)$$

which I back-substituted into the general solution for (4). Are you asking where the general solution to (4) comes from?
 
I mean that you didn't use a generic variable substitution such as x or u, would those not wwork out?
Thanks.
 
No, simply replacing one variable with another would not give you a linear quation with constant coefficients.

Another method for finding solutions to a homogeneous Cauchy-Euler equation involves guessing a solution of the form $y=x^r$, which leads to an auxiliary equation for $r$. However, there is often an advantage in making the substitution $x=e^t$ when trying to solve an inhomogeneous Cauchy-Euler equation by the methods of undetermined coefficients or Laplace transforms.

Let's look at what happens in your posted problem if we guess a solution of the form:

$$y(x)=(x+3)^r$$

Differentiating with respect to $x$ using the power rule, we find:

$$y'(x)=r(x+3)^{r-1}$$

$$y''(x)=r(r-1)(x+3)^{r-2}$$

Now, substituting into the ODE, we find:

$$(x+3)^2\left(r(r-1)(x+3)^{r-2} \right)+3(x+3)\left(r(x+3)^{r-1} \right)+5(x+3)^r=0$$

Factoring, we obtain:

$$(x+3)^r\left(r(r-1)+3r+5 \right)=0$$

Dividing through by $$0<(x+3)^r=y(x)$$, thereby eliminating the trivial solution $y(x)\equiv0$, we obtain:

$$r^2+2r+5=0$$

Application of the quadratic formula gives us:

$$r=-1\pm2i$$

from which it follows that the ODE has the two linearly independent solutions:

$$y_1(x)=c_1(x+3)^{-1+2i}$$

$$y_2(x)=c_2(x+3)^{-1-2i}$$

We may now use Euler's formula as follows:

$$x^{\alpha+\beta i}=e^{(\alpha+\beta i)\ln(x)}=e^{\alpha\ln(x)}\left(\cos(\beta\ln(x)+i\sin(\beta\ln(x)) \right)$$

Since the real and imaginary parts of $$(x+3)^{-1\pm2i}$$ must also be solutions to the ODE, we may replace our two linearly independent solutions with:

$$y_1(x)=c_1e^{-\ln(x+3)}\cos(2\ln(x+3))=\frac{c_1\cos(2\ln(x+3))}{x+3}$$

$$y_2(x)=c_2e^{-\ln(x+3)}\sin(2\ln(x+3))=\frac{c_2\sin(2\ln(x+3))}{x+3}$$

And so the general solution is:

$$y(x)=y_1(x)+y_2(x)=\frac{c_1\cos(2\ln(x+3))+c_2 \sin(2\ln(x+3))}{x+3}$$
 
Oh okay thanks a load! My teacher only showed us that second way, so I couldn't follow the first method.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 65 ·
3
Replies
65
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K