Solving Differential Equation: y' = cos(x+y) with u = x+y

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y' = cos(x+y) by introducing the substitution u = x+y. Participants clarify the differentiation process of the equation and the subsequent steps to derive a new equation, resulting in u' - 1 = cos(u). The integral of the resulting equation is discussed, leading to the final expression of y in terms of x, specifically 1/2 tan((x+y)/2) = y. The conversation emphasizes the importance of showing work and understanding the integration process.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with substitution methods in calculus
  • Knowledge of trigonometric identities and integrals
  • Experience with differentiation techniques
NEXT STEPS
  • Learn methods for solving first-order differential equations
  • Study integration techniques for trigonometric functions
  • Explore substitution methods in differential equations
  • Review the application of trigonometric identities in calculus
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus and differential equations, as well as educators seeking to enhance their teaching methods in these topics.

der.physika
Messages
38
Reaction score
0
Solve the following differential equation

y\prime=\cos(x+y)

Here introduce the new variable:

x+y\equiv{u}

Please show steps, or else I won't understand this
 
Physics news on Phys.org
What do you get when you differentiate x + y = u with respect to x and plug it in?
 
LCKurtz said:
What do you get when you differentiate x + y = u with respect to x and plug it in?

Okay, but how do I differentiate

<br /> x+y\equiv{u}<br /> ?

Do I get

<br /> 1+y\equiv{u}<br />

or do I have to rewrite it as

<br /> u-x\equiv{y}<br />

which then becomes

<br /> u-1\equiv{y\prime}<br />

and where do I plug that in?
 
der.physika said:
Okay, but how do I differentiate

<br /> x+y\equiv{u}<br /> ?

Do I get

<br /> 1+y\equiv{u}<br />

or do I have to rewrite it as

<br /> u-x\equiv{y}<br />

which then becomes

<br /> u-1\equiv{y\prime}<br />

You differentiate an equation by differentiating both sides of it. Every term. Neither of your two attempts to differentiate above are correct.

and where do I plug that in?

Look at your original post. Where do you think you might plug the substitution in?
 
ok how about this

<br /> x+y\equiv{u}<br />

comes out to be

<br /> 1+y\prime\equiv{u\prime}<br />

and then plug the y\prime into the equation?
 
Yes. Your new equation should involve u and x.
 
LCKurtz said:
Yes. Your new equation should involve u and x.

ok, so I plugged it in and I got the following

u\prime-1=\cos(u)

what do I do now? should I integrate both sides? and then rewrite u into y and x terms?
 
der.physika said:
ok, so I plugged it in and I got the following

u\prime-1=\cos(u)

what do I do now? should I integrate both sides? and then rewrite u into y and x terms?

Well, you have a new differential equation. What methods have you learned to solve differential equations? Have you tried any of these methods? Show us what happens.
 
der.physika said:
Thanks a bunch shashi_a_n_k_a_m

you are awesome!

And he is also violating forum rules by giving a complete solution.
 
  • #10
LCKurtz said:
And he is also violating forum rules by giving a complete solution.

Okay, but I still don't know how to find that integral, which is what I'm going to go find out now. In the end I still learn something, even though I got the answer, I need to show my work completely, what's an answer without an explanation? a meaningless number...
 
  • #11
I figured out how to do that integral, the steps are as followed

(1) \int\frac{1}{1+\cos(u)}

(2) use \cos(u)\equiv1-\cos^2(\frac{u}{2})

and then it simplifies to

(3) \frac{1}{2}\sec^2(\frac{u}{2})

which comes out to

(4) \frac{1}{2}tan(\frac{x+y}{2})=y
 
  • #12
Isn't there a way I can write the equation in terms of only X values?
 

Similar threads

Replies
10
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
930
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K