Differential Equations Problem

In summary, the conversation discusses solving an equation involving x, y, and their derivatives. The individual tried using an integrating factor but did not get the correct answer. After some guidance, they realized their mistake and were able to solve the equation correctly.
  • #1
tomeatworld
51
0

Homework Statement


x y' + 3y = x2

Homework Equations


The Attempt at a Solution


So I tried using an integrating factor (as I couldn't separate variables).
So I've said that the function p(x)= 1/x and q(x)=x. So the integrating factor is elog(x) or x. Putting this in:
x y = [tex]\int x^{2}[/tex] so
x y = [tex]\frac{1}{3} x^{3}[/tex] + c
and finally: y(x) = [tex]\frac{1}{3} x^{2} + \frac{c}{x}[/tex] but this isn't the right answer. Where have I gone wrong?
 
Physics news on Phys.org
  • #2
You don't have the right integrating factor. Starting from y' + (3/x)y = x, your integrating factor should be x3. Multiplying by the integrating factor gives x3y' + 3x2y = x4.

This equation can be written as d/dx(x3y) = x4. Can you take it from there?
 
  • #3
ahh I see! yeah, that's great! thanks a load!
 

FAQ: Differential Equations Problem

What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It is used to model many physical, biological, and economic phenomena.

What types of problems can be solved using differential equations?

Differential equations can be used to solve a wide range of problems, including population growth, heat transfer, motion of objects, electrical circuits, and chemical reactions.

How are differential equations solved?

Differential equations can be solved using analytical, numerical, or graphical methods. Analytical methods involve finding an exact solution using mathematical techniques. Numerical methods use algorithms to approximate the solution, while graphical methods involve plotting the solution on a graph.

What are the applications of differential equations in science?

Differential equations have numerous applications in science, including physics, chemistry, biology, engineering, and economics. They are used to model and predict the behavior of systems in these fields.

What are the different types of differential equations?

There are several types of differential equations, including ordinary differential equations (ODEs), partial differential equations (PDEs), and stochastic differential equations (SDEs). ODEs involve only one independent variable, while PDEs involve multiple independent variables. SDEs are used to model systems with random inputs or outputs.

Back
Top