# Video: Finding the Expression of a Function given Its Derivative Using Indefinite Integration

Suppose that d𝑦/d𝑥 = 8 csc² 𝑥 and 𝑦 = −12 when 𝑥 = 𝜋/3. Find 𝑦 in terms of 𝑥.

03:33

### Video Transcript

Suppose that d𝑦 by d𝑥 is equal to eight times the csc squared of 𝑥 and 𝑦 is equal to negative 12 when 𝑥 is equal to 𝜋 by three. Find 𝑦 in terms of 𝑥.

In this question, we want to find 𝑦 in terms of 𝑥. And to do this, we’re told that the derivative of 𝑦 with respect to 𝑥 is equal to eight times the csc squared of 𝑥. And this is a simple type of equation. If we’re told d𝑦 by d𝑥 is equal to some function of 𝑥, we call this a simple differential equation. And the reason we call this a simple differential equation is we can solve this by integrating both sides with respect to 𝑥. We get the integral of d𝑦 by d𝑥 with respect to 𝑥 is equal to the integral of 𝑓 of 𝑥 with respect to 𝑥. But remember, integration and differentiation are opposite operations. So the integral of d𝑦 by d𝑥 with respect to 𝑥 is equal to 𝑦.

And assuming we can integrate our function lowercase 𝑓 of 𝑥, let’s say this is equal to capital 𝐹 of 𝑥, then we can get an expression for 𝑦 in terms of 𝑥 up to a constant of integration 𝐶. The question then becomes, how do we find our value of 𝐶? And we can do this by using the fact when 𝑦 is equal to negative 12, 𝑥 is equal to 𝜋 by three. So let’s start by integrating both sides of our simple differential equation. We get 𝑦 is equal to the integral of eight times the csc squared of 𝑥 with respect to 𝑥. And we know how to integrate the csc squared of 𝑥 with respect to 𝑥.

We recall for any constant 𝑎, the integral of 𝑎 times the csc squared of 𝑥 with respect to 𝑥 is equal to negative 𝑎 times the cot of 𝑥 plus a constant of integration 𝐶. And this actually comes from the fact that the derivative of the cot of 𝑥 is equal to negative the csc squared of 𝑥. And we can then use the fact that differentiation and integration are opposite processes. So applying this integral rule with 𝑎 equal to 𝑎, we’ve shown that 𝑦 is equal to negative eight times the cot of 𝑥 plus the constant of integration 𝐶. We now want to find our value of 𝐶. And we remember the question tells us when 𝑦 is equal to negative 12, 𝑥 is equal to 𝜋 by three. So we’ll substitute both of these values into our expression. This gives us negative 12 is equal to negative eight times the cot of 𝜋 by three plus 𝐶.

Next, we can simplify this expression. We remember, for any value of 𝑥, the cot of 𝑥 is the same as saying one divided by the tan of 𝑥. So using this, we get negative 12 is equal to negative eight divided by the tan of 𝜋 by three plus 𝐶. And the tan of 𝜋 by three is one of our standard trigonometric results which we should commit to memory. It’s equal to the square root of three. So we’ll add eight over root three to both sides of this expression to make 𝐶 the subject of our equation. We get negative 12 plus eight over root three is equal to 𝐶. And we can simplify this expression for 𝐶 by rationalizing the denominator. We multiply eight over root three by root three over root three. And this gives us that 𝐶 is equal to negative 12 plus eight root three over three.

All we need to do now is substitute this expression for 𝐶 into our equation for 𝑦. We get that 𝑦 is equal to negative eight times the cot of 𝑥 minus 12 plus eight root three over three. And this is our final answer. Therefore, we’ve shown if d𝑦 by d𝑥 is equal to eight times the csc squared of 𝑥 and 𝑦 is equal to negative 12 when 𝑥 is equal to 𝜋 by three. Then 𝑦 is equal to negative eight times the cot of 𝑥 minus 12 plus eight root three over three.