Change of dependent variable in a DE

  • Context: Graduate 
  • Thread starter Thread starter elarson89
  • Start date Start date
  • Tags Tags
    Change Variable
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
elarson89
Messages
19
Reaction score
0
Hi all, I have what should hopefully be a quick question. Given an ODE of the following form (sorry no tex)
y = y(x) with y' defined as differentiation wrt (with respect to) x

y'' + y' + y = 0

and I want to make a change a variables A = x/a (for some constant a) so that we define a new dependent variable as Y(A) = y(ax).

I now want to rewrite the ODE with respect to Y and A.
Y = Y(A) with Y* defined as differentiation wrt A

I am not sure how this works out, but I know that the answer should look like

1/a^2 Y** + 1/a Y* + Y = 0

I know this isn't a hard question but I'm just not seeing it. Thanks in advance for help.

EDIT:

I found a way for this to work out, although it seems a bit convoluted. Input still welcome though.
 
Last edited:
Physics news on Phys.org
elarson89 said:
Hi all, I have what should hopefully be a quick question. Given an ODE of the following form (sorry no tex)
y = y(x) with y' defined as differentiation wrt (with respect to) x

y'' + y' + y = 0

and I want to make a change a variables A = x/a (for some constant a) so that we define a new dependent variable as Y(A) = y(ax).

I now want to rewrite the ODE with respect to Y and A.
Y = Y(A) with Y* defined as differentiation wrt A

I am not sure how this works out, but I know that the answer should look like

1/a^2 Y** + 1/a Y* + Y = 0

I know this isn't a hard question but I'm just not seeing it. Thanks in advance for help.

EDIT:

I found a way for this to work out, although it seems a bit convoluted. Input still welcome though.
Use the chain rule. If A= x/a, then dA/dx= 1/a (kind of wish you had chosen some other letters!:smile:).

[tex]\frac{dY}{dx}= \frac{dY}{dA}\frac{dA}{dx}= \frac{1}{a}\frac{dY}{dx}[/tex]

[tex]\frac{d^2Y}{dx^2}= \frac{d}{dx}\left(\frac{dA}{dx}\right)= \frac{d}{dx}\left(\frac{1}{a}\frac{dY}{dA}\right)[/tex<br /> [tex]= \frac{1}{a}\frac{d}{dx}\left(\frac{dY}{dA}\right)= \frac{1}{a}\left(\frac{1}{a^2}\frac{d^2Y}{dA^2}[/tex]<br /> [tex]= \frac{1}{a^2}\frac{d^2Y}{dA^2}[/tex]<br /> <br /> So your equation is <br /> [tex]\frac{1}{a^2}\frac{d^2Y}{dA^2}+ \frac{1}{a}\frac{dY}{dA}+ Y=0[/tex]<br /> If you like you can multiply on both sides by [itex]a^2[/itex] and get<br /> [tex]\frac{d^2Y}{dA^2}+ a\frac{dY}{dA}+ a^2Y= 0[/tex].<br /> <br /> Notice that this would work for A being a function of x also, though then the derivatives become more complicated.[/tex]