Let $(X,Y)$ a random vector with density $f(x,y)=\frac{6}{7}(x^2+\frac{xy}{2});0<x<1,0<y<2$.
After checking that is a density, finding the marginal $f_X(x)=\frac{12}{7}x^2+\frac{6}{7}x$ and the probability $\mathbb{P}(X>Y)=\frac{15}{56}$, i have to find $\mathbb{P}(Y>\frac{1}{2}|X<\frac{1}{2})$.
I know that the domain is $0<x<\frac{1}{2}<y<2$, so i applied the conditional probability $\mathbb{P}(Y>\frac{1}{2}|X<\frac{1}{2})=\frac{\mathbb{P}((Y>\frac{1}{2})\cap (X<\frac{1}{2}))}{\mathbb{P}(X<\frac{1}{2})}$ and i tried to integrate in the most different ways…
1) $\frac{\int_{0}^{3/2}(\int_{0}^{5/2}f(x,y)dy)dx}{\int_{0}^{1/2}f_X(x)dx}$
2) $\frac{\int_{0}^{1/2}(\int_{1/2}^{2}f(x,y)dy)dx}{\int_{0}^{1/2}f_X(x)dx}$
3) ${\int_{0}^{1/2}(\int_{1/2}^{2}\frac{f(x,y)}{f_X(x)}dy)}dx$
…but to no avail.
How to act when the conditional probability provides for two disequalities?
EDIT: Trivially, you might say "Making the graph". Well, I'm having a hard time to understand how to draw it correctly. In the first probability that i said, the graph was fairly simple because I could use the 1°-3° bisector to separate the region to integrate.
You found correctly: $$\int_{0}^1\int_0^2f(x,y)dydx=\int_{0}^1\int_0^2\frac{6}{7}(x^2+\frac{xy}{2}) dydx=1\\ f_X(x)=\int_0^2 \frac{6}{7}(x^2+\frac{xy}{2})dy=\frac{12}{7}x^2+\frac{6}{7}x.$$ Now, your second formula is correct: $$\mathbb{P}(Y>\frac{1}{2}|X<\frac{1}{2})=\frac{\mathbb{P}((Y>\frac{1}{2})\cap (X<\frac{1}{2}))}{\mathbb{P}(X<\frac{1}{2})}=\\ \frac{\int_{0}^{1/2}(\int_{1/2}^{2}f(x,y)dy)dx}{\int_{0}^{1/2}f_X(x)dx}=\\ \frac{\int_{0}^{1/2}\frac67(x^2y+\frac{xy^2}{4})|_{1/2}^2dx}{\int_{0}^{1/2}(\frac{12}{7}x^2+\frac{6}{7}x)dx}=\\ \frac{\int_{0}^{1/2}(\frac97x^2+\frac{45x}{112})dx}{(\frac{4x^3}{7}+\frac{3x^2}{7})|_{0}^{1/2}}=\\ \frac{(\frac{3x^3}{7}+\frac{45x^2}{224})|_{0}^{1/2}}{5/28}=\\ \frac{69/448}{5/28}=\\ \frac{69}{80}\approx 0.8625.$$