MHB Exact equation with trig function

  • Thread starter Thread starter find_the_fun
  • Start date Start date
  • Tags Tags
    Function Trig
find_the_fun
Messages
147
Reaction score
0
Determine whether the given differential equation is exact and if so solve it.

$$(\tan{x}-\sin{x}\sin{y}) dx+\cos{x}\cos{y} dy=0$$

I got [math]\cos{x}\sin{y}+\sec^2{x}=c[/math] but the answer key has [math]-ln|\cos{x}|+\cos{x}\sin{y}=c[/math] where did $$ln$$ come from?
 
Physics news on Phys.org
find_the_fun said:
Determine whether the given differential equation is exact and if so solve it.

$$(\tan(x)-\sin(x)\sin(y)) \, dx+\cos(x)\cos(y) \, dy=0$$

I got [math]\cos(x)\sin(y)+\sec^2(x)=c[/math] but the answer key has [math]-\ln|\cos(x)|+\cos(x)\sin(y)=c.[/math] Where did the $$\ln$$ come from?

So we start out with
$$f_x(x,y)=\tan(x)-\sin(x)\sin(y).$$
Integrating w.r.t. $x$ yields $-\ln|\cos(x)|+\cos(x)\sin(y)$. Then you do the usual differentiation w.r.t. $y$, compare with $\cos(x) \cos(y)$, etc. That's where the logarithm came from.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top