# Homework Help: VERY simple question regarding substitution

1. Sep 27, 2010

### TheFerruccio

1. The problem statement, all variables and given/known data

I'm not even going to get to the real problem. I'm just having a basic mental block with how to do the substitution. I just need to know how to convert this ODE into terms of $$z$$

2. Relevant equations

$$x^2y''+xy'+4(x^4-1)y = 0$$
$$x^2 = z$$

3. The attempt at a solution

I have some vague idea. I think I'm supposed to use the chain rule. This is rather embarrassing in the first place.

$$\frac{dy}{dx} = \frac{dy}{dz}\frac{dz}{dx}$$

I don't know where to go from here. I've been looking around at some of the chain rule instructions that are out there online, but I have not been able to link it to what I need to do here. In fact, the chain rule in general has been a large weakness for me, and I'm surprised that I have gotten to graduate classes and am still mixing it up so frequently.

Last edited: Sep 27, 2010
2. Sep 27, 2010

### rock.freak667

well remember that y'=dy/dx = (dy/dz)(dz/dx)

so you need to use the product rule on y'=(dy/dz)(dz/dx) to get y''

3. Sep 27, 2010

### TheFerruccio

With that in mind, does $$y(x)$$ become a function of $$z$$? Here's my attempt:

$$y' = y'(z) \cdot 2x$$
$$y'' = y''(z) \cdot 2x + 2y'(z)$$

4. Sep 27, 2010

### rock.freak667

Well y would not become a function of z it seems and Wolfram Alpha is giving me a solution that contains the Bessel functions.

5. Sep 27, 2010

### TheFerruccio

If it's not a function of Z, then what is it? See, this is where I am getting confused.

As I said before, I don't need help in actually solving the Bessel Function part of it (I already know how to do that, and how to derive the Bessel Functions). I'm hung up on the substitution.

I've always stumbled on this aspect of how to apply the chain rule. I keep mixing up things. If anyone can provide assistance to just stepping me the way through this Calculus 1 topic I should have known quite well 6 years ago, that would be greatly appreciated. I'm clearly looking at this basic concept in the wrong way, and I'm sure that a short explanation would set me straight from here on out for all future substitution problems.

6. Sep 27, 2010

### rock.freak667

Are you sure you need to use a substitution?

I think you can just make into an Euler-Cauchy equation and then solve for the particular integral.

http://en.wikipedia.org/wiki/Cauchyâ€“Euler_equation" [Broken]

Last edited by a moderator: May 4, 2017
7. Sep 28, 2010

### HallsofIvy

$$\frac{dy}{dx} = \frac{dy}{dz}\frac{dz}{dx}$$
Yes, and since $z=x^2$, $dz/dx= 2x$ so that $dy/dx= 2x dy/dz$.

Then $d^2y/dx^2= d/dx(dy/dx)= d/dx(2x dy/dz)$$= 2 dy/dz+ 2x(d/dx(dy/dx)= 2 dy/dx+ 4x^2 d^2y/dz^2$

$$x^2 d^2y/dx^2+ x dy/dx+ (x^4- 1)y= x^2(2 dy/dz+ 4x^2 d^2y/dz^2)+ x(2x dy/dz)+ (x^4- 1)y$$
$$= 4x^4 d^2y/dz^2+ 3x^2 dy/dz+ (x^4- 1)y$$

Of course, $x^2= z$ and $x^4= z^2$ so that becomes
$$4z^2 d^2y/dz^2+ 3z dy/dz+ (z^2- 1)y= 0$$

8. Sep 28, 2010

### TheFerruccio

Thank you very much for the reply. This is starting to make more sense. However, the final equation, after substitution, does not seem to effectively put the equation into the same form as Bessel's differential equation.

I suppose, I actually have to ask now! How would the coefficients be manipulated so it gets into the form of

$$x^2y'' + xy' + (x^2-\nu^2)y = 0$$
?

9. Sep 28, 2010

### TheFerruccio

Thanks HallsofIvy. I managed to get the answer. I think, after plugging in the substitution, the final differential equation is slightly different, and does indeed match Bessel's differential equation, except in terms of z.

I got:

$$z^2 \ddot y + z\dot y + (z^2-1)y = 0$$

In terms of z, I get the following:

$$y(z) = c_1J_1(z) + c_2Y_1(z)$$

Substituting back x:

$$y(z) = c_1x^2J_1(x) + c_2x^2Y_1(x)$$

Mathematica returns something like $$2c_2x^2Y_1(x)$$ for the second term, which doesn't make sense, since the 2 is redundant, given it's simply linearly dependent on the regular $$c_2x^2Y_1(x)$$