Class 12 Exam  >  Class 12 Questions  >  Solve differential equation dy/dx=(y-x)^2? Start Learning for Free
Solve differential equation dy/dx=(y-x)^2?
Verified Answer
Solve differential equation dy/dx=(y-x)^2?
dy/dx=yx
Separating the variables, the given differential equation can be written as
1/ydy=1/xdx - - - (i)
With the separating the variable technique we must keep the terms dy and dx in the numerators with their respective functions.
Now integrating both sides of the equation (i), we have
∫1/ydy=∫1/xdx
Using the formula of integration ∫1xdx=lnx+c, we get
lny=lnx+lnc⇒lny=lnxc
Cancelling the logarithm from both sides of the above equation, we get
y=xc



This question is part of UPSC exam. View all Class 12 courses
Most Upvoted Answer
Solve differential equation dy/dx=(y-x)^2?
Differential Equation: dy/dx = (y - x)^2

Method: Separation of Variables

Step 1: Rearrange the equation
The given differential equation is already in a suitable form for separation of variables.

Step 2: Separate the variables
Write the equation as:
1/(y-x)^2 dy = dx

Step 3: Integrate both sides
Integrate both sides of the equation with respect to their respective variables.
∫(1/(y-x)^2) dy = ∫dx

Step 4: Evaluate the integrals
The integral of the left side can be evaluated using substitution. Let u = y - x, then du = dy.
∫(1/u^2) du = ∫dx
-1/u = x + C1
-1/(y-x) = x + C1

Step 5: Solve for y
To solve for y, rearrange the equation:
y - x = -1/(x + C1)
y = -1/(x + C1) + x

Step 6: Simplify the equation
Combine the terms on the right side to simplify the equation:
y = (-1 + x(x + C1))/(x + C1)

Step 7: Final Solution
The general solution to the given differential equation is:
y = (-1 + x(x + C1))/(x + C1)

Explanation:
The given differential equation is solved using the method of separation of variables. By separating the variables and integrating both sides, we obtain the integral of (1/(y-x)^2) with respect to y and the integral of 1 with respect to x. Evaluating the integrals and solving for y gives the general solution. The constant of integration, C1, is introduced during the integration process and accounts for the family of solutions to the differential equation.
Explore Courses for Class 12 exam
Solve differential equation dy/dx=(y-x)^2?
Question Description
Solve differential equation dy/dx=(y-x)^2? for Class 12 2024 is part of Class 12 preparation. The Question and answers have been prepared according to the Class 12 exam syllabus. Information about Solve differential equation dy/dx=(y-x)^2? covers all topics & solutions for Class 12 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Solve differential equation dy/dx=(y-x)^2?.
Solutions for Solve differential equation dy/dx=(y-x)^2? in English & in Hindi are available as part of our courses for Class 12. Download more important topics, notes, lectures and mock test series for Class 12 Exam by signing up for free.
Here you can find the meaning of Solve differential equation dy/dx=(y-x)^2? defined & explained in the simplest way possible. Besides giving the explanation of Solve differential equation dy/dx=(y-x)^2?, a detailed solution for Solve differential equation dy/dx=(y-x)^2? has been provided alongside types of Solve differential equation dy/dx=(y-x)^2? theory, EduRev gives you an ample number of questions to practice Solve differential equation dy/dx=(y-x)^2? tests, examples and also practice Class 12 tests.
Explore Courses for Class 12 exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev