What is f(x) = int xsinx^2 + secx dxf(x)=xsinx2+secxdx if f(pi/12)=-8 f(π12)=8?

1 Answer
Aug 14, 2017

The function is f(x) = -1/2cos(2x) + ln|secx + tanx| - 8.62f(x)=12cos(2x)+ln|secx+tanx|8.62 approximately.

Explanation:

Start by separating the integrals.

f(x) = int xsin(x^2) dx + int secx dxf(x)=xsin(x2)dx+secxdx

To solve the first integral, we let u = x^2u=x2. Then it follows that du = 2xdxdu=2xdx and dx = (du)/(2x)dx=du2x.

intxsin(x^2) = intxsinu(du)/(2x) = int1/2sinu duxsin(x2)=xsinudu2x=12sinudu

This integral is easily obtained.

int 1/2sinu du = -1/2cosu + C = -1/2cos(x^2) + C12sinudu=12cosu+C=12cos(x2)+C

Now to the second integral. This has already been derived by various sources as it is commonly encountered. The exact proof can be found here.

The integral is intsecx dx = ln|secx + tanx| + Csecxdx=ln|secx+tanx|+C

Putting all of this together, we obtain that

f(x) = -1/2cos(x^2) + ln|secx + tanx| + Cf(x)=12cos(x2)+ln|secx+tanx|+C

All that is left to do is to find the value of CC. Using a calculator, you will find that C ~~-8.62C8.62.

Hopefully this helps!