Solve 1-Param DE: dr/dβ cot β - r = 2

  • Thread starter Thread starter Nano-Passion
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
Nano-Passion
Messages
1,291
Reaction score
0

Homework Statement



Find 1-parameter family of solutions for the folloing differential equation:

dr/dβ cot (β) - r = 2

The Attempt at a Solution


dr/dβ cot β - r = 2
dr/β cot β = 2 + r
dr = (2+r) dβ/cot β
integral dr/2+r = integral tan β dβ
ln (2+r) = - ln (cos β) + c

I take everything to the e power

2+r = - cos β + e^c
r = c cos - 2

While the book has r = c sec - 2. I suspect this might be because of taking e^- ln, if it is, please explain why that happens.
 
Physics news on Phys.org
You have errors when taking e to the power of each side. (NOT "to the e power"!)
[itex]e^{-ln(cos(\beta))+ C}[/itex] is NOT "[itex]-cos(\beta)+ e^c[/itex]" for two reasons. First, [itex]e^{-ln(A)}= e^{ln(1/A)}= 1/A[/itex], not -A. Second [itex]e^{A+ B}= e^Ae^B[/itex], not [itex]e^A+ e^B[/itex].
[tex]e^{-ln(cos(\beta))+ c}= e^{ln(1/cos(\beta)}e^c= C/cos(\beta)= C sec(\beta)[/tex]
where [itex]C= e^c[/itex].
 
Last edited by a moderator:
HallsofIvy said:
You have errors when taking e to the power of each side. (NOT "to the e power"!)
Sorry, I was sloppy with my wording hehe.

[itex]e^{-ln(cos(\beta))+ C}[/itex] is NOT "[itex]-cos(\beta)+ e^c[/itex]" for two reasons. First, [itex]e^{-ln(A)}= e^{ln(1/A)}= 1/A[/itex], not -A. Second [itex]e^{A+ B}= e^Ae^B[/itex], not [itex]e^A+ e^B[/itex].

What i did was [itex]e^A+e^B[/itex], then I incorporated the constant when I wrote [itex]c cos[/itex]

[tex]e^{-ln(cos(\beta))+ c}= e^{ln(1/cos(\beta)}e^c= C/cos(\beta)= C cos (\beta)[/tex]
where [itex]C= e^c[/itex].

Many thanks!