Trouble with a second order differential equation

draco193
Messages
6
Reaction score
0
Hello all,

I'm having a little trouble getting the Latex to work, so I'm hoping this won't be too hard for everyone to understand.

Homework Statement



I am given the second order differential equation
x2*y''(x)+(2*b+1)*x*y'(x)+c*y(x) = 0

Use the transform x=ez to find the general solution.

b,c are real, and b2>c

Then, using the special solution y=xp, solve for p and confirm you get the same solution.

The find the real solutions if b2=c, b2<c

Homework Equations



The Quadratic Formula will be used

The Attempt at a Solution



For the first part, transforming the original equation:

y'(x) = \frac{dy}{dz}*\frac{dz}{dx} =y'(z)*\frac{1}{x}

similarly, y''(x) = \frac{-1}{x^2}.*y''(z)

Replacing into the original equation, I get
-y''(z)+(2b+1)*y'(z)+c*y(z).

Using the quadrtaic equation, I then get as a solution
\frac{(2b+1) \mp sqrt((4b^2)+4b+4c+1}{2}

Using these as r1 and r2, and replacing z with x, I find the general solution y(x) = c*xr1 + c*xr2

So then solving the special solution

x2*(p-1)*(p)*xp-2+x*p*xp-1+c*xp = 0

Simplifying, I get

p2+2bp+c =0

Solving for p, I get p = -b\pm sqrt(b2-c)

This obviously does not equal my other solution, so I'm wondering if anyone can see where it is I've made my mistake?
 
Last edited:
Physics news on Phys.org
You need to calculate y''(x) not y''(z).
 
JThompson said:
You need to calculate y''(x) not y''(z).

Thats what I get for trying to type my work in quickly. Typo fixed.
 
I got something different for y''(x). Did you calculate

\frac{d^{2}y}{d^{2}x}=\frac{d(\frac{dy}{dx})}{dz}*\frac{dz}{dx}

using the product rule for derivatives on

\frac{d(\frac{dy}{dx})}{dz}

?
 
JThompson said:
I got something different for y''(x). Did you calculate

\frac{d^{2}y}{d^{2}x}=\frac{d(\frac{dy}{dx})}{dz}*\frac{dz}{dx}

using the product rule for derivatives on

\frac{d(\frac{dy}{dx})}{dz}

?

Thank you. That is where my error was at.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top