Differential Equation. A little help please kind lads

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation involving trigonometric functions, specifically the equation y'tan(x) = a + y with the boundary condition y(π/3) = a. Participants are exploring various methods of integration and algebraic manipulation to arrive at a solution.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss integration techniques, including a suggestion to use u-substitution for integrating cot(x). There is also an exploration of the implications of boundary conditions and algebraic manipulation of logarithmic expressions.

Discussion Status

Some participants have provided guidance on integration and algebraic errors, while others are attempting to clarify their understanding of boundary conditions. There is an ongoing exploration of the relationship between the derived expressions and the original problem setup.

Contextual Notes

Participants are working under the constraints of a homework assignment, which may limit the information they can share or the methods they can use. There is also a focus on ensuring that assumptions about constants are correctly understood.

Seiya
Messages
43
Reaction score
1
Differential Equation. A little help please kind lads :)

Hey, I've got this problem... i pay attention in class and read the chapter in the book but i can't seem to know how to solve this? ANy help is greatly appreciated lads... thank you

y'tanx=a+y y(pi/3)=a 0<x<(pi/2)

What i done

(dy/dx)tanx = a + y
dytanx=(a+y)dx
dy/(a+y)=dx/tanx

integral of both sides...

ln(a+y)=-csc^2(x) ? This isn't the answer in the back of the book, anyone can tell me where I've gone wrong? 1/tanx = cot x and the integeral of cotan is -csc^2... oh i also assumed a was a constant, is it not? :S :( thanks guys
 
Physics news on Phys.org
Consider an alternative method of integrating cot(x), try doing a u substitution with u=sin(x).
 
LN(a+y) = LN (sinx) + C

Like this?

Then

a+y = sinx +c (take e^ of both sides)

so y = sinx - a

the answer is y= (4a*sinx)/sqrt(3) - a

my answer is close to that i suppose now i have to do something with that y(p/3) = a ... any hints?
 
sorry for the double post ... my internet messed up..im tryin to see how to slve y(pi/3) = a now
 
You did the integration correctly, however there's an algebraic mistake when you raised both sides of your equation to the power of e:

e^{\ln(\sin{x}) + c} \neq \sin{x} + c
e^{\ln(\sin{x}) + c} = e^{\ln(\sin{x})} e^{c} = c \sin{x}

(relabling e^c as just c, since they're both constants anyway).

Also, when you're matching boundary conditions the general method of attack is to evaluate the relevant function at the value specified then set it equal to the value of the boundary condition.
 
so i assume that i did a mistake on the a+y side as well?
 
Seiya said:
so i assume that i did a mistake on the a+y side as well?

No, that side's fine since the a+y is all within the natural log.
 
ok so i have

y=e^c sinx - a

now i have to do y(pi/3) = e^c*sin(pi/3)-a =a and solve for c?

*try*
 
thanks a lot i got it now, i really appreciate it :) thank you so much
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
17
Views
2K