Problem of differential equation

In summary, the conversation discusses a problem with solving a given differential equation and finding a function that satisfies it. The original equation is (dy/dx)^2 - dy/dx -x(dy/dx) + y=0, and the function y= cx+ c2- c is given as a possible solution. The conversation discusses different methods of solving the equation, including plugging in the function and using the integrating factor method for linear 1st order equations. It is ultimately determined that the given function does satisfy the equation.
  • #1
esmeco
144
0

Homework Statement



I'm having a problem solving this equation!I'm stuck at a part of the equation where I don't know wha to do!This's the problem:

Show that the given function satisfy the indicated differential equation:

Homework Equations



y=cx +c -c^2; (dy/dx)^2 - dy/dx -x(dy/dx) + y=0

The Attempt at a Solution



The attempt to the solution is on the image below
 

Attachments

  • equation.JPG
    equation.JPG
    29.4 KB · Views: 377
Physics news on Phys.org
  • #2
Just plug the function into the differential equation. If c and c2 are constants, then what can you say about their derivatives?

I've not looked at your figure as its pending approval, so apologies if that's what you've tried. If so, check your arithmetic, as a mental calculation suggests that it works.
 
  • #3
I did look at your attachement and it's hard to see what you are trying to do! In particular, there is a "u" in your equations that does not appear in the problem.
If y= cx+ c2- c, then y'= c and y"= 0.
The difficulty may be that y= cx+ c2- c does NOT satisfy
y"- y'- xy'+ y= 0!

What, exactly, does the problem say?
 
  • #4
HallsofIvy said:
I did look at your attachement and it's hard to see what you are trying to do! In particular, there is a "u" in your equations that does not appear in the problem.
If y= cx+ c2- c, then y'= c and y"= 0.
The difficulty may be that y= cx+ c2- c does NOT satisfy
y"- y'- xy'+ y= 0!

What, exactly, does the problem say?

