Q.Solve the following differential equation: dxdy+2ytanx=sinx; y=0 when x=3π
🔒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 →Concept understanding — Initial Value Problem
Initial Value Problem
The intuition: a rule of change plus a starting point
A car's speed at time t is v(t)=dtds=2t. Can you say where the car is at t=5? Not yet — you don't know where it started (0 m? 10 m? 100 m?). The differential equation gives the rule of change, but you also need one starting snapshot to pin down the actual motion. Supply "s=5 when t=0" and now everything is determined.
That pairing — a differential equation together with an initial condition — is an Initial Value Problem (IVP).
On its own, a differential equation usually has infinitely many solutions (a whole family of curves, one per value of the arbitrary constant). The initial condition selects exactly one of them.
The precise statement
An IVP has two parts:
- A differential equation, e.g. first-order: dtdy=f(t,y).
- An initial condition, the value at a starting point: y(t0)=y0.
Written together,
dtdy=f(t,y),y(t0)=y0,
and the goal is the particular function y(t) satisfying both.
A worked example
Solve dtdy=3y, y(0)=2.
First solve the equation, ignoring the condition. Separating and integrating, ydy=3dt gives log∣y∣=3t+C, so the general solution is y=Ae3t. Now apply y(0)=2: 2=Ae0=A. Hence the unique solution is
y(t)=2e3t. …
First-order linear equation with the initial condition y(π/3)=0.
Standard form: dxdy+2tanxy=sinx, so P=2tanx, Q=sinx.
Integrating factor: μ=e∫2tanxdx=e2log∣secx∣=sec2x.
Integrate: dxd(ysec2x)=sinxsec2x=tanxsecx, so …
Linear equation with integrating factor sec2x; applying y(π/3)=0 gives y=cosx−2cos2x.
Spotting the type
dxdy+2tanxy=sinx is first-order linear with P=2tanx, Q=sinx.
Integrating factor
∫2tanxdx=−2log∣cosx∣=log(sec2x),
so μ(x)=elog(sec2x)=sec2x.
Multiply and integrate
dxd(ysec2x)=sinxsec2x=cos2xsinx=tanxsecx.
Since dxdsecx=secxtanx,
ysec2x=∫tanxsecxdx=secx+C.
Solve for y
Multiply by cos2x:
y=cosx+Ccos2x. …
Method: Solve the linear equation, then fix C from the initial value
An initial value problem is solved in two stages: first the general solution by integrating factor, then the constant from the given point.
Steps
Step 1: Standard form and integrating factor.
Write dxdy+Py=Q and compute I.F.=e∫Pdx. For P=2tanx, ∫2tanxdx=log(sec2x), so I.F.=sec2x.
Step 2: Multiply and integrate.
y⋅I.F.=∫Q(I.F.)dx+C.
Step 3: Simplify to y=⋯+C(…). …
Common Mistakes
Mistake 1: Getting the I.F. from P=2tanx wrong.
Why it's wrong: ∫2tanxdx=−2log∣cosx∣=log(sec2x), so I.F. =sec2x, not secx or e2tanx. Correct approach: watch the factor 2 and the sign.
Mistake 2: Applying the initial condition before finding the general solution.
Why it's wrong: C can only be fixed from y=cosx+Ccos2x; substituting y(π/3)=0 too early loses it. Correct approach: get the general solution first, then substitute. …
- CBSE 2025Set ANNUAL1 markMCQQ.What is the particular solution of the differential equation dxdy=cosx when x=0, y=2?(i) y=sinx−2(ii) y=sinx+1(iii) y=sinx+2(iv) y=sinx−1
›Reveal solutionSolution
Integrate directly and use the initial condition to find C.
dxdy=cosx⟹y=∫cosxdx=sinx+C
Apply the initial condition x=0, y=2: …
- CBSE 2025Set ANNUAL1 markMCQQ.Particular solution of differential equation dxdy+x=0 at x=0,y=1 will be -(a) y+2x2+1=0(b) y+2x2=1(c) y+2x2+1=0(d) y+2x2=1
›Reveal solutionSolution
Separate variables, integrate, and use the initial condition x=0,y=1 to fix the constant.
dxdy=−x⇒dy=−xdx⇒∫dy=−∫xdx
y=−2x2+C
At x=0,y=1: 1=0+C⇒C=1.
…
- CBSE 2024Set ANNUAL1 markMCQQ.If dxdf(x)=4x3−x43 such that f(2)=0, then f(x) is -(a) x4+x31−8129(b) x3+x41+8129(c) x4−x31+8129(d) x3+x41−8129
›Reveal solutionSolution
Integrate f′(x) term by term, then use f(2)=0 to find the constant of integration.
Given dxdf(x)=4x3−x43=4x3−3x−4.
Integrating:
f(x)=∫(4x3−3x−4)dx=x4−3⋅−3x−3+C=x4+x−3+C=x4+x31+C
Using f(2)=0: …
- CBSE 2023Set 65/2/11 markMCQQ.If dxd[f(x)]=ax+b and f(0)=0, then f(x) is equal to:(a) a+b(b) 2ax2+bx(c) 2ax2+bx+c(d) b
›Reveal solutionSolution
Integrate the derivative and use the initial condition f(0)=0 to determine the constant; f(x)=2ax2+bx.
When you know the derivative of a function, you can recover the original function through integration. The process introduces an arbitrary constant of integration, which you then pin down using any given initial or boundary condition.
Here we're told that dxd[f(x)]=ax+b, which means the rate of change of f is a linear function of x. To find f(x) itself, we integrate both sides with respect to x.
Finding f(x) by integration
- Integrate the derivative.
f(x)=∫(ax+b)dx
Applying the power rule term by term:
f(x)=a⋅2x2+bx+C
where C is the constant of integration that appears whenever we perform an indefinite integral.
-
Apply the initial condition f(0)=0.
Substitute x=0 into the expression we just found:
f(0)=a⋅202+b⋅0+C=C
Since we're given that f(0)=0, we have: …
🎓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.