How to Solve a First and Second Order ODE for y(x) and u=dy/dx

Rake-MC
Messages
324
Reaction score
0
The Problem

You are given: http://img530.imageshack.us/img530/4468/88346476ca9.jpg

Where http://img408.imageshack.us/img408/209/53113174nt5.jpg is constant (taken as B).

a) Differentiate both sides to produce a second order ODE for y(x)
b) Show that it can be written as a first order ODE for u=dy/dx
http://img229.imageshack.us/img229/5861/81200662fv5.jpg
c) Find the general solution for part b), you should have two arbitrary constants.

Homework Equations



The fundamental theorem of calculus:
0241b99e934431d67c700892a79033cc.png


The Attempt at a Solution



a) Using fundamental theorem of calculus, d2y/dx2 = Bf(x)
=> d2y/dx2 = B(1 + (dy/dx)2)1/2

b) Let u = dy/dx => du/dx = B(1 + (dy/dx)2)1/2 = B(1 + u2)1/2

c) Not a clue.. I have actually got no idea where to start for this. I would solve du/dx first, but wouldn't that just result in what I was given, the equation for part a)?

Thanks in advance.
 
Last edited by a moderator:
Physics news on Phys.org
The differential equation for u is separable. Separate it and integrate both sides. Then once you have u, integrate again to get y.
 
(a) and (b) looks correct.

(c)Just do as it says. You will not end up with what you have in part a, if you denote dy/dx with u. You just have to find the GS.
 
Okay, thanks for the fast replies.

I separated and integrated both sides of the ODE for u like this:

http://img91.imageshack.us/img91/5970/84788939vg3.jpg

Think it's right so far, but I need to get theta back into terms of u. I don't exactly know how I'm going to go about this..
After that I'm going to need to integrate again I think, however my equation won't be in the form of a differential equation will it? How will I know what to integrate in terms of.
Thanks.
 
Last edited by a moderator:
Gosh, that's so hard to read!

You have du/dx= B\sqrt{1+ u^2} and then
\sqrt{1+ u^2}du= Bdx

Well, that's wrong right there. You have to divide both sides by \sqrt{1+ u^2}, not multiply.
 
Wow. I cannot believe that I made such a blatant error myself. Blimey!

Okay, I shall withdraw myself for sometime and make sure that next time I put something up here it isn't so horribly flawed haha...

Also, so that it isn't so hard to read next time, it would be great if someone could show me how to type all those math symbols in normal posts (I'm pretty new here).

Cheers
 
If you click the mouse on some of those symbols, like the ones in Hall's post, a window should pop up with the TeX in it. You then enclose the stuff between [ tex] and [ /tex] (without the space). Like this,
<br /> \int \frac{1}{\sqrt{1+ u^2}}du= \int Bdx<br />
 
I did the tex thing, but for some reason when I write more than one line of it I get a page load error. Been trying different combinations for about 40 minutes so I decided I'll try again later and post this for now.

http://img81.imageshack.us/img81/96/99642138ji4.jpg

The problem I have now is getting theta back in terms of u.

Thanks

EDIT: Hang on... theta = arcsinh(u)?
if it's that simple I'm going to be kicking myself!
 
Last edited by a moderator:
Ok, arcsinh(u)=B*x+C. u=y'. You still have to get back to y. Sometimes the tex thing can be frustrating. But I'm not using tex, and you understand me, right?
 
Last edited:
  • #10
so y = \int sinh(Bx+C)dx = \int sinh(Bx)dx + \int Cdx = \frac{1}{B}cosh(Bx) + Cx + D<br />

The only thing I'm not sure about here is whether or not I'm allowed to take the C out of the sinh function, I think I am allowed to because it's an arbitrary constant. However if I'm not allowed to, I might need a helping hand in doing the integral because I'm not sure how I'd go about it.

Pretty sure this is correct though, and I do have the correct number of constants!
 
  • #11
You aren't allowed to take C outside of the sinh. You have to live with that. Can't you still integrate sinh(Bx+C) without making that mistake? Just substitute u=Bx+C and integrate.
 
  • #12
Okay hopefully this is the last time..


dx = \frac{du}{B}

y = \int sinh(u)dx<br /> \int \frac{1}{B} sinh(u)du<br /> = \frac{1}{B} cosh(u) + D<br /> = \frac{1}{B} cosh(Bx + C) + D<br />

Thanks for being so patient, I know this is really frustrating!
 
  • #13
It's not half as frustrating as most. In fact, it's not frustrating at all. Yes, y=cosh(Bx+C)/B+D. If you have any doubts, put it back into the ODE and try it. The only thing frustrating here is that I have to keep scrolling my pages back and forth because of your oversized scans.
 
Last edited:
  • #14
Referring to part (a) , I don't quite get it. If F'(x) = f(x), how do you solve the integral f(t) dt to get f(x)? Mine giving me a headstart to this? Thanks
 
  • #15
To get the integral of f(t) from 0 to x, you find an antiderivative F (such that F'=f) and evaluate F(x)-F(0), right? So the derivative of that integral is f(x).
 
Back
Top