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 𝜋.