Solving an Initial Value Problem with a Sinusoidal Differential Equation

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
4 replies · 3K views
JamesGoh
Messages
140
Reaction score
0
For the following problem

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

I am not able to obtain the solution

[itex]w=\frac{2}{1+cos(\theta^{2})}[/itex]

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: 517
  • tute3q2cp2_smallres.jpg
    tute3q2cp2_smallres.jpg
    28.6 KB · Views: 517
Physics news on Phys.org
JamesGoh said:
For the following problem

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

I am not able to obtain the solution

[itex]w=\frac{2}{1+cos(\theta^{2})}[/itex]

Can anyone point out my mistake?

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

thanks

sin(θ[itex]^{2}[/itex]) ≠ sin[itex]^{2}[/itex](θ)

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: 486
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: