Separable first order ODE involving tangent

Click For Summary
SUMMARY

The discussion focuses on solving a separable first-order ordinary differential equation (ODE) involving the tangent function. The solution is derived under the condition that \(x \neq k\pi\) for \(k \in \mathbb{Z}\) and \(x \neq n\pi/2\) for odd \(n \in \mathbb{Z}\). By rearranging the equation and integrating, the solution is expressed as \(|\sin x| = Ae^{\frac{t^2}{2}}\), with the initial condition leading to \(A = \frac{1}{2}\). The analysis concludes that the absolute values can be removed due to the sign agreement between \(\sin x\) and \(A\).

PREREQUISITES
  • Understanding of first-order ordinary differential equations (ODEs)
  • Familiarity with trigonometric functions, specifically the sine and tangent functions
  • Knowledge of integration techniques and exponential functions
  • Ability to interpret initial conditions in the context of differential equations
NEXT STEPS
  • Study the properties of separable differential equations
  • Learn about the behavior of trigonometric functions in differential equations
  • Explore the implications of initial conditions on solutions of ODEs
  • Investigate the method of integrating factors for solving first-order ODEs
USEFUL FOR

Mathematics students, educators, and professionals involved in solving differential equations, particularly those interested in trigonometric applications and initial value problems.

psie
Messages
315
Reaction score
40
Homework Statement
Consider the DE ##\frac{\mathrm{d}x}{\mathrm{d}t}=t\tan x## with initial value ##x(0)=\frac\pi{6}##.
1. Find the solution.
2. Describe the region in which the solutions are defined.
Relevant Equations
A separable first order ODE is of the form ##x'=g(x)h(t)##.
By inspection, we see that ##x=k\pi## is a solution for ##k\in\mathbb Z##. Moreover, the equation implicitly assumes ##x\neq n\pi/2## for odd ##n\in\mathbb Z##, since ##\tan x## isn't defined there. So suppose ##x\neq k\pi##, i.e. ##\tan x\neq 0##, then rearranging and writing ##\tan x=\frac{\sin x}{\cos x}## we have $$\frac{x'\cos x}{\sin x}=\frac{\mathrm{d}}{\mathrm{d}t}\log(|\sin x|)=t.$$ Integrating and exponentiating, we obtain, $$|\sin x|=Ae^{\frac{t^2}{2}}$$ The initial condition implies ##A=1/2##. Now, how do I get rid of the absolute values here? Does it somehow follow from the initial condition that ##\sin x## has to be positive?
 
Physics news on Phys.org
\sin x = \pm A e^{t^2/2}
where A >0. There are two cases of x>0 and x<0 during the time after. The initial condition says ##x(0)=\pi/6 >0 ## Our solution is the former one.
\sin x = \frac{e^{t^2/2}}{2}
 
  • Like
Likes   Reactions: psie
I think from (\log |\sin x|)&#039; = t the next step is <br /> \log |\sin x| = \log |A| + \tfrac12 t^2 and hence <br /> |\sin x| = |A|e^{\frac12 t^2}. It follows from this that \sin x and A have the same sign, so we can drop the absolute value signs.
 
  • Like
Likes   Reactions: psie

Similar threads

Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K