Q.Solution of dxdy−y=1, y(0)=1 is given by:
(A) xy=−ex
(B) xy=−e−x
(C) xy=−1
(D) y=2ex−1
🔒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. …
This is an Initial Value Problem — a first-order linear ODE with a given condition.
Step 1: Solve the homogeneous part.
dxdy−y=0 gives yh=Cex.
Step 2: Find a particular solution.
For the constant forcing term 1, try yp=A. Substituting: 0−A=1⇒A=−1.
So the general solution is y=Cex−1. …
This is a first-order linear ODE solved using the integrating factor method. The solution satisfying y(0)=1 is y=2ex−1, which corresponds to option (D).
The problem gives us a first-order linear differential equation with an initial condition — an Initial Value Problem (IVP). The equation is dxdy−y=1, with y(0)=1.
The key idea: when you see dxdy+P(x)y=Q(x), the standard tool is the integrating factor. Why does this work? Because multiplying both sides by a cleverly chosen function turns the left side into the derivative of a product, making it directly integrable. Here P(x)=−1 (constant), so the integrating factor is e∫−1dx=e−x.
Let’s work through it step by step.
-
Write the equation in standard form.
It already is: dxdy−y=1. Here P(x)=−1, Q(x)=1.
-
Compute the integrating factor.
The integrating factor μ(x) is e∫P(x)dx=e∫−1dx=e−x.
-
Multiply the entire equation by μ(x).
e−xdxdy−e−xy=e−x
Notice the left side is exactly dxd(ye−x) — check by differentiating:
dxd(ye−x)=dxdye−x+y(−e−x)=e−xdxdy−e−xy. Perfect.
- Integrate both sides with respect to x.
dxd(ye−x)=e−x
∫dxd(ye−x)dx=∫e−xdx
ye−x=−e−x+C
- Solve for y. Multiply through by ex:
y=−1+Cex
This is the general solution — a family of curves, one for each C.
- Apply the initial condition y(0)=1. Substitute x=0, y=1: …
Method: Solving an Initial Value Problem for a Linear Equation
An IVP couples a first-order linear equation with a condition. Solve the equation generally, then use the condition to pin the arbitrary constant.
Steps
Step 1: Write the general solution.
For dxdy−y=1, the integrating factor is e−x, giving dxd(ye−x)=e−x, so y=Cex−1.
Step 2: Apply the initial condition.
Substitute y(0)=1: 1=C−1⇒C=2. …
Showing the 12 most recent of 26 on this concept.
- AP EAPCET 2023Set eng-2023-05-18-AN1 markMCQQ.If f(x) is a function such that f′(x)=f2(x)−1 and f(0)=1, then f(1)= (A) 2ee−2+1 (B) 2ee2+1 (C) 2ee2−1 (D) 2ee−2−1
›Reveal solutionSolution
This is a separable differential equation whose natural substitution is the hyperbolic identity cosh2u−sinh2u=1; the answer is f(1)=cosh1=2ee2+1.
Concept and Intuition
Whenever you see f′(x)=f2(x)−1, the structure f2−1 screams hyperbolic substitution, because cosh2u−1=sinh2u. Setting f=coshu turns the messy square root into the clean function sinhu, and the chain rule collapses the whole ODE to u′=1 — a straight line in disguise.
Step-by-Step Solution
- Separate variables: f2−1df=dx.
- Let f=coshu, so df=sinhudu and f2−1=sinhu (taking u≥0 since f≥1 near x=0).
- The equation becomes sinhusinhudu=dx⇒du=dx⇒u=x+C. …
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.The equation of a curve passing through the point (0,1), given that the slope of the tangent to the curve at any point (x,y) is equal to the sum of the x-coordinate, and the product of x and y coordinates at that point, is ________ (A) y=1−2e(x2/2) (B) y=−1+2e(x2/2) (C) y=−1−2e(x2/2) (D) y=1+2e(x2/2)
›Reveal solutionSolution
Translate the word problem into a separable differential equation dxdy=x(1+y), solve it, and apply the initial point (0,1) to fix the constant — giving y=−1+2ex2/2.
Concept and Intuition
"Slope of the tangent" always means dxdy. The sentence describing the slope translates directly into an algebraic expression in x and y; recognizing that it factors as x(1+y) makes the equation separable, which is the easiest class of ODE to solve.
Step-by-Step Solution
- Translate: slope = (x-coordinate) + (product of x and y) ⇒dxdy=x+xy=x(1+y).
- Separate variables: 1+ydy=xdx.
- Integrate both sides: log∣1+y∣=2x2+C.
- Apply the point (0,1): log∣1+1∣=0+C⇒C=log2. …
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.Given that dxdy=yex is such that when x=0,y=e. The value of y (y>0) when x=1 will be (A) e1 (B) e (C) ee (D) loge
›Reveal solutionSolution
This is a separable first-order ODE; separating and integrating gives logy=ex+c, and the initial condition pins c=0, so y(1)=ee.
Concept and Intuition
When a differential equation can be written as ydy=g(x)dx, both sides can be integrated independently, giving logy=G(x)+c where G is the antiderivative of g. The given initial condition then fixes the constant, after which we simply plug in the target x-value.
Step-by-Step Solution
- Given dxdy=yex, separate variables: ydy=exdx.
- Integrate both sides: logy=ex+c (using y>0, so no absolute value needed).
- Apply the initial condition x=0, y=e: loge=e0+c⇒1=1+c⇒c=0. …
- AP EAPCET 2022Set eng-2022-07-05-FN1 markMCQQ.If the general solution of the differential equation cos2xdxdy+y=tanx is y=tanx−1+Ce−tanx satisfies y(π/4)=1, then C= (A) e (B) 1 (C) −1 (D) 1/e
›Reveal solutionSolution
This tests applying an initial condition to a given general solution of a linear first-order DE to find the arbitrary constant.
Concept and Intuition
Once a general solution y=y(x,C) is known, an initial condition (initial value) pins down C by substituting the given point directly — no need to re-derive the DE.
Step-by-Step Solution
- General solution: y=tanx−1+Ce−tanx.
- At x=π/4: tan(π/4)=1.
- So y(π/4)=1−1+Ce−1=Ce−1. …
- AP EAPCET 2022Set eng-2022-07-04-FN1 markMCQQ.If the solution of dxdy−yloge0.5=0, y(0)=1, and y(x)→k, as x→∞ then k= (A) ∞ (B) −1 (C) 1 (D) 0
›Reveal solutionSolution
A linear first-order ODE dy/dx=ky with k=loge0.5<0 describes exponential decay, so y→0 as x→∞; k=0.
Concept and Intuition
dxdy=cy always solves to y=y0ecx. The sign of c decides growth (c>0) or decay (c<0) as x→∞. Here c=loge(0.5)=−loge2<0, so the solution decays to zero.
Step-by-Step Solution
- Rewrite: dxdy=yloge(0.5), i.e. ydy=loge(0.5)dx.
- Integrate: logey=xloge(0.5)+C1, so y=Cexloge(0.5)=C(0.5)x.
- Apply y(0)=1: 1=C(0.5)0=C, so C=1. Hence y(x)=(0.5)x. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.The solution of the differential equation x2(y+1)dxdy+y2(x+1)2=0, when y(1)=2, is (A) log∣x2y∣=x2+y1+x−1 (B) log41x2y=x1+y2+x−1 (C) log21x2y=x1+y1−x−21 (D) log31x2y=x1+y1−x+21
›Reveal solutionSolution
This is a separable ODE; separating and integrating gives an implicit relation, and the initial condition y(1)=2 pins the constant to match option (C).
Concept and Intuition
x2(y+1)dy=−y2(x+1)2dx separates cleanly because all the y-terms can be gathered on one side (as y2y+1) and all x-terms on the other (as x2(x+1)2). Both sides then reduce to standard integrals: y1+y21 integrates via power rule and log, and x2(x+1)2=1+x2+x21 likewise.
Step-by-Step Solution
- Rearranging: x2(y+1)dy=−y2(x+1)2dx⇒y2y+1dy=−x2(x+1)2dx.
- LHS: y2y+1=y1+y21, so ∫(y1+y21)dy=log∣y∣−y1+C1.
- RHS: x2(x+1)2=x2x2+2x+1=1+x2+x21, so −∫(1+x2+x21)dx=−x−2log∣x∣+x1+C2.
- Equate: log∣y∣−y1=−x−2log∣x∣+x1+C.
- Rearranged: log∣y∣+2log∣x∣=x1+y1−x+C⇒log(x2y)=x1+y1−x+C.
- Apply y(1)=2: log(1⋅2)=1+21−1+C⇒ln2=21+C⇒C=ln2−21.
- Substitute back: log(x2y)=x1+y1−x+ln2−21, i.e. log(x2y)−ln2=x1+y1−x−21.
- log(x2y)−ln2=log(2x2y)=log21x2y, so finally …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.If the solution of dxdy=log(x+1) when y(0)=3 is y=(x+1)log(x+1)+f(x), then f(x)= (A) 3−x (B) x−3 (C) 1−x (D) x−1
›Reveal solutionSolution
This tests integrating log(x+1) by substitution and then pinning the constant with the initial condition. The answer is f(x)=3−x.
Concept and Intuition
The differential equation dxdy=log(x+1) is already separated — y is just the antiderivative of the right-hand side. The initial condition y(0)=3 fixes the single constant of integration, and comparing the resulting expression to the given form of the solution lets us read off f(x) without guessing.
Step-by-Step Solution
- Integrate: y=∫log(x+1)dx+C.
- Substitute u=x+1, du=dx: ∫logudu=ulogu−u+C (standard result, by parts with dv=du).
- Back-substitute: y=(x+1)log(x+1)−(x+1)+C.
- Compare with the given form y=(x+1)log(x+1)+f(x): so f(x)=−(x+1)+C=C−1−x. …
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.If the solution of dxdy=xe1/y2y3cosx, y(0)=1 is y21=loge(f(x)), then f(x)= (A) 4+4sinx (B) esinx (C) 1−4sinx (D) e−4sinx
›Reveal solutionSolution
This is a separable ODE; separating variables and using the initial condition y(0)=1 gives f(x)=e−4sinx.
Concept and Intuition
The equation separates cleanly into a function of y times dy equal to a function of x times dx. Both sides then need simple substitutions (u=1/y2 and v=x) to become directly integrable exponential/trig forms.
Step-by-Step Solution
- dxdy=xe1/y2y3cosx⇒e1/y2y−3dy=xcosxdx.
- LHS: let u=1/y2⇒du=−2y−3dy⇒y−3dy=−21du. So ∫eu(−21)du=−21eu+C1=−21e1/y2+C1.
- RHS: let v=x⇒dv=2xdx⇒xdx=2dv. So ∫cosv⋅2dv=2sinv+C2=2sinx+C2.
- Combine: −21e1/y2=2sinx+C.
- Apply y(0)=1⇒1/y2=1 at x=0: −21e1=2sin0+C⇒C=−2e. …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.The particular solution of the differential equation dydx=xlog(x2e)siny(1+ycoty), y(1)=0 is (A) ysiny=x2logx (B) y2siny=logx (C) y=(sinee2)(x−1) (D) y=e2secx
›Reveal solutionSolution
Separating variables, both sides integrate to remarkably clean closed forms (x2logx and ysiny), and the initial condition kills the constant.
Concept and Intuition
log(x2e)=2logx+1 simplifies the right-hand denominator nicely, and siny(1+ycoty)=siny+ycosy is exactly the derivative of ysiny — recognizing these product-rule patterns avoids messy integration.
Step-by-Step Solution
- Given dydx=xlog(x2e)siny(1+ycoty), separate variables: xlog(x2e)dx=siny(1+ycoty)dy.
- log(x2e)=logx2+loge=2logx+1, so LHS integrand is x(2logx+1).
- ∫x(2logx+1)dx=∫2xlogxdx+∫xdx. By parts, ∫2xlogxdx=x2logx−∫xdx=x2logx−2x2.
- So LHS integral =x2logx−2x2+2x2=x2logx (the x2/2 terms cancel neatly).
- RHS: siny(1+ycoty)=siny+ycosy (since sinycoty=cosy). Note dyd(ysiny)=siny+ycosy exactly.
- So ∫(siny+ycosy)dy=ysiny. …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.The solution of (1+y2)dx−xydy=0, y(1)=0 represents a conic. Its eccentricity is (A) 2 (B) 1/e (C) 1 (D) 2
›Reveal solutionSolution
Solving the separable ODE with the given initial condition yields the rectangular hyperbola x2−y2=1, whose eccentricity is 2.
Concept and Intuition
Separate the variables in the ODE, integrate, apply the initial condition to fix the constant, and identify the resulting conic. A rectangular hyperbola (a=b) always has eccentricity 2 — a fact worth recognising instantly once the conic's form is found.
Step-by-Step Solution
- Given (1+y2)dx−xydy=0⇒(1+y2)dx=xydy⇒xdx=1+y2ydy.
- Integrate both sides: logx=21log(1+y2)+C.
- Exponentiate: x=k1+y2 for some constant k>0, i.e. x2=k2(1+y2), or x2−k2y2=k2.
- Apply y(1)=0: at x=1,y=0: 1=k2(1+0)⇒k2=1⇒k=1.
- So the curve is x2−y2=1, a rectangular hyperbola with a2=1, b2=1. …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.Let y=Y(x) be the solution of the differential equation dxdy+ytanx=2x+x2tanx, x∈(2−π,2π), such that Y(0)=1, then ________ (A) y(4π)+Y(4−π)=2π2+2 (B) y′(4π)+Y′(4−π)=−2 (C) y(4π)−Y(4−π)=2 (D) y′(4π)−Y′(4−π)=π−2
›Reveal solutionSolution
Solving the first-order linear ODE explicitly gives Y(x)=x2+cosx; checking each option against this closed form picks out (D). Answer: π−2.
Concept and Intuition
This is a standard first-order linear ODE dxdy+P(x)y=Q(x), solved with an integrating factor. Once we have the explicit closed form for Y(x), we can just plug in and test every option directly instead of guessing.
Step-by-Step Solution
- ODE: dxdy+ytanx=2x+x2tanx. Integrating factor: μ=e∫tanxdx=e−log∣cosx∣=secx.
- Multiply through by secx: secxdxdy+ysecxtanx=2xsecx+x2secxtanx.
- LHS =dxd(ysecx). Check RHS: dxd(x2secx)=2xsecx+x2secxtanx — matches exactly!
- So dxd(ysecx)=dxd(x2secx)⇒ysecx=x2secx+C⇒y=x2+Ccosx.
- Apply Y(0)=1: 0+C(1)=1⇒C=1. So Y(x)=x2+cosx.
- Y′(x)=2x−sinx. Compute Y′(π/4)=2π−22 and Y′(−π/4)=−2π+22. …
- AP EAPCET 2021Set eng-2021-08-20-AN1 markMCQQ.The equation of the curve passing through the point (0,4π) and satisfying the differential equation (extany)dx+((1+ex)sec2y)dy=0 is given by ______ (A) (1+ex)tany=2 (B) 1+ex=2tany (C) 1+ex=2secy (D) (1+ex)tany=k
›Reveal solutionSolution
A separable first-order ODE; separating and integrating gives a product relation, and the initial point fixes the constant. The answer is (1+ex)tany=2.
Concept and Intuition
The given equation is exact/separable once we divide through by tany(1+ex): each side then involves only one variable, and each integrates to a logarithm, whose sum is a constant — exponentiating turns the sum of logs into a product equal to a constant.
Step-by-Step Solution
- (extany)dx+(1+ex)sec2ydy=0. Divide both sides by tany(1+ex):
1+exexdx+tanysec2ydy=0
- Integrate: ∫1+exexdx=log(1+ex) and ∫tanysec2ydy=log(tany).
- So log(1+ex)+log(tany)=logC⇒(1+ex)tany=C (renaming the constant). …
🎓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.