Solving DE x*y'' - y' = 3x^2: 2 Ways Found

  • Thread starter Mabbott608
  • Start date
In summary, the individual has tried using Cauchy-Euler and is now attempting to use series solutions for the equation x*y'' - y' = 3x^2. They are also considering using the "Professor's Solution" and the method of variation of parameters. They have received advice to use the substitution u=y' and to solve the first-order equation in u. They have successfully completed two methods but have yet to plug them into the original equation. They have also asked about the possibility of getting slightly different answers when using various methods and have been recommended to use Mathematica to check their work. Mathematica is a program for doing mathematics, and can be used to solve differential equations. So far, the power series for
  • #1
Mabbott608
6
0
I have to find three ways of solving the equation

x*y'' - y' = 3x^2

So far, I have tried Cauchy-Euler with success and am now working on using series solutions (although I do not know a series for 3x^2). And for a final way of solving I am completely lost.
 
Physics news on Phys.org
  • #2
Is there any way that you could "un-product rule" the left side into d/dx(xy') or something? That might work... or it might not.

You could always try the "Professor's Solution"...

"This problem is left as an exercise for the grader."
 
  • #3
This problem is solved with 'method of variation of parameters'.this way,y''+p(x)y'+q(x)y=f(x)
Yp=c1*y1+c2*y2
Yp(x)=u1*y1+u2*y2
u1=(-)integration(y2*f(x)/w[y1,y2])dx and u2=int(y1*f(x)/w[y1,y2])dx
w[y1,y2] is wronskian of y1 and y2
consequently,we locate yg=yp+yc
 
  • #4
You can either let u=y' or just multiply both side by 1/x^2 and get [itex]d\left(\frac{1}{x}y'\right)=3[/itex]
 
  • #5
I have used the cauchy-euler with variation of parameters with success. I have been informed by a friend and now jackmell to use the substitution u=y'. unfortunately i do not know how that is worked out. if i let u=y' then the order of the equation is reduced. does that mean i can just solve it as a first order linear equation? or are there other steps i need to be aware of.

Thanks everyone for the input! This site is awesome
 
  • #6
jackmell said:
You can either let u=y' or just multiply both side by 1/x^2 and get [itex]d\left(\frac{1}{x}y'\right)=3[/itex]

I should have written [itex]d\left(\frac{1}{x}y'\right)=3dx[/itex]

to be more accurate but that's just skipping steps so yes, make the substitution u=y', solve the first-order equation in u for u, then back-substitute dy/dx=u, and solve for dy, then integrate again. Don't forget to include the constants of integration after each integration.
 
  • #7
Thanks...i did so and got an answer! So far, i have completed two methods successfully yet they both produce a slightly different answer. I have yet to plug them into the original but I am curious, does this happen when various methods are used?
 
  • #8
Mabbott608 said:
Thanks...i did so and got an answer! So far, i have completed two methods successfully yet they both produce a slightly different answer. I have yet to plug them into the original but I am curious, does this happen when various methods are used?

You mean the "same" answer just written differently. For example if c is an arbitrary constant then [itex]e^c x^2[/itex] and [itex]c x^2[/itex] represent the "same" answer. Yes, that happens especially when you use Mathematica to check your work but you can just do a little algebra to get it to look like the other expression or in the above, recognize that [itex]e^c[/itex] is still just an arbitrary constant. Just type:

DSolve[x y''[x]-y'[x]==3x^2,y,x]

into Wolfram Alpha to check your result.
 
  • #9
What is mathematica?
 
  • #10
Mabbott608 said:
What is mathematica?

Mathematica is a program for doing mathematics. You can google Wolfram Alpha which accesses some of the features of Mathematica. You typed in that DSolve command yet? Well, when you do, it will pass it to a running Mathematica program on some server somewhere and it will solve the differential equation and give you the result. Of course don't rely on asking Mathematica to solve problems for you. I recommend it here to check your answers that you first learn to work manually--then use Mathematica :)
 
  • #11
Power series for 3x^2 is 3x^2 (all other terms are zero).
 

FAQ: Solving DE x*y'' - y' = 3x^2: 2 Ways Found

What is a differential equation (DE)?

A differential equation is an equation that involves a function and its derivatives. It describes the relationship between a function and its rate of change.

How do you solve a DE?

There are different methods for solving DEs, depending on the type of DE. Some common approaches include separation of variables, integrating factors, and using power series. It is important to first identify the type of DE and then apply the appropriate method.

What is the order of a DE?

The order of a DE refers to the highest derivative present in the equation. For example, a first-order DE contains only the first derivative, while a second-order DE contains the second derivative.

What does it mean to find "two ways" to solve a DE?

When solving a DE, there may be multiple methods or approaches that can be used to find a solution. In this case, "two ways" means that the problem has been solved using two different methods, and both solutions have been found to be equivalent.

How can solving DEs be useful in science?

DEs are used to model and understand various natural phenomena in different fields of science. They can help predict the behavior of complex systems and provide insights into real-world problems such as population dynamics, heat transfer, and chemical reactions.

Similar threads

Replies
7
Views
2K
Replies
4
Views
2K
Replies
4
Views
1K
Replies
9
Views
8K
Replies
4
Views
2K
Replies
2
Views
2K
Back
Top