### 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 π.