The OP writes the equation as (y')2- y'- xy'+ y= 0. This equation is satisfied by y= cx+ c2- c. Perhaps this is causing confusion. I have not seen the work, however, so am just wildly guessing where the problem may lie!
 
Last edited:
  • #5
Thank you for all the replies!Oh by the way, HallsofIvy, you mistyped the equation it should be y=cx +c -c^2 and not y= cx+ c^2- c like you have (although this can easily be mistyped)...Well, regarding the problem,I'm trying to prove that, by solving this equation: (dy/dx)^2 - dy/dx -x(dy/dx) + y=0 , we get a result like this y= cx+ c^2- c .Like Cristo said we get an equation
like that (y')^2- y'- xy'+ y= 0 (which also appears in my resolution), but I'm not sure how should I go from there...Like we have different types of differential equations and different methods of solving those types of equations,so, what type of equation (linear 1st order,bernoulli,separate variables,etc.) does this equation belong to?I'm out of ideas right now...Thanks in advance for the reply!
 
  • #6
esmeco said:
Thank you for all the replies!Oh by the way, HallsofIvy, you mistyped the equation it should be y=cx +c -c^2 and not y= cx+ c^2- c like you have (although this can easily be mistyped)...Well, regarding the problem,I'm trying to prove that, by solving this equation: (dy/dx)^2 - dy/dx -x(dy/dx) + y=0 , we get a result like this y= cx+ c^2- c .Like Cristo said we get an equation
like that (y')^2- y'- xy'+ y= 0 (which also appears in my resolution), but I'm not sure how should I go from there...Like we have different types of differential equations and different methods of solving those types of equations,so, what type of equation (linear 1st order,bernoulli,separate variables,etc.) does this equation belong to?I'm out of ideas right now...Thanks in advance for the reply!

Your original question says: Show that y=.. satisfies the given differential equation. So, the simple way to do this, is to plug it into the equation. I.e. find y' and square it for the first term.. etc. You should then have an equation redundant of terms in y. If the LHS of this equation equals 0(the RHS), then you have shown that y=.. satisfies the differential equation.

Try this. If you can't get it post your attempts and I'll try and find your mistake.
 
  • #7
Now I get it...So the equation would be like: (y')^2 - y' -x*y' +c*x+c-c^2=0

and y'=c , so making the substitution we have: c^2 - c - X*c +c*x +c -c^2=0 and 0=0 true.
I got confused with this simple equation because I have demonstrated another equation (with the same statement) where I had to demonstrate that y=senx-1 +ce^-senx satisfied this equation : dy+ycosx=sen(2x)/2 .I have demonstrated this in another way by using this equation: y' + p(x)*y=q(x) .
Is there another way to demonstrate the equation I solved besides substitution(for example solving it like I solved the one I just talked about)?Thanks to all for the help!
 
  • #8
esmeco said:
Now I get it...So the equation would be like: (y')^2 - y' -x*y' +c*x+c-c^2=0

and y'=c , so making the substitution we have: c^2 - c - X*c +c*x +c -c^2=0 and 0=0 true.
Correct
I got confused with this simple equation because I have demonstrated another equation (with the same statement) where I had to demonstrate that y=senx-1 +ce^-senx satisfied this equation : dy+ycosx=sen(2x)/2 .I have demonstrated this in another way by using this equation: y' + p(x)*y=q(x) .

The equation y'+ycosx=sin(2x)/2 is a first order linear differential equation. We can solve such equations by expressing them in the form y' + p(x)*y=q(x) and using the integrating factor method (which I think is what you mean).

Is there another way to demonstrate the equation I solved besides substitution(for example solving it like I solved the one I just talked about)?Thanks to all for the help!

The differential equation you give in your original question cannot be expressed in the form y' + p(x)*y=q(x), and thus the integating factor method cannot be used. I can't think of a way, off the top of my head, of how to solve the original differential equation, apart from using trial and error, starting with the trial function y=cx, and working up from that. However, since the question did not ask you to solve the equation; verifying the solution given is sufficient.
 
  • #9
I guess that was my problem with the equation...I was tring to solve it like a first order linear differential equation which is not possible...Thanks for the help!:D
 
  • #10
If you were asked to show that x= 2 is a solution to the equation x5- 3x4+ x2+ 10x+ 2= 0 would you try to solve the equation? It is much simpler to just replace x with 2 and show that the equation is true for x= 2. It is always much easier to show that a given function satisfies a differential equation that it is to solve the equation!
 

1. What is a differential equation?

A differential equation is an equation that relates one or more unknown functions to their derivatives. It describes how these functions change over time or space, and is often used to model real-world phenomena in fields such as physics, engineering, and economics.

2. What is the difference between an ordinary and a partial differential equation?

An ordinary differential equation (ODE) involves only one independent variable, while a partial differential equation (PDE) involves two or more independent variables. ODEs are used to model systems that vary in only one dimension, while PDEs are used for systems that vary in multiple dimensions, such as temperature distribution in a room.

3. Why are differential equations difficult to solve?

Differential equations are difficult to solve because they often do not have a closed-form analytical solution. This means that the solution cannot be expressed in terms of simple mathematical functions. Instead, numerical methods or approximations must be used to find a solution.

4. What are the applications of differential equations?

Differential equations are used in many fields to model and understand real-world phenomena. They are commonly used in physics to describe the motion of objects, in engineering to design and analyze systems, and in economics to model economic growth and behavior.

5. How can I solve a differential equation?

The method for solving a differential equation depends on its type and complexity. For simple ODEs, analytical methods such as separation of variables or integrating factors can be used. For more complex ODEs and PDEs, numerical methods such as Euler's method or finite difference methods can be used. It is also possible to use software programs such as Mathematica or MATLAB to solve differential equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
819
  • Calculus and Beyond Homework Help
Replies
25
Views
309
  • Calculus and Beyond Homework Help
Replies
2
Views
718
  • Calculus and Beyond Homework Help
Replies
3
Views
895
  • Calculus and Beyond Homework Help
Replies
5
Views
616
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
746
  • Calculus and Beyond Homework Help
Replies
8
Views
752
  • Calculus and Beyond Homework Help
Replies
21
Views
822
  • Calculus and Beyond Homework Help
Replies
7
Views
253
Back
Top