The given differential equation is linear of first order:
dxdy+12y=cos(12πx)
Step 1 Integrating factor (IF).
For dxdy+Py=Q(x) the integrating factor is
IF=exp(∫Pdx)=exp(∫12dx)=e12x.
Step 2 Multiply the equation by the IF and integrate.
e12xdxdy+12e12xy=e12xcos(12πx)
Recognising the left side as dxd(ye12x), integrate:
ye12x=∫e12xcos(12πx)dx+C.
Step 3 Evaluate the integral.
Use the standard formula
∫eaxcos(bx)dx=a2+b2eax(acosbx+bsinbx).
Here a=12,b=12π(denote k=12π).
Hence
∫e12xcos(kx)dx=122+k2e12x(12coskx+ksinkx).
Put D=122+k2=144+144π2.
Therefore
ye12x=e12xD12coskx+ksinkx+C,
and dividing by e12x gives the general solution
y(x)=D12coskx+ksinkx+Ce−12x.
Step 4 Apply the initial condition y(0)=0.
At x=0:cos0=1,sin0=0.
0=D12+C⟹C=−D12.
Step 5 Final explicit solution.
y(x)=D12coskx+ksinkx−D12e−12x,k=12π,D=144+144π2.
Analysis of the four statements.
Statement A “y(x) is an increasing function.”
For monotonic increase we would need dxdy>0 for every x.
Using the original equation dxdy=coskx−12y, the right side changes sign because coskx oscillates between 1 and −1 while y(x) stays bounded. Consequently dxdy is sometimes positive and sometimes negative. Hence y(x) is not always increasing. Statement A is false.
Statement B “y(x) is a decreasing function.”
The same reasoning shows dxdy is not always negative, so y(x) is not always decreasing. Statement B is false.
Statement D “y(x) is a periodic function.”
The term −D12e−12x decays exponentially and destroys exact periodicity; no single positive period T satisfies y(x+T)=y(x) for all x. Thus y(x) is not periodic. Statement D is false.
Statement C “ There exists β∈R such that the horizontal line y=β meets the curve y=y(x) at infinitely many points.”
As x→∞, the exponential term vanishes and y(x) approaches the purely sinusoidal part
yp(x)=D12coskx+ksinkx,
which has period k2π=24 and oscillates between fixed maximum and minimum values. Because this limiting waveform is bounded above and below and is attained arbitrarily closely for large x, choose any β strictly between its maximum and minimum, for example β=0 (its average value). For sufficiently large x, y(x) will cross this horizontal line once every half-period, giving infinitely many intersection points. Hence such a β exists. Statement C is true.
Thus, the only correct choice is:
Option C which is: There exists a real number β such that the line y=β intersects the curve y=y(x) at infinitely many points.