Skip to content
NCERT Exemplar · Q11

Q.If y(x)y(x) is a solution of (2+sin⁡x1+y)dydx=−cos⁡x\left(\frac{2+\sin x}{1+y}\right)\frac{dy}{dx}=-\cos x and y(0)=1y(0)=1, then find the value of y(π2)y\left(\frac{\pi}{2}\right).

Yanam BieapShort· 3mImportance★★★★★
Appeared in past exams:MHT-CET 2025· Set pcm-2025-04-22-M· 2mexactMHT-CET 2024· Set pcm-2024-05-02-E· 2mrewordedMHT-CET 2023· Set pcm-2023-05-12-E· 2mreworded
59% · 131/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a separable first-order ODE. Separate variables, integrate both sides, use the initial condition to find the constant, then evaluate at x=π/2x = \pi/2. The value is y(π/2)=1/3y(\pi/2) = 1/3.

The problem gives us a differential equation and an initial condition — that's an Initial Value Problem (IVP). The key idea: we can find a specific solution curve that passes through the point (0,1)(0,1), and then read off its height at x=π/2x = \pi/2.

The equation is:

(2+sin⁡x1+y)dydx=−cos⁡x\left(\frac{2+\sin x}{1+y}\right)\frac{dy}{dx} = -\cos x

Notice that the variables xx and yy are not mixed together in a complicated way. The factor 2+sin⁡x1+y\frac{2+\sin x}{1+y} is a product of a function of xx alone and a function of yy alone. This is the hallmark of a separable differential equation — we can rearrange it so that all yy terms are on one side and all xx terms on the other, then integrate.

Let's work through it step by step.

  1. Separate the variables. Multiply both sides by (1+y)(1+y) and divide by (2+sin⁡x)(2+\sin x) to isolate dy/dxdy/dx:

dydx=−(1+y)cos⁡x2+sin⁡x\frac{dy}{dx} = -\frac{(1+y)\cos x}{2+\sin x}

Now divide both sides by (1+y)(1+y) (assuming 1+y≠01+y \neq 0 — we'll check later) and multiply by dxdx:

dy1+y=−cos⁡x2+sin⁡x dx\frac{dy}{1+y} = -\frac{\cos x}{2+\sin x}\,dx

The variables are now separated: left side depends only on yy, right side only on xx.

  1. Integrate both sides.

∫dy1+y=−∫cos⁡x2+sin⁡x dx\int \frac{dy}{1+y} = -\int \frac{\cos x}{2+\sin x}\,dx

The left integral is straightforward:

∫dy1+y=log⁡∣1+y∣+C1\int \frac{dy}{1+y} = \log|1+y| + C_1

For the right integral, notice that the numerator cos⁡x\cos x is exactly the derivative of sin⁡x\sin x, and the denominator is 2+sin⁡x2+\sin x. This suggests a simple substitution: let u=2+sin⁡xu = 2+\sin x, then du=cos⁡x dxdu = \cos x\,dx. So:

∫cos⁡x2+sin⁡x dx=∫duu=log⁡∣u∣+C2=log⁡∣2+sin⁡x∣+C2\int \frac{\cos x}{2+\sin x}\,dx = \int \frac{du}{u} = \log|u| + C_2 = \log|2+\sin x| + C_2

Therefore, the integrated equation becomes:

log⁡∣1+y∣=−log⁡∣2+sin⁡x∣+C\log|1+y| = -\log|2+\sin x| + C

where C=C2−C1C = C_2 - C_1 is a combined constant.

  1. Simplify using logarithm properties. Bring the negative inside as a power:

log⁡∣1+y∣=log⁡∣12+sin⁡x∣+C\log|1+y| = \log\left|\frac{1}{2+\sin x}\right| + C

Exponentiate both sides (remember elog⁡A=Ae^{\log A} = A):

∣1+y∣=eC⋅1∣2+sin⁡x∣|1+y| = e^C \cdot \frac{1}{|2+\sin x|}

Let K=eC>0K = e^C > 0, so:

∣1+y∣=K∣2+sin⁡x∣|1+y| = \frac{K}{|2+\sin x|}

Since 2+sin⁡x2+\sin x is always positive (minimum value is 2−1=12-1=1), we can drop the absolute value on the denominator. The absolute value on 1+y1+y can be handled by allowing KK to be any nonzero constant (positive or negative), because 1+y1+y could be positive or negative. So we write:

1+y=A2+sin⁡x1+y = \frac{A}{2+\sin x} …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.