# Video: Solving a Separable First-Order Differential Equation Involving Using Trigonometric Identities for Integration

Suppose that dπ¦/dπ₯ = (3 sinΒ² π₯)/(4 cosΒ² 2π¦) and π¦ = π/4 when π₯ = π/2. Find π¦ in terms of π₯.

06:19

### Video Transcript

Suppose that dπ¦ by dπ₯ is equal to three times the sin squared of π₯ divided by four times the cos squared of two π¦ and π¦ is equal to π by four when π₯ is equal to π by two, find π¦ in terms of π₯.

In this question, weβre given a differential equation and a point on the curve to the solution of this differential equation. We need to use this to find an expression for π¦ in terms of π₯. So, to do this, weβre going to need to solve our differential equation. We can see dπ¦ by dπ₯ is equal to a function in π₯ divided by a function in π¦. This means we can try doing this by using separable differential equations. We want to separate our variables onto opposite sides of the equation.

First, weβll multiply both sides of our equation by four times the cos squared of two π¦. This gives us four cos squared of two π¦ times dπ¦ by dπ₯ is equal to three times the sin squared of π₯. And itβs worth reiterating at this point we know dπ¦ by dπ₯ is not a fraction. However, when weβre solving separable differential equations, we can treat it a little bit like a fraction. Doing this means we can get the equivalent statement in terms of differentials. Four cos squared of two π¦ dπ¦ is equal to three sin squared of π₯ dπ₯. We then want to find the integral of both sides of this equation.

And in fact, we know how to evaluate the integrals of both sides of this equation. The easiest way to do this is by using the double-angle formula. Weβll start with our integral in terms of π₯. We need to recall the following version of the double-angle formula for cosine: the cos of two π₯ is equivalent to one minus two times the sin squared of π₯. We want to use this equivalence to find an expression for three times the sin squared of π₯.

Weβll start by rearranging this equivalence to make two sin squared of π₯ the subject. This gives us two sin squared of π₯ is equivalent to one minus the cos of two π₯. Of course, we want an expression for three sin squared of π₯. So, weβll multiply both sides of this equivalence through by three over two. Then, by doing this and simplifying, we get that three sin squared of π₯ is equivalent to three minus three cos of two π₯ all divided by two. Weβll write this expression into our integral; however, weβll write this as two separate terms.

Using this, weβve rewritten our integral on the right-hand side as the integral of three over two minus three cos of two π₯ divided by two with respect to π₯. And at this point, we could evaluate this integral; however, weβll also rewrite the integral on the left-hand side of our equation. Weβll do this in the same way. However, this will take a little bit more work. Weβll first recall the following version of the double-angle formula for cosine: the cos of two π is equivalent to two cos squared of π minus one.

Remember, we want to use this to rewrite four cos squared of two π¦. So, we need an expression for the cos squared of two π¦, so weβll set π equal to two π¦. Doing this gives us the cos of two times two π¦ is equivalent to two cos squared of two π¦ minus one. And of course, we can simplify this slightly. The cos of two times two π¦ is the cos of four π¦. Now, weβll rearrange this equivalence to make two cos squared of two π¦ the subject, giving us two cos squared of two π¦ is equivalent to the cos of four π¦ plus one.

Then, all we need to do is multiply this equivalence through by two, giving us that four cos squared of two π¦ is equivalent to two cos of four π¦ plus two. Now, we can use this to rewrite our integral. Doing this means weβve rewritten our integrand on the left-hand side as the integral of two cos of four π¦ plus two with respect to π¦. And of course, this is still equal to our other integral. We can now evaluate both of these integrals directly.

To evaluate both of these integrals, we need to recall the following trigonometric integral rule: for any real constant π not equal to zero, the integral of the cos of ππ with respect to π is equal to the sin of ππ divided by π plus the constant of integration πΆ. We can use this to evaluate both of our integrals. Weβll start with the integral on the left-hand side.

Evaluating this term by term and using our trigonometric integral rule with π¦ instead of π, we get the integral of our first term is two sin of four π¦ divided by four. We then need to integrate our second term. The integral of two with respect to π¦ is two π¦. And of course, we could add a constant of integration; however, weβll combine this with the constant of integration weβll get in evaluating our second integral. Weβll now evaluate our second integral term by term.

First, the integral of three over two with respect to π₯ is three π₯ divided by two. Next, we need to subtract the integral of three times the cos of two π₯ over two. We can do this by using our integral rule with π equal to two and π₯ instead of π. This means we need to subtract three sin of two π₯ divided by two times two. And of course, we need to add a constant of integration weβll call πΆ. We could start simplifying this equation, and weβll do this by multiplying our equation through by four. This gives us two sin of four π¦ plus eight π¦ is equal to six π₯ minus three times the sin of two π₯ plus four πΆ.

And itβs also worth pointing out we could have called our original constant of integration πΆ over four. So, when we multiply through by four, we get πΆ. It doesnβt matter which method you would prefer; itβs all personal preference. Weβll use that method to get our constant of integration now called πΆ. We can now find the value of πΆ by substituting in π₯ is equal to π by two and π¦ is equal to π by four. Substituting these values in, we get two times the sin of four times π by four plus eight multiplied by π by four is equal to six times π by two minus three times the sin of two times π by two plus our constant of integration πΆ.

And now, we can start simplifying. First, both of the arguments of the sine simplify to give us π. But then, we know the sin of π is equal to zero. So, both of these terms just simplify to give us zero. Next, eight times π by four simplifies to give us two π. Then, we have six times π by two is equal to three π. So, this equation simplified to give us two π is equal to three π plus πΆ. And of course, we can solve this equation for πΆ. We get that πΆ is equal to negative π. All thatβs left to do is substitute this value of πΆ into our general solution for the differential equation. And doing this gives us our final answer.

Therefore, we were able to show for the differential equation dπ¦ by dπ₯ is equal to three sin squared of π₯ divided by four cos squared of two π¦, the solution to this differential equation , where when π₯ is equal to π by two, we have π¦ is equal to π by four, is given by eight π¦ plus two sin of four π¦ is equal to six π₯ minus three sin of two π₯ minus π.