Solve Integration by Parts: y' = x.y.cos(x^2)

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y' = x.y.cos(x^2) using the Integration by Parts method. The initial attempts involved integrating both sides and substituting variables, but confusion arose regarding the necessity of Integration by Parts versus substitution. Participants clarified that substituting t = x^2 simplifies the integral, allowing for easier computation. Ultimately, the correct method involves recognizing the substitution and applying it effectively to solve the integral without further complications.

PREREQUISITES
  • Understanding of differential equations and their solutions.
  • Familiarity with the Integration by Parts technique.
  • Knowledge of substitution methods in integration.
  • Basic calculus concepts, including derivatives and integrals.
NEXT STEPS
  • Learn the method of substitution in integration, specifically for functions like x.cos(x^2).
  • Study the Integration by Parts technique in detail, including its applications and limitations.
  • Explore advanced techniques for solving differential equations, including numerical methods.
  • Practice solving similar differential equations to reinforce understanding of integration techniques.
USEFUL FOR

Students studying calculus, particularly those focusing on differential equations, as well as educators and tutors looking to clarify integration techniques.

adamwitt
Messages
25
Reaction score
0

Homework Statement



Find the solution to:

y' = x.y.cos(x^2)

Homework Equations



Integration by Parts method.

The Attempt at a Solution



Step 1
(dy/dx).(1/y) = x.cos(x2)

(1/y) dy = x.cos(x2) dx

Step 2
Integrate both sides.

ln|y| = integratal of [ x.cos(x2) dx ]

Step 3
Using integration by parts...

u = cos(x2) => du = -2x.sin(2^x)
dv = x => v = 1.dx

Step 4
Subbing back in...

ln|y| = u.v - integral of v.du = cos(x2) - integral of [-2x.sin(x2)]

ln(y) = cos(x2) + 2*integral of [x.sin(x2)]

Step 5
Using integration by parts a second time...

u = sin(x2) => du = 2x.cos(x2)
dv = x => v = 1.dx

Step 6
Subbing back in...

ln|y| = cos(x2) + 2 ( sin(x2) - 2*integral of x.cos(x2).dx )Step 7

I stop my attempt there because it just seems to eventually I get to a point where it becomes a function of itself? (ie. the x.cos(x2)

What do I do next? or have I gone wrong somewhere?EDIT --- SOME FURTHER WORK, IS THIS CORRECT?

Ok so I noticed that we get "integral of [x.cos(x2)]" back in our formula, and up above in Step 2 I declared it to be = ln|y|

So I sub ln|y| into the formula and get...

ln|y| = cos(x2) + 2sin(x2) - 4*ln|y|
5*ln|y| = cos(x2) + 2sin(x2)
ln|y| = (1/5)*(cos(x2) + 2sin(x2))

y = e^(above line)

Ta da? lemmy know if this correct please!
 
Last edited:
Physics news on Phys.org
integral of [ x.cos(x2) dx ] doesn't need integration by parts right? derivative of x square is 2 times x.
 
Oster said:
integral of [ x.cos(x2) dx ] doesn't need integration by parts right? derivative of x square is 2 times x.


Are you high? :P
What has the derivative of x^2 got to do with the integral of x*cos(2^x) ?
 
Why are you even using integration by parts? A much simpler approach is to substitute t=x^2 on your right hand integration.
 
HEY! I WASN'T HIGH! I was trying to help!
 
Pi-Bond said:
Why are you even using integration by parts? A much simpler approach is to substitute t=x^2 on your right hand integration.

As far as I'm aware the easiest way to integrate the product of two functions is to integrate it by parts.

Could you please explain your method? ie. Once I substitute t=x^2, what then?
 
If t=x^2, dt=2xdx. Your integral xcos(x2)dx can then be expressed as (1/2)cos(t)dt, which you can integrate easily.
 
Pi-Bond said:
If t=x^2, dt=2xdx. Your integral xcos(x2)dx can then be expressed as (1/2)cos(t)dt, which you can integrate easily.


How does x become (1/2) ?
 
You haven't done integrations by substitution yet? Maybe you should wait for your class to get to that point...(Actually if you are doing differential equations, you should be aware of this)

Anyway: xcos(x2)dx = (1/2)cos(x2)(2xdx) = (1/2)cos(t)dt
 
  • #10
adamwitt said:
How does x become (1/2) ?
This is pretty standard when using substitution to do integration. Generally the method of
substitution is covered before integration by parts.

You are trying to find \displaystyle \int x\cos(x^2)\,dx\,.

As Oster suggested, use substitution. Pi-Bond gave more details: use t = x2, then dt = 2x dx → x dx = (1/2) dt . This is where the 1/2 comes from.

x doesn't become 1/2. Pi-Bond moved the x to be with 2 x dx, then had to include 1/2 to make up for the extra factor of 2. It's just a different way to get the same result.
 
  • #11
SammyS said:
This is pretty standard when using substitution to do integration. Generally the method of
substitution is covered before integration by parts.

You are trying to find \displaystyle \int x\cos(x^2)\,dx\,.

As Oster suggested, use substitution. Pi-Bond gave more details: use t = x2, then dt = 2x dx → x dx = (1/2) dt . This is where the 1/2 comes from.

x doesn't become 1/2. Pi-Bond moved the x to be with 2 x dx, then had to include 1/2 to make up for the extra factor of 2. It's just a different way to get the same result.


Thanks guys, understand it all now. Legends.
 

Similar threads

Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K