Ordinary Differential equation

In summary, the problem is that you are not entering the correct function notation for the equation y(1)=1. You need to enter f(x,y) = constant, where you have determined both f(x,y) and the constant (for example: sin(y)/x=ln(2)).
  • #1
cheddacheeze
42
0

Homework Statement


Note: Here your solution is implicitly defined, i.e. you can not rearrange the solution to get an explicit expression for y. Therefore you need to enter your solution as an equation. You should enter your solution in the form f(x,y) = constant where you have determined both f(x,y) and the constant (for example: sin(y)/x=ln(2) ). You must include an equals sign. Do not use decimal numbers.



Homework Equations


(5+7y^2)dy/dx +(4x+2)y = 0, y(1)=1


The Attempt at a Solution


had a try at using integrating factor but having the equation = 0 doesn't really help
then tried breaking them up into seperable equations
((5+y^2)/y)dy = (-4x-2)dx
integrated and got f(x,y)=5lny+y^2-2x^2-2x+9/2

 
Physics news on Phys.org
  • #2
(5+y^2)/y = (5/y) + y
when you integrate (5/y) + y , you should get 5Iny + (1/2)y^2
and when you shift your intergrated x components to the left side, shouldn't it be positive?
thats what i think..haha
 
  • #3
hmm yea tried that aswell
also tried integrating:
(5+y^2)dy = (-4xy-y)dx
got 5y +(y^3)/3 = -4x^2y-2xy+c
with y(1)=1
got c = 34/3
but still wrong >.>
 
  • #4
i don't think you can do it that way. You can't simply multiply the y over and integrate wrt x and treat y as constant.

opps! and sorry i read ur qns wrongly.
(5+7y^2)dy/dx +(4x+2)y = 0

this is 3rd degree DE? think i haven learn this yet..haha..sorry!
=P
 
  • #5
its a first degree DE since it has dy/dx in it, not d^3y/dx^3
at least to my knowledge
 
  • #6
cheddacheeze said:

Homework Statement


Note: Here your solution is implicitly defined, i.e. you can not rearrange the solution to get an explicit expression for y. Therefore you need to enter your solution as an equation. You should enter your solution in the form f(x,y) = constant where you have determined both f(x,y) and the constant (for example: sin(y)/x=ln(2) ). You must include an equals sign. Do not use decimal numbers.



Homework Equations


(5+7y^2)dy/dx +(4x+2)y = 0, y(1)=1


The Attempt at a Solution


had a try at using integrating factor but having the equation = 0 doesn't really help
then tried breaking them up into seperable equations
((5+y^2)/y)dy = (-4x-2)dx
That's a good start, but you made a mistake on the left side.
You should have (5/y + 7y)dy = (-4x - 2)dx

cheddacheeze said:
integrated and got f(x,y)=5lny+y^2-2x^2-2x+9/2
This is not quite right. You should have something like 5 ln(y) + <other x and y terms> = <constant>.
 
  • #7
blursotong said:
you should get 5Iny + (1/2)y^2

There is no "In" function. That's Ln, which is sort of an abbreviation of natural Logarithm.
 
  • #8
oh wow i can't believe i mistook the question, i didnt see 7y^2 while trying to work it out maybe that will help
 
  • #9
this is the answer i got:
5logy + 7/2y^2 + 2x^2 + 2x + 15/2
but it still did not work
 
  • #10
That's because you lost your equation. Remember what I said...
You should have something like 5 ln(y) + <other x and y terms> = <constant>
Starting from here
(5/y + 7y)dy = (-4x - 2)dx
Integrate both sides of this equation to get
5lny + (7/2)y^2 = -2x^2 -2x + C

Now use the initial condition y(1) = 1 to find C, and you're done, so stop at that point.

If you want to check your answer, differentiate implicitly and you should get back to the original differential equation.
 
  • #11
Mark44 said:
That's because you lost your equation. Remember what I said...

Starting from here
(5/y + 7y)dy = (-4x - 2)dx
Integrate both sides of this equation to get
5lny + (7/2)y^2 = -2x^2 -2x + C

Now use the initial condition y(1) = 1 to find C, and you're done, so stop at that point.

If you want to check your answer, differentiate implicitly and you should get back to the original differential equation.

yes using the initial conditions
5ln1 + 7/2(1)^2 + 2(1)^1 +2(1) = C
which is
5(0) + 7/2 + 2 + 2 = C
C = 15/2 doesn't it?

which is the same equation i got and it still doesn't work
 
  • #12
Yes, I got C = 15/2. Why do you think it doesn't work?
 
  • #13
Mark44 said:
Yes, I got C = 15/2. Why do you think it doesn't work?

have tried entering it on the computer and it still is not right

sorry it was right, instead of entering "ln(y)", i entered as "lny" damn syntax
 
Last edited:
  • #14
Keep that in mind. We take a lot of shortcuts in writing math expressions, that a computer program is not likely to understand, especially with trig functions and log functions. Instead of cosx or sinx, it's probably going to be looking for cos(x) and sin(x).
 
  • #15
yep thanks for you help :)
 

1. What is an ordinary differential equation (ODE)?

An ordinary differential equation is a type of mathematical equation that relates a function with its derivatives. It is used to model various physical phenomena and is an essential tool in many branches of science and engineering.

2. What are the main types of ODEs?

The main types of ordinary differential equations are linear, nonlinear, and separable. Linear ODEs have the form of y' + p(x)y = g(x), where p(x) and g(x) are functions of x. Nonlinear ODEs have nonlinear terms such as y^2 or sin(y), and separable ODEs can be written as y' = f(x)g(y).

3. How are ODEs solved?

ODEs can be solved analytically or numerically. Analytical solutions involve finding an explicit formula for the function that satisfies the equation. This method is often challenging and only possible for a limited number of ODEs. Numerical methods use numerical algorithms to approximate the solution of an ODE, making it possible to solve a wider range of equations.

4. What are the applications of ODEs?

ODEs have many applications in various fields of science and engineering. They are commonly used to model physical systems such as motion, heat transfer, and chemical reactions. They are also used in economics, biology, and medicine to study population dynamics, growth models, and biological processes.

5. What are the key concepts in understanding ODEs?

Some of the key concepts in understanding ODEs include initial value problems, boundary value problems, and stability. Initial value problems involve finding a solution that satisfies the equation and meets given initial conditions. Boundary value problems involve finding a solution that satisfies the equation and meets given boundary conditions. Stability refers to the behavior of a solution over time and whether it approaches a steady state or oscillates.

Similar threads

  • Calculus and Beyond Homework Help
Replies
25
Views
351
  • Calculus and Beyond Homework Help
Replies
2
Views
735
  • Calculus and Beyond Homework Help
Replies
7
Views
688
  • Calculus and Beyond Homework Help
Replies
10
Views
446
  • Calculus and Beyond Homework Help
Replies
6
Views
853
  • Calculus and Beyond Homework Help
Replies
21
Views
842
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
763
  • Calculus and Beyond Homework Help
Replies
6
Views
760
  • Calculus and Beyond Homework Help
Replies
2
Views
325
Back
Top