Solving an Initial Value Problem with a Sinusoidal Differential Equation

JamesGoh
Messages
140
Reaction score
0
For the following problem

\frac{dw}{d\theta}=\theta w^{2}sin(\theta^{2}), w(0)=1

I am not able to obtain the solution

w=\frac{2}{1+cos(\theta^{2})}

Can anyone point out my mistake?

I have attached my working out in a picture format below (may need to enlarge it)

thanks
 

Attachments

  • tute3q2cp1_smallres.jpg
    tute3q2cp1_smallres.jpg
    34 KB · Views: 484
  • tute3q2cp2_smallres.jpg
    tute3q2cp2_smallres.jpg
    28.6 KB · Views: 487
Physics news on Phys.org
JamesGoh said:
For the following problem

\frac{dw}{d\theta}=\theta w^{2}sin(\theta^{2}), w(0)=1

I am not able to obtain the solution

w=\frac{2}{1+cos(\theta^{2})}

Can anyone point out my mistake?

I have attached my working out in a picture format below (may need to enlarge it)

thanks

sin(θ^{2}) ≠ sin^{2}(θ)

Be careful where you put the exponents when using trig functions. It makes a difference for integrating and differentiating as well.
 
sorry wrong piece of paper.

Please look at this new attachment and inform me of my error
 

Attachments

  • tute3q2c_small.jpg
    tute3q2c_small.jpg
    38.2 KB · Views: 455
You forgot the arbitrary constant.
 
nothing wrong with the u-substitution and integration, however on the right side toward the bottom of your page, one step reads:

1/w = 2/(cos(Θ2)) + C

What I suggest:

1). ALWAYS isolate the function variable first (in this case w(Θ)) before solving for the arbitrary constant (in this case C).

In other words - rather than what it reads now: 1/w(Θ) = ...

rearrange the equation such that it reads w(Θ) = ...

THEN solve with the initial value w(0) = 1

2). AlSO (and more importantly) keep in mind that any value multiplied by an arbitrary constant is still the value of the arbitrary constant (e.g. 2 * C = C)

So putting these two suggestions together, rewrite 1/w = 2/(cos(Θ2)) + C such that it reads 1/w(Θ) = ... then one ENTIRE fraction. Then flip the fractions on either side so that it reads w(Θ) = ...

THEN solve with the initial condition w(0) = 1.

hope this helps
 
Last edited:
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...

Similar threads

Back
Top