Solving an Initial Value Problem with a Sinusoidal Differential Equation

4 replies · 3K views · last reply
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
  • Handwritten working on lined paper: separable-equation steps for dw/dθ = θw²sin(θ²), including integrating dw/w² and a double-angle identity substitution for sin²θ, ending with an integration by parts setup.
    tute3q2cp1_smallres.jpg
    34 KB · Views: 532
  • Handwritten working on lined paper solving a separable differential equation by integration, with integrals, substitutions, and the initial condition w(0) = 1 used to find the constant of integration.
    tute3q2cp2_smallres.jpg
    28.6 KB · Views: 530
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
  • Handwritten solution on lined paper of the initial value problem dw/dθ = 0 w^2 sin(θ^2), w(0) = 1, separating variables and substituting u = θ^2, with integration steps and algebra for w, ending in a sequence of equations with a constant C.
    tute3q2c_small.jpg
    38.2 KB · Views: 502
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: