# Solve ODE with Trig: xy'=y+3x^2cos^2(y/x)

• asdf1
In summary, the cosine of the y/x will be the same as the cosine of the original x. This is because the y/x is just a multiple of the original x.
asdf1
for this O.D.E.
xy` = y + 3(x^2)[cos^2(y/x)], y(0)=pi/2
how do you work this out?

Last edited:
substitute y=vx

Divide both sides by x first. That will make it easier to see why GCT's substitution works.

i think I'm having trouble with when are you supposed to make that kind of substitution...
@@a

Did you do what Benny said? That would give:

$$xy' = y + 3x^2 \cos ^2 \left( {\frac{y}{x}} \right) \Leftrightarrow y' = \frac{y}{x} + 3x\cos ^2 \left( {\frac{y}{x}} \right)$$

That should make it more clear to see the possible substitution of y/x.

yes... but probably I'm not good with numbers, because i still wouldn't think of using that substitution in the first place... I'm not sharp~

The y/x in the cos should ring a bell, as well as the factor x before the y'. To get the y' isolated, dividing by x makes another y/x of the first term on the RHS (the y).

It's a bit looking and trying

Ok if you find it to be slightly difficult to 'see' the kinds of manipulation are required then the following might help. If you've just started ODEs then it's unlikely that that you will be dealing with a large variety of DEs. The first few types that you usually learn are separable, first order linear and homogeneous (some textbooks call a whole bunch of different DEs homogeneous but don't worry too much about that if you're just starting out). So basically try to write the DE in the standard first order linear form. If you can't then try to separate variables. Can't do that? The chances are that it's homogeneous. It doesn't matter if it doesn't look homogeneous, just make the substitution y = vx and the algebra will sort itself out.

The above 'advice' only really helps if you've just started doing DEs. It tends to become a little impractical to deduce the form of the DE during an exam situation once you start learning more ODEs. This is especially true when the assignment/test/exam setter decides to be tricky and put in a question which is neither linear, separable or homogeneous. It happened on my last assignment. By the way, there's no need to be so humble about your abilities. These questions become quite easy (in general) once you've done a lot of them. A trap is to just watch someone else do the question and not do any yourself. The difference between my math and physics scores illustrates this point. ;)

Edit: Perhaps you could fill us in on the material that you've covered. Sometimes you might just come across questions that you can't do because you've never seen questions of that type before.

Last edited:
hmm... you're right! I'm starting D.E's... I'm studying O.D.E's on my own, because i think it's a very important application in science~
right now, I'm looking at engineering mathematics by kreygzig, and having a little trouble trying to understand~
@@

thank you very much! :)

## 1. What is an ODE?

An ODE, or ordinary differential equation, is a mathematical equation that relates a function to its derivatives. It is used to model a wide range of scientific phenomena and is an important tool in many fields, including physics, engineering, and biology.

## 2. How do you solve ODEs with trigonometric functions?

Solving ODEs with trigonometric functions involves using trigonometric identities and techniques, such as substitution and integration by parts. In the case of the equation xy'=y+3x^2cos^2(y/x), we can use the substitution u=y/x to transform it into a separable ODE, which can then be solved using integration.

## 3. What is the purpose of using trigonometric functions in ODEs?

Trigonometric functions are often used in ODEs because they can represent periodic behavior and oscillations, which are common in many physical systems. They also have useful identities and properties that can simplify the solving process.

## 4. Can this ODE be solved analytically?

Yes, this ODE can be solved analytically by using the substitution u=y/x to transform it into a separable ODE. However, in some cases, ODEs with trigonometric functions may not have an exact analytical solution and may require numerical methods for approximation.

## 5. What are some real-world applications of solving ODEs with trigonometric functions?

ODEs with trigonometric functions can be used to model a variety of phenomena, such as the motion of a pendulum, the behavior of electrical circuits, and the growth of populations. They are also commonly used in fields such as astronomy, acoustics, and signal processing.

• Introductory Physics Homework Help
Replies
3
Views
1K
• Introductory Physics Homework Help
Replies
1
Views
179
• Precalculus Mathematics Homework Help
Replies
3
Views
601
• Introductory Physics Homework Help
Replies
6
Views
759
• Introductory Physics Homework Help
Replies
40
Views
839
• Precalculus Mathematics Homework Help
Replies
10
Views
254
• Introductory Physics Homework Help
Replies
2
Views
220
• Introductory Physics Homework Help
Replies
24
Views
987
• Introductory Physics Homework Help
Replies
8
Views
209
• Introductory Physics Homework Help
Replies
11
Views
1K