### Video Transcript

Find the equation of the curve given the gradient of the tangent is five sin squared π₯ over two and the curve passes through the origin.

Remember, if we know the equation of a curve, we can find the value of its gradient or slope at a point by differentiating. We also know that integration is the reverse process to differentiation. And so, weβre going to be able to find a general equation of our curve by integrating our expression for the gradient of the tangent. Thatβs integrating five sin squared π₯ over two with respect to π₯. Weβre told that the curve passes through the origin. Remember, thatβs the point whose coordinates are zero, zero. So, weβll use this information in a little while to find the particular solution or the particular equation of the curve.

Letβs start then by integrating five sin squared π₯ over two with respect to π₯. Now, whilst itβs not entirely necessary, it can be nice to remove any constant factors and focus on integrating the function itself. So, we can write this as five times the integral of sin squared π₯ over two. But how do we integrate sin squared π₯ over two? Well, weβre going to begin by recalling one of our double-angle formulae.

We know that cos of two π is cos squared π minus sin squared π. But we also know that cos squared π plus sin squared π is equal to one. Sometimes, we use identity symbols instead of equal symbols here. And this is because these equations or identities are true for all values of π, but weβre just going to use equal signs and bear this in mind.

From our second identity, weβre going to subtract sin squared π from both sides. That tells us that cos squared π is equal to one minus sin squared π. Then, we replace cos squared π with one minus sin squared π in our first identity. And we find that cos two π is one minus sin squared π minus sin squared π or cos two π is one minus two sin squared π. Because weβre integrating an expression in sin squared, weβre going to rearrange to make sin squared π the subject.

Weβll add two sin squared π to both sides and subtract cos two π. So, two sin squared π is one minus cos two π. And if we divide through by two, we find sin squared π is one minus cos two π all over two. Now, this looks a little bit different to our expression for sin squared π₯ over two. But remember, we said these identities are true for all values of π. So, letβs see what happens if we let π be equal to π₯ over two.

When we do, we see that sin squared of π₯ over two is equal to one minus cos of two times π₯ over two all over two. But two times π₯ over two is simply π₯. So, we found that sin squared of π₯ over two is equal to one minus cos π₯ over two. And we now see that to integrate sin squared π₯ over two, we actually integrate one minus cos π₯ over two with respect to π₯. Once again, we can take out constant factors. Letβs take out one-half. And we see that π¦ is going to be equal to five over two times the integral of one minus cos of π₯ with respect to π₯. Letβs integrate term by term.

When we integrate one with respect to π₯, we simply get π₯. We know that the integral of cos of π₯ is sin π₯. So, when we integrate negative cos of π₯, we get negative sin π₯. Of course, this is an indefinite integral, so we need to take into account that thereβs going to be a constant of integration. Letβs call that π΄. Now, this step isnβt entirely necessary. We could do this later, but we might choose at this stage to distribute our parentheses. When we do, we get π¦ is equal to five over two π₯ minus five over two sin π₯ plus π΅. This is essentially a new constant, since weβve multiplied our earlier constant by five over two.

Now, of course, we know that our curve passes through the origin. Thatβs the point with coordinates zero, zero. In other words, there is a point on our line that when π₯ is equal to zero, π¦ is equal to zero. So, letβs replace π₯ and π¦ in our equation. It becomes zero is equal to five over two times zero minus five over two times sin zero plus π΅. Five over two times zero is zero, and five over two times sin zero is also zero. So, π΅, our constant, is actually equal to zero.

And so, weβve found the equation of the curve. Itβs π¦ equals five over two π₯ minus five over two sin π₯.